chiark / gitweb /
profile
15 years agodot-emacs.el: Insert missing blank line before section header.
Mark Wooding [Mon, 9 Mar 2009 12:53:17 +0000 (12:53 +0000)]
dot-emacs.el: Insert missing blank line before section header.

15 years agoemacs: Make M-/ do hippie-expand -- if not starting up quickly.
Mark Wooding [Thu, 5 Mar 2009 15:24:16 +0000 (15:24 +0000)]
emacs: Make M-/ do hippie-expand -- if not starting up quickly.

15 years agoemacs: Enable semantic hackery if we're not meant to start quickly.
Mark Wooding [Thu, 5 Mar 2009 15:12:54 +0000 (15:12 +0000)]
emacs: Enable semantic hackery if we're not meant to start quickly.

It's winning.  Honestly.

15 years agoMerge branch 'master' of metalzone:etc/profile
Mark Wooding [Tue, 3 Mar 2009 00:45:15 +0000 (00:45 +0000)]
Merge branch 'master' of metalzone:etc/profile

* 'master' of metalzone:etc/profile:
  dot-emacs: Fix LOOP indentation under SLIME.
  gitignore: Add `semantic.cache' and Global droppings.
  The great Gnus switchover!
  dot-emacs: Fixes to the messages mode.
  dot-emacs: Turn on gtags mode in general.

15 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Mon, 2 Mar 2009 11:38:30 +0000 (11:38 +0000)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  dot-emacs: Fix LOOP indentation under SLIME.
  gitignore: Add `semantic.cache' and Global droppings.

15 years agodot-emacs: Fix LOOP indentation under SLIME.
Mark Wooding [Mon, 2 Mar 2009 11:35:47 +0000 (11:35 +0000)]
dot-emacs: Fix LOOP indentation under SLIME.

It's not perfect, but it's much less annoying than it used to be.

15 years agogitignore: Add `semantic.cache' and Global droppings.
Mark Wooding [Mon, 2 Mar 2009 11:35:15 +0000 (11:35 +0000)]
gitignore: Add `semantic.cache' and Global droppings.

15 years agoThe great Gnus switchover!
Mark Wooding [Thu, 26 Feb 2009 18:09:16 +0000 (18:09 +0000)]
The great Gnus switchover!

  * Move some of the VM configuration -- particularly the hacking of
   `movemail' -- to the general population.

  * Insinuate BBDB into my world of email.

  * Tidy up dot-emacs.el's email settings.

  * Add configuration of Gnus.

  * Apply some very unpleasant hacking to the guts of Gnus so that it
    works with broken Exchange servers.

15 years agodot-emacs: Fixes to the messages mode.
Mark Wooding [Thu, 26 Feb 2009 18:14:14 +0000 (18:14 +0000)]
dot-emacs: Fixes to the messages mode.

In particular, give it the right name, so it doesn't interfere with
the Gnus `Message' composer mode.

15 years agodot-emacs: Turn on gtags mode in general.
Mark Wooding [Thu, 26 Feb 2009 17:11:20 +0000 (17:11 +0000)]
dot-emacs: Turn on gtags mode in general.

But turn off the stupid mouse bindings, which interfere with X11 pasting.

15 years agobash_profile: Set more locale things.
Mark Wooding [Tue, 24 Feb 2009 09:13:54 +0000 (09:13 +0000)]
bash_profile: Set more locale things.

In fact more or less everything other than LC_COLLATE and LC_ALL.
LC_COLLATE is evil and must die.

15 years agobash_profile: Don't set LESSCHARSET explicitly.
Mark Wooding [Tue, 24 Feb 2009 09:12:47 +0000 (09:12 +0000)]
bash_profile: Don't set LESSCHARSET explicitly.

It does a good enough job by itself, it seems.  And pattern matching
LC_CTYPE is something of a lost cause, given the number of possibilities.

