chiark / gitweb /
profile
9 years agodot/emacs, el/dot-emacs.el: Support for Rust code.
Mark Wooding [Tue, 2 Jun 2015 19:17:25 +0000 (20:17 +0100)]
dot/emacs, el/dot-emacs.el: Support for Rust code.

9 years agoTell mail clients about my email addresses.
Mark Wooding [Sun, 31 May 2015 16:14:19 +0000 (17:14 +0100)]
Tell mail clients about my email addresses.

For Gnus,

  * Set `message-dont-reply-to-names' (Gnus) and fiddle with
    `alternates' (Mutt) to prune other addresses from the `Cc' list.

  * Set `message-alternative-emails' (Gnus) and configure `reverse_name'
    and `use_envelope_from' (Mutt) so as to set the right sender and
    `From' address.

9 years agodot/screenrc: Don't close failing windows immediately.
Mark Wooding [Sun, 31 May 2015 14:23:19 +0000 (15:23 +0100)]
dot/screenrc: Don't close failing windows immediately.

9 years agobin/mdw-build: Hack the Debian version number when doing test builds.
Mark Wooding [Tue, 26 May 2015 13:51:35 +0000 (14:51 +0100)]
bin/mdw-build: Hack the Debian version number when doing test builds.

This makes the packages actually installable without hopeless pain.

9 years agoel/dot-emacs.el: Use post-local-variables hook to set asm comment char.
Mark Wooding [Sat, 2 May 2015 16:05:20 +0000 (17:05 +0100)]
el/dot-emacs.el: Use post-local-variables hook to set asm comment char.

9 years agoel/dot-emacs.el: Per-major-mode post-local-variables hooks.
Mark Wooding [Sat, 2 May 2015 16:05:20 +0000 (17:05 +0100)]
el/dot-emacs.el: Per-major-mode post-local-variables hooks.

As suggested in http://emacswiki.org/emacs/LocalVariables.

9 years agobin/mdw-build: Don't check Debian version if not doing a Debian build.
Mark Wooding [Sun, 10 May 2015 23:57:13 +0000 (00:57 +0100)]
bin/mdw-build: Don't check Debian version if not doing a Debian build.

9 years agoel/dot-emacs.el: Don't let `<' insert here-document scaffolding.
Mark Wooding [Fri, 1 May 2015 19:38:54 +0000 (20:38 +0100)]
el/dot-emacs.el: Don't let `<' insert here-document scaffolding.

