chiark / gitweb /
profile
20 months agoMerge branch 'master' into ncipher ncipher
Mark Wooding [Mon, 9 Jan 2012 12:08:28 +0000]
Merge branch 'master' into ncipher

* master:
  dot/ercrc.el: Reduce the right-hand margin slightly.

20 months agodot/ercrc.el: Reduce the right-hand margin slightly.
Mark Wooding [Mon, 9 Jan 2012 12:06:05 +0000]
dot/ercrc.el: Reduce the right-hand margin slightly.

This prevents Emacs's slightly over-eager word wrapping from making a
mess of stuff in the narrower windows in X frames.

20 months agoMerge branch 'master' of git://git.distorted.org.uk/~mdw/profile into ncipher
Mark Wooding [Mon, 9 Jan 2012 11:48:47 +0000]
Merge branch 'master' of git://git.distorted.org.uk/~mdw/profile into ncipher

* 'master' of git://git.distorted.org.uk/~mdw/profile:
  bin/un-backslashify-selection: Trim leading spaces in selection.
  dot/ercrc.el: Fix the indent marker to be all spaces.
  el/dot-emacs.el: Fix fonts for better terminal display.
  el/dot-emacs.el: Colour for continuation and truncation display marks.
  dot/ercrc.el: Do something more useful for long input lines.
  dot/emacs: Truncate long lines by default.
  dot/bash_profile: Make `less' scroll, not wrap.
  dot/emacs: Turn on `mdw-misc-mode-config' for some new modes.
  bin/mdw-build: Describing the build system conventions needed.
  bin/mdw-build: Accept a `.git' directory as a top-level.
  bin/mdw-build: Discard `tar' errors when searching for `.../RELEASE'.
  el/dot-emacs.el: Hack quotes in configuration files.
  el/dot-emacs.el: Single quotes are quote-like.
  dot-emacs.el: Tweak diff fontification.
  dot/rcrc: Add some creature comforts from dot/bashrc.
  dot/rcrc: Reformat in line with usual conventions.
  dot/bash*, dot/rcrc: Force correct shell support in Emacs.
  el/dot-emacs.el: Shell-mode hacking for non-Bourne shells.
  el/dot-emacs.el: Use CPerl mode rather than Perl mode.

20 months agobin/un-backslashify-selection: Trim leading spaces in selection.
Mark Wooding [Sun, 8 Jan 2012 00:14:13 +0000]
bin/un-backslashify-selection: Trim leading spaces in selection.

Recent Emacs configuration changes insert spaces at the beginnings of
wrapped lines in IRC, so this is necessary to strip them out again.

20 months agodot/ercrc.el: Fix the indent marker to be all spaces. chiark
Mark Wooding [Sat, 7 Jan 2012 22:56:31 +0000]
dot/ercrc.el: Fix the indent marker to be all spaces.

Easier to strip out when capturing a selection.

20 months agoel/dot-emacs.el: Fix fonts for better terminal display.
Mark Wooding [Sat, 7 Jan 2012 22:52:11 +0000]
el/dot-emacs.el: Fix fonts for better terminal display.

20 months agoel/dot-emacs.el: Colour for continuation and truncation display marks.
Mark Wooding [Sat, 7 Jan 2012 22:33:05 +0000]
el/dot-emacs.el: Colour for continuation and truncation display marks.

Makes them stand out better.

20 months agodot/ercrc.el: Do something more useful for long input lines.
Mark Wooding [Sat, 7 Jan 2012 17:15:23 +0000]
dot/ercrc.el: Do something more useful for long input lines.

Don't truncate; word wrap and include a distinctive prefix for wrapped
lines.

20 months agodot/emacs: Truncate long lines by default.
Mark Wooding [Sat, 7 Jan 2012 17:17:13 +0000]
dot/emacs: Truncate long lines by default.

Wrapped lines generally cause trouble and make stuff hard to read.  The
right solution, given a file with lots of long lines, is either to fix
the long lines, or to view in a wider window.

