chiark / gitweb /
profile
16 years agodot-emacs: Hack dired-maybe-insert-subdir to honour marks.
Mark Wooding [Wed, 9 Apr 2008 15:25:55 +0000 (16:25 +0100)]
dot-emacs: Hack dired-maybe-insert-subdir to honour marks.

16 years agogitignore: Ignore more boring things.
Mark Wooding [Wed, 9 Apr 2008 14:19:47 +0000 (15:19 +0100)]
gitignore: Ignore more boring things.

16 years agotigrc: Don't bold entries in the diff.
Mark Wooding [Mon, 7 Apr 2008 14:34:43 +0000 (15:34 +0100)]
tigrc: Don't bold entries in the diff.

The colouring is sufficient to make them stand out.

16 years agodot-emacs: Force buffer-file-coding-system to utf-8 for news articles.
Mark Wooding [Mon, 7 Apr 2008 14:33:40 +0000 (15:33 +0100)]
dot-emacs: Force buffer-file-coding-system to utf-8 for news articles.

This is, after all, what slrn has been told to expect.

16 years agoemacs, dot-emacs: Fix WoMan configuration.
Mark Wooding [Fri, 4 Apr 2008 22:53:25 +0000 (23:53 +0100)]
emacs, dot-emacs: Fix WoMan configuration.

Stop WoMan from popping up extra frames.  Once this is done, for some
reason, the default bold face comes out green, so stop that too.

16 years agodot-emacs: Fix mdw-check-autorevert.
Mark Wooding [Fri, 4 Apr 2008 20:26:26 +0000 (21:26 +0100)]
dot-emacs: Fix mdw-check-autorevert.

Only mess with auto-revert if it's actually there.  Similarly, only mess
with Tramp if that's there.

16 years agodot-emacs: Fix calls to mdw-regexps.
Mark Wooding [Fri, 4 Apr 2008 20:17:09 +0000 (21:17 +0100)]
dot-emacs: Fix calls to mdw-regexps.

When I introduced mdw-regexps, I had it take a &rest argument rather than
a list of strings, but I didn't make the calls match!  I still think I
made the right choice, so strip the extra layer of parens on all of the
calls.

16 years agodot-emacs: Fix divvy-window for Emacs 21.
Mark Wooding [Fri, 4 Apr 2008 20:15:55 +0000 (21:15 +0100)]
dot-emacs: Fix divvy-window for Emacs 21.

