profile
14 years agoMerge commit 'ponder'
Mark Wooding [Wed, 9 Dec 2009 00:45:50 +0000 (00:45 +0000)]
Merge commit 'ponder'

* commit 'ponder':
  dot/emacs: Tweaking for `proced'.
  bg/lovelace.jpg: New background of Ada.
  dot/emacs: Remove multihop tramp stuff.

14 years agodot/emacs: Tweaking for `proced'.
Mark Wooding [Tue, 8 Dec 2009 14:21:14 +0000 (14:21 +0000)]
dot/emacs: Tweaking for `proced'.

Show all processes by default; sort by user.  Maybe we'll do something
more intelligent later.

14 years agobg/lovelace.jpg: New background of Ada.
Mark Wooding [Tue, 8 Dec 2009 11:59:36 +0000 (11:59 +0000)]
bg/lovelace.jpg: New background of Ada.

By Sydney Padua, http://2dgoggles.com/.

14 years agodot/emacs: Remove multihop tramp stuff.
Mark Wooding [Tue, 8 Dec 2009 11:57:24 +0000 (11:57 +0000)]
dot/emacs: Remove multihop tramp stuff.

It appears that this is no longer supported (replaced by proxy hacking),
and it makes tramp not load, requiring mighty hacking to load-history
and eval-after-alist to bring it back to sanity.

14 years agobin/emacsclient-hack: Open the window on the right display.
Mark Wooding [Mon, 7 Dec 2009 10:20:53 +0000 (10:20 +0000)]
bin/emacsclient-hack: Open the window on the right display.

By default, Emacsclient doesn't open frames on the client's display.
This grotty shim program does the right magic, by simply passing the
appropriate command-line option.  It's intended for use in `.desktop'
files, because they don't allow shell expansion of environment variables
in the right way.

Silly rabbits.

14 years agoel/dot-emacs.el: Bug fix to last-one-out.
Mark Wooding [Mon, 7 Dec 2009 09:57:49 +0000 (09:57 +0000)]
el/dot-emacs.el: Bug fix to last-one-out.

Silly me.

14 years agoMerge commit 'origin'
Mark Wooding [Mon, 7 Dec 2009 09:45:50 +0000 (09:45 +0000)]
Merge commit 'origin'

* commit 'origin':
  el/dot-emacs.el: Make my writing be legible in ERC.
  bin/mdw-{editor,pager}: Recognize other Emacs terminal types.
  el/dot-emacs.el: Restore `gtags' mouse bindings.
  dot/emacs: Some Perforce tweaks.
  el/dot-emacs.el: Various bits of minor face hacking.
  el/dot-emacs.el: Force an update of the screen when setting faces.
  el/dot-emacs.el: Add `strayman' support at the right time.
  dot/emacs: Fix command to start the server.

Conflicts:
dot/emacs
el/dot-emacs.el

Resolved by removing gnuclient altogether.  Now it's Emacsclient only.

14 years agodot/emacs, el/dot-emacs.el: Add support for the Go programming language.
Mark Wooding [Mon, 7 Dec 2009 09:43:47 +0000 (09:43 +0000)]
dot/emacs, el/dot-emacs.el: Add support for the Go programming language.

Interesting and worth playing with.

14 years agoel/dot-emacs.el: Make my writing be legible in ERC.
Mark Wooding [Mon, 7 Dec 2009 09:41:29 +0000 (09:41 +0000)]
el/dot-emacs.el: Make my writing be legible in ERC.

The default shade of red is way too dark.

14 years agodot/xinitrc: On second thoughts, stalonetray sucks.
Mark Wooding [Mon, 7 Dec 2009 09:33:27 +0000 (09:33 +0000)]
dot/xinitrc: On second thoughts, stalonetray sucks.

It leaks memory and goes mad periodically.  I'm currently using the
Enlightenment systray.

14 years agodot/lisp-init.lisp: Don't signal errors on compile failures in SBCL.
Mark Wooding [Mon, 7 Dec 2009 09:29:42 +0000 (09:29 +0000)]
dot/lisp-init.lisp: Don't signal errors on compile failures in SBCL.

For some reason, ASDF sets *compile-file-failure-behaviour* to :error
specially on SBCL.  Turn it back to :warn.

14 years agobin/mdw-{editor,pager}: Recognize other Emacs terminal types.
Mark Wooding [Thu, 3 Dec 2009 13:34:28 +0000 (13:34 +0000)]
bin/mdw-{editor,pager}: Recognize other Emacs terminal types.

