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

11 years agoel/dot-emacs.el: Magit colouring.
Mark Wooding [Thu, 25 Oct 2012 09:27:06 +0000 (10:27 +0100)]
el/dot-emacs.el: Magit colouring.

Make diffs more interesting (and easier to read) in Magit.

11 years agodot/emacs: Some imenu tweaking.
Mark Wooding [Thu, 25 Oct 2012 09:24:29 +0000 (10:24 +0100)]
dot/emacs: Some imenu tweaking.

It seems I might like imenu.  Make the menu appear on a mouse binding,
and make the function submenus larger.

Ideally, I'd make the submenu sizes be related to the screen size.  But
I don't know how to do that well.

11 years agodot/emacs: Have Message use the From header as the envelope sender.
Mark Wooding [Wed, 24 Oct 2012 18:57:02 +0000 (19:57 +0100)]
dot/emacs: Have Message use the From header as the envelope sender.

Saves messing about with Return-Path for qmail and it works with Exim too.

11 years agoMerge branch 'master' of vampire.distorted.org.uk:~mdw/public-git/profile
Mark Wooding [Sun, 16 Sep 2012 14:21:39 +0000 (15:21 +0100)]
Merge branch 'master' of vampire.distorted.org.uk:~mdw/public-git/profile

* 'master' of vampire.distorted.org.uk:~mdw/public-git/profile:
  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.
  dot/ercrc.el: Configure automatic buffer truncation.
  dot/elinks.conf: Better default colours.
  Add configuration for w3m and elinks browsers.

11 years agodot/bash_profile: Eliminate the already-run guard.
Mark Wooding [Sun, 16 Sep 2012 14:17:07 +0000 (15:17 +0100)]
dot/bash_profile: Eliminate the already-run guard.

Debian's /etc/profile unconditionally sets the PATH to an unhelpful
thing.  If we don't run our profile again, the PATH will be left wrong.
So now we run unconditionally in login shells.  We should continue to
set the `__mdw_profile' flag variable, though, since this clues
`.bashrc' into running us if there's been no login shell since the
environment was cleared.

11 years agodot/ercrc.el: New IRC command `/GREET' to greet robots.
Mark Wooding [Sun, 2 Sep 2012 14:30:58 +0000 (15:30 +0100)]
dot/ercrc.el: New IRC command `/GREET' to greet robots.

Useful if the robots weren't listening when we connected.

11 years agodot/ercrc.el: New definitions for distorted.org.uk IRC server.
Mark Wooding [Sat, 1 Sep 2012 19:05:24 +0000 (20:05 +0100)]
dot/ercrc.el: New definitions for distorted.org.uk IRC server.

11 years agodot/mykermrc.in: Useful commands for dealing with server consoles.
Mark Wooding [Sat, 1 Sep 2012 19:04:49 +0000 (20:04 +0100)]
dot/mykermrc.in: Useful commands for dealing with server consoles.

11 years agodot/ercrc.el: Add an extra entry for chiark via greenend VPN.
Mark Wooding [Sat, 21 Jul 2012 13:15:04 +0000 (14:15 +0100)]
dot/ercrc.el: Add an extra entry for chiark via greenend VPN.

12 years agodot/ercrc.el: Configure automatic buffer truncation.
Mark Wooding [Mon, 14 May 2012 15:41:04 +0000 (16:41 +0100)]
dot/ercrc.el: Configure automatic buffer truncation.

Currently allows about 3000 lines of stuff based on an empirically
determined average of 60 characters per line.

12 years agodot/elinks.conf: Better default colours.
Mark Wooding [Fri, 27 Apr 2012 19:20:10 +0000 (20:20 +0100)]
dot/elinks.conf: Better default colours.

12 years agoMerge branch 'master' of git.distorted.org.uk:~mdw/public-git/profile
Mark Wooding [Fri, 27 Apr 2012 19:14:56 +0000 (20:14 +0100)]
Merge branch 'master' of git.distorted.org.uk:~mdw/public-git/profile

* 'master' of git.distorted.org.uk:~mdw/public-git/profile:
  mdw.conf: Fix some stupid errors.

12 years agoAdd configuration for w3m and elinks browsers.
Mark Wooding [Fri, 27 Apr 2012 19:14:28 +0000 (20:14 +0100)]
Add configuration for w3m and elinks browsers.

Maybe I should add lynx too.

12 years agomdw.conf: Fix some stupid errors.
Mark Wooding [Sun, 22 Apr 2012 11:18:45 +0000 (12:18 +0100)]
mdw.conf: Fix some stupid errors.

12 years agosetup: Agree on `releasekey'.
Mark Wooding [Tue, 10 Apr 2012 11:41:45 +0000 (12:41 +0100)]
setup: Agree on `releasekey'.

