Mark Wooding [Sat, 7 Jan 2012 16:02:41 +0000 (16:02 +0000)]
bin/mdw-build: Describing the build system conventions needed.
Mark Wooding [Sat, 7 Jan 2012 16:01:54 +0000 (16:01 +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.
Mark Wooding [Sat, 7 Jan 2012 15:58:49 +0000 (15:58 +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.
Mark Wooding [Fri, 6 Jan 2012 10:54:53 +0000 (10:54 +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.
Mark Wooding [Thu, 29 Dec 2011 18:30:19 +0000 (18:30 +0000)]
el/dot-emacs.el: Single quotes are quote-like.
Mark Wooding [Thu, 29 Dec 2011 16:45:59 +0000 (16:45 +0000)]
dot-emacs.el: Tweak diff fontification.
Turn off highlighting for header lines; more legible background for
refined diff.
Mark Wooding [Wed, 28 Dec 2011 17:53:23 +0000 (17:53 +0000)]
dot/rcrc: Add some creature comforts from dot/bashrc.
Mark Wooding [Wed, 28 Dec 2011 17:43:11 +0000 (17:43 +0000)]
dot/rcrc: Reformat in line with usual conventions.
This is `diff -b' clean.
Mark Wooding [Wed, 28 Dec 2011 17:11:43 +0000 (17:11 +0000)]
dot/bash*, dot/rcrc: Force correct shell support in Emacs.
Mark Wooding [Wed, 28 Dec 2011 17:10:11 +0000 (17:10 +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.
Mark Wooding [Wed, 28 Dec 2011 17:09:06 +0000 (17:09 +0000)]
el/dot-emacs.el: Use CPerl mode rather than Perl mode.
It's just so much better...
Mark Wooding [Sun, 18 Dec 2011 16:25:32 +0000 (16:25 +0000)]
dot/gitconfig.in: Turn on rebase.autosquash.
Mark Wooding [Sun, 18 Dec 2011 16:26:04 +0000 (16:26 +0000)]
dot/emacs: Recognize some Autoconf tokens in shebang lines.
Maybe more of these later.
Mark Wooding [Sun, 18 Dec 2011 16:24:59 +0000 (16:24 +0000)]
el/dot-emacs.el: Make `sh-mode' use `/bin/sh' rules by default.
Mark Wooding [Fri, 16 Dec 2011 10:38:01 +0000 (10:38 +0000)]
dot/emacs: Use text-mode for `.topmsg' files.
Mark Wooding [Mon, 12 Dec 2011 23:48:43 +0000 (23:48 +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.
Mark Wooding [Tue, 6 Dec 2011 12:57:40 +0000 (12:57 +0000)]
setup: OpenBSD make(1) doesn't have `-C'.
Change directory the old-fashioned way.
Mark Wooding [Tue, 6 Dec 2011 10:22:32 +0000 (10:22 +0000)]
setup: Help finding locally installed libraries.
pkg-config isn't as clever as the old mLib-finding macro, so help it
out.
Mark Wooding [Mon, 5 Dec 2011 23:21:49 +0000 (23:21 +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.
Mark Wooding [Mon, 5 Dec 2011 13:49:26 +0000 (13:49 +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.
Mark Wooding [Sat, 3 Dec 2011 14:12:18 +0000 (14:12 +0000)]
dot/emacs, el/dot-emacs.el: Javascript support
Mark Wooding [Wed, 30 Nov 2011 19:15:14 +0000 (19:15 +0000)]
dot/emacs: Trap a failure to find the `remember' package.
Mark Wooding [Wed, 30 Nov 2011 19:14:32 +0000 (19:14 +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'.
Mark Wooding [Sat, 25 Jun 2011 13:40:05 +0000 (14:40 +0100)]
dot/bashrc: Portability: use termcap if terminfo doesn't work.
Grumble grumble FreeBSD grumble.
Mark Wooding [Sun, 20 Nov 2011 22:41:28 +0000 (22:41 +0000)]
hacks/ssh: Trivial formatting change.
Mark Wooding [Sun, 20 Nov 2011 22:41:04 +0000 (22:41 +0000)]
el/dot-emacs.el: More Perl keywords.
Mark Wooding [Sun, 20 Nov 2011 22:38:16 +0000 (22:38 +0000)]
dot/emacs: Change email address style.
I think I lost this one. Give up.
Mark Wooding [Sun, 20 Nov 2011 13:40:31 +0000 (13:40 +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.
Mark Wooding [Sun, 20 Nov 2011 13:41:13 +0000 (13:41 +0000)]
dot/mc-panels.ini: More useful default.
Mark Wooding [Fri, 11 Nov 2011 17:57:13 +0000 (17:57 +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.
Mark Wooding [Fri, 11 Nov 2011 17:56:44 +0000 (17:56 +0000)]
dot/emacs: Turn off warning about the change to message-mode.
Also reformat that settings stanza.
Mark Wooding [Fri, 11 Nov 2011 17:56:30 +0000 (17:56 +0000)]
dot/mailrc: Add some new aliases.
Mark Wooding [Fri, 11 Nov 2011 17:52:42 +0000 (17:52 +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...
Mark Wooding [Fri, 11 Nov 2011 17:52:12 +0000 (17:52 +0000)]
el/dot-emacs.el: Define org-mode variables to make Docbook output work.
Mark Wooding [Thu, 28 Jul 2011 08:34:48 +0000 (09:34 +0100)]
dot/e16-bindings: New bindings for fiddling with window opacity.
Surprisingly useful, though E is buggy about the initial value.
Mark Wooding [Fri, 16 Sep 2011 10:56:41 +0000 (11:56 +0100)]
Merge remote-tracking branch 'crybaby'
* crybaby:
hacks/ssh: Pass the requested port to `ssh -Ocheck'.
Mark Wooding [Sat, 16 Jul 2011 13:54:49 +0000 (14:54 +0100)]
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.
Mark Wooding [Thu, 2 Jun 2011 22:22:22 +0000 (23:22 +0100)]
dot/lisp-init.lisp: Ignore shebang lines.
This makes it possible to load programs which were expecting to run
under CL-LAUNCH.
Mark Wooding [Sat, 9 Jul 2011 13:53:42 +0000 (14:53 +0100)]
hacks/ssh: Pass the requested port to `ssh -Ocheck'.
Otherwise it doesn't find the correct master socket.
Mark Wooding [Sat, 9 Jul 2011 12:32:39 +0000 (13:32 +0100)]
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.
Mark Wooding [Sat, 9 Jul 2011 13:24:03 +0000 (14:24 +0100)]
dot/mailrc: Some minor tweaks for use with GNU Mailutils.
Mark Wooding [Mon, 4 Jul 2011 00:30:16 +0000 (01:30 +0100)]
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...
Mark Wooding [Sat, 25 Jun 2011 13:25:49 +0000 (14:25 +0100)]
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.
Mark Wooding [Sat, 25 Jun 2011 13:21:58 +0000 (14:21 +0100)]
bin/mdw-conf, dot/bashrc, setup: Portability fixes.
Mark Wooding [Thu, 23 Jun 2011 10:13:25 +0000 (11:13 +0100)]
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.
Mark Wooding [Thu, 23 Jun 2011 08:17:09 +0000 (09:17 +0100)]
dot/tclshrc: Tcl configuration.
Currently just readline.
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.
Mark Wooding [Tue, 7 Jun 2011 10:58:10 +0000 (11:58 +0100)]
bin/mdw-build: Update archive location.
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.
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.
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.
Mark Wooding [Sun, 5 Jun 2011 01:43:48 +0000 (02:43 +0100)]
dot/emacs: Tramp hacking: use `sudo', and set up magic proxies.
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.
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.
Mark Wooding [Sat, 4 Jun 2011 12:57:27 +0000 (13:57 +0100)]
dot/emacs: Use `sudo' for local editing.
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.
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.
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.
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.
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.
Mark Wooding [Sun, 15 May 2011 11:38:14 +0000 (12:38 +0100)]
setup: Modify URL for the FTP repository.
Mark Wooding [Sun, 15 May 2011 11:37:38 +0000 (12:37 +0100)]
mdw.conf: Use rôle address for the default web cache.
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.
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.
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.
Mark Wooding [Sun, 8 May 2011 18:21:31 +0000 (19:21 +0100)]
mc: Store configuration and arrange for linkage.
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.
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.
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.
Mark Wooding [Thu, 10 Mar 2011 16:59:21 +0000 (16:59 +0000)]
dot/ditz-config: Configuration for `ditz' bug tracker.
Mark Wooding [Mon, 20 Dec 2010 14:16:28 +0000 (14:16 +0000)]
el/dot-emacs.el: Load ERC configuration in advance.
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.
Mark Wooding [Sun, 19 Dec 2010 03:13:33 +0000 (03:13 +0000)]
bin/svnwrap: Fix unjustifiably stupid error.
Mark Wooding [Sun, 19 Dec 2010 03:13:01 +0000 (03:13 +0000)]
dot/ercrc.el: Common configuration for ERC.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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'.
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.
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.
Mark Wooding [Mon, 17 May 2010 23:24:51 +0000 (00:24 +0100)]
dot/gitconfig.in: Turn on `git rerere'.
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.
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.