profile
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: 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.

11 years agoel/dot-emacs.el: Number highlighting for Lispy languages.
Mark Wooding [Thu, 4 Apr 2013 12:35:02 +0000 (13:35 +0100)]
el/dot-emacs.el: Number highlighting for Lispy languages.

11 years agoel/dot-emacs.el: Educate `mdw-fontify-go' about Go's magic identifiers.
Mark Wooding [Thu, 4 Apr 2013 12:34:37 +0000 (13:34 +0100)]
el/dot-emacs.el: Educate `mdw-fontify-go' about Go's magic identifiers.

Most of these are special predefined names, though some of them (`main'
and `init') are names which mean special things when user programs
define them.

11 years agoel/dot-emacs.el: Make operator symbols look like punctuation.
Mark Wooding [Wed, 3 Apr 2013 08:55:25 +0000 (09:55 +0100)]
el/dot-emacs.el: Make operator symbols look like punctuation.

11 years agodot/emacs, el/dot-emacs.el: F# mode configuration.
Mark Wooding [Wed, 3 Apr 2013 09:06:00 +0000 (10:06 +0100)]
dot/emacs, el/dot-emacs.el: F# mode configuration.

11 years agodot/emacs, el/dot-emacs.el: Support for Algol 68 code.
Mark Wooding [Tue, 2 Apr 2013 01:47:48 +0000 (02:47 +0100)]
dot/emacs, el/dot-emacs.el: Support for Algol 68 code.

11 years agodot/emacs, el/dot-emacs.el: Support for Dylan code.
Mark Wooding [Tue, 2 Apr 2013 01:47:16 +0000 (02:47 +0100)]
dot/emacs, el/dot-emacs.el: Support for Dylan code.

11 years agodot-emacs.el: Improve layout of the face definitions.
Mark Wooding [Tue, 2 Apr 2013 01:40:22 +0000 (02:40 +0100)]
dot-emacs.el: Improve layout of the face definitions.

They're still not very pretty, really.

11 years agodot-emacs.el: Trap errors when trying to start `hs-minor-mode'.
Mark Wooding [Tue, 2 Apr 2013 01:39:49 +0000 (02:39 +0100)]
dot-emacs.el: Trap errors when trying to start `hs-minor-mode'.

It doesn't play nicely with some major modes.

11 years agoel/dot-emacs.el (arm-assembler-mode): Untangle strange nesting.
Mark Wooding [Tue, 2 Apr 2013 01:49:34 +0000 (02:49 +0100)]
el/dot-emacs.el (arm-assembler-mode): Untangle strange nesting.

There's no way the call to `mdw-post-config-mode-hack' should have been
inside the `setq'.

11 years agodot/emacs: Clean up the regexp for Debian `changelog' files.
Mark Wooding [Thu, 28 Mar 2013 00:02:38 +0000 (00:02 +0000)]
dot/emacs: Clean up the regexp for Debian `changelog' files.

The grouping and indentation was all over the place.  Sorry.

11 years agodot/emacs: Turn on Magit extensions based on Git config.
Mark Wooding [Thu, 28 Mar 2013 00:02:38 +0000 (00:02 +0000)]
dot/emacs: Turn on Magit extensions based on Git config.

Add a `magit.extension = FOO' line to the repository's Git config to
make the magic happen.

11 years agoel/dot-emacs.el: Fix Magit highlighting better.
Mark Wooding [Sat, 30 Mar 2013 15:03:58 +0000 (15:03 +0000)]
el/dot-emacs.el: Fix Magit highlighting better.

Not sure how I botched the full-colour face.  Still, better now.

11 years agoMerge branch 'master' of us:etc/profile
Mark Wooding [Sat, 30 Mar 2013 15:00:53 +0000 (15:00 +0000)]
Merge branch 'master' of us:etc/profile

* 'master' of us:etc/profile:
  el/dot-emacs.el: Fix Magit highlighting in terminal windows.
  dot/emacs: Turn on `dired-x' when something starts `dired'.
  dot/xinitrc: Overhaul to support XFCE desktop.

11 years agodot/emacs: Add `javascript-mode' to the collection.
Mark Wooding [Sat, 30 Mar 2013 15:00:32 +0000 (15:00 +0000)]
dot/emacs: Add `javascript-mode' to the collection.

11 years agoel/dot-emacs.el: Fix Magit highlighting in terminal windows.
Mark Wooding [Sat, 30 Mar 2013 14:45:08 +0000 (14:45 +0000)]
el/dot-emacs.el: Fix Magit highlighting in terminal windows.

11 years agodot/emacs: Turn on `dired-x' when something starts `dired'.
Mark Wooding [Thu, 14 Mar 2013 01:23:30 +0000 (01:23 +0000)]
dot/emacs: Turn on `dired-x' when something starts `dired'.

It turns out that this is where the `dired-omit-mode' stuff, which I
found once, thought was ace, and then missed in many different Emacsen,
actually comes from.  Win.

11 years agodot/xinitrc: Overhaul to support XFCE desktop.
Mark Wooding [Thu, 14 Mar 2013 01:21:30 +0000 (01:21 +0000)]
dot/xinitrc: Overhaul to support XFCE desktop.

Gnome 3 is just so bad I'm forced to abandon it.  XFCE seems
approximately tolerable, so let's go with that for now.

I hope that this doesn't break anything else too badly, but maybe it
will.

11 years agoMerge branch 'master' of ustrat:git/staging/profile
Mark Wooding [Wed, 13 Mar 2013 21:06:46 +0000 (21:06 +0000)]
Merge branch 'master' of ustrat:git/staging/profile

* 'master' of ustrat:git/staging/profile:
  dot/ercrc.el: Keep cursor at the bottom of the window.

11 years agodot/ercrc.el: Keep cursor at the bottom of the window.
Mark Wooding [Wed, 13 Mar 2013 20:49:23 +0000 (20:49 +0000)]
dot/ercrc.el: Keep cursor at the bottom of the window.

11 years agodot/lisp-init.lisp: Muffle warnings both times we load ASDF in CLisp.
Mark Wooding [Tue, 26 Feb 2013 10:03:54 +0000 (10:03 +0000)]
dot/lisp-init.lisp: Muffle warnings both times we load ASDF in CLisp.

Otherwise we get a load of spew the first time in some versions.

11 years agohacks/ssh: Pass `-4' and `-6' options on to the master.
Mark Wooding [Wed, 16 Jan 2013 02:34:20 +0000 (02:34 +0000)]
hacks/ssh: Pass `-4' and `-6' options on to the 

11 years agoel/dot-emacs.el: Don't recognize portions of identifiers as keywords.
Mark Wooding [Wed, 16 Jan 2013 02:32:43 +0000 (02:32 +0000)]
el/dot-emacs.el: Don't recognize portions of identifiers as keywords.

Same problem as with Python earlier.

11 years agodot/gnus.el: Truncate and word-wrap.
Mark Wooding [Sun, 6 Jan 2013 01:29:24 +0000 (01:29 +0000)]
dot/gnus.el: Truncate and word-wrap.

So many articles are missing newlines nowadays.  Grumble grumble.

11 years agoKeypad-enter hacking for zile and less.
Mark Wooding [Thu, 3 Jan 2013 06:20:07 +0000 (06:20 +0000)]
Keypad-enter hacking for zile and less.

11 years agodot/emacs: Get `w3m-el' to manage cookies.
Mark Wooding [Thu, 3 Jan 2013 06:11:44 +0000 (06:11 +0000)]
dot/emacs: Get `w3m-el' to manage cookies.

Well, a bit, at least.  It's really bad at it: it thinks that the
attributes following a cookie assignment in a `Set-Cookie' header are
more cookies.  But it's good enough for jazz.

11 years agodot/mailrc: Have `~e' let me edit headers as well as message body.
Mark Wooding [Thu, 3 Jan 2013 06:11:23 +0000 (06:11 +0000)]
dot/mailrc: Have `~e' let me edit headers as well as message body.

11 years agoel/dot-emacs (mdw-maybe-tabify): Fix incorrect region caching.
Mark Wooding [Mon, 31 Dec 2012 05:40:32 +0000 (05:40 +0000)]
el/dot-emacs (mdw-maybe-tabify): Fix incorrect region caching.

Obviously `tabify' can change the length of the buffer.  So caching its
end position is not very clever.

11 years agoMerge branch 'master' of git.distorted.org.uk:~mdw/public-git/profile
Mark Wooding [Mon, 31 Dec 2012 05:32:58 +0000 (05:32 +0000)]
Merge branch 'master' of git.distorted.org.uk:~mdw/public-git/profile

* 'master' of git.distorted.org.uk:~mdw/public-git/profile:
  el/dot-emacs.el: Respect `indent-tabs-mode' when computing fill prefix.
  el/dot-emacs.el: Use #'FOO rather than (function FOO).
  dot/emacs: Use `makefile-mode' for *.make files.

11 years agodot/emacs: Use `tcl-mode' for versioned `tclsh' or `wish'.
Mark Wooding [Mon, 31 Dec 2012 05:32:12 +0000 (05:32 +0000)]
dot/emacs: Use `tcl-mode' for versioned `tclsh' or `wish'.

Otherwise `#! /usr/bin/tclsh8.5' doesn't work right.

11 years agohacks/ssh: Fix stupid behaviour when hostname is `t'.
Mark Wooding [Mon, 31 Dec 2012 05:31:38 +0000 (05:31 +0000)]
hacks/ssh: Fix stupid behaviour when hostname is `t'.

11 years agoel/dot-emacs.el: Respect `indent-tabs-mode' when computing fill prefix.
Mark Wooding [Thu, 20 Dec 2012 12:25:30 +0000 (12:25 +0000)]
el/dot-emacs.el: Respect `indent-tabs-mode' when computing fill prefix.

This is basically a rewrite of `mdw-tabify', to make it cleaner, and
respect the variable setting.

11 years agoel/dot-emacs.el: Use #'FOO rather than (function FOO).
Mark Wooding [Thu, 20 Dec 2012 12:29:35 +0000 (12:29 +0000)]
el/dot-emacs.el: Use #'FOO rather than (function FOO).

It's just better style.

11 years agodot/emacs: Use `makefile-mode' for *.make files.
Mark Wooding [Thu, 20 Dec 2012 12:24:51 +0000 (12:24 +0000)]
dot/emacs: Use `makefile-mode' for *.make files.

11 years agoMerge branch 'master' of git.distorted.org.uk:~mdw/public-git/profile
Mark Wooding [Wed, 14 Nov 2012 21:49:02 +0000 (21:49 +0000)]
Merge branch 'master' of git.distorted.org.uk:~mdw/public-git/profile

* 'master' of git.distorted.org.uk:~mdw/public-git/profile:
  dot/screenrc: Turn off XON/XOFF flow control.
  dot/ercrc.el: New IRC server at Good HSTG.
  dot/ercrc.el: Rearrange bot greeting.
  el/dot-emacs.el: Nicer colours for Emacs w3m mode.

11 years agodot/gitconfig.in, git/attributes: New global `gitattributes' file.
Mark Wooding [Wed, 14 Nov 2012 21:48:47 +0000 (21:48 +0000)]
dot/gitconfig.in, git/attributes: New global `gitattributes' file.

Last time I looked you couldn't have one of these.  Turns out that you
can now.

11 years agodot/gitconfig.in: Change `lisp' diff-hunk header.
Mark Wooding [Wed, 14 Nov 2012 21:47:54 +0000 (21:47 +0000)]
dot/gitconfig.in: Change `lisp' diff-hunk header.

Search for open-parens in line 1, or definitions.  This definition isn't
completely brilliant -- it finds `(default-mumble' when it shouldn't, for
example -- but it's not too bad for now.  Maybe it'll get better later.

11 years agodot/screenrc: Turn off XON/XOFF flow control.
Mark Wooding [Sat, 10 Nov 2012 10:47:32 +0000 (10:47 +0000)]
dot/screenrc: Turn off XON/XOFF flow control.

11 years agoMerge branch 'master' of git://git.distorted.org.uk/~mdw/profile
Mark Wooding [Wed, 7 Nov 2012 11:22:30 +0000 (11:22 +0000)]
Merge branch 'master' of git://git.distorted.org.uk/~mdw/profile

* 'master' of git://git.distorted.org.uk/~mdw/profile:
  dot/emacs: Fix `@BASH@' entry in `interpreter-mode-alist'.
  dot/xinitrc, dot/xmodmap, setup: Configure keyboard using xmodmap files.
  dot/emacs: Longer logs by default in Magit.
  dot/emacs: Recognize `@BASH@' in shebang lines.
  el/dot-emacs.el: Apply reStructuredText face settings after load.
  el/dot-emacs.el: Define some faces for reStructuredText.
  el/dot-emacs.el (mdw-fontify-pythonic): Handle word boundaries better.
  el/dot-emacs.el: Magit colouring.
  dot/emacs: Some imenu tweaking.
  dot/emacs: Have Message use the From header as the envelope sender.

11 years agodot/ercrc.el: New IRC server at Good HSTG.
Mark Wooding [Wed, 7 Nov 2012 11:21:28 +0000 (11:21 +0000)]
dot/ercrc.el: New IRC server at Good HSTG.

11 years agodot/ercrc.el: Rearrange bot greeting.
Mark Wooding [Wed, 7 Nov 2012 11:21:03 +0000 (11:21 +0000)]
dot/ercrc.el: Rearrange bot greeting.

Maintaining a master list of all known bots and managing the credentials
out of band is a nightmare.  Instead, keep the knowledge about bots and
how to greet them together, and just leave the machinery common.

11 years agoel/dot-emacs.el: Nicer colours for Emacs w3m mode.
Mark Wooding [Wed, 7 Nov 2012 11:18:58 +0000 (11:18 +0000)]
el/dot-emacs.el: Nicer colours for Emacs w3m mode.

11 years agodot/emacs: Fix `@BASH@' entry in `interpreter-mode-alist'.
Mark Wooding [Mon, 5 Nov 2012 23:01:06 +0000 (23:01 +0000)]
dot/emacs: Fix `@BASH@' entry in `interpreter-mode-alist'.

Brown paper bag, please.

11 years agoMerge branch 'master' of git.distorted.org.uk:~mdw/public-git/profile
Mark Wooding [Sat, 3 Nov 2012 11:42:58 +0000 (11:42 +0000)]
Merge branch 'master' of git.distorted.org.uk:~mdw/public-git/profile

* 'master' of git.distorted.org.uk:~mdw/public-git/profile:
  el/dot-emacs.el: Apply reStructuredText face settings after load.

11 years agodot/xinitrc, dot/xmodmap, setup: Configure keyboard using xmodmap files.
Mark Wooding [Sat, 3 Nov 2012 11:29:55 +0000 (11:29 +0000)]
dot/xinitrc, dot/xmodmap, setup: Configure keyboard using xmodmap files.

Separate out the existing xmodmap hacking into a dotfile, and allow a
local one.

I'm changing over to swapping the caps-lock and control, but I don't
know how to do this without using explicit keycodes which probably isn't
appropriate for global configuration.  (Maybe this can be an mdw.conf
thing.)

11 years agodot/emacs: Longer logs by default in Magit.
Mark Wooding [Sat, 3 Nov 2012 11:26:30 +0000 (11:26 +0000)]
dot/emacs: Longer logs by default in Magit.

11 years agodot/emacs: Recognize `@BASH@' in shebang lines.
Mark Wooding [Sat, 3 Nov 2012 11:25:48 +0000 (11:25 +0000)]
dot/emacs: Recognize `@BASH@' in shebang lines.

11 years agoel/dot-emacs.el: Apply reStructuredText face settings after load.
Mark Wooding [Fri, 26 Oct 2012 13:24:51 +0000 (14:24 +0100)]
el/dot-emacs.el: Apply reStructuredText face settings after load.

Annoyingly, `rst.el' clobbers the face settings we've made.  So arrange
to set the faces after it's already done its thing.

11 years agoMerge branch 'master' of http://git.distorted.org.uk/~mdw/profile
Mark Wooding [Thu, 25 Oct 2012 11:48:59 +0000 (12:48 +0100)]
Merge branch 'master' of git.distorted.org.uk/~mdw/profile

* 'master' of http://git.distorted.org.uk/~mdw/profile:
  el/dot-emacs.el: Magit colouring.
  dot/emacs: Some imenu tweaking.
  dot/emacs: Have Message use the From header as the envelope sender.
  dot/bash_profile: Eliminate the already-run guard.
  dot/ercrc.el: New IRC command `/GREET' to greet robots.
  dot/ercrc.el: New definitions for distorted.org.uk IRC server.
  dot/mykermrc.in: Useful commands for dealing with server consoles.
  dot/ercrc.el: Add an extra entry for chiark via greenend VPN.

11 years agoel/dot-emacs.el: Define some faces for reStructuredText.
Mark Wooding [Thu, 25 Oct 2012 11:37:52 +0000 (12:37 +0100)]
el/dot-emacs.el: Define some faces for reStructuredText.

Makes them look less grim.

11 years agoel/dot-emacs.el (mdw-fontify-pythonic): Handle word boundaries better.
Mark Wooding [Thu, 25 Oct 2012 11:37:11 +0000 (12:37 +0100)]
el/dot-emacs.el (mdw-fontify-pythonic): Handle word boundaries better.

For some reason, in squeeze's Emacs, underscores cause a break in the
middle of a token, and the individual pieces can be recognized as
keywords or numbers.  This is obviously wrong.  Fix it by using
different word-boundary regexp magic.

This doesn't seem to happen in wheezy's Emacs, but I don't think this
change will harm that.