I generally dislike things being magically inserted after point while
I'm typing, and this is an especially egregious case since

  (a) there doesn't seem to be a `proper' way to turn it off (e.g., by
      customizing a variable), so I've had to rebind the key; and

  (b) the inserted material contains a fixed choice `EOF' for the
      delimiter token, which firstly might be usefully varied (e.g.,
      since it will appear in the text body, or to convey more useful
      information to the reader), and secondly must appear (and
      therefore requires changing) in two separate places.

No.  We don't like that.

9 years agodot/gnus-local.el.distorted: Additional split rules for silly typos.
Mark Wooding [Fri, 1 May 2015 19:33:29 +0000 (20:33 +0100)]
dot/gnus-local.el.distorted: Additional split rules for silly typos.

9 years agodot/gnus-local.el.distorted: Remove defunct sender rule.
Mark Wooding [Fri, 1 May 2015 19:32:57 +0000 (20:32 +0100)]
dot/gnus-local.el.distorted: Remove defunct sender rule.

9 years agodot/gnus-local.el.distorted: More sorting arrangements.
Mark Wooding [Mon, 27 Apr 2015 10:37:00 +0000 (11:37 +0100)]
dot/gnus-local.el.distorted: More sorting arrangements.

9 years agobin/mdw-build: Translate weird characters in Debian version.
Mark Wooding [Fri, 24 Apr 2015 08:39:33 +0000 (09:39 +0100)]
bin/mdw-build: Translate weird characters in Debian version.

The `~' is an important character in Debian version numbers, since it
sorts before end-of-string; alas it's not valid in Git tags, because `~'
is a revision operator.  So translate it to `-' for the comparison.

9 years agodot/emacs, el/dot-emacs.el: Experimental full-screen toggle.
Mark Wooding [Fri, 24 Apr 2015 08:39:10 +0000 (09:39 +0100)]
dot/emacs, el/dot-emacs.el: Experimental full-screen toggle.

Doesn't work very well at the moment.

9 years agodot/emacs: Key bindings for Devhelp.
Mark Wooding [Sat, 18 Apr 2015 14:29:16 +0000 (15:29 +0100)]
dot/emacs: Key bindings for Devhelp.

Might be useful.  Don't cost much.

9 years agoel/dot-emacs.el (experimental): Show fringe icon on current line.
Mark Wooding [Sat, 18 Apr 2015 13:42:11 +0000 (14:42 +0100)]
el/dot-emacs.el (experimental): Show fringe icon on current line.

Much of the machinery comes from

https://github.com/kyanagi/fringe-current-line

but the trimmings are a little different.  Most notably, there is only
one marker, in the selected window.  (Otherwise the marker would need to
be per-window rather than per-buffer, because each window has its own
idea of point, and things get rather complicated.)

9 years agodot/emacs: Don't back up files in /tmp or /var/tmp.
Mark Wooding [Sat, 18 Apr 2015 09:17:27 +0000 (10:17 +0100)]
dot/emacs: Don't back up files in /tmp or /var/tmp.

Lots of /var/tmp/*~ cruft left over from sudo -e editing.

9 years agodot/bash_profile: Prefer hacked Iceweasel over Chrome if we have it.
Mark Wooding [Fri, 17 Apr 2015 15:22:57 +0000 (16:22 +0100)]
dot/bash_profile: Prefer hacked Iceweasel over Chrome if we have it.

9 years agodit/gitconfig.in: Explicitly request matching-refs push.
Mark Wooding [Tue, 14 Apr 2015 23:48:50 +0000 (00:48 +0100)]
dit/gitconfig.in: Explicitly request matching-refs push.

The default changed in Git 2.0, but I prefer the old semantics.

9 years agodot/emacs: Use Simon's Fixed font for Windows.
Mark Wooding [Tue, 14 Apr 2015 23:44:33 +0000 (00:44 +0100)]
dot/emacs: Use Simon's Fixed font for Windows.

It's closer to the traditional version.

9 years agodot/fonts.conf, dot/...: Abolish `MiscFixed6x13'; make `Fixed' work.
Mark Wooding [Fri, 10 Apr 2015 14:19:25 +0000 (15:19 +0100)]
dot/fonts.conf, dot/...: Abolish `MiscFixed6x13'; make `Fixed' work.

Rather detailed hacking to make `Fixed' actually work as a proper name
for the font, which you can actually use in configuration interfaces.

9 years agodot/fonts.conf: Force the family for the Symbols font.
Mark Wooding [Fri, 10 Apr 2015 14:19:25 +0000 (15:19 +0100)]
dot/fonts.conf: Force the family for the Symbols font.

9 years agoel/dot-emacs.el: Fix assembler mode handling.
Mark Wooding [Wed, 18 Mar 2015 19:06:08 +0000 (19:06 +0000)]
el/dot-emacs.el: Fix assembler mode handling.

Eliminate the crappy old `arm-assembler-mode'.  Define wrappers around
`asm-mode' which set the right comment characters.

9 years agobin/...: Turn on execute bits.
Mark Wooding [Fri, 23 May 2014 17:22:44 +0000 (18:22 +0100)]
bin/...: Turn on execute bits.

9 years agodot/emacs: Also use `cperl-mode' for `#! .../perl' files.
Mark Wooding [Fri, 23 May 2014 17:22:44 +0000 (18:22 +0100)]
dot/emacs: Also use `cperl-mode' for `#! .../perl' files.

Missed when abolishing the `perl-mode' -> `cperl-mode' alias.

