chiark / gitweb /
profile
7 years agoel/dot-emacs.el: Better fontification for Ediff.
Mark Wooding [Wed, 18 May 2016 09:29:03 +0000 (10:29 +0100)]
el/dot-emacs.el: Better fontification for Ediff.

7 years agodot/emacs: Set new variable for Python indent level.
Mark Wooding [Fri, 3 Jun 2016 21:49:32 +0000 (22:49 +0100)]
dot/emacs: Set new variable for Python indent level.

Because the old name worked.

7 years agosetup: Just symlink all of the backgrounds.
Mark Wooding [Thu, 2 Jun 2016 17:20:01 +0000 (18:20 +0100)]
setup: Just symlink all of the backgrounds.

I've been failing to update the list.  Fortunately, computers are good
at making lists of things.

7 years agoMerge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile
Mark Wooding [Thu, 2 Jun 2016 17:11:32 +0000 (18:11 +0100)]
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile

* 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile:
  el/dot-emacs.el: Don't raise frame when reminding about appointments.
  dot/emacs: Expunge `try-expand-list' from the expanders.
  dot/emacs: Move `hippie-expand' to another (related) key.
  el/dot-emacs.el (mdw-trustonic-c): Support bizarre access-label indentation.
  dot/emacs, dot/vm: Hack the applications used for viewing content.
  dot/vm: Remove list of ancient email addresses.
  git/gitignore: Ignore `build.*' as well as `build-*'.
  el/dot-emacs.el: Unelectrify `;' in `asm-mode'.
  el/dot-emacs.el: Fix stupid typo.
  dot/emacs: Don't prompt about following symbolic links.
  dot/xinitrc: Document the new Emacs geometry parameters.
  dot/xinitrc: Calculate derived Emacs geometry after the version dispatch.

7 years agobg/twins.jpg: The Twins: Kate and Grace Hoare, by John Everett Millais.
Mark Wooding [Thu, 2 Jun 2016 17:10:25 +0000 (18:10 +0100)]
bg/twins.jpg: The Twins: Kate and Grace Hoare, by John Everett Millais.

The original is in the Fitzwilliam Museum in Cambridge.

7 years agodot/gnus-local.el.distorted: Changes to support later Gnus versions.
Mark Wooding [Thu, 2 Jun 2016 17:05:11 +0000 (18:05 +0100)]
dot/gnus-local.el.distorted: Changes to support later Gnus versions.

  * Set authentication credentials source explicitly.

  * Set inboxes for splitting; we don't have the `nnimap-split-inbox'
    file any more.

  * Set unsplittable articles predicate in the new way.

7 years agoel/dot-emacs.el: Don't raise frame when reminding about appointments.
Mark Wooding [Wed, 1 Jun 2016 18:31:27 +0000 (19:31 +0100)]
el/dot-emacs.el: Don't raise frame when reminding about appointments.

7 years agodot/emacs: Expunge `try-expand-list' from the expanders.
Mark Wooding [Tue, 31 May 2016 17:31:32 +0000 (18:31 +0100)]
dot/emacs: Expunge `try-expand-list' from the expanders.

It usually results in a vast spew of crap that I didn't want.

7 years agodot/emacs: Move `hippie-expand' to another (related) key.
Mark Wooding [Tue, 31 May 2016 17:30:34 +0000 (18:30 +0100)]
dot/emacs: Move `hippie-expand' to another (related) key.

This leaves `dabbrev-expand' where it usually is, reducing confusion
between full-on and fast-startup Emacsen.

7 years agoel/dot-emacs.el (mdw-trustonic-c): Support bizarre access-label indentation.
Mark Wooding [Thu, 19 May 2016 14:42:16 +0000 (15:42 +0100)]
el/dot-emacs.el (mdw-trustonic-c): Support bizarre access-label indentation.

Whatever.  I don't make these rules.

7 years agodot/emacs, dot/vm: Hack the applications used for viewing content.
Mark Wooding [Tue, 24 May 2016 09:32:06 +0000 (10:32 +0100)]
dot/emacs, dot/vm: Hack the applications used for viewing content.

Mostly, leave the choice to the XDG machinery.  I'm trying `mupdf'
experimentally as my primary PDF viewer.

7 years agodot/vm: Remove list of ancient email addresses.
Mark Wooding [Tue, 24 May 2016 09:31:02 +0000 (10:31 +0100)]
dot/vm: Remove list of ancient email addresses.

7 years agogit/gitignore: Ignore `build.*' as well as `build-*'.
Mark Wooding [Tue, 24 May 2016 09:30:37 +0000 (10:30 +0100)]
git/gitignore: Ignore `build.*' as well as `build-*'.

