Mark Wooding [Sat, 29 Mar 2008 15:11:43 +0000 (15:11 +0000)]
emacs: Keep the bookmarks file up to date.
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. ;-)
Mark Wooding [Fri, 28 Mar 2008 12:36:42 +0000 (12:36 +0000)]
Emacs, aspell: Make Emacs use aspell; configure aspell for use.
Mark Wooding [Fri, 28 Mar 2008 12:35:53 +0000 (12:35 +0000)]
Fix pstree output.
Mark Wooding [Tue, 25 Mar 2008 12:16:16 +0000 (12:16 +0000)]
setup: Fix bogosity in
2d07849b...
That was very stupid. Sorry.
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.)
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.
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.
Mark Wooding [Sun, 23 Mar 2008 20:13:17 +0000 (20:13 +0000)]
mdw-conf: Separate out config lookups into its own script.
Mark Wooding [Sun, 23 Mar 2008 19:34:33 +0000 (19:34 +0000)]
gitconfig: Improve the git release alias.
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.
Mark Wooding [Sun, 23 Mar 2008 16:27:37 +0000 (16:27 +0000)]
gitconfig: New alias `amend' does the obvious thing.
Mark Wooding [Sun, 23 Mar 2008 16:26:48 +0000 (16:26 +0000)]
guile: Turn on the persistent history.
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.
Mark Wooding [Mon, 3 Mar 2008 12:51:47 +0000 (12:51 +0000)]
gitconfig: New alias git-release.
Mark Wooding [Sat, 1 Mar 2008 18:12:25 +0000 (18:12 +0000)]
gitconfig: Insert my shiny Git signing key.
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.
Mark Wooding [Sat, 1 Mar 2008 18:10:16 +0000 (18:10 +0000)]
Guile: Add initialization script.
Currently this just turns on readline support.
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.
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.
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.
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.
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.
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.
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.
Mark Wooding [Tue, 19 Feb 2008 17:38:40 +0000 (17:38 +0000)]
vm: Display UTF-8 if the terminal accepts it.
Mark Wooding [Thu, 14 Feb 2008 13:44:50 +0000 (13:44 +0000)]
tigrc: Assume commits are UTF-8 now.
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.
Mark Wooding [Mon, 11 Feb 2008 15:21:47 +0000 (15:21 +0000)]
gdbinit: New file for GDB customization.
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.
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...
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.
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!
Mark Wooding [Mon, 11 Feb 2008 14:53:42 +0000 (14:53 +0000)]
Xdefaults: Persuade xterm to use `fixed' for Unicode output.
Mark Wooding [Fri, 8 Feb 2008 13:41:49 +0000 (13:41 +0000)]
emacs, dot-emacs: Mark files as being UTF-8.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.