The `emacs' type is there precisely because it isn't `dumb', which will
make `git' apply colouring.  But I think that `M-x ansi-term' is actually
better so I doubt that this will get much use.

It's important to recognize the `term' and `ansi-term' terminals because
trying to start `emacsclient -nw' in them makes Emacs deadlock.  Besides,
plain `emacsclient' is almost certainly more convenient.

14 years agoel/dot-emacs.el: Restore `gtags' mouse bindings.
Mark Wooding [Thu, 3 Dec 2009 13:30:41 +0000 (13:30 +0000)]
el/dot-emacs.el: Restore `gtags' mouse bindings.

Sort of.  I've required C-S-... modifiers so that they don't conflict
with anything else.

14 years agodot/emacs: Some Perforce tweaks.
Mark Wooding [Thu, 3 Dec 2009 13:25:57 +0000 (13:25 +0000)]
dot/emacs: Some Perforce tweaks.

  * Load Perforce support if it's available and we don't mind taking
    some time over it.

  * Persuade `shell' mode to notice `Enter password:' as soliciting a
    password.

14 years agoel/dot-emacs.el: Wrap `save-excursion' around `hs-hide-all' hack.
Mark Wooding [Sat, 28 Nov 2009 17:54:57 +0000 (17:54 +0000)]
el/dot-emacs.el: Wrap `save-excursion' around `hs-hide-all' hack.

Stops point from moving to the top of the buffer.

14 years agobin/mdw-editor: Find out about the Emacs server version.
Mark Wooding [Sat, 21 Nov 2009 11:46:18 +0000 (11:46 +0000)]
bin/mdw-editor: Find out about the Emacs server version.

Emacs 22's client doesn't like the `-nw' option, unsurprisingly.  So
interrogate it first to find out what's going on.

I suppose this also means that there's not a great deal of point in
using the `-a' option, but it doesn't do a great deal of harm.

14 years agoel/dot-emacs.el: In hideshow mode, hide the initial comment.
Mark Wooding [Sat, 21 Nov 2009 11:45:13 +0000 (11:45 +0000)]
el/dot-emacs.el: In hideshow mode, hide the initial comment.

It usually contains boring copyright stuff and so on.  Other comments
are often more interesting, so we (still) don't hide them.

14 years agoMerge branch 'master' of metalzone:etc/profile
Mark Wooding [Sat, 21 Nov 2009 11:21:07 +0000 (11:21 +0000)]
Merge branch 'master' of metalzone:etc/profile

* 'master' of metalzone:etc/profile:
  dot/emacs: Consolidate chunks of `add-hook' settings and similar.
  el/dot-emacs.el: Turn on `reveal-mode' because it wins.
  bin/mdw-editor: Use `emacsclient' to edit files.
  dot/emacs: Always start the servers in Emacs 23.
  dot/emacs: Set frame parameters unconditionally.
  el/dot-emacs.el: Add `indent' and `debug' declarations to macros.
  dot/emacs, el/dot-emacs.el: Fix font configuration.
  dot/gnus.el: Use fancy tree drawing if using window-system output.
  dot/xinitrc: Run Emacs with GDK_NATIVE_WINDOWS=1.
  dot/xinitrc: Search for Emacs 23, and prefer it over other Emacsen.

Conflicts:
dot/emacs -- server startup differences

14 years agoel/dot-emacs.el: Disconnect from display when last frame closes.
Mark Wooding [Sat, 21 Nov 2009 11:18:28 +0000 (11:18 +0000)]
el/dot-emacs.el: Disconnect from display when last frame closes.

Now Emacs won't crash when the connection gets severed.  Woohoo.

14 years agoel/dot-emacs.el: Configure `ielm'.
Mark Wooding [Sat, 21 Nov 2009 11:17:41 +0000 (11:17 +0000)]
el/dot-emacs.el: Configure `ielm'.

Why did I never find this before?  It's basically a nice REPL for
Emacs Lisp.

14 years agoel/dot-emacs.el: Add a bunch of search shortcuts for `w3m'.
Mark Wooding [Sat, 21 Nov 2009 11:17:02 +0000 (11:17 +0000)]
el/dot-emacs.el: Add a bunch of search shortcuts for `w3m'.

These are taken from my Firefox search shortcuts.  Putting them here
means that I can look them up easily.