15 years agogitignore: Ignore cruft from GNU Global.
Mark Wooding [Tue, 24 Feb 2009 09:08:44 +0000 (09:08 +0000)]
gitignore: Ignore cruft from GNU Global.

15 years agoemacs: Beat up org-mode so it stops stealing valuable keys.
Mark Wooding [Tue, 24 Feb 2009 09:08:18 +0000 (09:08 +0000)]
emacs: Beat up org-mode so it stops stealing valuable keys.

Move Org-mode-specific commands off of keys M-<arrow> and S-<arrow>.

15 years agoswank.lisp: New configuration file.
Mark Wooding [Sun, 8 Feb 2009 12:18:42 +0000 (12:18 +0000)]
swank.lisp: New configuration file.

This contains handy stuff to make SLIME work.  In particular, it turns
off an annoying bug which makes SBCL FASLs incompatible between SLIME
and non-SLIME environments, because SB-PRETTY:PRETTY-STREAM is a
different size.

15 years agoemacs: Set C-q up to allow typing of character codes in hex.
Mark Wooding [Sat, 17 Jan 2009 12:56:09 +0000 (12:56 +0000)]
emacs: Set C-q up to allow typing of character codes in hex.

The default is octal, which is almost useless nowadays.

15 years agoemacs, dot-emacs: Support debian-changelog-mode after fast startup.
Mark Wooding [Tue, 13 Jan 2009 16:08:55 +0000 (16:08 +0000)]
emacs, dot-emacs: Support debian-changelog-mode after fast startup.

Two parts: first, a hairy loop in dot-emacs.el to install interesting-
looking directories into the load-path; second, a conditional
installation of a hairy auto-mode-alist item in emacs.

15 years agobashrc: Add aliases for egrep and fgrep.
Mark Wooding [Fri, 9 Jan 2009 15:19:39 +0000 (15:19 +0000)]
bashrc: Add aliases for egrep and fgrep.

These got missed out, unfortunately.

15 years agoMerge branch 'master' of metalzone:etc/profile
Mark Wooding [Fri, 9 Jan 2009 15:19:25 +0000 (15:19 +0000)]
Merge branch 'master' of metalzone:etc/profile

* 'master' of metalzone:etc/profile:
  bash_profile: Persuade less to use global for finding tags.

15 years agobash_profile: Persuade less to use global for finding tags.
Mark Wooding [Fri, 9 Jan 2009 15:18:55 +0000 (15:18 +0000)]
bash_profile: Persuade less to use global for finding tags.

It seems better this way.

15 years agoMerge branch 'master' of metalzone:etc/profile
Mark Wooding [Sat, 27 Dec 2008 14:46:53 +0000 (14:46 +0000)]
Merge branch 'master' of metalzone:etc/profile

* 'master' of metalzone:etc/profile:
  mdw-build: Oops, allow hooking of tarball upload.

15 years agomdw-build: Oops, allow hooking of tarball upload.
Mark Wooding [Sat, 27 Dec 2008 14:46:20 +0000 (14:46 +0000)]
mdw-build: Oops, allow hooking of tarball upload.

15 years agoMerge branch 'master' of metalzone:etc/profile
Mark Wooding [Sat, 27 Dec 2008 14:08:58 +0000 (14:08 +0000)]
Merge branch 'master' of metalzone:etc/profile

* 'master' of metalzone:etc/profile:
  unstg
  Whitespace fixing.
  gitconfig: Fix release alias; add whitespace checking.
  mdw-build: Bring into the fold.
  bash_profile: Fix proxy snafu.

15 years agogitconfig: Use colours in git add --interactive.
Mark Wooding [Sat, 27 Dec 2008 14:08:17 +0000 (14:08 +0000)]
gitconfig: Use colours in git add --interactive.

Maybe.  Doesn't seem to work at the moment.

15 years agounstg
Mark Wooding [Sat, 27 Dec 2008 13:27:02 +0000 (13:27 +0000)]
unstg