We have two competing configuration tag names: `releasekey' and
`release-key'.  Settle on the former, since that's what seems to be
actually in use.

12 years agobin/mdw-build: Do non-VPATH builds.
Mark Wooding [Tue, 10 Apr 2012 10:53:09 +0000 (11:53 +0100)]
bin/mdw-build: Do non-VPATH builds.

12 years agodot/emacs: Add `face' to `whitespace-style'.
Mark Wooding [Sun, 4 Mar 2012 16:53:12 +0000 (16:53 +0000)]
dot/emacs: Add `face' to `whitespace-style'.

Apparently if you don't do this then you don't get highlighting any
more.

12 years agodot/screenrc, dot/bashrc: More screen hacking.
Mark Wooding [Mon, 27 Feb 2012 09:18:11 +0000 (09:18 +0000)]
dot/screenrc, dot/bashrc: More screen hacking.

Nicer captions, a hardstatus line, and title updating (currently not
very good).

12 years agodot/screenrc: Screen fixing.
Mark Wooding [Sun, 26 Feb 2012 13:35:22 +0000 (13:35 +0000)]
dot/screenrc: Screen fixing.

  * Fixing keypad-enter for N900.

  * Reinstatement of `utmp' entries.

  * General sprucing up and commentary.

12 years agodot/mykermrc.in: Macro for `guvnor', fixing ^? to send ^H.
Mark Wooding [Sun, 26 Feb 2012 13:34:23 +0000 (13:34 +0000)]
dot/mykermrc.in: Macro for `guvnor', fixing ^? to send ^H.

Because the silly thing's delete handling isn't very good.

12 years agodot/mykermrc.in: Capitalize name for SYNCWINSZ.
Mark Wooding [Sun, 26 Feb 2012 13:33:27 +0000 (13:33 +0000)]
dot/mykermrc.in: Capitalize name for SYNCWINSZ.

It's apparently traditional.

12 years agodot/gitconfig.in: Stage merge conflicts fixed up by `git-rerere'.
Mark Wooding [Thu, 23 Feb 2012 10:33:55 +0000 (10:33 +0000)]
dot/gitconfig.in: Stage merge conflicts fixed up by `git-rerere'.

12 years agokermit/dial.shared: Demon `Dial Companion' number.
Mark Wooding [Tue, 21 Feb 2012 01:14:00 +0000 (01:14 +0000)]
kermit/dial.shared: Demon `Dial Companion' number.

Probably not very useful.

12 years agodot/mykermrc.in: Various tweaks:
Mark Wooding [Tue, 21 Feb 2012 01:12:04 +0000 (01:12 +0000)]
dot/mykermrc.in: Various tweaks:

  * Increase the command history size.

  * Build a more useful prompt string using unpleasant subterfuge.

  * Set the default file character set to UTF-8 independent of the
    locale -- which should determine the terminal character set but not
    files, which I decree ought to be UTF-8 regardless.  Emacs ought to
    sort this mess out for me.

12 years agodot/mykermrc.in: More awful hacking to set directories.
Mark Wooding [Mon, 20 Feb 2012 10:43:42 +0000 (10:43 +0000)]
dot/mykermrc.in: More awful hacking to set directories.

I don't understand how Kermit's space-splitting rules apply to variables
yet, but passing a variable reference to SET MUMBLE DIRECTORY doesn't
work, and stuffing the whole lot into a macro and then running it does,
so do that despite its awfulness.

12 years agoMerge branch 'master' of git://git.distorted.org.uk/~mdw/profile
Mark Wooding [Mon, 20 Feb 2012 10:06:45 +0000 (10:06 +0000)]
Merge branch 'master' of git://git.distorted.org.uk/~mdw/profile

* 'master' of git://git.distorted.org.uk/~mdw/profile:
  dot/bash_profile: Select a sensible web browser.

12 years agoImprove Kermit configuration.
Mark Wooding [Mon, 20 Feb 2012 10:05:29 +0000 (10:05 +0000)]
Improve Kermit configuration.

  * Rename to mykermrc.

  * Set up (currently empty) shared dialling and network directories,
    and host-specific directories.

12 years agodot/bash_profile: Select a sensible web browser.
Mark Wooding [Mon, 20 Feb 2012 09:28:43 +0000 (09:28 +0000)]
dot/bash_profile: Select a sensible web browser.

12 years agodot/mykermrc, bin/guest-console: Kermit configuration.
Mark Wooding [Fri, 17 Feb 2012 01:23:43 +0000 (01:23 +0000)]
dot/mykermrc, bin/guest-console: Kermit configuration.

This seems the best solution to the guest-serial-comms problem.

12 years agodot/bash_profile: Reorder PATH /usr/local before /usr before /.
Mark Wooding [Sat, 11 Feb 2012 20:54:50 +0000 (20:54 +0000)]
dot/bash_profile: Reorder PATH /usr/local before /usr before /.

In particular, this makes the `molly-guard' package effective.  It will
also fix problems with ping(1) on chiark.