I'm considering deprecating `build-*', because it covers `build-setup'
which is actually a useful file.

7 years agoel/dot-emacs.el: Unelectrify `;' in `asm-mode'.
Mark Wooding [Tue, 24 May 2016 09:29:51 +0000 (10:29 +0100)]
el/dot-emacs.el: Unelectrify `;' in `asm-mode'.

It's really annoying when `;' isn't the comment character, which it
mostly isn't when writing for Gas.

7 years agoel/dot-emacs.el: Fix stupid typo.
Mark Wooding [Sun, 15 May 2016 18:34:49 +0000 (19:34 +0100)]
el/dot-emacs.el: Fix stupid typo.

7 years agodot/emacs: Don't prompt about following symbolic links.
Mark Wooding [Fri, 13 May 2016 01:53:50 +0000 (02:53 +0100)]
dot/emacs: Don't prompt about following symbolic links.

7 years agodot/xinitrc: Document the new Emacs geometry parameters.
Mark Wooding [Thu, 12 May 2016 11:04:33 +0000 (12:04 +0100)]
dot/xinitrc: Document the new Emacs geometry parameters.

7 years agodot/xinitrc: Calculate derived Emacs geometry after the version dispatch.
Mark Wooding [Thu, 12 May 2016 11:00:20 +0000 (12:00 +0100)]
dot/xinitrc: Calculate derived Emacs geometry after the version dispatch.

7 years agoMake Emacs column width configurable.
Mark Wooding [Thu, 12 May 2016 09:22:24 +0000 (10:22 +0100)]
Make Emacs column width configurable.

This change introduces a new metaconfiguration variable `emacs-width'
which defaults for 77 for the usual historical reasons.  It's used:

  * to set the default `loose' Emacs frame width, in `.Xdefaults', via
    some fiddly C preprocessor hacking;

  * to choose the initial Emacs frame size, in `.xinitrc';

  * to decide how to divvy up windows, refill text, highlight overlong
    lines, and all of that good stuff, in `.emacs' and `dot-emacs.el'.

Emacs itself now has two new variable, `mdw-column-width' which is the
`physical' column width, used to decide how big to make windows and
frames; and `mdw-text-width' which is a potentially buffer-local
variable holding the logical text width in the buffer, used for
refilling text and highlighting long lines.

This is probably not completely right yet, but it seems like a good
start for supporting environments where I'm expected to use a different
column width most of the time.

If `emacs-width' is unset, or left as its default, there should be no
change.

7 years agodot/xinitrc: Factor out the common Emacs size parameters.
Mark Wooding [Thu, 12 May 2016 08:41:52 +0000 (09:41 +0100)]
dot/xinitrc: Factor out the common Emacs size parameters.

7 years agodot/emacs: Set up autoloads for mail-sending functions.
Mark Wooding [Wed, 11 May 2016 20:07:11 +0000 (21:07 +0100)]
dot/emacs: Set up autoloads for mail-sending functions.

For some reason, Emacs doesn't set one up for `sendmail-send-it' by
default.  WTF?

7 years agodot/xinitrc: Actually fix Emacs width for version 23-lucid.
Mark Wooding [Wed, 11 May 2016 19:46:15 +0000 (20:46 +0100)]
dot/xinitrc: Actually fix Emacs width for version 23-lucid.

7 years agodot/Xdefaults: Use the correct width of Emacs.
Mark Wooding [Wed, 11 May 2016 19:25:46 +0000 (20:25 +0100)]
dot/Xdefaults: Use the correct width of Emacs.

7 years agoMerge remote-tracking branch 'staging'
Mark Wooding [Wed, 11 May 2016 19:25:02 +0000 (20:25 +0100)]
Merge remote-tracking branch 'staging'

* staging:
  dot/xinitrc: Correct geometry if the Lucid build of Emacs 24 is found.
  dot/emacs: Configure transient-mark-mode sensibly for later Emacsen.

7 years agodot/emacs: Load `cl' before `dot-emacs.el'.
Mark Wooding [Wed, 11 May 2016 19:23:42 +0000 (20:23 +0100)]
dot/emacs: Load `cl' before `dot-emacs.el'.

We appear to have gained a dependency, but it doesn't matter.

7 years agoMerge branch 'master' of https://git.distorted.org.uk/~mdw/profile
Mark Wooding [Wed, 11 May 2016 15:47:49 +0000 (16:47 +0100)]
Merge branch 'master' of https://git.distorted.org.uk/~mdw/profile

* 'master' of https://git.distorted.org.uk/~mdw/profile:
  dot/gnus.el, dot/gnus-local.el.distorted: Fancy mail sending.
  dot/emacs: I have another chiark email address now.
  dot/gnus-local.el.distorted (gnus-posting-styles): Set address better.

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.