20 months agodot/bash_profile: Make `less' scroll, not wrap.
Mark Wooding [Sat, 7 Jan 2012 16:18:25 +0000]
dot/bash_profile: Make `less' scroll, not wrap.

I find myself turning this on more or less every time I want to read a
wide thing, so it makes to make it the default.

20 months agodot/emacs: Turn on `mdw-misc-mode-config' for some new modes.
Mark Wooding [Sat, 7 Jan 2012 16:03:27 +0000]
dot/emacs: Turn on `mdw-misc-mode-config' for some new modes.

Now there is whitespace highlighting in configuration files and
makefiles.  I'm surprised I never did this for make.

20 months agobin/mdw-build: Describing the build system conventions needed.
Mark Wooding [Sat, 7 Jan 2012 16:02:41 +0000]
bin/mdw-build: Describing the build system conventions needed.

20 months agobin/mdw-build: Accept a `.git' directory as a top-level.
Mark Wooding [Sat, 7 Jan 2012 16:01:54 +0000]
bin/mdw-build: Accept a `.git' directory as a top-level.

Most projects are likely to have one of these, even if they don't have
anything else distinctive.

20 months agobin/mdw-build: Discard `tar' errors when searching for `.../RELEASE'.
Mark Wooding [Sat, 7 Jan 2012 15:58:49 +0000]
bin/mdw-build: Discard `tar' errors when searching for `.../RELEASE'.

GNU `tar' reports a vague `write error' as a result of the broken pipe
caused by the following `grep' finding a successful match.  This isn't
useful.  In our case, we don't care about this, since either we've found
the file anyway (so we're happy) or we didn't (in which case we'll fail
anyway).

The report, which makes its way to stderr even in quiet mode, is
worrying until you learn to ignore it, at which point it may hide a more
serious problem.

20 months agoel/dot-emacs.el: Hack quotes in configuration files.
Mark Wooding [Fri, 6 Jan 2012 10:54:53 +0000]
el/dot-emacs.el: Hack quotes in configuration files.

`conf-mode' has a convenient tweak which makes quote characters not be
special, which you invoke using C-c C-q (M-x conf-quote-normal).
Unfortunately, there's no way to force this setting for a particular
file, which means that the display is wrong until you clobber it
manually.  Worse, the setting applies equally to both quote characters.

Institute a new variable for controlling whether quotes should be given
special syntax, and honour it in a hook function.  This turns out to be
fiddly: read the docstrings for details.

21 months agoel/dot-emacs.el: Single quotes are quote-like.
Mark Wooding [Thu, 29 Dec 2011 18:30:19 +0000]
el/dot-emacs.el: Single quotes are quote-like.

21 months agodot-emacs.el: Tweak diff fontification.
Mark Wooding [Thu, 29 Dec 2011 16:45:59 +0000]
dot-emacs.el: Tweak diff fontification.

Turn off highlighting for header lines; more legible background for
refined diff.

21 months agodot/rcrc: Add some creature comforts from dot/bashrc.
Mark Wooding [Wed, 28 Dec 2011 17:53:23 +0000]
dot/rcrc: Add some creature comforts from dot/bashrc.

21 months agodot/rcrc: Reformat in line with usual conventions.
Mark Wooding [Wed, 28 Dec 2011 17:43:11 +0000]
dot/rcrc: Reformat in line with usual conventions.

