chiark / gitweb /
profile
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.

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.