15 years agoWhitespace fixing.
Mark Wooding [Sat, 27 Dec 2008 12:09:02 +0000 (12:09 +0000)]
Whitespace fixing.

15 years agogitconfig: Fix release alias; add whitespace checking.
Mark Wooding [Sat, 27 Dec 2008 11:58:07 +0000 (11:58 +0000)]
gitconfig: Fix release alias; add whitespace checking.

The git release alias had become mouldy, and didn't work properly when
tagging historical releases.

New git space command warns about whitespace snafus.

15 years agomdw-build: Bring into the fold.
Mark Wooding [Sat, 27 Dec 2008 11:56:06 +0000 (11:56 +0000)]
mdw-build: Bring into the fold.

15 years agobash_profile: Fix proxy snafu.
Mark Wooding [Sat, 27 Dec 2008 11:56:33 +0000 (11:56 +0000)]
bash_profile: Fix proxy snafu.

The earlier change 93ba996def65bdebd7d7026caff9661d9b038ead botched the
proxy syntax hopelessly.  This one fixes it again.

15 years agoe16-bindings: Shortcuts to switch between desktops.
Mark Wooding [Mon, 22 Dec 2008 22:17:21 +0000 (22:17 +0000)]
e16-bindings: Shortcuts to switch between desktops.

15 years agobashrc: Provide colour support for GNU grep.
Mark Wooding [Mon, 22 Dec 2008 22:16:15 +0000 (22:16 +0000)]
bashrc: Provide colour support for GNU grep.

This is much more useful than it sounds.

15 years agobash_profile: Be more intelligent about proxy settings.
Mark Wooding [Mon, 22 Dec 2008 22:14:41 +0000 (22:14 +0000)]
bash_profile: Be more intelligent about proxy settings.

It might be that we just don't want a proxy.  Allow a `none' setting for
these cases.  Set the ftp-proxy correctly too.

15 years agofonts.conf: Minor whitespace tidying.
Mark Wooding [Mon, 15 Dec 2008 02:06:25 +0000 (02:06 +0000)]
fonts.conf: Minor whitespace tidying.

15 years agofonts.conf: More 6x13 hacking.
Mark Wooding [Mon, 15 Dec 2008 02:06:08 +0000 (02:06 +0000)]
fonts.conf: More 6x13 hacking.

Filter out the other bitmap fonts, because they make Iceweasel/FF
use crappy fonts for web pages.  Make sure that only the semicondensed
version is left.

15 years agofonts.conf: Don't force anti-aliasing and such for bitmap fonts.
Mark Wooding [Mon, 15 Dec 2008 02:03:27 +0000 (02:03 +0000)]
fonts.conf: Don't force anti-aliasing and such for bitmap fonts.

15 years agoMerge branch 'master' of git+ssh://crybaby.distorted.org.uk/~mdw/etc/profile
Mark Wooding [Sun, 14 Dec 2008 19:05:45 +0000 (19:05 +0000)]
Merge branch 'master' of git+ssh://crybaby.distorted.org.uk/~mdw/etc/profile

* 'master' of git+ssh://crybaby.distorted.org.uk/~mdw/etc/profile:
  e16-config: Remove.
  xinitrc and friends: Embed prompt-and-run functionality in xinitrc.
  gitconfig: Use magical hacked 6x13 font.
  fonts.conf: New configuration file.

Conflicts:

e16-bindings

15 years agoe16-bindings: Inexplicably forgot the xlock key.
Mark Wooding [Sun, 14 Dec 2008 19:03:48 +0000 (19:03 +0000)]
e16-bindings: Inexplicably forgot the xlock key.

15 years agoe16-config: Remove.
Mark Wooding [Sun, 14 Dec 2008 19:00:05 +0000 (19:00 +0000)]
e16-config: Remove.

This was just a bad idea.

15 years agoxinitrc and friends: Embed prompt-and-run functionality in xinitrc.
Mark Wooding [Sun, 14 Dec 2008 18:42:25 +0000 (18:42 +0000)]
xinitrc and friends: Embed prompt-and-run functionality in xinitrc.

