profile
12 years agomdw.conf: Use `sudo' instead of `become'.
Mark Wooding [Tue, 7 Jun 2011 11:01:14 +0000 (12:01 +0100)]
mdw.conf: Use `sudo' instead of `become'.

It's more standard, and `rdist' is less annoying than fiddling with key
distribution.

12 years agobin/mdw-build: Update archive location.
Mark Wooding [Tue, 7 Jun 2011 10:58:10 +0000 (11:58 +0100)]
bin/mdw-build: Update archive location.

12 years agoMerge branch 'master' of vampire:etc/profile
Mark Wooding [Sun, 5 Jun 2011 10:47:36 +0000 (11:47 +0100)]
Merge branch 'master' of vampire:etc/profile

* 'master' of vampire:etc/profile:
  dot/xinitrc: Shut down the Gnome session properly on exit.
  dot/xinitrc: Fiddle with window manager selection.
  dot/xinitrc: Run an early user hook script.
  setup: Modify URL for the FTP repository.
  mdw.conf: Use rôle address for the default web cache.
  dot/bash_profile: Use `kbd_mode' to check for UTF-8 console.
  bin/sendmail-hack: Grim hack for Emacs to invoke sendmail.

12 years agodot/emacs: Fix the tramp hacking from last time.
Mark Wooding [Sun, 5 Jun 2011 10:47:18 +0000 (11:47 +0100)]
dot/emacs: Fix the tramp hacking from last time.

Seems that I botched it a bit and it tried to proxy local `sudo'
connections via SSH.  Seems better now.

13 years agoMerge remote-tracking branch 'crybaby'
Mark Wooding [Sun, 5 Jun 2011 01:44:21 +0000 (02:44 +0100)]
Merge remote-tracking branch 'crybaby'

* crybaby:
  dot/emacs: Tramp hacking: use `sudo', and set up magic proxies.

13 years agodot/emacs: Tramp hacking: use `sudo', and set up magic proxies.
Mark Wooding [Sun, 5 Jun 2011 01:43:48 +0000 (02:43 +0100)]
dot/emacs: Tramp hacking: use `sudo', and set up magic proxies.

13 years agoMerge remote-tracking branch 'crybaby'
Mark Wooding [Sat, 4 Jun 2011 13:22:57 +0000 (14:22 +0100)]
Merge remote-tracking branch 'crybaby'

* crybaby:
  dot/bashrc: Fix `rootly' to make a shell on demand.
  dot/emacs: Use `sudo' for local editing.
  Gnome hacking: Introduce a custom session file.

13 years agodot/bashrc: Fix `rootly' to make a shell on demand.
Mark Wooding [Sat, 4 Jun 2011 13:15:22 +0000 (14:15 +0100)]
dot/bashrc: Fix `rootly' to make a shell on demand.

Annoyingly, `sudo' doesn't start a shell if you don't give it a command
to run.  So turn `rootly' into a shell function which does the right
thing for me.

13 years agodot/emacs: Use `sudo' for local editing.
Mark Wooding [Sat, 4 Jun 2011 12:57:27 +0000 (13:57 +0100)]
dot/emacs: Use `sudo' for local editing.

13 years agoGnome hacking: Introduce a custom session file.
Mark Wooding [Sat, 14 May 2011 13:21:36 +0000 (14:21 +0100)]
Gnome hacking: Introduce a custom session file.

The morons behind Gnome have decided that everyone must have a window
manager, and can't understand that someone might have started one up
already.  As a result, they flail about trying to start the abortion
known as Metacity, which immediately exits because E already has the
magic selection.

Kill this absurd behaviour.

13 years agodot/xinitrc: Shut down the Gnome session properly on exit.
Mark Wooding [Thu, 2 Jun 2011 15:00:20 +0000 (16:00 +0100)]
dot/xinitrc: Shut down the Gnome session properly on exit.

This seems kinder to the various random Gnomey bits of desktop.  I was
hoping that it would persuade Tracker to leave its databases in a good
state, but that doesn't seem to happen.  Oh, well.

13 years agodot/xinitrc: Fiddle with window manager selection.
Mark Wooding [Thu, 2 Jun 2011 14:58:55 +0000 (15:58 +0100)]
dot/xinitrc: Fiddle with window manager selection.

The name `enlightenment' is used by E17, which I definitely don't prefer
to E16 right now.  Compiz seems plausible, though not all of the eye
candy necessarily works on every server.

13 years agodot/xinitrc: Run an early user hook script.
Mark Wooding [Thu, 2 Jun 2011 14:57:38 +0000 (15:57 +0100)]
dot/xinitrc: Run an early user hook script.