14 years agodot/emacs: Various Emacs-server hacks.
Mark Wooding [Sat, 21 Nov 2009 11:13:33 +0000 (11:13 +0000)]
dot/emacs: Various Emacs-server hacks.

  * Start up server on Emacs 23 regardless of whether there's a window
    system.

  * Start up the Emacs server as well, because it's actually pretty
    good.  And it's better on Emacs 23.

  * Protect the individual server-start operations with `trap's so that
    either can fail without preventing the other one from starting.

14 years agoel/dot-emacs.el: Various bits of minor face hacking.
Mark Wooding [Fri, 13 Nov 2009 17:55:56 +0000 (17:55 +0000)]
el/dot-emacs.el: Various bits of minor face hacking.

14 years agoel/dot-emacs.el: Force an update of the screen when setting faces.
Mark Wooding [Fri, 13 Nov 2009 17:55:29 +0000 (17:55 +0000)]
el/dot-emacs.el: Force an update of the screen when setting faces.

Seems to work.  Very unpleasant, anyway.

14 years agoel/dot-emacs.el: Add `strayman' support at the right time.
Mark Wooding [Fri, 13 Nov 2009 17:54:37 +0000 (17:54 +0000)]
el/dot-emacs.el: Add `strayman' support at the right time.

Avoid unbound-variable errors.

14 years agodot/emacs: Fix command to start the server.
Mark Wooding [Fri, 13 Nov 2009 17:53:01 +0000 (17:53 +0000)]
dot/emacs: Fix command to start the server.

I'm stupid.

14 years agodot/emacs: Consolidate chunks of `add-hook' settings and similar.
Mark Wooding [Mon, 9 Nov 2009 15:09:54 +0000 (15:09 +0000)]
dot/emacs: Consolidate chunks of `add-hook' settings and similar.

This makes hideshow more useful.  More could still be done; the file
is a mess in general.

14 years agoel/dot-emacs.el: Turn on `reveal-mode' because it wins.
Mark Wooding [Mon, 9 Nov 2009 15:05:15 +0000 (15:05 +0000)]
el/dot-emacs.el: Turn on `reveal-mode' because it wins.

14 years agobin/mdw-editor: Use `emacsclient' to edit files.
Mark Wooding [Mon, 9 Nov 2009 15:04:04 +0000 (15:04 +0000)]
bin/mdw-editor: Use `emacsclient' to edit files.

Emacs 23 can open new frames in terminals quite happily.  So we may as
well use it rather than starting up new Emacsen.

14 years agodot/emacs: Always start the servers in Emacs 23.
Mark Wooding [Mon, 9 Nov 2009 15:03:13 +0000 (15:03 +0000)]
dot/emacs: Always start the servers in Emacs 23.

We can always open frames and terminal sessions, so it makes sense to
just have the one Emacs.

14 years agodot/emacs: Set frame parameters unconditionally.
Mark Wooding [Mon, 9 Nov 2009 15:00:16 +0000 (15:00 +0000)]
dot/emacs: Set frame parameters unconditionally.

Now that Emacs 23 can have terminals and native frames simultaneously,
it seems good to always set everything.  And it seems to work OK.

14 years agoel/dot-emacs.el: Add `indent' and `debug' declarations to macros.
Mark Wooding [Mon, 9 Nov 2009 14:53:30 +0000 (14:53 +0000)]
el/dot-emacs.el: Add `indent' and `debug' declarations to macros.

This makes indentation and debugging work properly.  Surprising, no?

14 years agodot/emacs, el/dot-emacs.el: Fix font configuration.
Mark Wooding [Mon, 9 Nov 2009 14:51:13 +0000 (14:51 +0000)]
dot/emacs, el/dot-emacs.el: Fix font configuration.

Remove the unpleasant hacking with mdw-set-font and friends, and all of
the repeated font setting.  It doesn't work properly with Emacs 23,
because it can run in native frames and terminals simultaneously.