7 years agodot/xinitrc: Correct geometry if the Lucid build of Emacs 24 is found.
Mark Wooding [Wed, 11 May 2016 15:46:04 +0000 (16:46 +0100)]
dot/xinitrc: Correct geometry if the Lucid build of Emacs 24 is found.

I've claimed that it's right for `emacs23-lucid' too, but I don't have
one to check with right now.

7 years agodot/emacs: Configure transient-mark-mode sensibly for later Emacsen.
Mark Wooding [Wed, 11 May 2016 12:20:49 +0000 (13:20 +0100)]
dot/emacs: Configure transient-mark-mode sensibly for later Emacsen.

7 years agodot/gnus.el, dot/gnus-local.el.distorted: Fancy mail sending.
Mark Wooding [Tue, 15 Dec 2015 19:15:23 +0000 (19:15 +0000)]
dot/gnus.el, dot/gnus-local.el.distorted: Fancy mail sending.

This configuration can now send mail to different servers based on a
variety of criteria.

7 years agodot/emacs: I have another chiark email address now.
Mark Wooding [Tue, 15 Dec 2015 19:15:23 +0000 (19:15 +0000)]
dot/emacs: I have another chiark email address now.

7 years agodot/gnus-local.el.distorted (gnus-posting-styles): Set address better.
Mark Wooding [Tue, 15 Dec 2015 19:15:23 +0000 (19:15 +0000)]
dot/gnus-local.el.distorted (gnus-posting-styles): Set address better.

Rely on the match data being preserved from matching the group name to
when I set the header value.  This simplifies the logic quite a bit.

7 years agoMerge remote-tracking branch 'origin'
Mark Wooding [Tue, 3 May 2016 16:27:17 +0000 (17:27 +0100)]
Merge remote-tracking branch 'origin'

* origin:
  dot/ipython_config.py: Let's just have one of these for everywhere.

7 years agoel/dot-emacs.el: Set more restful colours for `diff-mode' refinements.
Mark Wooding [Tue, 3 May 2016 16:26:37 +0000 (17:26 +0100)]
el/dot-emacs.el: Set more restful colours for `diff-mode' refinements.

7 years agodot/emacs: Ignore email addresses generated by Crucible.
Mark Wooding [Tue, 3 May 2016 15:43:25 +0000 (16:43 +0100)]
dot/emacs: Ignore email addresses generated by Crucible.

7 years agoMerge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile
Mark Wooding [Tue, 3 May 2016 08:31:00 +0000 (09:31 +0100)]
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile

* 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile:
  dot/gnus.el: Configure Gnus's (and Message's) use of crypto.
  el/dot-emacs.el: Add an approximate simulacrum of work C style.
  el/dot-emacs.el: Use the CC Mode style machinery properly.
  el/dot-emacs.el (apcalc-mode): Use the proper major-mode machinery.
  dot/emacs, el/dot-emacs.el: Abolish the `Linux C Mode' stuff.

8 years agodot/ipython_config.py: Let's just have one of these for everywhere.
Mark Wooding [Sun, 1 May 2016 12:42:55 +0000 (13:42 +0100)]
dot/ipython_config.py: Let's just have one of these for everywhere.

8 years agoel/dot-emacs.el (org-bbdb-anniversaries): Fix up the list it returns.
Mark Wooding [Fri, 29 Apr 2016 16:00:53 +0000 (17:00 +0100)]
el/dot-emacs.el (org-bbdb-anniversaries): Fix up the list it returns.

The standard function in Emacs 24 returns a list of strings (and nil
things), which is bogus.  Turn it into a string with newlines.  This
does work when more than one anniversary falls on the same date.

8 years agoel/dot-emacs.el (diary-add-to-list): Compile the advice.
Mark Wooding [Fri, 29 Apr 2016 15:59:27 +0000 (16:59 +0100)]
el/dot-emacs.el (diary-add-to-list): Compile the advice.

8 years agodot/emacs: Angry fruit salad the tail ends of overlong lines.
Mark Wooding [Fri, 29 Apr 2016 15:58:58 +0000 (16:58 +0100)]
dot/emacs: Angry fruit salad the tail ends of overlong lines.

8 years agoel/dot-emacs.el (diary-add-to-list): Fix for multiple appointments.
Mark Wooding [Fri, 29 Apr 2016 11:01:54 +0000 (12:01 +0100)]
el/dot-emacs.el (diary-add-to-list): Fix for multiple appointments.

If a day has multiple appointments, we want to reformat them all.
Iterate over the various transformations until convergence.  The
substitutions have been carefully (re-)designed to avoid gratuitous
matching.

8 years agodot/gnus.el: Don't try to keep track of dead groups.
Mark Wooding [Thu, 28 Apr 2016 18:50:49 +0000 (19:50 +0100)]
dot/gnus.el: Don't try to keep track of dead groups.