I need this on ponder to set the screen resolution.  In particular, then,
it must be earlier than the xscsize(1) call.

13 years agoMerge branch 'master' of vampire:~mdw/etc/profile
Mark Wooding [Sun, 15 May 2011 11:38:45 +0000 (12:38 +0100)]
Merge branch 'master' of vampire:~mdw/etc/profile

* 'master' of vampire:~mdw/etc/profile:
  dot/bash*: Reformat.
  mc: Store configuration and arrange for linkage.

13 years agosetup: Modify URL for the FTP repository.
Mark Wooding [Sun, 15 May 2011 11:38:14 +0000 (12:38 +0100)]
setup: Modify URL for the FTP repository.

13 years agomdw.conf: Use rôle address for the default web cache.
Mark Wooding [Sun, 15 May 2011 11:37:38 +0000 (12:37 +0100)]
mdw.conf: Use rôle address for the default web cache.

13 years agoMerge remote-tracking branch 'crybaby'
Mark Wooding [Sun, 15 May 2011 11:35:09 +0000 (12:35 +0100)]
Merge remote-tracking branch 'crybaby'

* crybaby:
  dot/bash*: Reformat.
  mc: Store configuration and arrange for linkage.

13 years agodot/bash_profile: Use `kbd_mode' to check for UTF-8 console.
Mark Wooding [Fri, 13 May 2011 19:59:06 +0000 (20:59 +0100)]
dot/bash_profile: Use `kbd_mode' to check for UTF-8 console.

Unfortunately, `vt-is-UTF8' isn't always available.

13 years agodot/bash*: Reformat.
Mark Wooding [Sun, 8 May 2011 19:14:02 +0000 (20:14 +0100)]
dot/bash*: Reformat.

Some other changes:

  * Remove the NC_SITES setting, which is only relevant to nCipher: it
    should end up in a local tweak.

  * Drop the MANPATH setting, because it wasn't working anyway.  We can
    resurrect that later if we need to.

13 years agomc: Store configuration and arrange for linkage.
Mark Wooding [Sun, 8 May 2011 18:21:31 +0000 (19:21 +0100)]
mc: Store configuration and arrange for linkage.

13 years agobin/sendmail-hack: Grim hack for Emacs to invoke sendmail.
Mark Wooding [Wed, 27 Apr 2011 09:38:10 +0000 (10:38 +0100)]
bin/sendmail-hack: Grim hack for Emacs to invoke sendmail.

Emacs gets upset by the LD_PRELOAD warning, issued because sendmail
(actually qmail-send in my case) is setuid.

13 years agodot/emacs: Persuade Message to use sendmail.
Mark Wooding [Wed, 27 Apr 2011 00:52:41 +0000 (01:52 +0100)]
dot/emacs: Persuade Message to use sendmail.

For some reason I caught it trying to do something daft with Chrome.

13 years agoMerge branch 'master' of vampire:etc/profile
Mark Wooding [Wed, 27 Apr 2011 00:51:32 +0000 (01:51 +0100)]
Merge branch 'master' of vampire:etc/profile

* 'master' of vampire:etc/profile:
  dot/ditz-config: Configuration for `ditz' bug tracker.
  el/dot-emacs.el: Load ERC configuration in advance.
  hacks/ssh: Add new hack for setting up background SSH master connections.
  bin/svnwrap: Fix unjustifiably stupid error.
  dot/ercrc.el: Common configuration for ERC.

13 years agodot/ditz-config: Configuration for `ditz' bug tracker.
Mark Wooding [Thu, 10 Mar 2011 16:59:21 +0000 (16:59 +0000)]
dot/ditz-config: Configuration for `ditz' bug tracker.

13 years agoel/dot-emacs.el: Load ERC configuration in advance.
Mark Wooding [Mon, 20 Dec 2010 14:16:28 +0000 (14:16 +0000)]
el/dot-emacs.el: Load ERC configuration in advance.

13 years agohacks/ssh: Add new hack for setting up background SSH master connections.
Mark Wooding [Sun, 19 Dec 2010 03:14:17 +0000 (03:14 +0000)]
hacks/ssh: Add new hack for setting up background SSH master connections.

I don't really know why SSH doesn't do this by default; but it damned
well ought to.

13 years agobin/svnwrap: Fix unjustifiably stupid error.
Mark Wooding [Sun, 19 Dec 2010 03:13:33 +0000 (03:13 +0000)]
bin/svnwrap: Fix unjustifiably stupid error.

13 years agodot/ercrc.el: Common configuration for ERC.
Mark Wooding [Sun, 19 Dec 2010 03:13:01 +0000 (03:13 +0000)]
dot/ercrc.el: Common configuration for ERC.