The prompt-and-run functionality used to be in xrun.  Unfortunately,
that runs programs from the context of the window manager (assuming you
started it from M5-F9 or whatever).  We can do better, and start the
program from the context of the xinitrc script, which we can change more
readily.  It seems easiest to simply scrap xrun and embed the
functionality directly into the xinitrc.

As a bonus, I've also added (and bound to M5-F10) a popup for submitting
commands to the xinitrc itself, and provided a script xinitcmd for doing
the same from the command line (though this is less useful).

15 years agogitconfig: Use magical hacked 6x13 font.
Mark Wooding [Sat, 13 Dec 2008 03:14:08 +0000 (03:14 +0000)]
gitconfig: Use magical hacked 6x13 font.

15 years agofonts.conf: New configuration file.
Mark Wooding [Sun, 14 Dec 2008 18:58:55 +0000 (18:58 +0000)]
fonts.conf: New configuration file.

Finally with the right hacking (as best I can make it) to achieve the
Fixed 6x13 font through fontconfig.

15 years agoxinitrc: Don't clobber xbound in start-xterms.
Mark Wooding [Sat, 13 Dec 2008 02:07:19 +0000 (02:07 +0000)]
xinitrc: Don't clobber xbound in start-xterms.

It makes requesting recreation of the terminals put them in the wrong
place.

15 years agoxinitrc: Read a local script.
Mark Wooding [Fri, 12 Dec 2008 16:50:45 +0000 (16:50 +0000)]
xinitrc: Read a local script.

Reads .xinitrc-local if it exists.  There's a hook start-clients-local
for adding local things.  For example, crybaby wants a bunch of laptop-
related goodies such as nm-applet and gnome-power-manager.

15 years agoe16-bindings: Use right-hand Alt for stuff.
Mark Wooding [Fri, 12 Dec 2008 16:49:12 +0000 (16:49 +0000)]
e16-bindings: Use right-hand Alt for stuff.

15 years agostart-ssh-agent: Fix bashism.
Mark Wooding [Fri, 12 Dec 2008 16:48:46 +0000 (16:48 +0000)]
start-ssh-agent: Fix bashism.

A sequence of assignments like

  foo=mumble bar=$foo/twonk

in bash is expanded from left-to-right, so bar is assigned the value
mumble/twonk.  Unfortunately, some shells don't process assignments
left-to-right in this way, and bar ends up as just /twonk.

Insert semicolons to force sequencing.

15 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Tue, 2 Dec 2008 13:47:18 +0000 (13:47 +0000)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  emacs: Turn on shell colour handling.
  emacs: Provide default reference information for RefTEX.

15 years agoemacs: Turn on shell colour handling.
Mark Wooding [Tue, 2 Dec 2008 13:46:13 +0000 (13:46 +0000)]
emacs: Turn on shell colour handling.

It seems that this got turned off by default at some stage.  Shame.

15 years agoemacs: Provide default reference information for RefTEX.
Mark Wooding [Tue, 2 Dec 2008 13:44:29 +0000 (13:44 +0000)]
emacs: Provide default reference information for RefTEX.

Also turn on TOC recentring by default because it's handy.

15 years agotoprc: Something changed.
Mark Wooding [Sun, 30 Nov 2008 16:48:02 +0000 (16:48 +0000)]
toprc: Something changed.

15 years agogitconfig: New fonts for Tk 8.5.
Mark Wooding [Sun, 30 Nov 2008 16:47:43 +0000 (16:47 +0000)]
gitconfig: New fonts for Tk 8.5.

I'm not sure I like the fact that I can't use fixed any more, but
this doesn't seem completely awful.

15 years agoemacs: BibTeX-mode configuration.
Mark Wooding [Fri, 10 Oct 2008 10:18:09 +0000 (11:18 +0100)]
emacs: BibTeX-mode configuration.

