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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Less cruft in my home directory root is good.

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

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

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

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

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

16 years agoemacs: Don't back up boring files like commit messages.
Mark Wooding [Thu, 24 Apr 2008 15:53:00 +0000 (16:53 +0100)]
emacs: Don't back up boring files like commit messages.

16 years agoExpunge crufty old CVS Id tags.
Mark Wooding [Mon, 21 Apr 2008 11:35:53 +0000 (12:35 +0100)]
Expunge crufty old CVS Id tags.

16 years agoNew script `hyperspec'.
Mark Wooding [Mon, 21 Apr 2008 11:31:21 +0000 (12:31 +0100)]
New script `hyperspec'.

The new hyperspec script looks up an entry in the Common Lisp Hyperspec
and returns the URL.  Comes with bash completions!

16 years agoRepository reorganization.
Mark Wooding [Mon, 21 Apr 2008 11:26:43 +0000 (12:26 +0100)]
Repository reorganization.

  * Remove version numbers from the packages to be downloaded.  Updating
    the setup script just because some package has changed versions is
    silly; we'll just mess with symlinks appropriately instead.

  * Move the small scripts into the profile repository, so that they
    live a sensible version-controlled life.

16 years agoMerge commit 'metalzone/master'
Mark Wooding [Mon, 21 Apr 2008 11:09:58 +0000 (12:09 +0100)]
Merge commit 'metalzone/master'

* commit 'metalzone/master':
  Configuration for top.
  emacs: Start actually doing some Emacs-side SLIME customization.
  bash_profile: Force ncurses to use UTF8 line-drawing characters.
  dot-emacs: remove stray debugging code.
  tig: Fix colours, in particular the cursor line.
  gitconfig: New alias `git files'.
  dot-emacs: Hack dired-maybe-insert-subdir to honour marks.
  gitignore: Ignore more boring things.
  tigrc: Don't bold entries in the diff.
  dot-emacs: Force buffer-file-coding-system to utf-8 for news articles.

16 years agodot-emacs: Update mdw-hanging-indents for Doxygen-style lists.
Mark Wooding [Mon, 21 Apr 2008 11:03:49 +0000 (12:03 +0100)]
dot-emacs: Update mdw-hanging-indents for Doxygen-style lists.

Doxygen uses a leading `-' or `-#' for unordered or ordered lists
respectively.  Supporting this will probably interfere with poorly
wrapped inline mathematics, but that's probably OK.  We'll see...

16 years agoConfiguration for top.
Mark Wooding [Wed, 16 Apr 2008 13:41:54 +0000 (14:41 +0100)]
Configuration for top.

... which appears to have grown colour support while I wasn't looking.

16 years agoemacs: Start actually doing some Emacs-side SLIME customization.
Mark Wooding [Mon, 14 Apr 2008 09:34:50 +0000 (10:34 +0100)]
emacs: Start actually doing some Emacs-side SLIME customization.

Use UTF-8 to communicate with Lisps which understand it.  And make SBCL
the official default.

16 years agobash_profile: Force ncurses to use UTF8 line-drawing characters.
Mark Wooding [Mon, 14 Apr 2008 09:34:01 +0000 (10:34 +0100)]
bash_profile: Force ncurses to use UTF8 line-drawing characters.

The ACS versions don't work in PuTTY.

16 years agodot-emacs: remove stray debugging code.
Mark Wooding [Sun, 13 Apr 2008 14:11:31 +0000 (15:11 +0100)]
dot-emacs: remove stray debugging code.

16 years agotig: Fix colours, in particular the cursor line.
Mark Wooding [Sun, 13 Apr 2008 13:56:40 +0000 (14:56 +0100)]
tig: Fix colours, in particular the cursor line.

16 years agogitconfig: New alias `git files'.
Mark Wooding [Wed, 9 Apr 2008 15:33:52 +0000 (16:33 +0100)]
gitconfig: New alias `git files'.

Like `git ls-files' but understands default ignore lists.

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: Turn global-auto-revert-mode back on.
Mark Wooding [Mon, 7 Apr 2008 14:04:52 +0000 (15:04 +0100)]
emacs: Turn global-auto-revert-mode back on.

A recent X server/graphics driver change seems to have made the problem
go away, and it's sufficiently useful for tracking Git working trees
that I want it back.

However, don't bother turning it on if we' trying to start up
quickly: it triggers an autoload and slows stuff down.

16 years agoMerge commit 'metalzone/master'
Mark Wooding [Mon, 7 Apr 2008 14:00:13 +0000 (15:00 +0100)]
Merge commit 'metalzone/master'

* commit 'metalzone/master':
  emacs, dot-emacs: Fix WoMan configuration.
  dot-emacs: Fix mdw-check-autorevert.
  dot-emacs: Fix calls to mdw-regexps.
  dot-emacs: Fix divvy-window for Emacs 21.
  dot-emacs: Fix the eval-when-compile stanza.
  dot-emacs: Squash complaints about use of interactive commands.
  dot-emacs: Flush stray close-paren.
  Now that Emacs starts up pretty quick, favour it over lesser editors.
  emacs: Stuff for fast startup.
  emacs: Keep the bookmarks file up to date.
  dot-emacs, gitconfig, colordiffrc: Fix fontification for diffs.
  Emacs, aspell: Make Emacs use aspell; configure aspell for use.
  Fix pstree output.

Conflicts:

dot-emacs.el: Python keywords: add `with'; use mdw-regexps.

16 years agogitconfig: Some simple email configuration.
Mark Wooding [Mon, 7 Apr 2008 13:56:48 +0000 (14:56 +0100)]
gitconfig: Some simple email configuration.

16 years agoemacs: Remove obsolete GNUS configuration.
Mark Wooding [Mon, 7 Apr 2008 13:56:15 +0000 (14:56 +0100)]
emacs: Remove obsolete GNUS configuration.

16 years agodot-emacs: Add new Python `with' keyword.
Mark Wooding [Mon, 7 Apr 2008 13:55:15 +0000 (14:55 +0100)]
dot-emacs: Add new Python `with' keyword.

16 years agoxshutdown: Kill old-style xwait waiters too.
Mark Wooding [Mon, 7 Apr 2008 13:57:23 +0000 (14:57 +0100)]
xshutdown: Kill old-style xwait waiters too.

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.