13 years agoMerge branch 'master' of metalzone:etc/profile
Mark Wooding [Tue, 14 Dec 2010 15:37:43 +0000 (15:37 +0000)]
Merge branch 'master' of metalzone:etc/profile

* 'master' of metalzone:etc/profile:
  el/dot-emacs.el: New command for SSH terminal buffers.
  dot/emacs, el/Makefile: Random fixes from vampire.

13 years agoel/dot-emacs.el: Some C indentation fixes.
Mark Wooding [Tue, 14 Dec 2010 15:36:50 +0000 (15:36 +0000)]
el/dot-emacs.el: Some C indentation fixes.

These mainly affect K&R-style function definitions.  If anything else
changes, I may need to rethink.

13 years agoMerge remote branch 'ponder/master'
Mark Wooding [Tue, 23 Nov 2010 16:54:55 +0000 (16:54 +0000)]
Merge remote branch 'ponder/master'

* ponder/master:
  el/dot-emacs.el: New command for SSH terminal buffers.

13 years agoel/dot-emacs.el: New command for SSH terminal buffers.
Mark Wooding [Tue, 23 Nov 2010 16:53:11 +0000 (16:53 +0000)]
el/dot-emacs.el: New command for SSH terminal buffers.

And some ugly hacking of `term-exec' to allow me to do this.

13 years agoel/dot-emacs.el: Fix the eshell prompt algorithm.
Mark Wooding [Thu, 11 Nov 2010 14:13:49 +0000 (14:13 +0000)]
el/dot-emacs.el: Fix the eshell prompt algorithm.

Misplaced parenthesis broke it.

13 years agodot/bashrc: Pass login flag to `rc' by default.
Mark Wooding [Thu, 11 Nov 2010 14:12:30 +0000 (14:12 +0000)]
dot/bashrc: Pass login flag to `rc' by default.

This encourages it to read `~/.rcrc' on startup.

13 years agodot/emacs, el/Makefile: Random fixes from vampire.
Mark Wooding [Mon, 25 Oct 2010 10:05:36 +0000 (11:05 +0100)]
dot/emacs, el/Makefile: Random fixes from vampire.

I can't, alas, remember what the motivation for these was.

13 years agodot/rcrc: Configuration for the Plan 9 shell.
Mark Wooding [Sat, 23 Oct 2010 12:20:11 +0000 (13:20 +0100)]
dot/rcrc: Configuration for the Plan 9 shell.

This needs a login to make it actually work, which is a little
annoying.  I've added aliases appropriately.

13 years agodot/emacs: Tell Emacs about my dictionaries.
Mark Wooding [Thu, 21 Oct 2010 13:53:12 +0000 (14:53 +0100)]
dot/emacs: Tell Emacs about my dictionaries.

Not quite sure why I had to do this here (ponder), because my other
installations seem happy.  Still, it doesn't seem to hurt.

13 years agoel/dot-emacs.el: Twiddle `eshell' settings.
Mark Wooding [Thu, 21 Oct 2010 13:52:06 +0000 (14:52 +0100)]
el/dot-emacs.el: Twiddle `eshell' settings.

  * Abbreviate the prompt, if possible.

  * Turn the aliases into real functions.  Seems slightly prettier.

13 years agodot/vimrc: Turn on mode-sensitive indentation, and tweak indent levels.
Mark Wooding [Thu, 21 Oct 2010 13:49:55 +0000 (14:49 +0100)]
dot/vimrc: Turn on mode-sensitive indentation, and tweak indent levels.

Not that I use vim for anything.

13 years agodot/bash_profile: Different strategy for finding gnome-keyring-daemon.
Mark Wooding [Sun, 27 Jun 2010 22:19:29 +0000 (23:19 +0100)]
dot/bash_profile: Different strategy for finding gnome-keyring-daemon.

If its environment variables exist and its socket is in the right place,
or we have a session bus and the keyring daemon is listening on it,
then start it up.

13 years agoel/dot-emacs.el: Disable Erlang electricity.
Mark Wooding [Sun, 27 Jun 2010 22:18:17 +0000 (23:18 +0100)]
el/dot-emacs.el: Disable Erlang electricity.

Electric insertions just wind me up wrong.

13 years agodot/putty-defaults: Don't scroll on output.
Mark Wooding [Sun, 27 Jun 2010 22:17:48 +0000 (23:17 +0100)]
dot/putty-defaults: Don't scroll on output.

It's really annoying.

14 years agoMerge remote branch 'ponder'
Mark Wooding [Thu, 3 Jun 2010 20:25:21 +0000 (21:25 +0100)]
Merge remote branch 'ponder'

