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.
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.
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!
Mark Wooding [Wed, 6 Feb 2008 16:55:52 +0000 (16:55 +0000)]
bash_profile: Select Emacs 22 by preference.
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.
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.
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!
Mark Wooding [Thu, 31 Jan 2008 22:50:22 +0000 (22:50 +0000)]
setup: Install some new useful Emacs things for Git.
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.
Mark Wooding [Wed, 30 Jan 2008 18:19:17 +0000 (18:19 +0000)]
gitconfig: configure fonts for git-gui.
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.
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.
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.
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.
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.
Mark Wooding [Wed, 30 Jan 2008 12:21:35 +0000 (12:21 +0000)]
mdw-editor: Use gnuclient if stdin or stdout is noninteractive.
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.
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.
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.
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.
Mark Wooding [Mon, 12 Nov 2007 13:05:41 +0000 (13:05 +0000)]
vm: Use evince as preferred document viewer.
Mark Wooding [Mon, 12 Nov 2007 13:05:21 +0000 (13:05 +0000)]
dot-emacs: Update C++ keywords, and use C++ comments.
Mark Wooding [Mon, 12 Nov 2007 13:04:21 +0000 (13:04 +0000)]
emacs, dot-emacs: Support for assembler programming.
Mark Wooding [Mon, 12 Nov 2007 13:03:13 +0000 (13:03 +0000)]
emacs: Check that lazy-lock-mode exists before using it.
Mark Wooding [Mon, 12 Nov 2007 13:00:58 +0000 (13:00 +0000)]
emacs: Trap errors from resize-minibuffer-mode.
Mark Wooding [Mon, 12 Nov 2007 13:23:03 +0000 (13:23 +0000)]
Embryonic vim configuration.
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.
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.
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.
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.
Mark Wooding [Tue, 13 Feb 2007 23:56:41 +0000 (23:56 +0000)]
bash_profile: Use distcc if available.
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.
Mark Wooding [Tue, 13 Feb 2007 23:53:59 +0000 (23:53 +0000)]
bash_profile: Move EDITOR selection into its own section.
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.
Mark Wooding [Tue, 13 Feb 2007 23:52:20 +0000 (23:52 +0000)]
gitconfig: Include some useful email aliases.
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.
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.
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!
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.
Mark Wooding [Wed, 31 Jan 2007 16:13:26 +0000 (16:13 +0000)]
bash_profile: The whitespace fixes broke __mdw_conf -- unbreak it.
Ooops.
Mark Wooding [Mon, 29 Jan 2007 12:59:50 +0000 (12:59 +0000)]
eterm-theme.cfg: Make the yellow slightly more yellow.
This makes the orange in Emacs buffers less orange, but that's because
there isn't a proper orange...
Mark Wooding [Mon, 29 Jan 2007 12:56:01 +0000 (12:56 +0000)]
eterm-theme.cfg: Fix overzealous tabification.
It seems that Eterm's config parser is too stupid to cope with tabs.
Humour the poor thing.
Mark Wooding [Sun, 28 Jan 2007 20:03:03 +0000 (20:03 +0000)]
cleanup: Fix up whitespace everywhere.
Mark Wooding [Sun, 28 Jan 2007 19:50:39 +0000 (19:50 +0000)]
More GIT config things.
Configure a bunch of GIT core things some more: mainly colours, but also
handy aliases for making and mailing patches.
Also include configuration for Tig, a curses-based GIT porcelain.
Mark Wooding [Sun, 28 Jan 2007 14:35:37 +0000 (14:35 +0000)]
colordiffrc: More configuration files!
Mark Wooding [Wed, 24 Jan 2007 17:08:11 +0000 (17:08 +0000)]
dot-emacs: Highlight trailing whitespace, so that we can kill it.
Mark Wooding [Wed, 24 Jan 2007 16:39:25 +0000 (16:39 +0000)]
dot-emacs cleanup: Remove some spurious spaces.
Mark Wooding [Wed, 24 Jan 2007 14:37:55 +0000 (14:37 +0000)]
cgrc, stgitrc: More GIT configuration files.
Mark Wooding [Wed, 24 Jan 2007 13:57:28 +0000 (13:57 +0000)]
gitconfig: Turn on colouring for other commands.
Also, use color.FOO, rather than FOO.color for turning colouring on.
Mark Wooding [Wed, 24 Jan 2007 13:13:59 +0000 (13:13 +0000)]
bash_profile: Remove GIT environment variables.
Now we've got the global configuration file, we don't really need these
any more.
Mark Wooding [Wed, 24 Jan 2007 13:11:17 +0000 (13:11 +0000)]
emacs: Simple support for my mad SGML syntax.
This doesn't really work yet, but it doesn't make things worse.
Mark Wooding [Wed, 24 Jan 2007 13:10:38 +0000 (13:10 +0000)]
bash_completion: Completion for rootliness.
Mark Wooding [Wed, 24 Jan 2007 13:09:48 +0000 (13:09 +0000)]
gitconfig: New global GIT configuration.
Mark Wooding [Wed, 24 Jan 2007 13:06:12 +0000 (13:06 +0000)]
vm: Key for marking mail as spam.
Mark Wooding [Mon, 11 Dec 2006 16:50:39 +0000 (16:50 +0000)]
bashrc: Read global and local completion runes.
This means we can collect the GIT completion runes, among other stuff.
Mark Wooding [Mon, 11 Dec 2006 16:50:01 +0000 (16:50 +0000)]
Xdefaults: Make xdvi watch its input file.
Much more useful now.
Mark Wooding [Wed, 29 Nov 2006 11:40:46 +0000 (11:40 +0000)]
indent: Include indent settings.
Mark Wooding [Wed, 29 Nov 2006 11:40:30 +0000 (11:40 +0000)]
emacs: Don't ask stupid questions when adding stuff to dictionary.
Mark Wooding [Wed, 29 Nov 2006 11:40:02 +0000 (11:40 +0000)]
vm: File away cron junk.
Mark Wooding [Sun, 18 Jun 2006 09:33:12 +0000 (10:33 +0100)]
vm, setup: Install movemail-hack, which explicitly nobbles LD_PRELOAD.
Otherwise the linker produces diagnostics, which confuse VM.
Mark Wooding [Sun, 18 Jun 2006 09:22:49 +0000 (10:22 +0100)]
vm: Reformatting cleanups.
Remove a pile of pointless SETQ verbiage.
Mark Wooding [Fri, 16 Jun 2006 12:14:38 +0000 (13:14 +0100)]
emacs: Whoops, use the right proxy config frob.
Mark Wooding [Wed, 14 Jun 2006 11:26:03 +0000 (12:26 +0100)]
dot-emacs: More w3m fiddling: restore previously-selected window.
Mark Wooding [Tue, 13 Jun 2006 10:06:46 +0000 (11:06 +0100)]
emacs, dot-emacs: Overhaul of URL browsing in Emacs.
Insert a wossname in front of w3m's main function so that it doesn't
take over my current window. It now tries to reuse the existing w3m
window if there is one, or picks some other convenient window, creating
a new one if necessary. This makes Hyperspec lookups rather more
convenient, since I can carry on working in the REPL or a Lisp buffer
with the Hyperspec stuff in a fixed place and not worry about w3m
screwing my display over.
Mark Wooding [Mon, 12 Jun 2006 18:00:38 +0000 (19:00 +0100)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Mon, 12 Jun 2006 17:55:55 +0000 (18:55 +0100)]
emacs: Use w3m as default browser, but fall back to others.
Also tweak the w3m settings a bit, to get images rendered and suchlike.
Mark Wooding [Wed, 24 May 2006 08:32:51 +0000 (09:32 +0100)]
setup: Install Lisp configuration for ECL.
Mark Wooding [Thu, 27 Apr 2006 09:03:32 +0000 (10:03 +0100)]
lisp: Push `mdw' onto the *features*.
Now I can put tweaks into my code which don't screw everyone else up.
Mark Wooding [Mon, 24 Apr 2006 10:55:49 +0000 (11:55 +0100)]
emacs: Put `runlisp' in the interpreter-mode-alist.
Mark Wooding [Wed, 12 Apr 2006 02:54:44 +0000 (03:54 +0100)]
setup: Source local hacks if present.
This is necessary for local machines, because they need to use a
different repo URL.
Mark Wooding [Thu, 6 Apr 2006 21:56:28 +0000 (22:56 +0100)]
bash: Source local hacks in .bash_profile and .bashrc
Mark Wooding [Thu, 6 Apr 2006 14:07:04 +0000 (15:07 +0100)]
cvsrc: Put `-p' in the diff options.
Mark Wooding [Wed, 5 Apr 2006 12:37:23 +0000 (13:37 +0100)]
pathhack [-f] [+HACK|-HACK] [--] [COMMAND [ARGS...]]
Path hacks are stored in ~/bin/hacks. `+HACK' adds a hack to the path,
`-HACK' removes it. If a COMMAND is given, run the command with the
hacked path; otherwise set it in the current shell.
If `-f' is given, force reordering of added hacks; otherwise, if a hack
is already inserted, ignore it.
With no arguments, print the installed hacks in order.
Mark Wooding [Wed, 29 Mar 2006 14:08:52 +0000 (15:08 +0100)]
xinitrc: Switch based on VNC-ness rather than lots of feature flags.
This seems more maintainable in the long run.
Mark Wooding [Wed, 29 Mar 2006 13:37:20 +0000 (14:37 +0100)]
vnc: Include some VNC configuration.
Mark Wooding [Wed, 29 Mar 2006 10:31:10 +0000 (11:31 +0100)]
screenrc: Don't make utmp entries for all the screen windows.
Mark Wooding [Thu, 23 Mar 2006 14:09:48 +0000 (14:09 +0000)]
setup: Fix Emacs package installation.
Mark Wooding [Thu, 23 Mar 2006 14:07:18 +0000 (14:07 +0000)]
emacs: Use GIT and Quilt add-ons.
Mark Wooding [Thu, 23 Mar 2006 14:06:01 +0000 (14:06 +0000)]
dot-emacs: New functions: library-exists-p and maybe-autoload
library-exists-p decides whether an Emacs library is present.
maybe-autoload sets up an autoload if a library exists.
Mark Wooding [Wed, 22 Mar 2006 20:21:12 +0000 (20:21 +0000)]
Include signature file.
Mark Wooding [Wed, 22 Mar 2006 15:47:51 +0000 (15:47 +0000)]
dot-emacs: Finally fix fontification in cpp-messages-mode.
Mark Wooding [Mon, 20 Mar 2006 15:39:18 +0000 (15:39 +0000)]
bash_profile: Include /opt/nfast/gcc/bin in the PATH.
Mark Wooding [Mon, 20 Mar 2006 11:09:59 +0000 (11:09 +0000)]
bash_profile: Fix proxy settings, broken in the shake-up.
Mark Wooding [Fri, 17 Mar 2006 11:52:09 +0000 (11:52 +0000)]
Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
Mark Wooding [Fri, 17 Mar 2006 11:51:52 +0000 (11:51 +0000)]
setup: Repository location has moved.
Mark Wooding [Fri, 17 Mar 2006 11:51:17 +0000 (11:51 +0000)]
setup: Install xrun script, needed by Enlightenment config.
Mark Wooding [Fri, 17 Mar 2006 11:43:33 +0000 (11:43 +0000)]
Xdefaults, inputrc: Make meta behaviour sane.
Follows my preferred policy: Meta sends escape before a character, and
eight-bit things (particularly `£') are passed around as proper
characters.
Mark Wooding [Thu, 16 Mar 2006 21:22:22 +0000 (21:22 +0000)]
setup: Find a good Emacs21 and use that for compiling things.
Mark Wooding [Thu, 16 Mar 2006 21:10:24 +0000 (21:10 +0000)]
bashrc, emacs, dot-emacs.el: Fix prompts for unusual user names.
This is a regression in the centralized configuration.
Mark Wooding [Thu, 16 Mar 2006 20:48:12 +0000 (20:48 +0000)]
bashrc: Remove references to `sensible-editor'.
Use plain $EDITOR instead.
Mark Wooding [Thu, 16 Mar 2006 20:26:33 +0000 (20:26 +0000)]
mdw.conf: Central configuration file for common differences.
Hopefully, isolating various simple differences in this file should make
branching and merging rarer.
Mark Wooding [Thu, 16 Mar 2006 20:13:36 +0000 (20:13 +0000)]
bashrc: Kill entitle, and remove some other bits of cruft.
Mark Wooding [Thu, 16 Mar 2006 20:11:39 +0000 (20:11 +0000)]
bash_profile: Remove RMBPK setting.
I've no idea what this is any more. So it can't possibly be
important... ;-)
Mark Wooding [Thu, 16 Mar 2006 20:03:25 +0000 (20:03 +0000)]
bash_profile: Fix stupid missing space.
Somewhere, the space in the TMPDIR test went missing. Nobody notices,
because nobody sets TMPDIR, obviously.
Mark Wooding [Thu, 16 Mar 2006 11:08:56 +0000 (11:08 +0000)]
bash_profile: Find a useful editor automatically.
Mark Wooding [Thu, 16 Mar 2006 11:09:13 +0000 (11:09 +0000)]
bashrc: New alias `re' for editing things as root.
Mark Wooding [Wed, 15 Mar 2006 18:47:27 +0000 (18:47 +0000)]
bash_profile: Unset LANG.
Various programs behave very oddly with LANG set. For example, `ls'
sorts case-insensitively, which is quite obviously mad. Turn this brain-
damage off.
Mark Wooding [Mon, 13 Mar 2006 13:33:32 +0000 (13:33 +0000)]
setup: Find locally-installed Emacs packages.
Mark Wooding [Mon, 13 Mar 2006 13:26:17 +0000 (13:26 +0000)]
lisp: Kill the random symlinks in the repository.
Now that setup can create dotfiles whose names are different from the
ones in the repository, we can sort the mess out in setup rather than by
cluttering up the source with unpleasant symlinks.
Mark Wooding [Mon, 13 Mar 2006 12:24:23 +0000 (12:24 +0000)]
cvsrc: Generally sane settings for CVS.