8 years agodot/gnus.el: Configure Gnus's (and Message's) use of crypto.
Mark Wooding [Thu, 28 Apr 2016 18:32:49 +0000 (19:32 +0100)]
dot/gnus.el: Configure Gnus's (and Message's) use of crypto.

8 years agoel/dot-emacs.el: Add an approximate simulacrum of work C style.
Mark Wooding [Thu, 28 Apr 2016 12:22:22 +0000 (13:22 +0100)]
el/dot-emacs.el: Add an approximate simulacrum of work C style.

This will get refined later.  The most awful thing is having to hack on
indentation after `arglist-cont-nonempty'.  I'm not sure how this will
work in some cases, but it seems to match, more or less, what I find in
the existing files.

8 years agoel/dot-emacs.el: Use the CC Mode style machinery properly.
Mark Wooding [Wed, 27 Apr 2016 15:22:34 +0000 (16:22 +0100)]
el/dot-emacs.el: Use the CC Mode style machinery properly.

  * Add new macros for defining styles properly, and for tweaking the
    default style selections.

  * Replace the `mdw-mumble-style' functions with macro calls to set up
    the styles.

  * Move explicit variable settings into the style settings where
    possible.

This looks more complicated than it really is, because a bunch of stuff
gets moved about and reindented.

8 years agoel/dot-emacs.el (apcalc-mode): Use the proper major-mode machinery.
Mark Wooding [Thu, 28 Apr 2016 12:15:33 +0000 (13:15 +0100)]
el/dot-emacs.el (apcalc-mode): Use the proper major-mode machinery.

8 years agodot/emacs, el/dot-emacs.el: Abolish the `Linux C Mode' stuff.
Mark Wooding [Thu, 28 Apr 2016 12:02:51 +0000 (13:02 +0100)]
dot/emacs, el/dot-emacs.el: Abolish the `Linux C Mode' stuff.

I'll use `.dir-locals.el' instead of this cruft.

8 years agoMerge branch 'master' of ustrat:~markw/git/staging/profile
Mark Wooding [Wed, 27 Apr 2016 08:45:03 +0000 (09:45 +0100)]
Merge branch 'master' of ustrat:~markw/git/staging/profile

* 'master' of ustrat:~markw/git/staging/profile:
  dot/emacs: Turn on `view-read-only' by default.
  el/dot-emacs.el: Hook more functions for angry-fruit-salad.
  dot/emacs: Kick BBDB to always include a name when completing addresses.
  dot/gitconfig.in: Tell Git where to find the cookie jar.

8 years agosetup: Fetch archives over HTTPS now.
Mark Wooding [Tue, 26 Apr 2016 22:02:04 +0000 (23:02 +0100)]
setup: Fetch archives over HTTPS now.

I can't believe that there was no integrity protection on the archive
fetching.  I guess there wasn't on the profile when I still used git://
for that, though...

8 years agodot/emacs: Turn on `view-read-only' by default.
Mark Wooding [Tue, 26 Apr 2016 17:50:55 +0000 (18:50 +0100)]
dot/emacs: Turn on `view-read-only' by default.

This is kind of imperfect (notably, if you press `q' then it buries the
buffer, leaves it read-only, and next time you visit the file it comes
up ordinary-read-only), but it's a good start.

8 years agoel/dot-emacs.el: Hook more functions for angry-fruit-salad.
Mark Wooding [Tue, 26 Apr 2016 17:41:44 +0000 (18:41 +0100)]
el/dot-emacs.el: Hook more functions for angry-fruit-salad.

Emacs 24.4 has renamed a whole bunch of functions for dealing with
read-onlyness, and it appears that I missed some existing ones, so hook
some more.  Some of these might not exist, but that doesn't matter.

8 years agoMerge branch 'master' of https://git.distorted.org.uk/~mdw/profile
Mark Wooding [Mon, 25 Apr 2016 11:05:46 +0000 (12:05 +0100)]
Merge branch 'master' of https://git.distorted.org.uk/~mdw/profile

* 'master' of https://git.distorted.org.uk/~mdw/profile:
  dot/emacs: Don't snarf `*@*.invalid' email addresses.
  dot/emacs: Don't have BBDB store mailer-daemon's address.
  dot/emacs: Propagate initial frame's background colour to other frames.
  dot/emacs: Pull in Org mode and BBDB explicitly when enabling appointments.
  dot/emacs: Don't do calendar/diary things if we're trying to start quickly.
  dot/xinitrc: Set `XSCR0_HEIGHT' correctly if `xscsize' is too old.
  dot/xinitrc: Overhaul the Emacs/terminal allocation algorithm.
  dot/xinitrc: Use $(( ... )) consistently for arithmetic evaluation.
  dot/xinitrc: Don't assume that the first screen starts at (0, 0).
  doc/xinitrc: Handle Emacs and terminal placement on multihead displays.
  dot/xinitrc: Decrease the amount of space reserved on the right.
  dot/xinitrc: Document the various terminal and Emacs size parameters.
  dot/xinitrc: Support for GNU Emacs 24.
  el/dot-emacs.el: Slight reformatting.