* ponder:
  dot/Xdefaults: Add more Xft settings.
  el/dot-emacs.el: Configure dired faces.
  el/dot-emacs.el: Don't turn on outline-minor-mode all the time.
  dot/emacs: Remove lots of minor-mode verbiage.

14 years agodot/emacs: Improve shell-mode detection of password prompts.
Mark Wooding [Thu, 3 Jun 2010 18:32:51 +0000 (19:32 +0100)]
dot/emacs: Improve shell-mode detection of password prompts.

It's missing catacomb pixie prompts.

14 years agodot/Xdefaults: Add more Xft settings.
Mark Wooding [Thu, 3 Jun 2010 15:57:17 +0000 (16:57 +0100)]
dot/Xdefaults: Add more Xft settings.

These probably don't do any good, but it's worth a try.

14 years agoel/dot-emacs.el: Configure dired faces.
Mark Wooding [Thu, 3 Jun 2010 15:56:10 +0000 (16:56 +0100)]
el/dot-emacs.el: Configure dired faces.

Colour directories and symlinks to match usual `ls' preferences.  Don't
highlight group-writable permissions.

It's a shame that we can't highlight other things like executable
files.  Oh, well.

14 years agoel/dot-emacs.el: Don't turn on outline-minor-mode all the time.
Mark Wooding [Thu, 3 Jun 2010 15:55:01 +0000 (16:55 +0100)]
el/dot-emacs.el: Don't turn on outline-minor-mode all the time.

Instead, only do it if hideshow isn't there.  This isn't completely
ideal, but it saves mode-line space, removes a largely pointless thing
from the menu bar, and works pretty well.

14 years agodot/emacs: Remove lots of minor-mode verbiage.
Mark Wooding [Thu, 3 Jun 2010 15:52:39 +0000 (16:52 +0100)]
dot/emacs: Remove lots of minor-mode verbiage.

Hack `minor-mode-alist' so that boring things take up less space (or
none at all) in the mode line.  This means that we stand a chance of
being able to see the function name if which-func is on.

14 years agoMerge remote branch 'crybaby'
Mark Wooding [Thu, 20 May 2010 13:26:24 +0000 (14:26 +0100)]
Merge remote branch 'crybaby'

* crybaby:
  dot/emacs: Turn off Senator again.
  el/dot-emacs.el: Don't use a fancy face for `which-func'.

14 years agodot/emacs: Turn off Senator again.
Mark Wooding [Wed, 19 May 2010 23:44:28 +0000 (00:44 +0100)]
dot/emacs: Turn off Senator again.

It's eating way more CPU than it ought to.

14 years agoel/dot-emacs.el: Don't use a fancy face for `which-func'.
Mark Wooding [Wed, 19 May 2010 23:43:47 +0000 (00:43 +0100)]
el/dot-emacs.el: Don't use a fancy face for `which-func'.

It ends up being invisible against non-selected modelines.

14 years agodot/gitconfig.in: Turn on `git rerere'.
Mark Wooding [Mon, 17 May 2010 23:24:51 +0000 (00:24 +0100)]
dot/gitconfig.in: Turn on `git rerere'.

14 years agodot/emacs, el/dot-emacs.el: Fix `split-window-horizontally'.
Mark Wooding [Thu, 13 May 2010 13:45:18 +0000 (14:45 +0100)]
dot/emacs, el/dot-emacs.el: Fix `split-window-horizontally'.

The standard version takes the space used for fringes and scroll bars
out of the space you request for the left window.  (But, oddly, if you
give a negative width, for the right window, then you get what you asked
for.)  This is annoying, so fix it.

Actually fixing (or even advising) `split-window-horizontally' is too
risky to compatibility, so I've invented a new function
`mdw-split-window-horizontally' which does the job right, and rebound
C-x 3 to use the new version.

14 years agodot/bash_profile: Don't start new gnome-keyring-daemon processes.
Mark Wooding [Mon, 10 May 2010 23:07:24 +0000 (00:07 +0100)]
dot/bash_profile: Don't start new gnome-keyring-daemon processes.

Be careful only to kick ones which are already running, by poking D-Bus
and seeing what happens.

14 years agoMerge remote branches 'ponder' and 'crybaby'
Mark Wooding [Thu, 6 May 2010 14:28:22 +0000 (15:28 +0100)]
Merge remote branches 'ponder' and 'crybaby'

* ponder:
  dot/gnus.el: Hack for closing the summary view.
  dot/bashrc: Minor options tweaks.

* crybaby:
  dot/bash_profile: Use gnome-keyring-daemon's SSH agent if available.