This is `diff -b' clean.

21 months agodot/bash*, dot/rcrc: Force correct shell support in Emacs.
Mark Wooding [Wed, 28 Dec 2011 17:11:43 +0000]
dot/bash*, dot/rcrc: Force correct shell support in Emacs.

21 months agoel/dot-emacs.el: Shell-mode hacking for non-Bourne shells.
Mark Wooding [Wed, 28 Dec 2011 17:10:11 +0000]
el/dot-emacs.el: Shell-mode hacking for non-Bourne shells.

This is surprisingly grim.  The rc support botches fontification of
backquotes surprisingly badly.  And it's really hard to force the use of
a particular shell for a given file because local variables get set
after the mode is chosen.

21 months agoel/dot-emacs.el: Use CPerl mode rather than Perl mode.
Mark Wooding [Wed, 28 Dec 2011 17:09:06 +0000]
el/dot-emacs.el: Use CPerl mode rather than Perl mode.

It's just so much better...

21 months agoMerge branch 'master' of git://git.distorted.org.uk/~mdw/profile into ncipher
Mark Wooding [Mon, 19 Dec 2011 18:13:54 +0000]
Merge branch 'master' of git://git.distorted.org.uk/~mdw/profile into ncipher

* 'master' of git://git.distorted.org.uk/~mdw/profile:
  dot/gitconfig.in: Turn on rebase.autosquash.
  dot/emacs: Recognize some Autoconf tokens in shebang lines.
  el/dot-emacs.el: Make `sh-mode' use `/bin/sh' rules by default.
  dot/emacs: Use text-mode for `.topmsg' files.
  bin/mdw-editor: Set TMPDIR from TMP if it's unset.

21 months agodot/gitconfig.in: Turn on rebase.autosquash.
Mark Wooding [Sun, 18 Dec 2011 16:25:32 +0000]
dot/gitconfig.in: Turn on rebase.autosquash.

21 months agodot/emacs: Recognize some Autoconf tokens in shebang lines.
Mark Wooding [Sun, 18 Dec 2011 16:26:04 +0000]
dot/emacs: Recognize some Autoconf tokens in shebang lines.

Maybe more of these later.

21 months agoel/dot-emacs.el: Make `sh-mode' use `/bin/sh' rules by default.
Mark Wooding [Sun, 18 Dec 2011 16:24:59 +0000]
el/dot-emacs.el: Make `sh-mode' use `/bin/sh' rules by default.

21 months agodot/emacs: Use text-mode for `.topmsg' files.
Mark Wooding [Fri, 16 Dec 2011 10:38:01 +0000]
dot/emacs: Use text-mode for `.topmsg' files.

21 months agobin/mdw-editor: Set TMPDIR from TMP if it's unset.
Mark Wooding [Mon, 12 Dec 2011 23:48:43 +0000]
bin/mdw-editor: Set TMPDIR from TMP if it's unset.

Setuid programs drop the TMPDIR environment variable.  This means that
emacsclient can't find the correct socket directory if it's started via
`sudo -e', which is annoying.  Fortunately, we have a copy of the
correct directory lying around, so we can use it to fix things up.

21 months agoMerge branch 'master' of git://git.distorted.org.uk/~mdw/profile into ncipher
Mark Wooding [Tue, 6 Dec 2011 15:19:12 +0000]
Merge branch 'master' of git://git.distorted.org.uk/~mdw/profile into ncipher

* 'master' of git://git.distorted.org.uk/~mdw/profile:
  setup: OpenBSD make(1) doesn't have `-C'.
  setup: Help finding locally installed libraries.
  dot/gitconfig.in: Various cosmetic tweaks.
  dot/emacs: Different tweak for Python indent level.
  dot/emacs, el/dot-emacs.el: Javascript support
  dot/emacs: Trap a failure to find the `remember' package.
  dot/bash_profile: Move establishment of TMPDIR until after PATH is set up.
  dot/bashrc: Portability: use termcap if terminfo doesn't work.

21 months agosetup: OpenBSD make(1) doesn't have `-C'.
Mark Wooding [Tue, 6 Dec 2011 12:57:40 +0000]
setup: OpenBSD make(1) doesn't have `-C'.

Change directory the old-fashioned way.

21 months agosetup: Help finding locally installed libraries.
Mark Wooding [Tue, 6 Dec 2011 10:22:32 +0000]
setup: Help finding locally installed libraries.