8 years agodot/emacs: Don't snarf `*@*.invalid' email addresses.
Mark Wooding [Sun, 24 Apr 2016 12:35:00 +0000 (13:35 +0100)]
dot/emacs: Don't snarf `*@*.invalid' email addresses.

8 years agodot/emacs: Don't have BBDB store mailer-daemon's address.
Mark Wooding [Sun, 24 Apr 2016 11:02:58 +0000 (12:02 +0100)]
dot/emacs: Don't have BBDB store mailer-daemon's address.

It's not very useful, really.

8 years agodot/emacs: Propagate initial frame's background colour to other frames.
Mark Wooding [Sun, 24 Apr 2016 11:01:56 +0000 (12:01 +0100)]
dot/emacs: Propagate initial frame's background colour to other frames.

Now the `.xinitrc' Emacs has all of its frames with black backgrounds
and other ancillary Emacsen have all of their frames with blue
backgrounds.  This seems right and useful.

8 years agodot/emacs: Pull in Org mode and BBDB explicitly when enabling appointments.
Mark Wooding [Sun, 24 Apr 2016 10:41:14 +0000 (11:41 +0100)]
dot/emacs: Pull in Org mode and BBDB explicitly when enabling appointments.

It should happen anyway because of the autoloads, only for some reason
they don't trigger in Emacs 23.

8 years agodot/emacs: Don't do calendar/diary things if we're trying to start quickly.
Mark Wooding [Sun, 24 Apr 2016 10:40:07 +0000 (11:40 +0100)]
dot/emacs: Don't do calendar/diary things if we're trying to start quickly.

8 years agodot/xinitrc: Set `XSCR0_HEIGHT' correctly if `xscsize' is too old.
Mark Wooding [Sat, 23 Apr 2016 13:53:06 +0000 (14:53 +0100)]
dot/xinitrc: Set `XSCR0_HEIGHT' correctly if `xscsize' is too old.

8 years agodot/xinitrc: Overhaul the Emacs/terminal allocation algorithm.
Mark Wooding [Sat, 23 Apr 2016 11:42:38 +0000 (12:42 +0100)]
dot/xinitrc: Overhaul the Emacs/terminal allocation algorithm.

It's now different.  I hadn't given thought to really large monitors
when I came up with the original algorithm.  I think the new one is more
sensible, but we'll see.

8 years agodot/xinitrc: Use $(( ... )) consistently for arithmetic evaluation.
Mark Wooding [Sat, 23 Apr 2016 11:41:39 +0000 (12:41 +0100)]
dot/xinitrc: Use $(( ... )) consistently for arithmetic evaluation.

8 years agodot/xinitrc: Don't assume that the first screen starts at (0, 0).
Mark Wooding [Sat, 23 Apr 2016 10:35:50 +0000 (11:35 +0100)]
dot/xinitrc: Don't assume that the first screen starts at (0, 0).

It often will, but it's easy to place Emacs on it in the right place
anyway.

8 years agodoc/xinitrc: Handle Emacs and terminal placement on multihead displays.
Mark Wooding [Fri, 22 Apr 2016 17:39:39 +0000 (18:39 +0100)]
doc/xinitrc: Handle Emacs and terminal placement on multihead displays.

This requires a very shiny version of xscsize.

8 years agodot/xinitrc: Decrease the amount of space reserved on the right.
Mark Wooding [Fri, 22 Apr 2016 17:38:28 +0000 (18:38 +0100)]
dot/xinitrc: Decrease the amount of space reserved on the right.

8 years agodot/xinitrc: Document the various terminal and Emacs size parameters.
Mark Wooding [Fri, 22 Apr 2016 17:38:07 +0000 (18:38 +0100)]
dot/xinitrc: Document the various terminal and Emacs size parameters.

8 years agodot/xinitrc: Support for GNU Emacs 24.
Mark Wooding [Fri, 22 Apr 2016 17:37:48 +0000 (18:37 +0100)]
dot/xinitrc: Support for GNU Emacs 24.

Notice its existence (but prefer Emacs 23 for now), and the slightly
different size parameters caused by the use of Gtk3.

For now, an initial Emacs comes up a column too narrow; another one
started later (xinitcmd :emacs) comes up the correct size.  I don't know
what's going on here.