14 years agoMerge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile
Mark Wooding [Wed, 5 May 2010 16:19:01 +0000 (17:19 +0100)]
Merge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile

* 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile:
  dot/emacs: Set some calendar variables which don't seem to have values.

14 years agodot/gnus.el: Hack for closing the summary view.
Mark Wooding [Wed, 5 May 2010 14:25:19 +0000 (15:25 +0100)]
dot/gnus.el: Hack for closing the summary view.

The problem is that `q' and `c' don't delete the summary window when
both the summary and message windows are showing, so the group buffer
takes its place in the old message window, and some other buffer appears
where the summary was.

Fix it with some advice.  Hack hack.

14 years agodot/bashrc: Minor options tweaks.
Mark Wooding [Wed, 5 May 2010 14:23:12 +0000 (15:23 +0100)]
dot/bashrc: Minor options tweaks.

Enable `**' wildcards and GNU-style errors; omit things beginning with a
space from the history.

14 years agodot/emacs: Set some calendar variables which don't seem to have values.
Mark Wooding [Mon, 3 May 2010 01:08:00 +0000 (02:08 +0100)]
dot/emacs: Set some calendar variables which don't seem to have values.

Not entirely sure why the calendar stuff isn't giving these default
values.  Hey, ho.

14 years agodot/bash_profile: Use gnome-keyring-daemon's SSH agent if available.
Mark Wooding [Sun, 2 May 2010 19:58:34 +0000 (20:58 +0100)]
dot/bash_profile: Use gnome-keyring-daemon's SSH agent if available.

Quick check before trying to crank up our own agent.

14 years agoMerge branch 'master' of metalzone:etc/profile
Mark Wooding [Mon, 12 Apr 2010 23:27:48 +0000 (00:27 +0100)]
Merge branch 'master' of metalzone:etc/profile

* 'master' of metalzone:etc/profile:
  dot/xinitrc: Punt a bunch of application startup stuff to `gnome-session'.
  setup, pulseaudio, git: Add PulseAudio configuration; substituted dotfiles.
  dot/emacs: Twiddle `{shell,comint}-file-name-chars'.
  bin/mdw-build: Insert missing space.

14 years agodot/xinitrc: Punt a bunch of application startup stuff to `gnome-session'.
Mark Wooding [Mon, 12 Apr 2010 20:01:14 +0000 (21:01 +0100)]
dot/xinitrc: Punt a bunch of application startup stuff to `gnome-session'.

Realization: if I let it do its thing, I have less work to do.  It knows
more about funny infrastructural stuff than I do, and things like
`gkrellm' might not be installed everywhere.

14 years agoMerge remote branch 'ponder'
Mark Wooding [Mon, 12 Apr 2010 18:32:29 +0000 (19:32 +0100)]
Merge remote branch 'ponder'

* ponder:
  setup, pulseaudio, git: Add PulseAudio configuration; substituted dotfiles.

14 years agosetup, pulseaudio, git: Add PulseAudio configuration; substituted dotfiles.
Mark Wooding [Mon, 12 Apr 2010 15:30:30 +0000 (16:30 +0100)]
setup, pulseaudio, git: Add PulseAudio configuration; substituted dotfiles.

Add a notion of a `substituted dotfile', which is installed by applying
a simple sed(1) script to a skeleton rather than messing with symbolic
links.

Install some basic PulseAudio configuration.  Pulse needs this hacking
because it doesn't let us refer to our home directory without an absolute
pathname, which is a total nuisance.

Adopt .gitconfig under this scheme.  The source moves to dot/gitconfig.in
now.

14 years agodot/emacs: Twiddle `{shell,comint}-file-name-chars'.
Mark Wooding [Thu, 8 Apr 2010 19:34:16 +0000 (20:34 +0100)]
dot/emacs: Twiddle `{shell,comint}-file-name-chars'.

At last, command completion works properly.

14 years agobin/mdw-build: Insert missing space.
Mark Wooding [Thu, 8 Apr 2010 19:33:45 +0000 (20:33 +0100)]
bin/mdw-build: Insert missing space.

Purely cosmetic.

14 years agodot/xinitrc: Lower the beep volume.
Mark Wooding [Sun, 4 Apr 2010 12:17:42 +0000 (13:17 +0100)]
dot/xinitrc: Lower the beep volume.

14 years agodot/xinitrc: Fix whitespace crapness.
Mark Wooding [Fri, 2 Apr 2010 16:24:18 +0000 (17:24 +0100)]
dot/xinitrc: Fix whitespace crapness.

Not sure how this crept in.

14 years agosetup, bin/aspell-hack, dot/emacs: Make `aspell' start in $HOME.
Mark Wooding [Thu, 1 Apr 2010 18:14:54 +0000 (19:14 +0100)]
setup, bin/aspell-hack, dot/emacs: Make `aspell' start in $HOME.

Otherwise it starts in some random directory and maybe stops me
unmounting removable media.  Bug reported to Debian.

14 years agodot/xinitrc: Run `gnome-screensaver' by preference.
Mark Wooding [Thu, 1 Apr 2010 08:49:10 +0000 (09:49 +0100)]
dot/xinitrc: Run `gnome-screensaver' by preference.

Now that we've got gnome-session running, there's no reason not to any
more.  And it also does the right thing with the keyring system.

14 years agodot/gnus.el: Use backquote in the tree display.
Mark Wooding [Wed, 31 Mar 2010 22:20:52 +0000 (23:20 +0100)]
dot/gnus.el: Use backquote in the tree display.

Looks more rounded, at least now that I have traditional quote glyphs.

14 years agoMerge remote branch 'crybaby'
Mark Wooding [Wed, 31 Mar 2010 09:13:14 +0000 (10:13 +0100)]
Merge remote branch 'crybaby'

* crybaby:
  dot/emacs: Mark the `edit-server' process as expendable.