Instead, configure the fonts correctly at startup.  Unfortunately,
`defface' doesn't override the existing settings, so we hack the face
properties the hard way.  This actually seems to work, although it doesn't
have a particular right to.

14 years agodot/gnus.el: Use fancy tree drawing if using window-system output.
Mark Wooding [Mon, 9 Nov 2009 14:45:36 +0000 (14:45 +0000)]
dot/gnus.el: Use fancy tree drawing if using window-system output.

There's no terminal coding system for window systems, because there's
no terminal; but Emacs can still show Unicode characters, so we should
use them.

14 years agodot/xinitrc: Run Emacs with GDK_NATIVE_WINDOWS=1.
Mark Wooding [Mon, 9 Nov 2009 14:44:37 +0000 (14:44 +0000)]
dot/xinitrc: Run Emacs with GDK_NATIVE_WINDOWS=1.

This bodges around an Emacs bug which causes menus to be empty and
scroll bars to disappear randomly.  The bug appears in Emacs 22 too.

14 years agodot/xinitrc: Search for Emacs 23, and prefer it over other Emacsen.
Mark Wooding [Mon, 9 Nov 2009 14:43:47 +0000 (14:43 +0000)]
dot/xinitrc: Search for Emacs 23, and prefer it over other Emacsen.

14 years agodot/Xdefaults: Use the full name of `fixed'.
Mark Wooding [Tue, 3 Nov 2009 18:39:32 +0000 (18:39 +0000)]
dot/Xdefaults: Use the full name of `fixed'.

Emacs 23 sees `fixed' and tries to find it as a client-side font.  <sigh>
Now it sees -misc-fixed-... and it does the Right Thing.

14 years agoel/dot-emacs.el: Start hideshow mode /after/ outline.
Mark Wooding [Tue, 3 Nov 2009 17:36:04 +0000 (17:36 +0000)]
el/dot-emacs.el: Start hideshow mode /after/ outline.

Hideshow mode has the more useful keybindings, so let it steal them from
outline rather than 'tother way around.

14 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Tue, 3 Nov 2009 17:24:58 +0000 (17:24 +0000)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  dot/fonts.conf: If `Geneva' is requested, supply `FreeSans'.
  el/dot-emacs.el: Use define-derived-mode to make C# mode.
  el/dot-emacs.el: Org-mode hacking to use Strayman class.
  dot/bash_profile: Read bashrc if it's been lost.
  dot/e16-bindings: Add binding to show menu list.

14 years agodot/fonts.conf: If `Geneva' is requested, supply `FreeSans'.
Mark Wooding [Tue, 3 Nov 2009 17:23:53 +0000 (17:23 +0000)]
dot/fonts.conf: If `Geneva' is requested, supply `FreeSans'.

Seems like a better fit.

14 years agoel/dot-emacs.el: Support for hideshow mode.
Mark Wooding [Tue, 3 Nov 2009 17:21:55 +0000 (17:21 +0000)]
el/dot-emacs.el: Support for hideshow mode.

hideshow is mighty and winning.  Turn it on a lot.

14 years agoel/dot-emacs.el: Fix auto-fill magic for `//' comments in C-like modes.
Mark Wooding [Tue, 3 Nov 2009 17:21:26 +0000 (17:21 +0000)]
el/dot-emacs.el: Fix auto-fill magic for `//' comments in C-like modes.

Factor out the hairy regexp into a separate variable, and fix it to
recognize a `//' comment properly.

Also remove the override forcing `/* ... */' comments in Java and C#.

14 years agodot/fonts.conf: More hacking.
Mark Wooding [Wed, 28 Oct 2009 10:36:07 +0000 (10:36 +0000)]
dot/fonts.conf: More hacking.

Surprisingly, not for the Fixed font!  Use the URW Symbols font in
preference to any Windows one kicking around, because it's correctly
encoded.

14 years agoMerge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile
Mark Wooding [Fri, 23 Oct 2009 15:50:48 +0000 (16:50 +0100)]
Merge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile

* 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile:
  dot/emacs: Turn off fancy double-quote handling in TeX modes.
  dot/emacs: Make C-x C-q do editable-Dired.
  git/gitconfig: Add diff rules for Lisp.
  dot/fonts.conf: The saga never ends.
  el/dot-emacs.el: Fix stupid botch in earlier Python mode hacking.

14 years agoMerge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile
Mark Wooding [Fri, 23 Oct 2009 15:46:12 +0000 (16:46 +0100)]
Merge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile

* 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/etc/profile:
  dot/fonts.conf: Prevent finding of Fixed Normal.
  dot/mailrc: Parents changed email addresses again.
  bg/bsg-supper: Galactica backdrop of win.
  dot/emacs, el/dot-emacs.el: Fontification for Pyrex code.
  el/dot-emacs.el: Turn electric star and slash back on.
  dot/emacs: Put semantic's droppings somewhere central.
  e16-bindings: Move conservative-maximize bindings off S5.
  dot/e16-bindings: Make 5-F6 toggle keyboard mouse control.
  Go back to xscreensaver.  Mostly.