12 years agodot/emacs: Fix keybinding for lemma references.
Mark Wooding [Sun, 5 Feb 2012 12:58:10 +0000 (12:58 +0000)]
dot/emacs: Fix keybinding for lemma references.

Must have been copied from the proposition line, and not fixed.

12 years agodot/emacs: More hacking of AUC-TeX viewer selection: use Evince, dammit!
Mark Wooding [Sun, 5 Feb 2012 11:32:35 +0000 (11:32 +0000)]
dot/emacs: More hacking of AUC-TeX viewer selection: use Evince, dammit!

12 years agodot/gitconfig.in: Define a plausible word-diff regexp.
Mark Wooding [Tue, 31 Jan 2012 00:30:15 +0000 (00:30 +0000)]
dot/gitconfig.in: Define a plausible word-diff regexp.

Match sequences of alphanumerics and loose non-space punctuation.  This
seems to give relatively good results on plain text with colour output.
Picking out differences in code might be harder, but line-based diffs
work better in such cases anyway: word diff is useful precisely because
it works well on reflowed text, and that's more likely to happen in a
text document than in code.

12 years agodot/dircolors: Don't clobber background colour for dangling links.
Mark Wooding [Mon, 30 Jan 2012 23:46:03 +0000 (23:46 +0000)]
dot/dircolors: Don't clobber background colour for dangling links.

12 years agobin/mdw-build: Do parallel builds as instructed by DEB_BUILD_OPTIONS.
Mark Wooding [Thu, 26 Jan 2012 10:01:18 +0000 (10:01 +0000)]
bin/mdw-build: Do parallel builds as instructed by DEB_BUILD_OPTIONS.

This wants to be set right anyway for the Debian build, and it's better
to say such things only once.

12 years agodot/emacs: Fettle more modes which had previously been underfettled.
Mark Wooding [Thu, 26 Jan 2012 10:00:39 +0000 (10:00 +0000)]
dot/emacs: Fettle more modes which had previously been underfettled.

12 years agodot/gitconfig: Whitespace fixing.
Mark Wooding [Thu, 26 Jan 2012 10:00:08 +0000 (10:00 +0000)]
dot/gitconfig: Whitespace fixing.

12 years agoel/dot-emacs.el: `mdw-kick-menu-bar' function.
Mark Wooding [Thu, 26 Jan 2012 09:59:13 +0000 (09:59 +0000)]
el/dot-emacs.el: `mdw-kick-menu-bar' function.

Emacs sometimes fails to populate menus, which is annoying.  This seems
to help.

12 years agobin/mdw-pager: Don't intercept the pager in Emacs `ansi-term'.
Mark Wooding [Sat, 14 Jan 2012 20:00:36 +0000 (20:00 +0000)]
bin/mdw-pager: Don't intercept the pager in Emacs `ansi-term'.

It defeats the line truncation.

12 years agodot/Xdefaults: Remove spurious blank line.
Mark Wooding [Sat, 14 Jan 2012 19:35:53 +0000 (19:35 +0000)]
dot/Xdefaults: Remove spurious blank line.

Right next to a blank line I actually wanted.

12 years agoUse Ian Jackson's `trad' versions of 6x13 for general display.
Mark Wooding [Wed, 11 Jan 2012 03:14:17 +0000 (03:14 +0000)]
Use Ian Jackson's `trad' versions of 6x13 for general display.

This persuades `pterm', Emacs, and traditional Xt-based programs which
read resources to use the server-side font directly, and hacks
`fontconfig' so that `MiscFixed6x13' maps to the trad version.

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

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

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

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

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

Easier to strip out when capturing a selection.

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

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

Makes them stand out better.

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

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

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

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

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

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

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

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

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

12 years agobin/mdw-build: Accept a `.git' directory as a top-level.
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.

12 years agobin/mdw-build: Discard `tar' errors when searching for `.../RELEASE'.
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.

12 years agoel/dot-emacs.el: Hack quotes in configuration files.
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.

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

12 years agodot-emacs.el: Tweak diff fontification.
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.

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

12 years agodot/rcrc: Reformat in line with usual conventions.
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.

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

12 years agoel/dot-emacs.el: Shell-mode hacking for non-Bourne shells.
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.

12 years agoel/dot-emacs.el: Use CPerl mode rather than Perl mode.
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...

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

12 years agodot/emacs: Recognize some Autoconf tokens in shebang lines.
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.

12 years agoel/dot-emacs.el: Make `sh-mode' use `/bin/sh' rules by default.
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.

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

12 years agobin/mdw-editor: Set TMPDIR from TMP if it's unset.
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.

12 years agosetup: OpenBSD make(1) doesn't have `-C'.
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.