14 years agodot/emacs: Mark the `edit-server' process as expendable.
Mark Wooding [Wed, 31 Mar 2010 09:11:34 +0000 (10:11 +0100)]
dot/emacs: Mark the `edit-server' process as expendable.

Don't want it holding up closedown.  I should submit a bug about this.

14 years agoMerge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile
Mark Wooding [Tue, 30 Mar 2010 12:25:12 +0000 (13:25 +0100)]
Merge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile

* 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile:
  el/dot-emacs.el: `mdw-whitespace-mode' changes trailing visibility.
  dot/xinitrc: Start gnome-session(1).
  Merge remote branches 'crybaby' and 'ponder'
  dot/xinitrc: Wait for e16 to start, and tweak cursor after it does.
  dot/e16-bindings: New bindings for moving and resizing windows.
  dot/e16-bindings: Use xinitcmd(1) rather than xatom(1).
  dot/xinitrc: Provide mnemonics for xgetline(1) prompts.
  dot/bash_profile (__mdw_addto): Quote new value properly.
  dot/emacs: Support the Chrome edit server.
  dot/vimrc: Use the right font and colours.  Turn on autoindent.
  dot/xinitrc: Whoops.  Spelt the Gnome authentication agent thing wrong.
  el/dot-emacs.el: Twiddle `variable-pitch' face size for Emacs 22.

14 years agoel/dot-emacs.el: Remove `turn-on-font-lock-if-enabled'.
Mark Wooding [Tue, 30 Mar 2010 12:22:16 +0000 (13:22 +0100)]
el/dot-emacs.el: Remove `turn-on-font-lock-if-enabled'.

Doesn't seem to exist any more in Emacs 23; doesn't do much of any use
in Emacs 22 anyway.

14 years agodot/emacs, el/dot-emacs.el: Use Chrome as the default URL browser.
Mark Wooding [Tue, 30 Mar 2010 12:21:43 +0000 (13:21 +0100)]
dot/emacs, el/dot-emacs.el: Use Chrome as the default URL browser.

Nothing particularly clever here.

14 years agodot/e16-bindings: Keyboard shortcut for `zoom'.
Mark Wooding [Tue, 30 Mar 2010 12:20:12 +0000 (13:20 +0100)]
dot/e16-bindings: Keyboard shortcut for `zoom'.

Doesn't seem to work properly right now.  Maybe later.

14 years agoel/dot-emacs.el: `mdw-whitespace-mode' changes trailing visibility.
Mark Wooding [Tue, 30 Mar 2010 09:02:41 +0000 (10:02 +0100)]
el/dot-emacs.el: `mdw-whitespace-mode' changes trailing visibility.

A one-stop shop for whitespace offences.

14 years agoMerge remote branch 'crybaby'
Mark Wooding [Tue, 30 Mar 2010 09:02:20 +0000 (10:02 +0100)]
Merge remote branch 'crybaby'

* crybaby:
  dot/xinitrc: Start gnome-session(1).

14 years agodot/xinitrc: Start gnome-session(1).
Mark Wooding [Tue, 30 Mar 2010 08:50:08 +0000 (09:50 +0100)]
dot/xinitrc: Start gnome-session(1).

I think I've rigged it to not actually start anything on all my machines
now.  Very annoying.

14 years agoMerge remote branches 'crybaby' and 'ponder'
Mark Wooding [Mon, 29 Mar 2010 20:34:17 +0000 (21:34 +0100)]
Merge remote branches 'crybaby' and 'ponder'