9 years agosetup, bin/: Some scripts which are useful in Cygwin.
Mark Wooding [Sun, 29 Mar 2015 16:34:28 +0000 (17:34 +0100)]
setup, bin/: Some scripts which are useful in Cygwin.

  * bin/run-with-shell-env runs a program having established the proper
    shell environment.  This is handy for invoking things from Windows
    shortcuts, for example.

  * bin/start-ssh-pageant starts the Cygwin proxy for PuTTY's Pageant
    SSH agent.  It's not properly engineered yet, but it seems to work
    well enough for running at login time.

9 years agobg/.gitignore: Ignore a Windows thumbnail dropping.
Mark Wooding [Sun, 29 Mar 2015 16:31:56 +0000 (17:31 +0100)]
bg/.gitignore: Ignore a Windows thumbnail dropping.

9 years agodot/emacs: Set default font and colours for Emacs on Windows.
Mark Wooding [Sun, 29 Mar 2015 16:29:37 +0000 (17:29 +0100)]
dot/emacs: Set default font and colours for Emacs on Windows.

9 years agodot/pulse-daemon.conf: Turn off ridiculous `flat-volumes' setting.
Mark Wooding [Sat, 28 Mar 2015 14:10:37 +0000 (14:10 +0000)]
dot/pulse-daemon.conf: Turn off ridiculous `flat-volumes' setting.

9 years agodot-pulse-default.pa.in: Include a local hook if present.
Mark Wooding [Sat, 28 Mar 2015 14:10:22 +0000 (14:10 +0000)]
dot-pulse-default.pa.in: Include a local hook if present.

9 years agoel/dot-emacs.el: Approximately cromulent `git-grep' command.
Mark Wooding [Mon, 16 Mar 2015 13:46:05 +0000 (13:46 +0000)]
el/dot-emacs.el: Approximately cromulent `git-grep' command.

Full Emacs grep is much fancier.  Maybe it'll get improved later.  Maybe
someone else will do a proper one.  Alas, the thing welded into vc-git
is terrible.

9 years agobin/mdw-pager: Don't be a pager if called by Emacs M-x grep.
Mark Wooding [Mon, 16 Mar 2015 13:42:28 +0000 (13:42 +0000)]
bin/mdw-pager: Don't be a pager if called by Emacs M-x grep.

9 years agodot/emacs, el/dot-emacs.el: Don't alias `perl-mode' = `cperl-mode'.
Mark Wooding [Mon, 16 Mar 2015 13:03:24 +0000 (13:03 +0000)]
dot/emacs, el/dot-emacs.el: Don't alias `perl-mode' = `cperl-mode'.

This was a mistake and makes it hard to compare the two.  Instead, just
use `cperl-mode' by default and leave the other one as a backup plan.

9 years agoel/dot-emacs.el: Better highlighting of M-x occur matches.
Mark Wooding [Mon, 16 Mar 2015 13:03:24 +0000 (13:03 +0000)]
el/dot-emacs.el: Better highlighting of M-x occur matches.

9 years agodot/tigrc: Apparently `set commit-encoding' is obsolete.
Mark Wooding [Sat, 21 Feb 2015 01:34:19 +0000 (01:34 +0000)]
dot/tigrc: Apparently `set commit-encoding' is obsolete.

9 years agoel/dot-emacs.el: Window placement hacking.
Mark Wooding [Thu, 29 Jan 2015 14:06:04 +0000 (14:06 +0000)]
el/dot-emacs.el: Window placement hacking.

  * `mdw-clobber-other-windows-showing-buffer': Proper command for
    making sure no other frames are showing a particular buffer.

  * Some advice for buffer displaying functions so that they don't do
    ridiculous things like trying to show me buffers in frames on other
    displays which I can't see.

9 years agobin/mdw-build: Sign and upload tarballs.
Mark Wooding [Wed, 14 Jan 2015 20:56:40 +0000 (20:56 +0000)]
bin/mdw-build: Sign and upload tarballs.

9 years agodot/bashrc: Make sure the return code is zero on exit.
Mark Wooding [Sun, 20 Jul 2014 13:53:18 +0000 (14:53 +0100)]
dot/bashrc: Make sure the return code is zero on exit.

9 years agodot/bashrc: Show Git branch name in the prompt, if machinery available.
Mark Wooding [Thu, 8 Jan 2015 14:12:46 +0000 (14:12 +0000)]
dot/bashrc: Show Git branch name in the prompt, if machinery available.