14 years agoel/dot-emacs.el: Use define-derived-mode to make C# mode.
Mark Wooding [Fri, 23 Oct 2009 15:46:04 +0000 (16:46 +0100)]
el/dot-emacs.el: Use define-derived-mode to make C# mode.

This way actually does the fontification right.

14 years agoel/dot-emacs.el: Org-mode hacking to use Strayman class.
Mark Wooding [Fri, 23 Oct 2009 15:45:39 +0000 (16:45 +0100)]
el/dot-emacs.el: Org-mode hacking to use Strayman class.

Much prettier.

14 years agodot/bash_profile: Read bashrc if it's been lost.
Mark Wooding [Fri, 23 Oct 2009 15:45:07 +0000 (16:45 +0100)]
dot/bash_profile: Read bashrc if it's been lost.

Do this even if the profile has already been read.  Nautilus is
crazed in some unhelpful way.

14 years agodot/e16-bindings: Add binding to show menu list.
Mark Wooding [Fri, 23 Oct 2009 15:44:06 +0000 (16:44 +0100)]
dot/e16-bindings: Add binding to show menu list.

C-5-button3 over a non-root window.

14 years agodot/emacs: Turn off fancy double-quote handling in TeX modes.
Mark Wooding [Sat, 17 Oct 2009 23:53:39 +0000 (00:53 +0100)]
dot/emacs: Turn off fancy double-quote handling in TeX modes.

Probably for Americans who can't type `` or '' without someone
holding their hands.  Gets in the way if you actually wanted that
character.  A lot.

14 years agodot/emacs: Make C-x C-q do editable-Dired.
Mark Wooding [Sat, 17 Oct 2009 23:52:25 +0000 (00:52 +0100)]
dot/emacs: Make C-x C-q do editable-Dired.

Apparently this is built into later Emacsen.  It seems sane.

14 years agogit/gitconfig: Add diff rules for Lisp.
Mark Wooding [Sat, 17 Oct 2009 23:51:42 +0000 (00:51 +0100)]
git/gitconfig: Add diff rules for Lisp.