pkg-config isn't as clever as the old mLib-finding macro, so help it
out.

21 months agodot/gitconfig.in: Various cosmetic tweaks.
Mark Wooding [Mon, 5 Dec 2011 23:21:49 +0000]
dot/gitconfig.in: Various cosmetic tweaks.

  * Use RFC822 date format rather than the default in logs.

  * Decorate logs with ref names.

  * New alias for drawing a convenient commit graph.

21 months agodot/emacs: Different tweak for Python indent level.
Mark Wooding [Mon, 5 Dec 2011 13:49:26 +0000]
dot/emacs: Different tweak for Python indent level.

There appear to be two Python modes, and I'm not sure how they get
selected.

22 months agodot/emacs, el/dot-emacs.el: Javascript support
Mark Wooding [Sat, 3 Dec 2011 14:12:18 +0000]
dot/emacs, el/dot-emacs.el: Javascript support

22 months agodot/emacs: Trap a failure to find the `remember' package.
Mark Wooding [Wed, 30 Nov 2011 19:15:14 +0000]
dot/emacs: Trap a failure to find the `remember' package.

22 months agodot/bash_profile: Move establishment of TMPDIR until after PATH is set up.
Mark Wooding [Wed, 30 Nov 2011 19:14:32 +0000]
dot/bash_profile: Move establishment of TMPDIR until after PATH is set up.

Otherwise we can't find a locally installed copy of `tmpdir'.

22 months agodot/bashrc: Portability: use termcap if terminfo doesn't work.
Mark Wooding [Sat, 25 Jun 2011 13:40:05 +0000]
dot/bashrc: Portability: use termcap if terminfo doesn't work.

Grumble grumble FreeBSD grumble.

22 months agoMerge branch 'master' of git+ssh://git.distorted.org.uk/~mdw/etc/profile into ncipher
Mark Wooding [Mon, 21 Nov 2011 10:46:29 +0000]
Merge branch 'master' of git+ssh://git.distorted.org.uk/~mdw/etc/profile into ncipher

* 'master' of git+ssh://git.distorted.org.uk/~mdw/etc/profile:
  hacks/ssh: Trivial formatting change.
  el/dot-emacs.el: More Perl keywords.
  dot/emacs: Change email address style.
  dot/gitconfig.in: Tweak email preferences.
  dot/mc-panels.ini: More useful default.

22 months agohacks/ssh: Trivial formatting change.
Mark Wooding [Sun, 20 Nov 2011 22:41:28 +0000]
hacks/ssh: Trivial formatting change.

22 months agoel/dot-emacs.el: More Perl keywords.
Mark Wooding [Sun, 20 Nov 2011 22:41:04 +0000]
el/dot-emacs.el: More Perl keywords.

22 months agodot/emacs: Change email address style.
Mark Wooding [Sun, 20 Nov 2011 22:38:16 +0000]
dot/emacs: Change email address style.

I think I lost this one.  Give up.

22 months agodot/gitconfig.in: Tweak email preferences.
Mark Wooding [Sun, 20 Nov 2011 13:40:31 +0000]
dot/gitconfig.in: Tweak email preferences.

Also rearrange the substitution mechanism.  There's no point in checking
the gitignore preference if the gitignore file is tweakable anyway.

22 months agodot/mc-panels.ini: More useful default.
Mark Wooding [Sun, 20 Nov 2011 13:41:13 +0000]
dot/mc-panels.ini: More useful default.

22 months agoMerge branch 'master' of git+ssh://git.distorted.org.uk/~mdw/etc/profile into ncipher
Mark Wooding [Fri, 11 Nov 2011 18:27:04 +0000]
Merge branch 'master' of git+ssh://git.distorted.org.uk/~mdw/etc/profile into ncipher

* 'master' of git+ssh://git.distorted.org.uk/~mdw/etc/profile:
  dot/emacs: Turn off warning about the change to message-mode.
  dot/mailrc: Add some new aliases.