BibTeX-mode seems to be made of win too.

15 years agoemacs: Handle mutt files as email.
Mark Wooding [Wed, 8 Oct 2008 15:56:54 +0000 (16:56 +0100)]
emacs: Handle mutt files as email.

15 years agobash_profile: Set Perforce environment variables.
Mark Wooding [Wed, 8 Oct 2008 15:56:34 +0000 (16:56 +0100)]
bash_profile: Set Perforce environment variables.

15 years agoemacs, dot-emacs: Turn on RefTeX.
Mark Wooding [Wed, 8 Oct 2008 12:31:21 +0000 (13:31 +0100)]
emacs, dot-emacs: Turn on RefTeX.

RefTeX is made of win, so use it.

15 years agodot-emacs: Fix the C mode hacking.
Mark Wooding [Wed, 8 Oct 2008 12:31:02 +0000 (13:31 +0100)]
dot-emacs: Fix the C mode hacking.

Don't clobber the C mode map until the C mode is actually loaded!

15 years agoemacs: Don't explicitly set TeX-master any more.
Mark Wooding [Wed, 8 Oct 2008 12:30:23 +0000 (13:30 +0100)]
emacs: Don't explicitly set TeX-master any more.

If we do this, then newer Emacsen seem to think that TeX-master is
evil as a local variable and complain when visiting .tex files.

Also remove some old crufty TeX settings.

15 years agoemacs: Highlight full tables of contents in Info.
Mark Wooding [Wed, 8 Oct 2008 12:03:43 +0000 (13:03 +0100)]
emacs: Highlight full tables of contents in Info.

The default behaviour pegs out on largish `Top' nodes, which is rather
unhelpful.  We have the power to do the job properly.

15 years agotoprc: Random tweaking. Highlight sort columns.
Mark Wooding [Wed, 8 Oct 2008 12:02:51 +0000 (13:02 +0100)]
toprc: Random tweaking.  Highlight sort columns.

15 years agolisp-init.lisp: Make the CLisp namestring parsing less mad.
Mark Wooding [Wed, 8 Oct 2008 11:59:00 +0000 (12:59 +0100)]
lisp-init.lisp: Make the CLisp namestring parsing less mad.

The default behaviour has some crazy hacks for demented Micro$oft
operating systems, in particular distinguishing drive letters from
logical pathname hosts.

15 years agodot-emacs: Don't electrically indent on `*' or `/'.
Mark Wooding [Wed, 8 Oct 2008 11:56:24 +0000 (12:56 +0100)]
dot-emacs: Don't electrically indent on `*' or `/'.

This is really annoying on strangely indented lines when adding
commentary.

15 years agoemacs: Support for Erlang.
Mark Wooding [Wed, 8 Oct 2008 11:55:22 +0000 (12:55 +0100)]
emacs: Support for Erlang.

Sketchy but at least it's there.

Also sneak in a couple of bits of support for C# which somehow slipped
through the net before.

16 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Tue, 20 May 2008 14:35:46 +0000 (15:35 +0100)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  emacs: Turn on mark-even-if-inactive.
  emacs: Add Timesheet magic.
  emacs: Local configuration files.

16 years agoemacs: Turn on mark-even-if-inactive.
Mark Wooding [Tue, 20 May 2008 14:29:23 +0000 (15:29 +0100)]
emacs: Turn on mark-even-if-inactive.

This means that the region always `works', even if it's not active and
visible.  Probably the best of both worlds.

16 years agoemacs: Add Timesheet magic.
Mark Wooding [Mon, 19 May 2008 14:49:09 +0000 (15:49 +0100)]
emacs: Add Timesheet magic.

16 years agoemacs: Local configuration files.
Mark Wooding [Mon, 19 May 2008 14:48:40 +0000 (15:48 +0100)]
emacs: Local configuration files.

  * Set up .emacs-local for local configuration (i.e., not handled
    by ~/etc/profile).

  * Set up .emacs-custom for the Emacs Customizer.