8 years agoel/dot-emacs.el: Slight reformatting.
Mark Wooding [Fri, 22 Apr 2016 17:35:19 +0000 (18:35 +0100)]
el/dot-emacs.el: Slight reformatting.

I think I was intending to do something more complicated here, but
decided against it.  The style is better this way anyway.

8 years agoMerge branch 'master' of https://git.distorted.org.uk/~mdw/profile
Mark Wooding [Mon, 18 Apr 2016 13:58:54 +0000 (14:58 +0100)]
Merge branch 'master' of https://git.distorted.org.uk/~mdw/profile

* 'master' of https://git.distorted.org.uk/~mdw/profile:
  el/dot-emacs.el: Overhaul the Gnus and Message-mode colouring.
  dot/gnus-local.el.distorted: Mark `nnvirtual:crap.*' etc. as expirable.

8 years agodot/emacs: Kick BBDB to always include a name when completing addresses.
Mark Wooding [Mon, 18 Apr 2016 13:57:28 +0000 (14:57 +0100)]
dot/emacs: Kick BBDB to always include a name when completing addresses.

8 years agodot/gitconfig.in: Tell Git where to find the cookie jar.
Mark Wooding [Mon, 18 Apr 2016 13:22:53 +0000 (14:22 +0100)]
dot/gitconfig.in: Tell Git where to find the cookie jar.

8 years agoel/dot-emacs.el: Overhaul the Gnus and Message-mode colouring.
Mark Wooding [Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)]
el/dot-emacs.el: Overhaul the Gnus and Message-mode colouring.

8 years agodot/gnus-local.el.distorted: Mark `nnvirtual:crap.*' etc. as expirable.
Mark Wooding [Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)]
dot/gnus-local.el.distorted: Mark `nnvirtual:crap.*' etc. as expirable.

8 years agoMerge slippers:etc/profile
Mark Wooding [Fri, 15 Apr 2016 13:56:16 +0000 (14:56 +0100)]
Merge slippers:etc/profile

* slippers:etc/profile:
  dot/bash_profile: Sensible default behaviour for `~/.mdw.conf' lookups.
  dot/emacs: Ignore email addresses for work bug system.
  dot/gnus.el: Set a null primary source if no NNTP server is available.
  dot/emacs: Arrange for Org mode to autoload for diary's benefit.
  dot/bash_profile: Use the `gnome-keyring-daemon' if there's a session bus.
  dot/emacs: Some more addresses for BBDB to ignore.
  dot/emacs: Don't try to save mail to `~/Mail/sent'.
  el/dot-emacs.el: Fix `bbdb-canonicalize-address'.
  dot/emacs: Note a new email address for me.
  dot/emacs: Use working `bbdb-extract-address-components-func'.
  dot/fonts.conf: Fix mis-spelled attribute name.

8 years agodot/bash_profile: Sensible default behaviour for `~/.mdw.conf' lookups.
Mark Wooding [Fri, 15 Apr 2016 13:16:38 +0000 (14:16 +0100)]
dot/bash_profile: Sensible default behaviour for `~/.mdw.conf' lookups.

  * For setting environment variables, don't bother if there's no
    configuration entry.  For NNTPSERVER, this now means that
    `.mdw.conf' overrides the system setting rather than the other way
    around, which I think is the right answer.

  * Locale things default to POSIX, just in case.

8 years agodot/emacs: Ignore email addresses for work bug system.
Mark Wooding [Fri, 15 Apr 2016 13:13:10 +0000 (14:13 +0100)]
dot/emacs: Ignore email addresses for work bug system.

It sends mail with real people's names, but its own email address, which
messes up the BBDB.

8 years agodot/gnus.el: Set a null primary source if no NNTP server is available.
Mark Wooding [Fri, 15 Apr 2016 13:12:19 +0000 (14:12 +0100)]
dot/gnus.el: Set a null primary source if no NNTP server is available.

8 years agodot/emacs: Snarf addresses from `nnfolder' groups too.
Mark Wooding [Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)]
dot/emacs: Snarf addresses from `nnfolder' groups too.

8 years agodot/emacs: Add chiark email addresses.
Mark Wooding [Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)]
dot/emacs: Add chiark email addresses.

8 years agodot/emacs: Arrange for Org mode to autoload for diary's benefit.
Mark Wooding [Thu, 14 Apr 2016 17:37:03 +0000 (18:37 +0100)]
dot/emacs: Arrange for Org mode to autoload for diary's benefit.

It seemed to have this set up in earlier versions.  Whatever.

8 years agodot/bash_profile: Use the `gnome-keyring-daemon' if there's a session bus.
Mark Wooding [Thu, 14 Apr 2016 15:43:38 +0000 (16:43 +0100)]
dot/bash_profile: Use the `gnome-keyring-daemon' if there's a session bus.

This might be a terrible idea, but I'm going to give it a go for a bit.

8 years agodot/emacs: Some more addresses for BBDB to ignore.
Mark Wooding [Thu, 14 Apr 2016 15:41:25 +0000 (16:41 +0100)]
dot/emacs: Some more addresses for BBDB to ignore.

8 years agodot/emacs: Don't try to save mail to `~/Mail/sent'.
Mark Wooding [Thu, 14 Apr 2016 15:41:12 +0000 (16:41 +0100)]
dot/emacs: Don't try to save mail to `~/Mail/sent'.