* crybaby:
  dot/xinitrc: Wait for e16 to start, and tweak cursor after it does.
  dot/e16-bindings: New bindings for moving and resizing windows.
  dot/e16-bindings: Use xinitcmd(1) rather than xatom(1).
  dot/xinitrc: Provide mnemonics for xgetline(1) prompts.

* ponder:

14 years agodot/xinitrc: Wait for e16 to start, and tweak cursor after it does.
Mark Wooding [Mon, 29 Mar 2010 20:16:11 +0000 (20:16 +0000)]
dot/xinitrc: Wait for e16 to start, and tweak cursor after it does.

This should also stop xterms and the like getting in before E does and
ending up in the wrong places as a result.

14 years agoMerge branch 'master' of metalzone:etc/profile
Mark Wooding [Mon, 29 Mar 2010 17:22:57 +0000 (18:22 +0100)]
Merge branch 'master' of metalzone:etc/profile

* 'master' of metalzone:etc/profile:
  dot/bash_profile (__mdw_addto): Quote new value properly.
  dot/xinitrc: Whoops.  Spelt the Gnome authentication agent thing wrong.
  dot/emacs: Have w3m display PDF files in Evince.
  dot/emacs: Remove Senator's unpleasant claws from isearch.
  el/dot-emacs.el: Remove further stray debugging code.
  el/dot-emacs.el: Allow `+' as a list item marker.
  dot/emacs: Remove VCS directories from `completion-ignored-extensions'
  .gitattributes: Diff Emacs Lisp files as Lisp.
  dot/bash_profile (__mdw_addto) SECURITY: Only set var if it changed.
  dot/xinitrc: Start policykit authentication agent if present.
  el/dot-emacs.el: Explicitly indent with spaces in Python-like modes.
  el/dot-emacs.el: Front-end function for turning on `whitespace-mode'.
  dot/emacs: Use `window-system-default-frame-alist'.
  dot/Xdefaults: Use server fonts by default in Emacs.
  dot/emacs: Turn on column number display.
  dot/emacs: More `dired' hacking: tweak keymap.
  dot/emacs: Tweak `dired' settings.
  dot/emacs: Force use of server-side X fonts.
  dot/emacs: Make `gnus' be the default mail reader.
  dot/emacs: Fix stupid bug in `tramp' setup.

14 years agodot/e16-bindings: New bindings for moving and resizing windows.
Mark Wooding [Mon, 29 Mar 2010 17:21:07 +0000 (18:21 +0100)]
dot/e16-bindings: New bindings for moving and resizing windows.

Not perfect: the focus can end up in the wrong place afterwards.  Could
be fixed for moving by warping the pointer -- except if the window isn't
at the top of the z-order.  Oh, well.

14 years agodot/e16-bindings: Use xinitcmd(1) rather than xatom(1).
Mark Wooding [Mon, 29 Mar 2010 17:20:21 +0000 (18:20 +0100)]
dot/e16-bindings: Use xinitcmd(1) rather than xatom(1).

It's shorter, and means I can change stuff more easily.

14 years agodot/xinitrc: Provide mnemonics for xgetline(1) prompts.
Mark Wooding [Mon, 29 Mar 2010 17:19:18 +0000 (18:19 +0100)]
dot/xinitrc: Provide mnemonics for xgetline(1) prompts.

14 years agodot/bash_profile (__mdw_addto): Quote new value properly.
Mark Wooding [Wed, 17 Mar 2010 16:57:35 +0000 (16:57 +0000)]
dot/bash_profile (__mdw_addto): Quote new value properly.