16 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Thu, 15 May 2008 10:46:31 +0000 (11:46 +0100)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  emacs: Initial blogging support.
  emacs: Turn off fontification in shell mode.
  emacs: Force py-shell to start ipython with the right colours.
  bashrc, dircolors: Enable colouring for `dumb' terminals.
  dot-emacs: Clobber message-mode's header colours.

16 years agodot-emacs; Base mdwmail-mode on mail-mode rather than text-mode.
Mark Wooding [Thu, 15 May 2008 10:46:21 +0000 (11:46 +0100)]
dot-emacs; Base mdwmail-mode on mail-mode rather than text-mode.

This seems to do more useful fontification and (significantly) paragraph
motion.

16 years agoemacs: Initial blogging support.
Mark Wooding [Thu, 15 May 2008 10:44:46 +0000 (11:44 +0100)]
emacs: Initial blogging support.

It doesn't work very well; this might be a dead end.

16 years agoemacs: Turn off fontification in shell mode.
Mark Wooding [Thu, 15 May 2008 10:44:02 +0000 (11:44 +0100)]
emacs: Turn off fontification in shell mode.

It doesn't do anything useful anyway, and collides annoyingly with
natural colours of inferior programs.

16 years agoemacs: Force py-shell to start ipython with the right colours.
Mark Wooding [Thu, 15 May 2008 10:42:57 +0000 (11:42 +0100)]
emacs: Force py-shell to start ipython with the right colours.

It chooses LightBG by default, which is hopeless.

16 years agobashrc, dircolors: Enable colouring for `dumb' terminals.
Mark Wooding [Thu, 15 May 2008 10:41:56 +0000 (11:41 +0100)]
bashrc, dircolors: Enable colouring for `dumb' terminals.

Modern Emacsen understand colour codes in shell mode, so this is OK.

Also use tput to find the bolding codes, and add support for Emacs's
`eterm' terminal.

16 years agodot-emacs: Clobber message-mode's header colours.
Mark Wooding [Thu, 15 May 2008 10:29:25 +0000 (11:29 +0100)]
dot-emacs: Clobber message-mode's header colours.

They're almost unreadable on a black background.