9 years agodot/bashrc: Show the exit code of a failed command in the prompt.
Mark Wooding [Thu, 8 Jan 2015 14:12:04 +0000 (14:12 +0000)]
dot/bashrc: Show the exit code of a failed command in the prompt.

9 years agodot/bashrc: Unset temporary variables used in constructing the prompt.
Mark Wooding [Thu, 8 Jan 2015 14:07:05 +0000 (14:07 +0000)]
dot/bashrc: Unset temporary variables used in constructing the prompt.

There's too much cruft in the interactive shell namespace anyway.

9 years agodot/bashrc: Pull in completion magic early.
Mark Wooding [Thu, 8 Jan 2015 14:05:17 +0000 (14:05 +0000)]
dot/bashrc: Pull in completion magic early.

Not sure really why it's delayed relative to the system configuration.

9 years agodot/bashrc: Versions of Emacs later than 22.x exist.
Mark Wooding [Thu, 8 Jan 2015 14:04:41 +0000 (14:04 +0000)]
dot/bashrc: Versions of Emacs later than 22.x exist.

And have done for a while.  So notice them when deciding whether to
clobber $PAGER.

9 years agoMerge remote-tracking branch 'staging/master'
Mark Wooding [Thu, 11 Dec 2014 11:47:39 +0000 (11:47 +0000)]
Merge remote-tracking branch 'staging/master'

* staging/master:
  bg/harley-quinn.jpg: New background image.
  setup: Sort the backgrounds by name, and reformat a little.

9 years agoMerge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile
Mark Wooding [Thu, 11 Dec 2014 11:46:41 +0000 (11:46 +0000)]
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile

* 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile:
  dot/emacs: Point `rfcview' at roadstar's RFC mirror.
  bg/medusa-glen-vause.jpg: Oil on wood, by Glen Vause.
  bg/lilith.jpg: New image; painting by John Collier.
  dot/bashrc: Some hacking for Sailfish.

9 years agobg/harley-quinn.jpg: New background image.
Mark Wooding [Thu, 11 Dec 2014 11:30:18 +0000 (11:30 +0000)]
bg/harley-quinn.jpg: New background image.

Taken from

http://hdwalljoy.com/wallpaper-harley-quinn-pictures-5-hd-wallpaper.html

9 years agosetup: Sort the backgrounds by name, and reformat a little.
Mark Wooding [Thu, 11 Dec 2014 11:29:39 +0000 (11:29 +0000)]
setup: Sort the backgrounds by name, and reformat a little.

No functional change.

9 years agodot/emacs: Point `rfcview' at roadstar's RFC mirror.
Mark Wooding [Thu, 23 Oct 2014 12:47:26 +0000 (13:47 +0100)]
dot/emacs: Point `rfcview' at roadstar's RFC mirror.

9 years agobg/medusa-glen-vause.jpg: Oil on wood, by Glen Vause.
Mark Wooding [Fri, 17 Oct 2014 10:35:50 +0000 (11:35 +0100)]
bg/medusa-glen-vause.jpg: Oil on wood, by Glen Vause.

http://glen.figtreegallery.net/index.php?showimage=20

9 years agoMerge branch 'master' of http://git.distorted.org.uk/~mdw/profile
Mark Wooding [Thu, 23 Oct 2014 12:49:12 +0000 (13:49 +0100)]
Merge branch 'master' of git.distorted.org.uk/~mdw/profile

* 'master' of http://git.distorted.org.uk/~mdw/profile:
  bg/lilith.jpg: New image; painting by John Collier.
  dot/bashrc: Some hacking for Sailfish.

9 years agobg/lilith.jpg: New image; painting by John Collier.
Mark Wooding [Fri, 15 Aug 2014 17:11:57 +0000 (18:11 +0100)]
bg/lilith.jpg: New image; painting by John Collier.

Downloaded from Wikipedia; see

http://en.wikipedia.org/wiki/File:Lilith_(John_Collier_painting).jpg

9 years agodot/bashrc: Some hacking for Sailfish.
Mark Wooding [Sat, 19 Jul 2014 14:20:30 +0000 (15:20 +0100)]
dot/bashrc: Some hacking for Sailfish.

9 years agodot/emacs, el/dot-emacs.el: Prefer Iceweasel over Chrome.
Mark Wooding [Sat, 24 May 2014 13:00:03 +0000 (14:00 +0100)]
dot/emacs, el/dot-emacs.el: Prefer Iceweasel over Chrome.

I'm generally pissed off with Chrome now, as a result of their attitude
to bugs like http://code.google.com/p/chromium/issues/detail?id=41467
and http://code.google.com/p/chromium/issues/detail?id=377191.  Besides,
many of the things which annoyed me about Iceweasel have been fixed, and
their approach to privacy is (unsurprisingly) much better.

9 years agodot/emacs: Configuration for the winning (but secret) `rfcview' package.
Mark Wooding [Sun, 29 Jun 2014 18:27:45 +0000 (19:27 +0100)]
dot/emacs: Configuration for the winning (but secret) `rfcview' package.

10 years agodot/emacs: Error detection when sending mail using sendmail(8).
Mark Wooding [Mon, 9 Jun 2014 16:13:32 +0000 (17:13 +0100)]
dot/emacs: Error detection when sending mail using sendmail(8).

Thanks to Ian Jackson and Matthew Vernon for a useful discussion about
the correct options and variables to use.

10 years agodot/emacs, dot/Xdefaults: Fix default frame width.
Mark Wooding [Mon, 19 May 2014 09:09:44 +0000 (10:09 +0100)]
dot/emacs, dot/Xdefaults: Fix default frame width.

Two changes over the years.  Firstly, Emacs later than 21 (I think) have
fringes in which they display overflow markers, rather than needing a
text column for them, so we should set the default (one-column) frame
width to 77, rather than 78.  Secondly, I use very narrow fringes, so
Emacs's initial estimate of the frame width comes out wrong, so we need
to fiddle with the X resource.

10 years agogit/gitignore: Remove duplicate entries.
Mark Wooding [Tue, 29 Apr 2014 09:36:48 +0000 (10:36 +0100)]
git/gitignore: Remove duplicate entries.

10 years agodot/inputrc: Various kinds of readline tweaking.
Mark Wooding [Thu, 20 Mar 2014 15:02:26 +0000 (15:02 +0000)]
dot/inputrc: Various kinds of readline tweaking.

10 years agoMerge branch 'master' of http://git.distorted.org.uk/~mdw/profile
Mark Wooding [Mon, 17 Mar 2014 12:41:02 +0000 (12:41 +0000)]
Merge branch 'master' of git.distorted.org.uk/~mdw/profile

* 'master' of http://git.distorted.org.uk/~mdw/profile:
  dot/vimrc: Fix obvious bogosity.
  el/mdw-multiple-cursors.el: Make RET work like <enter>.
  Support for Magnar Sveen's awesome `multiple-cursors' package.
  dot/emacs: Move `remember' to C-c o r.
  dot/bash_profile: Set the `less' focus line further down the window.
  el/dot-emacs.el: Mark some magic C constants separately.
  dot/muttrc: Fix attribution line.
  dot/muttrc: New configuration files for Mutt.

10 years agoel/dot-emacs.el: Scala fontification fettling.
Mark Wooding [Mon, 17 Mar 2014 12:39:11 +0000 (12:39 +0000)]
el/dot-emacs.el: Scala fontification fettling.

The Scala mode is trying to do something clever with comment filling.
Try to dissuade it.  Also, use an explicit list of punctuation
characters, because Scala mode (quite rightly) does a lot of fiddling
with syntax tables.

10 years agodot/vimrc: Fix obvious bogosity.
Mark Wooding [Sat, 15 Mar 2014 15:26:26 +0000 (15:26 +0000)]
dot/vimrc: Fix obvious bogosity.

10 years agoel/mdw-multiple-cursors.el: Make RET work like <enter>.
Mark Wooding [Sat, 13 Jul 2013 15:34:40 +0000 (16:34 +0100)]
el/mdw-multiple-cursors.el: Make RET work like <enter>.