22 months agoMerge remote-tracking branch 'ponder/master'
Mark Wooding [Fri, 11 Nov 2011 17:57:13 +0000]
Merge remote-tracking branch 'ponder/master'

* ponder/master:
  dot/emacs: Fix awful calendar snafu.
  el/dot-emacs.el: Define org-mode variables to make Docbook output work.
  dot/e16-bindings: New bindings for fiddling with window opacity.

22 months agodot/emacs: Turn off warning about the change to message-mode.
Mark Wooding [Fri, 11 Nov 2011 17:56:44 +0000]
dot/emacs: Turn off warning about the change to message-mode.

Also reformat that settings stanza.

22 months agodot/mailrc: Add some new aliases.
Mark Wooding [Fri, 11 Nov 2011 17:56:30 +0000]
dot/mailrc: Add some new aliases.

22 months agoMerge branch 'master' into ncipher
Mark Wooding [Fri, 11 Nov 2011 17:55:16 +0000]
Merge branch 'master' into ncipher

* master:
  dot/emacs: Fix awful calendar snafu.
  el/dot-emacs.el: Define org-mode variables to make Docbook output work.
  dot/e16-bindings: New bindings for fiddling with window opacity.
  hacks/ssh: Pass the requested port to `ssh -Ocheck'.

22 months agodot/emacs: Fix awful calendar snafu.
Mark Wooding [Fri, 11 Nov 2011 17:52:42 +0000]
dot/emacs: Fix awful calendar snafu.

Don't locally bind view-diary-entries-initially when showing the
calendar.  If you do, then, for some reason,
calendar-view-diary-initially-flag gets unbound, and then org-mode will
get confused and introduce a variable-alias loop.  This results in
Badness.

This bug took a little while to track down...

22 months agoel/dot-emacs.el: Define org-mode variables to make Docbook output work.
Mark Wooding [Fri, 11 Nov 2011 17:52:12 +0000]
el/dot-emacs.el: Define org-mode variables to make Docbook output work.

22 months agodot/e16-bindings: New bindings for fiddling with window opacity.
Mark Wooding [Thu, 28 Jul 2011 08:34:48 +0000]
dot/e16-bindings: New bindings for fiddling with window opacity.

Surprisingly useful, though E is buggy about the initial value.

2 years agoMerge remote-tracking branch 'crybaby'
Mark Wooding [Fri, 16 Sep 2011 10:56:41 +0000]
Merge remote-tracking branch 'crybaby'

* crybaby:
  hacks/ssh: Pass the requested port to `ssh -Ocheck'.

2 years agoMerge branch 'master' of git+ssh://git.distorted.org.uk/~mdw/etc/profile into ncipher
Mark Wooding [Mon, 8 Aug 2011 13:54:48 +0000]
Merge branch 'master' of git+ssh://git.distorted.org.uk/~mdw/etc/profile into ncipher

* 'master' of git+ssh://git.distorted.org.uk/~mdw/etc/profile:
  dot/ercrc.el: Actually make ERC notice when it connects to chiark.
  dot/lisp-init.lisp: Ignore shebang lines.

2 years agoMerge branch 'master' into ncipher
Mark Wooding [Thu, 28 Jul 2011 08:37:03 +0000]
Merge branch 'master' into ncipher

* master:
  dot/e16-bindings: New bindings for fiddling with window opacity.

2 years agodot/e16-bindings: New bindings for fiddling with window opacity.
Mark Wooding [Thu, 28 Jul 2011 08:34:48 +0000]
dot/e16-bindings: New bindings for fiddling with window opacity.

Surprisingly useful, though E is buggy about the initial value.

2 years agoMerge branch 'master' of git+ssh://git.distorted.org.uk/~mdw/etc/profile into ncipher
Mark Wooding [Mon, 18 Jul 2011 13:54:52 +0000]
Merge branch 'master' of git+ssh://git.distorted.org.uk/~mdw/etc/profile into ncipher