This surfaces on Windows, where directories on the PATH commonly have
spaces in their names (particularly `Program Files').

It doesn't look security critical: you have to be on the other side of
the airtight hatch to mess with my initial environment anyway.

14 years agoMerge remote branch 'crybaby'
Mark Wooding [Thu, 18 Feb 2010 15:33:26 +0000 (15:33 +0000)]
Merge remote branch 'crybaby'

* crybaby:
  dot/emacs: Support the Chrome edit server.
  dot/vimrc: Use the right font and colours.  Turn on autoindent.
  el/dot-emacs.el: Twiddle `variable-pitch' face size for Emacs 22.

14 years agodot/emacs: Support the Chrome edit server.
Mark Wooding [Wed, 17 Feb 2010 15:29:55 +0000 (15:29 +0000)]
dot/emacs: Support the Chrome edit server.

14 years agodot/vimrc: Use the right font and colours. Turn on autoindent.
Mark Wooding [Wed, 17 Feb 2010 15:29:15 +0000 (15:29 +0000)]
dot/vimrc: Use the right font and colours.  Turn on autoindent.

14 years agodot/xinitrc: Whoops. Spelt the Gnome authentication agent thing wrong.
Mark Wooding [Fri, 5 Feb 2010 18:57:18 +0000 (18:57 +0000)]
dot/xinitrc: Whoops.  Spelt the Gnome authentication agent thing wrong.

Fixfixfix.

14 years agodot/emacs: Have w3m display PDF files in Evince.
Mark Wooding [Thu, 4 Feb 2010 13:24:52 +0000 (13:24 +0000)]
dot/emacs: Have w3m display PDF files in Evince.

Maybe I'll prefer DocView eventually, but for now...

14 years agodot/emacs: Remove Senator's unpleasant claws from isearch.
Mark Wooding [Thu, 4 Feb 2010 13:24:07 +0000 (13:24 +0000)]
dot/emacs: Remove Senator's unpleasant claws from isearch.

This unbreaks Info mode search, so we can ramp Senator back up again.

14 years agoel/dot-emacs.el: Remove further stray debugging code.
Mark Wooding [Thu, 4 Feb 2010 13:22:27 +0000 (13:22 +0000)]
el/dot-emacs.el: Remove further stray debugging code.

From `mdw-last-one-out-turn-off-the-lights'.  Again.

14 years agoel/dot-emacs.el: Allow `+' as a list item marker.
Mark Wooding [Thu, 4 Feb 2010 13:21:52 +0000 (13:21 +0000)]
el/dot-emacs.el: Allow `+' as a list item marker.

This is useful for Org mode; while Org itself is happy enough with `*' as
a marker, the LaTeX exporter doesn't recognize it, so I'll use `+'
instead.

14 years agodot/emacs: Remove VCS directories from `completion-ignored-extensions'
Mark Wooding [Thu, 4 Feb 2010 13:20:14 +0000 (13:20 +0000)]
dot/emacs: Remove VCS directories from `completion-ignored-extensions'

What I /want/ to do is have Emacs not ignore `.git' as a suffix on a
directory name, but still ignore the VCS directory, but it doesn't seem
to work like that.  More on this later, probably.

14 years ago.gitattributes: Diff Emacs Lisp files as Lisp.
Mark Wooding [Thu, 4 Feb 2010 13:18:13 +0000 (13:18 +0000)]
.gitattributes: Diff Emacs Lisp files as Lisp.

14 years agodot/bash_profile (__mdw_addto) SECURITY: Only set var if it changed.
Mark Wooding [Mon, 18 Jan 2010 14:45:04 +0000 (14:45 +0000)]
dot/bash_profile (__mdw_addto) SECURITY: Only set var if it changed.

If this isn't done, we end up with empty variables where previously they
were unset.  This is especially bad for PYTHONPATH, which will pick
`site.py' out of the current directory.

14 years agodot/xinitrc: Start policykit authentication agent if present.
Mark Wooding [Tue, 12 Jan 2010 11:20:20 +0000 (11:20 +0000)]
dot/xinitrc: Start policykit authentication agent if present.

This will, with luck, be more convenient than without.  Maybe this is
the wrong approach and I ought to actually run the Gnome session manager
(which might start this agent automatically).

14 years agoMerge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile
Mark Wooding [Mon, 11 Jan 2010 17:02:44 +0000 (17:02 +0000)]
Merge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile

* 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile:
  dot/emacs: Use `window-system-default-frame-alist'.
  dot/Xdefaults: Use server fonts by default in Emacs.
  dot/emacs: Turn on column number display.
  dot/emacs: More `dired' hacking: tweak keymap.
  dot/emacs: Tweak `dired' settings.
  dot/emacs: Force use of server-side X fonts.
  dot/emacs: Make `gnus' be the default mail reader.
  dot/emacs: Fix stupid bug in `tramp' setup.
  el/dot-emacs.el: Complicated `exchange-point-and-mark' hack.
  dot/emacs: Insinuate `org' with `remember'.
  dot/emacs: Format line numbers prettily.
  dot/emacs: Turn password expiry off.
  dot/emacs: Tweak file-local variable settings.
  el/dot-emacs.el: Use `make-local-variable'.
  bin/mdw-build: Cross-check Git and Debian version numbers.
  dot/emacs, el/dot-emacs.el: Fix `tramp-methods' some more.
  dot/emacs, el/dot-emacs.el: Fix patterns for root prompt.
  emacs: Yet another spelling of `git' in `vc-handled-backends'.
  el/dot-emacs.el: Clobber `comint-highlight-input' properly.