I think Magnar doesn't use Emacs in a terminal very often.

10 years agoSupport for Magnar Sveen's awesome `multiple-cursors' package.
Mark Wooding [Sat, 13 Jul 2013 15:34:40 +0000 (16:34 +0100)]
Support for Magnar Sveen's awesome `multiple-cursors' package.

To use it:

git clone https://github.com/magnars/multiple-cursors.el/ \
~/lib/emacs/multiple-cursors/

10 years agodot/emacs: Move `remember' to C-c o r.
Mark Wooding [Sat, 13 Jul 2013 15:34:40 +0000 (16:34 +0100)]
dot/emacs: Move `remember' to C-c o r.

Reserve `C-c o' as a prefix for global Org-mode things.

10 years agodot/bash_profile: Set the `less' focus line further down the window.
Mark Wooding [Sat, 13 Jul 2013 15:34:40 +0000 (16:34 +0100)]
dot/bash_profile: Set the `less' focus line further down the window.

Makes it easier to see previous context.

10 years agoel/dot-emacs.el: Mark some magic C constants separately.
Mark Wooding [Sat, 13 Jul 2013 15:34:40 +0000 (16:34 +0100)]
el/dot-emacs.el: Mark some magic C constants separately.

I've been highlighting built-in constants `null', `this', `true', and
friends in other languages so let's do the same for C and C++.

10 years agodot/muttrc: Fix attribution line.
Mark Wooding [Sat, 13 Jul 2013 15:34:40 +0000 (16:34 +0100)]
dot/muttrc: Fix attribution line.

Use `writes' rather than `wrote', to match what Gnus does.

10 years agodot/muttrc: New configuration files for Mutt.
Mark Wooding [Mon, 3 Mar 2014 22:17:17 +0000 (22:17 +0000)]
dot/muttrc: New configuration files for Mutt.

The configuration is split into common stuff suitable for all
environments, configuration specific to distorted.org.uk, and
authentication secrets which aren't distributed here.

10 years agoel/dot-emacs.el: Fix Scala keywords.
Mark Wooding [Wed, 26 Feb 2014 16:03:12 +0000 (16:03 +0000)]
el/dot-emacs.el: Fix Scala keywords.

Move `super' and `this' to the constants list.  They fit better here, I
think.  And add `private' which was unaccountably missing.

10 years agoMerge remote-tracking branch 'staging'
Mark Wooding [Mon, 24 Feb 2014 19:51:13 +0000 (19:51 +0000)]
Merge remote-tracking branch 'staging'

* staging:
  dot/emacs, el/dot-emacs.el: Introduce support for Scala.
  el/dot-emacs.el: New face `mdw-trivial-face'.

10 years agodot/gnus-local.el.distorted: Add gmail via IMAP.
Mark Wooding [Mon, 24 Feb 2014 19:48:50 +0000 (19:48 +0000)]
dot/gnus-local.el.distorted: Add gmail via IMAP.

10 years agodot/emacs, el/dot-emacs.el: Introduce support for Scala.
Mark Wooding [Thu, 20 Feb 2014 15:26:24 +0000 (15:26 +0000)]
dot/emacs, el/dot-emacs.el: Introduce support for Scala.

10 years agoel/dot-emacs.el: New face `mdw-trivial-face'.
Mark Wooding [Thu, 20 Feb 2014 13:47:34 +0000 (13:47 +0000)]
el/dot-emacs.el: New face `mdw-trivial-face'.

It does nothing.  It's just there to mark a piece of program text as
having been processed by the font-lock machinery so that nothing else
tries to molest it.
fold me

10 years agodot/gnus-local.el.distorted: Remove `lists.' rules.
Mark Wooding [Wed, 12 Feb 2014 13:25:57 +0000 (13:25 +0000)]
dot/gnus-local.el.distorted: Remove `lists.' rules.

This is now handled by mail-server configuration, to avoid me being
biffed by boring mail.