16 years agoemacs, dot-emacs: Hacking outline mode.
Mark Wooding [Fri, 9 May 2008 22:49:12 +0000 (23:49 +0100)]
emacs, dot-emacs: Hacking outline mode.

  * C-c ... C-r (`reveal-mode') turns on or off reveal-mode.

  * C-c ... C-- (`mdw-outline-collapse-all') collapses the entire
    buffer.  C mode in particular doesn't collapse comments unless
    beaten over the head rather vigorously.  This command does the
    beating.

16 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Fri, 9 May 2008 21:25:00 +0000 (22:25 +0100)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  emacs: In programming modes (at least) treat `------' as a page boundary.

16 years agoemacs: In programming modes (at least) treat `------' as a page boundary.
Mark Wooding [Fri, 9 May 2008 21:23:59 +0000 (22:23 +0100)]
emacs: In programming modes (at least) treat `------' as a page boundary.

16 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Fri, 9 May 2008 21:22:37 +0000 (22:22 +0100)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  emacs: Add key bindings for timeclock functions.

Conflicts:

emacs: two independent lots of keybindings in the same place

16 years agoemacs: Add support for the org-mode.
Mark Wooding [Fri, 9 May 2008 21:19:48 +0000 (22:19 +0100)]
emacs: Add support for the org-mode.

org-mode is very impressive; but it'll need some key rebinding before
I can cope with it; in particular, its rebinding of S-<cursor> and
(particularly) M-<cursor> is just not on!

16 years agoemacs: Pull in foldout along with the outline mode.
Mark Wooding [Fri, 9 May 2008 21:18:45 +0000 (22:18 +0100)]
emacs: Pull in foldout along with the outline mode.

The foldout zooming stuff seems quite cool.

16 years agoemacs: Add key bindings for timeclock functions.
Mark Wooding [Thu, 8 May 2008 10:28:11 +0000 (11:28 +0100)]
emacs: Add key bindings for timeclock functions.

We don't yet have operations for extracting the data in the format
required by the timesheet system, but that can wait.  At least we can
collect the raw data now.

16 years agodot-emacs: Make the region show up in terminals.
Mark Wooding [Wed, 7 May 2008 17:33:11 +0000 (18:33 +0100)]
dot-emacs: Make the region show up in terminals.

This is ugly, but at least it makes the region visible.  This is valuable
for keystrokes like C-M-SPC, and M-h and C-M-h which incrementally
extend the region.

16 years agodot-emacs: Don't un-electrify characters in mdw-misc-mode-config.
Mark Wooding [Wed, 7 May 2008 17:32:07 +0000 (18:32 +0100)]
dot-emacs: Don't un-electrify characters in mdw-misc-mode-config.

I /want/ ?# to go back to the start of the line in C mode, I think.
(It doesn't, with the configuration in its current state; I still
need to think about this.  But at least the option is now there again.)

16 years agoemacs: Make C-u C-SPC C-SPC ... continue popping marks.
Mark Wooding [Wed, 7 May 2008 17:30:41 +0000 (18:30 +0100)]
emacs: Make C-u C-SPC C-SPC ... continue popping marks.

This is a neat feature I hadn't noticed before.

16 years agoemacs: Move SLIME hacking to one place.
Mark Wooding [Tue, 6 May 2008 17:37:00 +0000 (18:37 +0100)]
emacs: Move SLIME hacking to one place.

16 years agodot-emacs: Don't make ?_ or ?- be word characters any more.
Mark Wooding [Tue, 6 May 2008 17:36:37 +0000 (18:36 +0100)]
dot-emacs: Don't make ?_ or ?- be word characters any more.

Now that the sexp operations are working properly, compound identifiers
are better split into multiple words, while still being left as sexps.

16 years agodot-emacs: Turn mumble-tab-always-indent back on.
Mark Wooding [Tue, 6 May 2008 14:38:34 +0000 (15:38 +0100)]
dot-emacs: Turn mumble-tab-always-indent back on.

I've gotten used to this behaviour in Lisp and related modes, and M-i
(`tab-to-tab-stop') is just a more reliable thing for getting actual
tabs into a buffer.

16 years agoemacs: Apply the windmove bindings regardless of windmove presence.
Mark Wooding [Tue, 6 May 2008 14:37:31 +0000 (15:37 +0100)]
emacs: Apply the windmove bindings regardless of windmove presence.

It seems silly protecting the bindings, which can't fail anyway.

16 years agoThe great key rebinding (part 2).
Mark Wooding [Tue, 6 May 2008 14:36:35 +0000 (15:36 +0100)]
The great key rebinding (part 2).

We assume that the X server is running with DontZap.  Still, to make
C-M-DEL actually do the right thing, we need to do two more hacks.

  * xinitrc: Remove the mapping of BackSpace to Terminate_Server.
    Because DontZap is set, this keysym does nothing at all, which is
    much less helpful than just being a modified backspace.

  * emacs: For some reason, ESC C-DEL is bound by default, but C-M-DEL
    isn't.  Provide the binding ourselves.

16 years agoscreen: Always run as UTF-8.
Mark Wooding [Tue, 6 May 2008 14:21:17 +0000 (15:21 +0100)]
screen: Always run as UTF-8.

On a Linux VC, screen usually carries on using whatever charset it did
before.  But this is a waste: screen can do UTF-8 throughout and
translate the underlying terminal correctly to match, so we may as well.

16 years agodircolors: Do the right thing in screen(1) on a bare Linux VC.
Mark Wooding [Tue, 6 May 2008 14:20:34 +0000 (15:20 +0100)]
dircolors: Do the right thing in screen(1) on a bare Linux VC.

16 years agoGreat key rebinding.
Mark Wooding [Tue, 6 May 2008 14:04:12 +0000 (15:04 +0100)]
Great key rebinding.

  * Rebind Enlightenment keys to use right-hand Alt key, leaving left
    Alt available for Emacs.

  * Remove a bunch of old Emacs key bindings.  In particular, F9
    (`mdw-divvy-window') is now on C-x w d; `undo' is removed from F8
    and is now only (ahem) on C-x u, C-_ and C-/.  F4
    (`query-replace-regexp') moved to the default C-M-%.  F5
    (`goto-line') is on M-g M-g.  F6 (`auto-fill-mode') is moved to
    C-x /.  Finally, M-RET is no longer `kmacro-call-macro', but one can
    use C-x C-k C-k or (now we've stopped squatting on it) F4.

The remaining fly in the ointment is that C-M-DEL is still trapped by
the X server.  This needs some XKB hacking.

16 years agoscreenrc: Run inferiors in a UTF-8 locale.
Mark Wooding [Tue, 29 Apr 2008 17:12:59 +0000 (18:12 +0100)]
screenrc: Run inferiors in a UTF-8 locale.

16 years agomdw-conf: Prevent double-/ when doing ~-substitutions.
Mark Wooding [Tue, 29 Apr 2008 17:12:14 +0000 (18:12 +0100)]
mdw-conf: Prevent double-/ when doing ~-substitutions.

16 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Mon, 28 Apr 2008 13:48:08 +0000 (14:48 +0100)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  emacs: New keybindings for windmove.
  emacs: Use vector notation consistently for key bindings.

16 years agoemacs: New keybindings for windmove.
Mark Wooding [Mon, 28 Apr 2008 13:42:40 +0000 (14:42 +0100)]
emacs: New keybindings for windmove.

The S-left etc. bindings don't work well in terminals.  Define new
bindings for C-x w left/down/up/right; and C-x w h/j/k/l.

16 years agoemacs: Use vector notation consistently for key bindings.
Mark Wooding [Mon, 28 Apr 2008 13:32:59 +0000 (14:32 +0100)]
emacs: Use vector notation consistently for key bindings.

16 years agoemacs: Stop Emacs from selecting buffers by raising other frames.
Mark Wooding [Fri, 25 Apr 2008 18:59:05 +0000 (19:59 +0100)]
emacs: Stop Emacs from selecting buffers by raising other frames.

The default behaviour of iswitchb, which is otherwise an excellent
thing, is to simply raise a frame if it's already showing the buffer I
want to use.  This is, of course, completely useless if (say) the frame
is actually on a different desktop, or attached to a different display.

Also force the default Emacs display-buffer behaviour, just in case that
becomes crazy later.

16 years agoemacs: Move the diary file to ~/etc/diary.
Mark Wooding [Fri, 25 Apr 2008 10:58:58 +0000 (11:58 +0100)]
emacs: Move the diary file to ~/etc/diary.

Less cruft in my home directory root is good.

16 years agoemacs: Teach Emacs about English (and Welsh) bank holidays.
Mark Wooding [Thu, 24 Apr 2008 23:18:23 +0000 (00:18 +0100)]
emacs: Teach Emacs about English (and Welsh) bank holidays.

Found at http://www.mundell.ukfsn.org/elisp/ew-hols.el; thanks to
Matthew Mundell for this.

16 years agoemacs: Rearrange mis-categorized things.
Mark Wooding [Thu, 24 Apr 2008 23:03:35 +0000 (00:03 +0100)]
emacs: Rearrange mis-categorized things.

For some reason, MailCrypt was in the middle of the calendar config.

16 years agoemacs: Allow files to declare that they don't want to be backed up.
Mark Wooding [Thu, 24 Apr 2008 15:53:55 +0000 (16:53 +0100)]
emacs: Allow files to declare that they don't want to be backed up.