It doesn't exist anywhere.

8 years agoMerge branch 'master' of https://git.distorted.org.uk/~mdw/profile
Mark Wooding [Thu, 14 Apr 2016 13:00:09 +0000 (14:00 +0100)]
Merge branch 'master' of https://git.distorted.org.uk/~mdw/profile

* 'master' of https://git.distorted.org.uk/~mdw/profile:
  dot/emacs (bbdb-canonicalize-net-hook): Ignore a personal address scheme.
  dot/emacs (bbdb-canonicalize-net-hook): Ignore uninteresting addresses.
  dot/emacs (bbdb-canonicalize-net-hook): Handle `nil' address.
  dot/emacs: Don't auto-snarf email addresses from mailing lists.
  dot/emacs: Squash away `blah+...@some.domain' suffixes for BBDB.
  dot/gnus-local.el.distorted: Now I have my own newscookie.
  dot/screenrc: Add tracking of activity in other windows.
  el/dot-emacs.el: More assertive zapping of faces.
  dot/emacs: Set `frame-background-mode' variable.
  dot/emacs: Move `C-x w d' to `C-c w d'.

8 years agodot/emacs (bbdb-canonicalize-net-hook): Ignore a personal address scheme.
Mark Wooding [Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)]
dot/emacs (bbdb-canonicalize-net-hook): Ignore a personal address scheme.

A friend uses email addresses of the form `newsNN@SOME.DOMAIN' in Usenet
articles.  Ignore these, but don't leak what the domain name actually
is.

8 years agodot/emacs (bbdb-canonicalize-net-hook): Ignore uninteresting addresses.
Mark Wooding [Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)]
dot/emacs (bbdb-canonicalize-net-hook): Ignore uninteresting addresses.

Rather than trying to transform them into something apparently innocent,
just ignore uninteresting addresses like bug lists.

8 years agodot/emacs (bbdb-canonicalize-net-hook): Handle `nil' address.
Mark Wooding [Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)]
dot/emacs (bbdb-canonicalize-net-hook): Handle `nil' address.

It turns out that, despite the documentation not mentioning this at all,
that the hook is allowed to return `nil' to suppress insertion of the
address into the database at all.  The only snag is that `nil' is
/still/ sent back to the hook to check for convergence.  So notice this
and return `nil' back, since it's not like we're going to be able to
turn it into anything more useful.

8 years agodot/emacs: Don't auto-snarf email addresses from mailing lists.
Mark Wooding [Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)]
dot/emacs: Don't auto-snarf email addresses from mailing lists.

8 years agoel/dot-emacs.el: Fix `bbdb-canonicalize-address'.
Mark Wooding [Wed, 13 Apr 2016 16:22:08 +0000 (17:22 +0100)]
el/dot-emacs.el: Fix `bbdb-canonicalize-address'.

The built-in definition uses `run-hook-with-args', and expects to get a
sensible return value out the far end.  This is badly broken for two
reasons.

  * The first one is that `run-hook-with-args' has an explicitly
    unspecified return value, so relying on it to be anything useful is
    obviously silly.

  * The second is that, if the hook list isn't just a singleton, it's
    not at all clear how we should choose which function's return value
    to actually use.

The new code explicitly threads the address through all of the hook
functions in turn, and continues until we've had a pass where all of
them declined to change it.

8 years agodot/emacs: Note a new email address for me.
Mark Wooding [Wed, 13 Apr 2016 16:21:40 +0000 (17:21 +0100)]
dot/emacs: Note a new email address for me.

8 years agodot/emacs: Use working `bbdb-extract-address-components-func'.
Mark Wooding [Wed, 13 Apr 2016 16:19:33 +0000 (17:19 +0100)]
dot/emacs: Use working `bbdb-extract-address-components-func'.

The default, based on `mail-extract-address-components', is remarkably
bad: it mangles the user names in a really unpleasant way.  For some
reason, the working version isn't the default; use it anyway.

8 years agodot/fonts.conf: Fix mis-spelled attribute name.
Mark Wooding [Tue, 12 Apr 2016 14:51:18 +0000 (15:51 +0100)]
dot/fonts.conf: Fix mis-spelled attribute name.

8 years agoMerge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile
Mark Wooding [Fri, 25 Mar 2016 13:49:41 +0000 (13:49 +0000)]
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile

* 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile:
  dot/emacs: More sophisticated setup of `load-path'.