Now it actually looks for `(def' things sensibly.

14 years agodot/fonts.conf: The saga never ends.
Mark Wooding [Sat, 17 Oct 2009 23:51:03 +0000 (00:51 +0100)]
dot/fonts.conf: The saga never ends.

I think I've got plain, italic and bold all working again.  Sigh.

14 years agoel/dot-emacs.el: Fix stupid botch in earlier Python mode hacking.
Mark Wooding [Sat, 10 Oct 2009 12:22:06 +0000 (13:22 +0100)]
el/dot-emacs.el: Fix stupid botch in earlier Python mode hacking.

14 years agodot/fonts.conf: Prevent finding of Fixed Normal.
Mark Wooding [Fri, 9 Oct 2009 08:55:51 +0000 (09:55 +0100)]
dot/fonts.conf: Prevent finding of Fixed Normal.

Irritatingly, Normal is considered lighter than SemiCondensed, so it's a
more preferable match.  Fix this.

14 years agodot/mailrc: Parents changed email addresses again.
Mark Wooding [Sun, 4 Oct 2009 23:21:06 +0000 (00:21 +0100)]
dot/mailrc: Parents changed email addresses again.

14 years agobg/bsg-supper: Galactica backdrop of win.
Mark Wooding [Sun, 4 Oct 2009 23:17:42 +0000 (00:17 +0100)]
bg/bsg-supper: Galactica backdrop of win.

14 years agoMerge branch 'master' of metalzone:etc/profile
Mark Wooding [Sun, 4 Oct 2009 23:15:03 +0000 (00:15 +0100)]
Merge branch 'master' of metalzone:etc/profile

* 'master' of metalzone:etc/profile:
  dot/bash_profile: Make OpenOffice not use ugly widgets.
  dot/gnus.el: Use distinct article buffers for different groups.
  dot/e16-bindings: Make 5-F6 toggle keyboard mouse control.
  dot/emacs, el/dot-emacs.el: Reformat in line with current styles.

Conflicts:
el/dot-emacs.el: Style hacking conflicted with Python fixing

14 years agodot/emacs, el/dot-emacs.el: Fontification for Pyrex code.
Mark Wooding [Sun, 4 Oct 2009 23:09:21 +0000 (00:09 +0100)]
dot/emacs, el/dot-emacs.el: Fontification for Pyrex code.

One function doing the heavy lifting, with separate lists of keywords.

14 years agoel/dot-emacs.el: Turn electric star and slash back on.
Mark Wooding [Sun, 4 Oct 2009 23:08:32 +0000 (00:08 +0100)]
el/dot-emacs.el: Turn electric star and slash back on.

Now that the indenter does the right thing with `extern "C" {' we're OK.

14 years agodot/emacs: Put semantic's droppings somewhere central.
Mark Wooding [Sun, 4 Oct 2009 23:07:33 +0000 (00:07 +0100)]
dot/emacs: Put semantic's droppings somewhere central.

Rather than leaving them all over the file system.

14 years agoe16-bindings: Move conservative-maximize bindings off S5.
Mark Wooding [Sun, 4 Oct 2009 23:06:21 +0000 (00:06 +0100)]
e16-bindings: Move conservative-maximize bindings off S5.

Turns out there are useful keysyms already there, like single quote
marks.

14 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Wed, 23 Sep 2009 12:02:54 +0000 (13:02 +0100)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  dot/bash_profile: Make OpenOffice not use ugly widgets.
  dot/gnus.el: Use distinct article buffers for different groups.
  dot/emacs, el/dot-emacs.el: Reformat in line with current styles.

14 years agodot/bash_profile: Make OpenOffice not use ugly widgets.
Mark Wooding [Wed, 23 Sep 2009 09:45:06 +0000 (10:45 +0100)]
dot/bash_profile: Make OpenOffice not use ugly widgets.

I don't know exactly how it tries to decide whether it's running under
Gnome.  Certainly dbus and gnome-panel don't have anything to do with
it.

14 years agodot/gnus.el: Use distinct article buffers for different groups.
Mark Wooding [Wed, 23 Sep 2009 09:43:24 +0000 (10:43 +0100)]
dot/gnus.el: Use distinct article buffers for different groups.

Makes living a complicated life slightly easier.

14 years agodot/e16-bindings: Make 5-F6 toggle keyboard mouse control.
Mark Wooding [Sat, 8 Aug 2009 17:00:32 +0000 (18:00 +0100)]
dot/e16-bindings: Make 5-F6 toggle keyboard mouse control.

14 years agoGo back to xscreensaver. Mostly.
Mark Wooding [Thu, 6 Aug 2009 23:06:57 +0000 (00:06 +0100)]
Go back to xscreensaver.  Mostly.

There's a new program `lock-screen' which works out which screensaver is
in use.  gnome-screensaver is in my bad books now because the 2.26 version
relies on gnome-session for its idle-time measuring.

This partially reverts commit f9f6fd32cf1e8cfab6ac71f9c34854e69e58711f.

14 years agodot/emacs, el/dot-emacs.el: Reformat in line with current styles.
Mark Wooding [Mon, 27 Jul 2009 11:24:06 +0000 (12:24 +0100)]
dot/emacs, el/dot-emacs.el: Reformat in line with current styles.

Some docsctrings have been slightly edited too, but there shouldn't be
any substantive changes.

14 years agobg/hypatia.jpg: New background.
Mark Wooding [Sun, 26 Jul 2009 23:59:34 +0000 (00:59 +0100)]
bg/hypatia.jpg: New background.

Painting of Hypatia of Alexandria by Charles William Mitchell.

14 years agodot/emacs: Missing `$' causes `.css' files to be edited as C#.
Mark Wooding [Sun, 26 Jul 2009 10:49:47 +0000 (11:49 +0100)]
dot/emacs: Missing `$' causes `.css' files to be edited as C#.

Strangely, it's not such a bad choice of editing mode.  Fixed anyway.

14 years agobg/noodly.jpg: Another glorious background image.
Mark Wooding [Thu, 23 Jul 2009 15:05:45 +0000 (16:05 +0100)]
bg/noodly.jpg: Another glorious background image.

14 years agodot/xinitrc: Start stalonetray as a system tray.
Mark Wooding [Thu, 23 Jul 2009 15:01:08 +0000 (16:01 +0100)]
dot/xinitrc: Start stalonetray as a system tray.

I'm fed up with the Gnome panel tray, because it doesn't work properly
in vertical panels.  The stalonetray program seems to work OK, so I'll
go with that for now.

14 years agodot/bashrc: Fix gratuitously broken zgrep alias.
Mark Wooding [Thu, 23 Jul 2009 10:41:21 +0000 (11:41 +0100)]
dot/bashrc: Fix gratuitously broken zgrep alias.

14 years agodot/e16-bindings: Add a couple more.
Mark Wooding [Sun, 19 Jul 2009 18:14:20 +0000 (19:14 +0100)]
dot/e16-bindings: Add a couple more.

Add C-5-a for `arrange desktop' and C-5-g for `show magnifier'.
C-5-{a,b,c} were previously doing something unhelpful, so they've been
killed.

14 years agodot/e16-bindings: Sort key bindings.
Mark Wooding [Sun, 19 Jul 2009 18:20:01 +0000 (19:20 +0100)]
dot/e16-bindings: Sort key bindings.

This makes it (slightly) easier to see which ones have been taken.

14 years agoGreat reorganization.
Mark Wooding [Sat, 18 Jul 2009 15:06:02 +0000 (16:06 +0100)]
Great reorganization.

Put the various files into subdirectories to make the project less
cluttered.

Maybe there'll be a Makefile some day.

14 years agobackgrounds: Add two more for the collection.
Mark Wooding [Sat, 18 Jul 2009 14:30:58 +0000 (15:30 +0100)]
backgrounds: Add two more for the collection.

Also fix the setup script to handle backgrounds separately from
dotfiles, since they all go the same place(s).

14 years agoXdefaults: Spruce up somewhat.
Mark Wooding [Tue, 14 Jul 2009 13:35:48 +0000 (14:35 +0100)]
Xdefaults: Spruce up somewhat.

Shouldn't be any substantive changes.

14 years agoXdefaults: Settings for Xft and Xcursor.
Mark Wooding [Tue, 14 Jul 2009 13:17:12 +0000 (14:17 +0100)]
Xdefaults: Settings for Xft and Xcursor.

14 years agoemacs, dot-emacs: Icon fontification support.
Mark Wooding [Tue, 14 Jul 2009 13:16:42 +0000 (14:16 +0100)]
emacs, dot-emacs: Icon fontification support.

Icon is a cool language.  It seems a shame not to support it.

14 years agoemacs: Turn off annoying `help' message in file chooser.
Mark Wooding [Tue, 14 Jul 2009 13:16:09 +0000 (14:16 +0100)]
emacs: Turn off annoying `help' message in file chooser.

14 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Tue, 7 Jul 2009 18:27:16 +0000 (19:27 +0100)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  bashrc: `grep' hacking.
  mdw-pager: New hack for pager support.
  mdw-editor: If both VISUAL and EDITOR are set unusually, prefer EDITOR.
  gitconfig: Colouring configuration.
  e16-bindings: Switch over to gnome-screensaver.

14 years agomailrc: Insert mum's old email address.
Mark Wooding [Tue, 7 Jul 2009 18:26:56 +0000 (19:26 +0100)]
mailrc: Insert mum's old email address.

14 years agobashrc: `grep' hacking.
Mark Wooding [Tue, 7 Jul 2009 18:21:50 +0000 (19:21 +0100)]
bashrc: `grep' hacking.

Firstly, introduce `zgrep' to the ranks of hacked greps.  Secondly, run
results of `grep' through a pager.

14 years agomdw-pager: New hack for pager support.
Mark Wooding [Tue, 7 Jul 2009 18:20:09 +0000 (19:20 +0100)]
mdw-pager: New hack for pager support.

Emacs runs sobprocesses, like `grep', with output to a pty, which
confuses `git grep' in particular into running a pager.  We intercept
the pager, using a script, which checks for Emacs's crappy pty and
simply runs `cat'.

14 years agomdw-editor: If both VISUAL and EDITOR are set unusually, prefer EDITOR.
Mark Wooding [Tue, 7 Jul 2009 18:18:47 +0000 (19:18 +0100)]
mdw-editor: If both VISUAL and EDITOR are set unusually, prefer EDITOR.

Previously we did something strange.

14 years agogitconfig: Colouring configuration.
Mark Wooding [Tue, 7 Jul 2009 18:15:40 +0000 (19:15 +0100)]
gitconfig: Colouring configuration.

Fix colours for `git add --interactive', and add new settings for `git
grep'.

14 years agoe16-bindings: Switch over to gnome-screensaver.
Mark Wooding [Tue, 7 Jul 2009 18:03:53 +0000 (19:03 +0100)]
e16-bindings: Switch over to gnome-screensaver.

This appwars to be universal on my machines now.

14 years agodot-emacs: Fix C indentation quite a lot.
Mark Wooding [Fri, 12 Jun 2009 14:00:24 +0000 (15:00 +0100)]
dot-emacs: Fix C indentation quite a lot.

This change fixes a number of C indentation annoyances:

  * One-line blocks are indented relative to the preceding line.

  * Stuff inside `extern "C" { ... }' isn't indended.

  * The `extern "C" {' line itself /is/ indended.

  * Blocks in macro argument lists are fixed.

  * Macro indentation is fixed.

14 years agoputty-defaults: Prevent changing of the window title.
Mark Wooding [Fri, 12 Jun 2009 13:57:50 +0000 (14:57 +0100)]
putty-defaults: Prevent changing of the window title.

It's just too annoying.

14 years agodot-emacs: Fix Perforce faces so that they show up.
Mark Wooding [Fri, 12 Jun 2009 13:57:23 +0000 (14:57 +0100)]
dot-emacs: Fix Perforce faces so that they show up.

Someone obviously only uses a dark-on-light colour scheme.

15 years agodot-emacs: Fix `term' key bindings.
Mark Wooding [Wed, 3 Jun 2009 10:01:17 +0000 (11:01 +0100)]
dot-emacs: Fix `term' key bindings.

Now it lets M-left and M-right through to the inferior.  This involves a
fair amount of unpleasantness, unfortunately.

15 years agodot-emacs: Initialize slime-repl-mode-map.
Mark Wooding [Mon, 11 May 2009 10:15:11 +0000 (11:15 +0100)]
dot-emacs: Initialize slime-repl-mode-map.

For some reason, some Debian versions of SLIME don't correctly
initialize this, so we'd better do it by hand.  Of course, this sucks.

15 years agobashrc: Reintroduce `world' function, because it's useful.
Mark Wooding [Thu, 7 May 2009 11:13:01 +0000 (12:13 +0100)]
bashrc: Reintroduce `world' function, because it's useful.

15 years agoun-backslashify-selection: Handy X hack.
Mark Wooding [Tue, 5 May 2009 10:18:43 +0000 (11:18 +0100)]
un-backslashify-selection: Handy X hack.

Now I'm using Emacs for reading email again, there's a small problem.
Long URLs are broken across lines with a backslash/newline pair.  This
makes them a bit tricky to paste into Iceweasel or whatever.

un-backslashify-selection reads the selection, kills the backslashes,
and rewrites the selection.  This command is bound to M5-F7, so pasting
is fairly painless.  (An extension is the right answer, but that's way
more work.)

15 years agoemacs: Three column printouts are too tiny even for me.
Mark Wooding [Tue, 5 May 2009 10:16:59 +0000 (11:16 +0100)]
emacs: Three column printouts are too tiny even for me.

Expand the type size and use two columns.

15 years agobash_profile: Don't call `vt-is-UTF8' on a pty.
Mark Wooding [Sun, 3 May 2009 10:12:58 +0000 (11:12 +0100)]
bash_profile: Don't call `vt-is-UTF8' on a pty.

It just hangs.  Call tty(1) and pattern match the result.

15 years agoemacs: Arrange org-mode tags aligned-right.
Mark Wooding [Tue, 5 May 2009 10:03:36 +0000 (11:03 +0100)]
emacs: Arrange org-mode tags aligned-right.

... but adjust the position for my slightly narrow columns.

15 years agoemacs: Turn off semantic-excessive-code-helpers.
Mark Wooding [Tue, 5 May 2009 10:13:40 +0000 (11:13 +0100)]
emacs: Turn off semantic-excessive-code-helpers.

For some reason, they interfere with the Info-mode's isearch-through-
successive-nodes feature, which is much more useful.  I don't currently
know why; I'll revisit if this turns out to be too much of a crying
shame.

15 years agoemacs: Ignore the magical XF86WakeUp keysym.
Mark Wooding [Mon, 4 May 2009 13:04:49 +0000 (14:04 +0100)]
emacs: Ignore the magical XF86WakeUp keysym.

For some reason, the `Fn' key on crybaby generates this keysym.  Having
Emacs feep when I bounce on it is annoying, since it ought to be a
perfectly innocent modifier key.

I've bound the key to an empty string, since this acts as a keyboard
macro and does nothing.  No other particularly simple binding seems to
work (`nil' and `undefined' continue to feep; and there's no obvious
do-nothing function to bind to the key).