10 years agodot/gnus-local.el.distorted: Match more headers for Debian lists.
Mark Wooding [Tue, 11 Feb 2014 00:02:44 +0000 (00:02 +0000)]
dot/gnus-local.el.distorted: Match more headers for Debian lists.

10 years agodot/gnus-local.el.distorted: Splitting rule for Debian mailing lists.
Mark Wooding [Mon, 10 Feb 2014 17:27:00 +0000 (17:27 +0000)]
dot/gnus-local.el.distorted: Splitting rule for Debian mailing lists.

10 years agodot/gnus-local.el.distorted: Machinery for SMTP submission.
Mark Wooding [Tue, 28 Jan 2014 10:07:48 +0000 (10:07 +0000)]
dot/gnus-local.el.distorted: Machinery for SMTP submission.

Don't actually turn this on, though.  Local queuing makes sending more
reliable.

10 years agodot/gnus-local.el.distorted: Ship local mail config.
Mark Wooding [Mon, 27 Jan 2014 17:08:26 +0000 (17:08 +0000)]
dot/gnus-local.el.distorted: Ship local mail config.

Don't install it.  I'll have to add symlinks manually for hosts which
want to use it.

10 years agodot/mailrc: Fiddle with the aliases.
Mark Wooding [Mon, 27 Jan 2014 17:07:54 +0000 (17:07 +0000)]
dot/mailrc: Fiddle with the aliases.

10 years agodot/ercrc.el: Abstract out the alist augmentation machinery.
Mark Wooding [Thu, 23 Jan 2014 17:11:21 +0000 (17:11 +0000)]
dot/ercrc.el: Abstract out the alist augmentation machinery.

This actually was a pile of no fun at all, but it seems to work.

10 years agodot/ercrc.el: New command `IRCOP' for being an IRC operator.
Mark Wooding [Wed, 22 Jan 2014 15:57:11 +0000 (15:57 +0000)]
dot/ercrc.el: New command `IRCOP' for being an IRC operator.

Looks up credentials in a shiny new alist.

10 years agodot/ercrc.el: Function for looking for things in alists by regexps.
Mark Wooding [Wed, 22 Jan 2014 15:56:32 +0000 (15:56 +0000)]
dot/ercrc.el: Function for looking for things in alists by regexps.

We'll want more of these later.

10 years agodot/ercrc.el (mdw-define-bot-greeting): Update the existing entry.
Mark Wooding [Wed, 22 Jan 2014 15:41:11 +0000 (15:41 +0000)]
dot/ercrc.el (mdw-define-bot-greeting): Update the existing entry.

Previously, we'd ignore the new one if there's an existing one.  This is
obviously wrong.

10 years agoel/dot-emacs.el: Make non-breaking spaces less ugly in terminals.
Mark Wooding [Thu, 9 Jan 2014 08:51:12 +0000 (08:51 +0000)]
el/dot-emacs.el: Make non-breaking spaces less ugly in terminals.

It's especially nasty in `w3m' buffers, and doesn't seem especially
useful elsewhere.  Maybe I'll fix this to be different in `w3m' if I see
the need.

10 years agoel/dot-emacs.el: Do brace matching in m4 files.
Mark Wooding [Thu, 9 Jan 2014 08:49:47 +0000 (08:49 +0000)]
el/dot-emacs.el: Do brace matching in m4 files.

No idea why this got turned off.

10 years agodot/emacs: Allow `.md' for Markdown as well as `.mkd'.
Mark Wooding [Thu, 9 Jan 2014 08:53:12 +0000 (08:53 +0000)]
dot/emacs: Allow `.md' for Markdown as well as `.mkd'.

10 years agodot/ercrc.el: Avoid duplicates in `mdw-erc-auto-greet-bots-alist'.
Mark Wooding [Sun, 5 Jan 2014 13:12:19 +0000 (13:12 +0000)]
dot/ercrc.el: Avoid duplicates in `mdw-erc-auto-greet-bots-alist'.

Use `pushnew' instead of `push' here.  Otherwise we end up greeting bots
multiple times.