* 'master' of git+ssh://git.distorted.org.uk/~mdw/etc/profile:
  hacks/ssh: Redirect the master's output and error.
  dot/mailrc: Some minor tweaks for use with GNU Mailutils.
  el/dot-emacs.el: Distinctive highlighting for ellipses.
  bin/mdw-conf, dot/bashrc, setup: Portability fixes.

2 years agodot/ercrc.el: Actually make ERC notice when it connects to chiark.
Mark Wooding [Sat, 16 Jul 2011 13:54:49 +0000]
dot/ercrc.el: Actually make ERC notice when it connects to chiark.

Surprisingly, everything works out despite going through an awful SSH
tunnel lash-up.

2 years agodot/lisp-init.lisp: Ignore shebang lines.
Mark Wooding [Thu, 2 Jun 2011 22:22:22 +0000]
dot/lisp-init.lisp: Ignore shebang lines.

This makes it possible to load programs which were expecting to run
under CL-LAUNCH.

2 years agohacks/ssh: Pass the requested port to `ssh -Ocheck'.
Mark Wooding [Sat, 9 Jul 2011 13:53:42 +0000]
hacks/ssh: Pass the requested port to `ssh -Ocheck'.

Otherwise it doesn't find the correct master socket.

2 years agohacks/ssh: Redirect the master's output and error.
Mark Wooding [Sat, 9 Jul 2011 12:32:39 +0000]
hacks/ssh: Redirect the master's output and error.

Otherwise it inherits our streams, and something waiting from EOF from
us will become seriously disappointed.  It's not like the master has
anything especially interesting to say on stdout anyway.  The error
stream is captured into a logfile for later perusal.

Just stdout wasn't enough.

2 years agodot/mailrc: Some minor tweaks for use with GNU Mailutils.
Mark Wooding [Sat, 9 Jul 2011 13:24:03 +0000]
dot/mailrc: Some minor tweaks for use with GNU Mailutils.

2 years agoel/dot-emacs.el: Distinctive highlighting for ellipses.
Mark Wooding [Mon, 4 Jul 2011 00:30:16 +0000]
el/dot-emacs.el: Distinctive highlighting for ellipses.

Now I can tell whether Emacs is hiding something or I actually typed a
bunch of dots...

2 years agoMerge remote-tracking branches 'distorted/master' and 'ponder/master'
Mark Wooding [Sat, 25 Jun 2011 13:25:49 +0000]
Merge remote-tracking branches 'distorted/master' and 'ponder/master'

* distorted/master:
  bin/mdw-conf, dot/bashrc, setup: Portability fixes.

* ponder/master:
  dot/lisp-init.lisp: Make sure that ASDF is available.

2 years agobin/mdw-conf, dot/bashrc, setup: Portability fixes.
Mark Wooding [Sat, 25 Jun 2011 13:21:58 +0000]
bin/mdw-conf, dot/bashrc, setup: Portability fixes.

2 years agoMerge branch 'master' into ncipher
Mark Wooding [Thu, 23 Jun 2011 10:14:14 +0000]
Merge branch 'master' into ncipher

* master:
  dot/lisp-init.lisp: Make sure that ASDF is available.

2 years agodot/lisp-init.lisp: Make sure that ASDF is available.
Mark Wooding [Thu, 23 Jun 2011 10:13:25 +0000]
dot/lisp-init.lisp: Make sure that ASDF is available.

The Debian Lisp packaging isn't providing ASDF by default any more, so
we must do it ourselves.

2 years agoMerge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile into...
Mark Wooding [Thu, 23 Jun 2011 10:12:40 +0000]
Merge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile into ncipher