8 years agodot/emacs: More sophisticated setup of `load-path'.
Mark Wooding [Fri, 25 Mar 2016 13:49:06 +0000 (13:49 +0000)]
dot/emacs: More sophisticated setup of `load-path'.

8 years agodot/emacs: Squash away `blah+...@some.domain' suffixes for BBDB.
Mark Wooding [Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)]
dot/emacs: Squash away `blah+...@some.domain' suffixes for BBDB.

Some people have far too many suffixes.

8 years agodot/gnus-local.el.distorted: Now I have my own newscookie.
Mark Wooding [Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)]
dot/gnus-local.el.distorted: Now I have my own newscookie.

8 years agodot/screenrc: Add tracking of activity in other windows.
Mark Wooding [Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)]
dot/screenrc: Add tracking of activity in other windows.

8 years agoMerge remote-tracking branch 'staging'
Mark Wooding [Wed, 23 Mar 2016 00:37:38 +0000 (00:37 +0000)]
Merge remote-tracking branch 'staging'

* staging:
  el/dot-emacs.el: More assertive zapping of faces.
  dot/emacs: Set `frame-background-mode' variable.
  dot/emacs: Move `C-x w d' to `C-c w d'.

8 years agoMerge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile
Mark Wooding [Tue, 22 Mar 2016 21:37:32 +0000 (21:37 +0000)]
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile

* 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile: (125 commits)
  dot/emacs: Align Org mode tags to the proper column in agenda view.
  el/dot-emacs.el: Distinguish whether diary entries are processed for Org.
  dot/emacs: Put `org-remember' in with the rest of the Org-mode bindings.
  dot/emacs: Better grip on when `M-x calendar' shows things.
  dot/emacs: File organizational stuff under `brain'.
  dot/emacs: Squish Debbugs-style email addresses to the submission address.
  dot/emacs: Don't snarf addresses from boring mailboxes.
  dot/gnus-local.el.distorted: Send letsencrypt.org nagmail away.
  dot/emacs: Pick the right master diary file.
  dot/tmux.conf: Some more bindings.
  dot/tmux.conf: Order roughly by key.
  dot/gnus-local.el.distorted: Set primary newsserver to chiark for now.
  el/dot-emacs.el: Add a (lightly modified) `nntp-open-authinfo-kludge'.
  el/dot-emacs.el: Trim leading spaces from diary entry strings.
  dot/emacs: Fix the date-format regexps to not eat a following time.
  dot/emacs: Display times in 24-hour clock, please.
  el/dot-emacs.el: Add Discordian date conversion.
  dot/emacs: Use newer diary hook functions if they're available.
  dot/emacs: Don't try to sort the diary buffer.
  dot/emacs, el/dot-emacs.el: Better Emacs version checking.
  ...

Conflicts:
dot/bashrc: Various prompt enhancements.

8 years agodot/bashrc: Don't put fancy things in the prompt if bash is very old.
Mark Wooding [Tue, 22 Mar 2016 21:34:32 +0000 (21:34 +0000)]
dot/bashrc: Don't put fancy things in the prompt if bash is very old.

8 years agoel/dot-emacs.el: More assertive zapping of faces.
Mark Wooding [Tue, 22 Mar 2016 13:39:22 +0000 (13:39 +0000)]
el/dot-emacs.el: More assertive zapping of faces.

If someone fiddles with a face using `set-face-attribute' or similar,
then things seem to work in the initial frame but then look wrong in
frames opened later.

There isn't an obvious way to reset a face to its initial bare state.
So do it the not-obvious way: make a face which is guaranteed to be in
its initial, unsullied state and copy that over the top of the target
face.

8 years agodot/emacs: Set `frame-background-mode' variable.
Mark Wooding [Tue, 22 Mar 2016 13:35:06 +0000 (13:35 +0000)]
dot/emacs: Set `frame-background-mode' variable.

Some packages apparently go looking at this instead of the
`background-mode' frame parameter.  Go figure.

8 years agodot/emacs: Move `C-x w d' to `C-c w d'.
Mark Wooding [Tue, 12 Jan 2016 12:52:04 +0000 (12:52 +0000)]
dot/emacs: Move `C-x w d' to `C-c w d'.

This was missed in d015d85... for some reason.

This makes room for `hi-lock-mode''s `C-x w ...' commands, which look
useful.  The other bindings aren't currently used (Emacs 23) but may be
in the future, so it seems like a good idea.