In Emacs 22 (and since I last looked) fringe-columns has become a
defsubst (i.e., it's inline-expandable), and its expansion refers to
yet another function not available in Emacs 21.  Since I want to use the
byte-compiled result with Emacs 21 too, we engage in some chicanery to
hide the symbol names from the byte compiler.

Also make the interactive version accept a prefix argument controlling
the column width (on the grounds that the feature was already there
anyway, but not for some reason available).

16 years agodot-emacs: Fix the eval-when-compile stanza.
Mark Wooding [Fri, 4 Apr 2008 20:13:18 +0000 (21:13 +0100)]
dot-emacs: Fix the eval-when-compile stanza.

Firstly, it just wasn't spelt correctly!  Secondly, it didn't include
the cl macros, which are useful.  (I henceforth permit the use of CL
macros, but not functions, in dot-emacs.el, on condition that the
expansions don't require CL functions.)

Thirdly, fix mdw-regexps to quote its expansion.

16 years agodot-emacs: Squash complaints about use of interactive commands.
Mark Wooding [Fri, 4 Apr 2008 20:09:19 +0000 (21:09 +0100)]
dot-emacs: Squash complaints about use of interactive commands.

The Emacs 22 byte compiler (at least) moans about me using replace-regexp
and insert-file.  So use (respectively) re-search-forward/replace-match
and insert-file-contents.

I think this change also fixes a bug in mdw-config which failed to
transform half of the config-file entries.

16 years agodot-emacs: Flush stray close-paren.
Mark Wooding [Fri, 4 Apr 2008 20:07:24 +0000 (21:07 +0100)]
dot-emacs: Flush stray close-paren.

Oops.  Stops the whole thing from compiling.

16 years agoNow that Emacs starts up pretty quick, favour it over lesser editors.
Mark Wooding [Thu, 3 Apr 2008 09:03:08 +0000 (10:03 +0100)]
Now that Emacs starts up pretty quick, favour it over lesser editors.

16 years agoemacs: Stuff for fast startup.
Mark Wooding [Thu, 3 Apr 2008 09:02:45 +0000 (10:02 +0100)]
emacs: Stuff for fast startup.

Provide a command-line switch --mdw-fast-startup which inhibits loading
some long-winded things which aren't needed in simple cases.

Also preglue regular expressions together using make-regexp rather than
doing it at startup time.

16 years agoemacs: Keep the bookmarks file up to date.
Mark Wooding [Sat, 29 Mar 2008 15:11:43 +0000 (15:11 +0000)]
emacs: Keep the bookmarks file up to date.

16 years agodot-emacs, gitconfig, colordiffrc: Fix fontification for diffs.
Mark Wooding [Sat, 29 Mar 2008 15:11:20 +0000 (15:11 +0000)]
dot-emacs, gitconfig, colordiffrc: Fix fontification for diffs.

Now it (more or less) matches the Git settings, which seem pretty good
really.  Move the Git and colordiff configuration back to match. ;-)

16 years agoEmacs, aspell: Make Emacs use aspell; configure aspell for use.
Mark Wooding [Fri, 28 Mar 2008 12:36:42 +0000 (12:36 +0000)]
Emacs, aspell: Make Emacs use aspell; configure aspell for use.

16 years agoFix pstree output.
Mark Wooding [Fri, 28 Mar 2008 12:35:53 +0000 (12:35 +0000)]
Fix pstree output.

16 years agosetup: Fix bogosity in 2d07849b...
Mark Wooding [Tue, 25 Mar 2008 12:16:16 +0000 (12:16 +0000)]
setup: Fix bogosity in 2d07849b...

That was very stupid.  Sorry.

16 years agosetup: Stop using `pwd' so often.
Mark Wooding [Mon, 24 Mar 2008 10:48:36 +0000 (10:48 +0000)]
setup: Stop using `pwd' so often.

(Introduced with the gitconfig-generation change.)

16 years agoEterm: resurrect the configuration file.
Mark Wooding [Sun, 23 Mar 2008 20:20:44 +0000 (20:20 +0000)]
Eterm: resurrect the configuration file.

Since the xinitrc script might actually choose Eterm on some machine,
it's probably best to make sure it has a usable configuation.

16 years agogitconfig: Provide global ignores, and generate file from skeleton.
Mark Wooding [Sun, 23 Mar 2008 20:16:20 +0000 (20:16 +0000)]
gitconfig: Provide global ignores, and generate file from skeleton.

The latter follows from the former: we need to put a global gitignore
file somewhere, but we can't fix a location for it.  The only solution
is to have setup figure out where the ignores file is and plug that into
the config file.

Take the opportunity to un-hardcode the signing key too.

16 years agomdw-conf: Separate out config lookups into its own script.
Mark Wooding [Sun, 23 Mar 2008 20:13:17 +0000 (20:13 +0000)]
mdw-conf: Separate out config lookups into its own script.

16 years agogitconfig: Improve the git release alias.
Mark Wooding [Sun, 23 Mar 2008 19:34:33 +0000 (19:34 +0000)]
gitconfig: Improve the git release alias.

16 years agoxinitrc, setup: Overhaul of X session handling.
Mark Wooding [Sun, 23 Mar 2008 16:30:01 +0000 (16:30 +0000)]
xinitrc, setup: Overhaul of X session handling.

Requires 1.4.0 of xtoys.  The xinitrc now waits for and processes commands
when it's finished.  This involves a major restructuring of the code.

Also tweak window manager bindings to match, and provide useful support
scripts.

The inclusion of movemail-hack is sneaky: while we're moving things into
the collection, we might as well add this too.

16 years agogitconfig: New alias `amend' does the obvious thing.
Mark Wooding [Sun, 23 Mar 2008 16:27:37 +0000 (16:27 +0000)]
gitconfig: New alias `amend' does the obvious thing.

16 years agoguile: Turn on the persistent history.
Mark Wooding [Sun, 23 Mar 2008 16:26:48 +0000 (16:26 +0000)]
guile: Turn on the persistent history.

16 years agoemacs: Disable global-auto-revert-mode.
Mark Wooding [Tue, 4 Mar 2008 22:44:15 +0000 (22:44 +0000)]
emacs: Disable global-auto-revert-mode.

For some reason this seems to be clobbering my CPU every now and then.
This is something of an experiment -- I may be wrong.  But it's worth a
go.

16 years agogitconfig: New alias git-release.
Mark Wooding [Mon, 3 Mar 2008 12:51:47 +0000 (12:51 +0000)]
gitconfig: New alias git-release.

16 years agogitconfig: Insert my shiny Git signing key.
Mark Wooding [Sat, 1 Mar 2008 18:12:25 +0000 (18:12 +0000)]
gitconfig: Insert my shiny Git signing key.

16 years agoemacs: Don't start up xscheme.
Mark Wooding [Sat, 1 Mar 2008 18:12:07 +0000 (18:12 +0000)]
emacs: Don't start up xscheme.

I've gone off MIT Scheme rather since I put this in.  It seems like a
bad default now.

16 years agoGuile: Add initialization script.
Mark Wooding [Sat, 1 Mar 2008 18:10:16 +0000 (18:10 +0000)]
Guile: Add initialization script.

Currently this just turns on readline support.

16 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Tue, 26 Feb 2008 17:50:21 +0000 (17:50 +0000)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  emerge-hack: A new script for Git merging.
  vncrc, xinitrc: Don't do so much Gnome fiddling.
  dot-emacs: Fiddle C indentation settings.
  emacs: Make postscript printing more sensible.

16 years agoemerge-hack: A new script for Git merging.
Mark Wooding [Tue, 26 Feb 2008 17:32:04 +0000 (17:32 +0000)]
emerge-hack: A new script for Git merging.

emerge-hack pretends to be an Emacs and takes arguments as for emerge;
but instead it runs ediff, which is much nicer.

16 years agovncrc, xinitrc: Don't do so much Gnome fiddling.
Mark Wooding [Tue, 26 Feb 2008 17:31:07 +0000 (17:31 +0000)]
vncrc, xinitrc: Don't do so much Gnome fiddling.

The Gnome settings stuff screws up VNC mightily.  The panel (well,
actually, some panel applets) doesn't seem to like running multiple
instances.  And the keyboard configuration completely scrambles the
keymap.

16 years agodot-emacs: Fiddle C indentation settings.
Mark Wooding [Tue, 26 Feb 2008 17:29:42 +0000 (17:29 +0000)]
dot-emacs: Fiddle C indentation settings.

Emacs 22's C mode interprets the `inclass' indentation key differently
for some reason.  (Actually it seems more sensible now.)

This might need more vigorous fiddling if it causes problems with older
Emacsen.

16 years agoemacs: Make postscript printing more sensible.
Mark Wooding [Tue, 26 Feb 2008 17:21:05 +0000 (17:21 +0000)]
emacs: Make postscript printing more sensible.

I never actually tested my original settings.  These seem acceptable,
though maybe a little squidgy.

16 years agodot-emacs: Clobber font-lock-comment-delimiter-face.
Mark Wooding [Mon, 25 Feb 2008 16:00:30 +0000 (16:00 +0000)]
dot-emacs: Clobber font-lock-comment-delimiter-face.

For some reason this one only gets used in a terminal.  Oh, well.

16 years agoTell bash (and other readline clients) how to handle M-left and M-right
Mark Wooding [Wed, 20 Feb 2008 09:22:47 +0000 (09:22 +0000)]
Tell bash (and other readline clients) how to handle M-left and M-right
keys.

16 years agovm: Display UTF-8 if the terminal accepts it.
Mark Wooding [Tue, 19 Feb 2008 17:38:40 +0000 (17:38 +0000)]
vm: Display UTF-8 if the terminal accepts it.

16 years agotigrc: Assume commits are UTF-8 now.
Mark Wooding [Thu, 14 Feb 2008 13:44:50 +0000 (13:44 +0000)]
tigrc: Assume commits are UTF-8 now.

16 years agomg: Install bindings for M-left and M-right.
Mark Wooding [Thu, 14 Feb 2008 13:44:20 +0000 (13:44 +0000)]
mg: Install bindings for M-left and M-right.

They move backwards and forwards over words, as one would expect.

16 years agogdbinit: New file for GDB customization.
Mark Wooding [Mon, 11 Feb 2008 15:21:47 +0000 (15:21 +0000)]
gdbinit: New file for GDB customization.

16 years agogitconfig: Reduce the font size in git-gui.
Mark Wooding [Mon, 11 Feb 2008 14:56:43 +0000 (14:56 +0000)]
gitconfig: Reduce the font size in git-gui.

At 11pt the results came out horrible on one machine.  Maybe this will
help.

16 years agoemacs, dot-emacs: Provide auto-filling for m4 (and autoconf).
Mark Wooding [Mon, 11 Feb 2008 14:56:05 +0000 (14:56 +0000)]
emacs, dot-emacs: Provide auto-filling for m4 (and autoconf).

I'm surprised I hadn't done this already, actually...

16 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Mon, 11 Feb 2008 14:55:00 +0000 (14:55 +0000)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  bash_profile: Don't force less to use latin1.
  Xdefaults: Persuade xterm to use `fixed' for Unicode output.

16 years agobash_profile: Don't force less to use latin1.
Mark Wooding [Mon, 11 Feb 2008 14:54:00 +0000 (14:54 +0000)]
bash_profile: Don't force less to use latin1.

This makes manpages come out really badly!

16 years agoXdefaults: Persuade xterm to use `fixed' for Unicode output.
Mark Wooding [Mon, 11 Feb 2008 14:53:42 +0000 (14:53 +0000)]
Xdefaults: Persuade xterm to use `fixed' for Unicode output.

16 years agoemacs, dot-emacs: Mark files as being UTF-8.
Mark Wooding [Fri, 8 Feb 2008 13:41:49 +0000 (13:41 +0000)]
emacs, dot-emacs: Mark files as being UTF-8.

16 years agosetup: Use Emacs 22 for compiling, if it's available.
Mark Wooding [Fri, 8 Feb 2008 13:41:34 +0000 (13:41 +0000)]
setup: Use Emacs 22 for compiling, if it's available.

The binary formats actually seem compatible, though.

16 years agoemacs: Remove additional setting of load-path.
Mark Wooding [Fri, 8 Feb 2008 13:41:06 +0000 (13:41 +0000)]
emacs: Remove additional setting of load-path.

This must have come in at the same time as the .emacs/dot-emacs.el split.
It's obviously redundant.

16 years agoemacs, dot-emacs: Move SGML hacking to dot-emacs.
Mark Wooding [Fri, 8 Feb 2008 13:39:21 +0000 (13:39 +0000)]
emacs, dot-emacs: Move SGML hacking to dot-emacs.

Not sure why it was in the wrong place to begin with.

16 years agoputty-defaults: Revert bogus change to Putty terminal height.
Mark Wooding [Fri, 8 Feb 2008 13:38:39 +0000 (13:38 +0000)]
putty-defaults: Revert bogus change to Putty terminal height.

Made in bc30f5c465d7c38c208e0eccf28b017f4d52206a with the UTF-8 stuff.

16 years agoUse UTF8 on X, and guess at console.
Mark Wooding [Thu, 7 Feb 2008 13:36:47 +0000 (13:36 +0000)]
Use UTF8 on X, and guess at console.

Actually, we let the user configure the character set separately for
both.

16 years agoemacs: Postscript wrangling.
Mark Wooding [Thu, 7 Feb 2008 10:50:05 +0000 (10:50 +0000)]
emacs: Postscript wrangling.

Also, don't show a splash screen in terminals.  Emacs 22 insists on
showing the splash even if a file has been visited, which is really
unhelpful.

16 years agoemacs: Change a few faces.
Mark Wooding [Thu, 7 Feb 2008 10:48:00 +0000 (10:48 +0000)]
emacs: Change a few faces.

Make the inactive mode line yellow-on-blue, so that it shows up in
console sessions.  And make the fringes plain black now that they're so
thin.

16 years agoe16: Turn off composite, because it really doesn't seem to work.
Mark Wooding [Thu, 7 Feb 2008 10:45:51 +0000 (10:45 +0000)]
e16: Turn off composite, because it really doesn't seem to work.

16 years agoGeneral: Add preliminary support for E16.
Mark Wooding [Wed, 6 Feb 2008 19:21:40 +0000 (19:21 +0000)]
General: Add preliminary support for E16.

Unfortunately it doesn't actually seem to work as well as Enlightenment
but there you go.

16 years agoXdefaults: Emacs 22 can be made a column narrower.
Mark Wooding [Wed, 6 Feb 2008 18:16:44 +0000 (18:16 +0000)]
Xdefaults: Emacs 22 can be made a column narrower.

Emacs 22 can actually put the cursor just past the end of the line now,
so we don't actually need to make the frame a character wider than it
needs to be any more.

Alas, I can't find a good way to make this apply just to Emacs 22, so
this will be bogus on older Emacsen.

16 years agodot-emacs: Force use of the right `fixed' font.
Mark Wooding [Wed, 6 Feb 2008 18:09:47 +0000 (18:09 +0000)]
dot-emacs: Force use of the right `fixed' font.

For some reason Emacs picks the wrong one sometimes, at least over NX.

16 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Wed, 6 Feb 2008 17:20:46 +0000 (17:20 +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: Put a box around the inactive mode line for symmetry.

16 years agodot-emacs: Put a box around the inactive mode line for symmetry.
Mark Wooding [Wed, 6 Feb 2008 17:20:26 +0000 (17:20 +0000)]
dot-emacs: Put a box around the inactive mode line for symmetry.

16 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Wed, 6 Feb 2008 17:01:30 +0000 (17:01 +0000)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  xinitrc: Support Emacs 22.
  bash_profile: Select Emacs 22 by preference.
  dot-emacs: Make `trap' report the erroneous code.
  emacs, dot-emacs: Overhaul for Emacs22 compatibility.

16 years agoxinitrc: Support Emacs 22.
Mark Wooding [Wed, 6 Feb 2008 16:57:01 +0000 (16:57 +0000)]
xinitrc: Support Emacs 22.

Also overhaul it so that it can pick out sensible Emacs and terminal
programs, and parameterize the placement algorithm so that it can cope.

Finally, add some testing infrastructure so that I don't have to log out
and in again to see if I fixed it properly!

16 years agobash_profile: Select Emacs 22 by preference.
Mark Wooding [Wed, 6 Feb 2008 16:55:52 +0000 (16:55 +0000)]
bash_profile: Select Emacs 22 by preference.

16 years agodot-emacs: Make `trap' report the erroneous code.
Mark Wooding [Wed, 6 Feb 2008 16:55:31 +0000 (16:55 +0000)]
dot-emacs: Make `trap' report the erroneous code.

This helps a bit when confusing messages appear.

16 years agoemacs, dot-emacs: Overhaul for Emacs22 compatibility.
Mark Wooding [Wed, 6 Feb 2008 16:54:59 +0000 (16:54 +0000)]
emacs, dot-emacs: Overhaul for Emacs22 compatibility.

  * Remove apparently spurious `t' entries from font-lock-keywords lists.

  * Configure scroll-bar widths and fringes.

  * Update divvying so that it asks Emacs for the widths of the frame
    furniture if possible.

  * Define a couple of new faces.  I'm sure there'll be more of these.

  * Define line-number-at-pos conditionally, so we don't clobber Emacs's
    better version.

16 years agoXdefaults: Fix font names.
Mark Wooding [Thu, 31 Jan 2008 22:58:13 +0000 (22:58 +0000)]
Xdefaults: Fix font names.

For some reason, NICEFONT has been broken forever, and nobody has ever
noticed!

16 years agosetup: Install some new useful Emacs things for Git.
Mark Wooding [Thu, 31 Jan 2008 22:50:22 +0000 (22:50 +0000)]
setup: Install some new useful Emacs things for Git.

16 years agosetup: Update the repo variable to point to the new name.
Mark Wooding [Thu, 31 Jan 2008 22:50:03 +0000 (22:50 +0000)]
setup: Update the repo variable to point to the new name.

This should have happened ages ago, but obviously I haven't
needed to set up a new machine for ages.

16 years agogitconfig: configure fonts for git-gui.
Mark Wooding [Wed, 30 Jan 2008 18:19:17 +0000 (18:19 +0000)]
gitconfig: configure fonts for git-gui.

16 years agoXdefaults: Configure the Axiom HyperDoc browser to be less ugly.
Mark Wooding [Thu, 31 Jan 2008 13:34:38 +0000 (13:34 +0000)]
Xdefaults: Configure the Axiom HyperDoc browser to be less ugly.

It shows its age, poor thing, but it's damned useful.

16 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Thu, 31 Jan 2008 13:56:48 +0000 (13:56 +0000)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  bash_profile: Use `mg' as default editor, if it's available.

16 years agobash_profile: Use `mg' as default editor, if it's available.
Mark Wooding [Wed, 30 Jan 2008 12:17:28 +0000 (12:17 +0000)]
bash_profile: Use `mg' as default editor, if it's available.

It starts up so much faster than Emacs, and using it isn't much of a
hardship.

16 years agoMerge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Wed, 30 Jan 2008 22:27:48 +0000 (22:27 +0000)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile

* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  emacs: Support more Git and StGIT packages which look cool.
  mdw-editor: Use gnuclient if stdin or stdout is noninteractive.
  Install configuration for `mg' editor.

16 years agoemacs: Support more Git and StGIT packages which look cool.
Mark Wooding [Wed, 30 Jan 2008 18:38:58 +0000 (18:38 +0000)]
emacs: Support more Git and StGIT packages which look cool.

Also provide (badly) the function line-number-at-pos, which
StGIT needs because it assumes that I have Emacs 22.

16 years agomdw-editor: Use gnuclient if stdin or stdout is noninteractive.
Mark Wooding [Wed, 30 Jan 2008 12:21:35 +0000 (12:21 +0000)]
mdw-editor: Use gnuclient if stdin or stdout is noninteractive.

16 years agoInstall configuration for `mg' editor.
Mark Wooding [Wed, 30 Jan 2008 12:14:05 +0000 (12:14 +0000)]
Install configuration for `mg' editor.

`mg' is a nice little editor which behaves like Emacs but starts up
/very/ quickly.

16 years agoemacs: Configure AUCTeX to use Evince for PDF viewing.
Mark Wooding [Fri, 25 Jan 2008 18:09:11 +0000 (18:09 +0000)]
emacs: Configure AUCTeX to use Evince for PDF viewing.

This unfortunately requires me to duplicate the entire table.  Bletch.

16 years agoputty-defaults: Minor tweaking.
Mark Wooding [Tue, 13 Nov 2007 12:12:50 +0000 (12:12 +0000)]
putty-defaults: Minor tweaking.

Improve the saturation of some of the colours (in particular red and
yellow).  Also switch to xterm function-keys, since that's what Emacs at
least seems to be expecting.

16 years agoSwitch out Eterm for pterm.
Mark Wooding [Mon, 12 Nov 2007 13:11:46 +0000 (13:11 +0000)]
Switch out Eterm for pterm.

pterm's emulation is much more complete than Eterm's, and I've
become annoyed with rubbish being left on the screen by
Eterm's bugginess.

16 years agovm: Use evince as preferred document viewer.
Mark Wooding [Mon, 12 Nov 2007 13:05:41 +0000 (13:05 +0000)]
vm: Use evince as preferred document viewer.

16 years agodot-emacs: Update C++ keywords, and use C++ comments.
Mark Wooding [Mon, 12 Nov 2007 13:05:21 +0000 (13:05 +0000)]
dot-emacs: Update C++ keywords, and use C++ comments.

16 years agoemacs, dot-emacs: Support for assembler programming.
Mark Wooding [Mon, 12 Nov 2007 13:04:21 +0000 (13:04 +0000)]
emacs, dot-emacs: Support for assembler programming.

16 years agoemacs: Check that lazy-lock-mode exists before using it.
Mark Wooding [Mon, 12 Nov 2007 13:03:13 +0000 (13:03 +0000)]
emacs: Check that lazy-lock-mode exists before using it.

16 years agoemacs: Trap errors from resize-minibuffer-mode.
Mark Wooding [Mon, 12 Nov 2007 13:00:58 +0000 (13:00 +0000)]
emacs: Trap errors from resize-minibuffer-mode.

16 years agoEmbryonic vim configuration.
Mark Wooding [Mon, 12 Nov 2007 13:23:03 +0000 (13:23 +0000)]
Embryonic vim configuration.

16 years agoemacs, dot-emacs.el: Support for C#.
Mark Wooding [Mon, 24 Sep 2007 10:57:32 +0000 (11:57 +0100)]
emacs, dot-emacs.el: Support for C#.

Currently rather grim, based on the Java mode.

16 years agolisp-init.lisp: Various changes.
Mark Wooding [Mon, 24 Sep 2007 10:57:01 +0000 (11:57 +0100)]
lisp-init.lisp: Various changes.

  * Don't force symbol printing to lowercase -- it's just too painful to
    fix it again for other systems.

  * Provide a handy function for firing up Swank, so we can connect
    SLIME to a running Lisp system.

17 years agobash_profile: Make editor selection indirect via a script mdw-editor.
Mark Wooding [Thu, 15 Feb 2007 21:37:47 +0000 (21:37 +0000)]
bash_profile: Make editor selection indirect via a script mdw-editor.

This involves installing scripts from this package into the right place
in ~/bin.

17 years agoMerge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/public-git/profile
Mark Wooding [Wed, 14 Feb 2007 00:03:37 +0000 (00:03 +0000)]
Merge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/public-git/profile

* 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/public-git/profile:
  stgitrc, gitconfig: Move the StGIT configuration to gitconfig.
  gitconfig: Include some useful email aliases.
  gitconfig: Remove angle brackets from the email address.
  emacs: Make sure Git is first in the list of VC backends.

17 years agobash_profile: Use distcc if available.
Mark Wooding [Tue, 13 Feb 2007 23:56:41 +0000 (23:56 +0000)]
bash_profile: Use distcc if available.

17 years agobash_profile: Split check-for-program code into its own function.
Mark Wooding [Tue, 13 Feb 2007 23:56:38 +0000 (23:56 +0000)]
bash_profile: Split check-for-program code into its own function.

I'll want this later on.

17 years agobash_profile: Move EDITOR selection into its own section.
Mark Wooding [Tue, 13 Feb 2007 23:53:59 +0000 (23:53 +0000)]
bash_profile: Move EDITOR selection into its own section.

17 years agostgitrc, gitconfig: Move the StGIT configuration to gitconfig.
Mark Wooding [Tue, 13 Feb 2007 23:53:29 +0000 (23:53 +0000)]
stgitrc, gitconfig: Move the StGIT configuration to gitconfig.

The various porcelains seems to be converging on the core Git
configuration file as being a good place to put stuff, and I can see
why.

17 years agogitconfig: Include some useful email aliases.
Mark Wooding [Tue, 13 Feb 2007 23:52:20 +0000 (23:52 +0000)]
gitconfig: Include some useful email aliases.

17 years agogitconfig: Remove angle brackets from the email address.
Mark Wooding [Tue, 13 Feb 2007 23:51:13 +0000 (23:51 +0000)]
gitconfig: Remove angle brackets from the email address.

While the core Git stuff doesn't seem to mind (for some reason), StGIT
gets understandably confused and puts in two lots.

17 years agoemacs: Make sure Git is first in the list of VC backends.
Mark Wooding [Tue, 13 Feb 2007 23:43:34 +0000 (23:43 +0000)]
emacs: Make sure Git is first in the list of VC backends.

This way, when there's a conflict (e.g., with gcvs) the right version
control system will win.

17 years agobash_profile: Make sure LC_COLLATE is turned off.
Mark Wooding [Tue, 13 Feb 2007 23:40:38 +0000 (23:40 +0000)]
bash_profile: Make sure LC_COLLATE is turned off.

This is the environment variable which is responsible for making `ls' do
braindamaged things like sorting case-insensitively.  Ngggg!

17 years agobash_profile: Modify LESS settings.
Mark Wooding [Sat, 10 Feb 2007 21:47:56 +0000 (21:47 +0000)]
bash_profile: Modify LESS settings.

In particular, I agree that -F (quit if less than a page) is useful,
particularly with Git, and then the terminal-init string is a nuisance,
so kill that with -X.

17 years agobash_profile: The whitespace fixes broke __mdw_conf -- unbreak it.
Mark Wooding [Wed, 31 Jan 2007 16:13:26 +0000 (16:13 +0000)]
bash_profile: The whitespace fixes broke __mdw_conf -- unbreak it.

Ooops.