10 years agobin/mdw-build: Fetch `distdir' more robustly.
Mark Wooding [Wed, 5 Jun 2013 19:54:17 +0000 (20:54 +0100)]
bin/mdw-build: Fetch `distdir' more robustly.

Some build scripts will try to build something before they can properly
answer the `print-distdir' question.  Avoid being confused by the
resulting spam by writing the distribution directory name to a weird
file descriptor.

10 years agodot/xinitrc: Restart window manager if it crashes.
Mark Wooding [Fri, 13 Dec 2013 19:03:05 +0000 (19:03 +0000)]
dot/xinitrc: Restart window manager if it crashes.

For some reason, e16 sometimes crashes and leaves the input focus in a
broken state.  Restarting the window manager, e.g., from a console,
makes everything work again, but it's annoying.

Introduce a new function `manage' for restarting programs if they crash,
and use it to run the window manager.

10 years agodot/emacs: Add extension for Markdown files.
Mark Wooding [Fri, 13 Dec 2013 19:01:02 +0000 (19:01 +0000)]
dot/emacs: Add extension for Markdown files.

10 years agodot/gitconfig.in, git/attributes: Some basic whitespace management.
Mark Wooding [Sun, 11 Aug 2013 01:08:00 +0000 (02:08 +0100)]
dot/gitconfig.in, git/attributes: Some basic whitespace management.

10 years agoel/dot-emacs.el: Inhibit raising frames.
Mark Wooding [Thu, 4 Jul 2013 14:40:32 +0000 (15:40 +0100)]
el/dot-emacs.el: Inhibit raising frames.

Emacs has an annoying tendency to raise frames just because it wants to
focus them.  The two /do not go together/.

10 years agodot/gdbinit: Some small tweaks.
Mark Wooding [Sat, 29 Jun 2013 18:32:16 +0000 (19:32 +0100)]
dot/gdbinit: Some small tweaks.

11 years agodot/gitconfig.in: Bump up the rename limit.
Mark Wooding [Sun, 2 Jun 2013 12:02:11 +0000 (13:02 +0100)]
dot/gitconfig.in: Bump up the rename limit.

The default doesn't cope with the vast Catacomb reorganization.

11 years agoel/dot-emacs.el: Colours for `magit' things.
Mark Wooding [Mon, 27 May 2013 16:42:37 +0000 (17:42 +0100)]
el/dot-emacs.el: Colours for `magit' things.

11 years agodot/toprc: New config file for the top(1) in wheezy.
Mark Wooding [Mon, 27 May 2013 16:42:08 +0000 (17:42 +0100)]
dot/toprc: New config file for the top(1) in wheezy.

The idiots changed the config file incompatibly.

11 years agodot/ercrc.el: Turn off `erc-scrolltobottom-mode'.
Mark Wooding [Mon, 27 May 2013 16:41:36 +0000 (17:41 +0100)]
dot/ercrc.el: Turn off `erc-scrolltobottom-mode'.

It interacts really badly with wrapped lines.

11 years agoel/dot-emacs.el: Fontify strings and characters for Go.
Mark Wooding [Sat, 6 Apr 2013 17:20:20 +0000 (18:20 +0100)]
el/dot-emacs.el: Fontify strings and characters for Go.

Some versions of the mode don't do this themselves.  Our fontification
is more precise anyway.

11 years agodot/emacs: `magit-load-config-extensions' is new, so trap errors.
Mark Wooding [Sat, 6 Apr 2013 16:32:55 +0000 (17:32 +0100)]
dot/emacs: `magit-load-config-extensions' is new, so trap errors.

11 years agoel/dot-emacs.el: Fontify Dylan keywords in italics, not boldface.
Mark Wooding [Wed, 3 Apr 2013 09:06:00 +0000 (10:06 +0100)]
el/dot-emacs.el: Fontify Dylan keywords in italics, not boldface.

11 years agoel/dot-emacs.el: Fiddle with Haskell fontification.
Mark Wooding [Wed, 3 Apr 2013 09:06:00 +0000 (10:06 +0100)]
el/dot-emacs.el: Fiddle with Haskell fontification.

Add some extra keywords, and reformat the list; support character literals;
fontify comments better; and fix numerics.