* 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile:
  dot/tclshrc: Tcl configuration.
  mdw.conf: Use `sudo' instead of `become'.
  bin/mdw-build: Update archive location.
  dot/emacs: Fix the tramp hacking from last time.
  dot/emacs: Tramp hacking: use `sudo', and set up magic proxies.
  dot/bashrc: Fix `rootly' to make a shell on demand.
  dot/emacs: Use `sudo' for local editing.
  Gnome hacking: Introduce a custom session file.

Conflicts:
mdw.conf

2 years agodot/tclshrc: Tcl configuration.
Mark Wooding [Thu, 23 Jun 2011 08:17:09 +0000]
dot/tclshrc: Tcl configuration.

Currently just readline.

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

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

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

2 years agoMerge branch 'master' of vampire:etc/profile
Mark Wooding [Sun, 5 Jun 2011 10:47:36 +0000]
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.

2 years agodot/emacs: Fix the tramp hacking from last time.
Mark Wooding [Sun, 5 Jun 2011 10:47:18 +0000]
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.

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

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

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

2 years agoMerge remote-tracking branch 'crybaby'
Mark Wooding [Sat, 4 Jun 2011 13:22:57 +0000]
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.

2 years agodot/bashrc: Fix `rootly' to make a shell on demand.
Mark Wooding [Sat, 4 Jun 2011 13:15:22 +0000]
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.

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

2 years agoGnome hacking: Introduce a custom session file.
Mark Wooding [Sat, 14 May 2011 13:21:36 +0000]
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.

2 years agoMerge branch 'master' into ncipher
Mark Wooding [Thu, 2 Jun 2011 15:07:46 +0000]
Merge branch 'master' into ncipher

* master:
  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.
  dot/bash*: Reformat.
  mc: Store configuration and arrange for linkage.

Conflicts:
mdw.conf

2 years agodot/xinitrc: Shut down the Gnome session properly on exit.
Mark Wooding [Thu, 2 Jun 2011 15:00:20 +0000]
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.

2 years agodot/xinitrc: Fiddle with window manager selection.
Mark Wooding [Thu, 2 Jun 2011 14:58:55 +0000]
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.

2 years agodot/xinitrc: Run an early user hook script.
Mark Wooding [Thu, 2 Jun 2011 14:57:38 +0000]
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.

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

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

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

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

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

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

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

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

2 years agoMerge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile into...
Mark Wooding [Mon, 9 May 2011 10:46:19 +0000]
Merge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile into ncipher

* 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile:
  bin/sendmail-hack: Grim hack for Emacs to invoke sendmail.
  dot/emacs: Persuade Message to use sendmail.
  el/dot-emacs.el: Some C indentation fixes.
  el/dot-emacs.el: Fix the eshell prompt algorithm.
  dot/bashrc: Pass login flag to `rc' by default.
  dot/rcrc: Configuration for the Plan 9 shell.

2 years agodot/emacs: Persuade AUCTeX to view PDF output properly.
Mark Wooding [Mon, 9 May 2011 10:46:11 +0000]
dot/emacs: Persuade AUCTeX to view PDF output properly.

Can't see how to do this nicely without completely overriding
`TeX-view-program-selection'.

2 years agodot/emacs: Install the `ditz' bug tracking integration.
Mark Wooding [Mon, 9 May 2011 10:33:04 +0000]
dot/emacs: Install the `ditz' bug tracking integration.

2 years agodot/bash*: Reformat.
Mark Wooding [Sun, 8 May 2011 19:14:02 +0000]
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.

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

2 years agobin/sendmail-hack: Grim hack for Emacs to invoke sendmail.
Mark Wooding [Wed, 27 Apr 2011 09:38:10 +0000]
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.

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

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

2 years agoMerge branch 'master' of vampire:etc/profile
Mark Wooding [Wed, 27 Apr 2011 00:51:32 +0000]
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.

2 years agoMerge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile into...
Mark Wooding [Thu, 10 Mar 2011 17:01:49 +0000]
Merge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile into ncipher

* 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/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.

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

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

2 years agohacks/ssh: Add new hack for setting up background SSH master connections.
Mark Wooding [Sun, 19 Dec 2010 03:14:17 +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.

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