chiark / gitweb /
profile
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.

8 years agodot/emacs: Align Org mode tags to the proper column in agenda view.
Mark Wooding [Tue, 22 Mar 2016 02:07:08 +0000 (02:07 +0000)]
dot/emacs: Align Org mode tags to the proper column in agenda view.

8 years agoel/dot-emacs.el: Distinguish whether diary entries are processed for Org.
Mark Wooding [Tue, 22 Mar 2016 01:52:40 +0000 (01:52 +0000)]
el/dot-emacs.el: Distinguish whether diary entries are processed for Org.

If not, then strip off Orgish hyperlink markup.  If so, then more
whitespace trimming is wanted for entries with times attached.

Also, add a diary sexp hack for hiding drivellous things from the Org
mode agenda.

8 years agodot/emacs: Put `org-remember' in with the rest of the Org-mode bindings.
Mark Wooding [Tue, 22 Mar 2016 01:49:35 +0000 (01:49 +0000)]
dot/emacs: Put `org-remember' in with the rest of the Org-mode bindings.

8 years agodot/emacs: Better grip on when `M-x calendar' shows things.
Mark Wooding [Tue, 22 Mar 2016 01:49:10 +0000 (01:49 +0000)]
dot/emacs: Better grip on when `M-x calendar' shows things.

Don't show the diary by default usually, but do at startup.  Don't show
holidays at all.

8 years agodot/emacs: File organizational stuff under `brain'.
Mark Wooding [Tue, 22 Mar 2016 01:48:05 +0000 (01:48 +0000)]
dot/emacs: File organizational stuff under `brain'.

Also, the alternative to using the shared brain diary is a local diary
index, which just contains `#include' lines.  This is generally more
versatile, and lets me control the sorting better.

8 years agodot/emacs: Squish Debbugs-style email addresses to the submission address.
Mark Wooding [Mon, 21 Mar 2016 11:42:24 +0000 (11:42 +0000)]
dot/emacs: Squish Debbugs-style email addresses to the submission address.

8 years agodot/emacs: Don't snarf addresses from boring mailboxes.
Mark Wooding [Mon, 21 Mar 2016 11:41:43 +0000 (11:41 +0000)]
dot/emacs: Don't snarf addresses from boring mailboxes.

8 years agodot/gnus-local.el.distorted: Send letsencrypt.org nagmail away.
Mark Wooding [Mon, 21 Mar 2016 11:40:53 +0000 (11:40 +0000)]
dot/gnus-local.el.distorted: Send letsencrypt.org nagmail away.

At least until https://github.com/letsencrypt/boulder/issues/1346 is
actually fixed.

8 years agodot/emacs: Pick the right master diary file.
Mark Wooding [Mon, 21 Mar 2016 11:04:21 +0000 (11:04 +0000)]
dot/emacs: Pick the right master diary file.

8 years agodot/tmux.conf: Some more bindings.
Mark Wooding [Mon, 21 Mar 2016 10:17:48 +0000 (10:17 +0000)]
dot/tmux.conf: Some more bindings.

8 years agodot/tmux.conf: Order roughly by key.
Mark Wooding [Mon, 21 Mar 2016 10:16:54 +0000 (10:16 +0000)]
dot/tmux.conf: Order roughly by key.

8 years agodot/gnus-local.el.distorted: Set primary newsserver to chiark for now.
Mark Wooding [Mon, 21 Mar 2016 02:20:34 +0000 (02:20 +0000)]
dot/gnus-local.el.distorted: Set primary newsserver to chiark for now.

Vampire is still down (mostly because I haven't tried bringing it up
again) and anyway it's sometimes useful to be able to read chiark's
specific groups.

I expect this stanza to (a) change to connect to chiark (or some other
newsserver carrying chiark.*) directly, and (b) be demoted to a
secondary select method at some point.

8 years agoel/dot-emacs.el: Add a (lightly modified) `nntp-open-authinfo-kludge'.
Mark Wooding [Mon, 21 Mar 2016 02:18:24 +0000 (02:18 +0000)]
el/dot-emacs.el: Add a (lightly modified) `nntp-open-authinfo-kludge'.

The original is by Richard Kettlewell,

http://www.greenend.org.uk/rjk/tech/authinfo.html

I've changed it a bit, to be able to set the magic `NNTPAUTH' variable
differently for different Gnus select methods.

8 years agoel/dot-emacs.el: Trim leading spaces from diary entry strings.
Mark Wooding [Sun, 20 Mar 2016 19:42:15 +0000 (19:42 +0000)]
el/dot-emacs.el: Trim leading spaces from diary entry strings.

8 years agodot/emacs: Fix the date-format regexps to not eat a following time.
Mark Wooding [Sun, 20 Mar 2016 17:45:56 +0000 (17:45 +0000)]
dot/emacs: Fix the date-format regexps to not eat a following time.

8 years agodot/emacs: Display times in 24-hour clock, please.
Mark Wooding [Sun, 20 Mar 2016 17:45:30 +0000 (17:45 +0000)]
dot/emacs: Display times in 24-hour clock, please.

8 years agoel/dot-emacs.el: Add Discordian date conversion.
Mark Wooding [Sun, 20 Mar 2016 17:43:10 +0000 (17:43 +0000)]
el/dot-emacs.el: Add Discordian date conversion.

Taken from <http://www.davep.org/emacs/discord.el>.

8 years agodot/emacs: Use newer diary hook functions if they're available.
Mark Wooding [Sun, 20 Mar 2016 17:42:23 +0000 (17:42 +0000)]
dot/emacs: Use newer diary hook functions if they're available.

8 years agodot/emacs: Don't try to sort the diary buffer.
Mark Wooding [Sun, 20 Mar 2016 17:42:00 +0000 (17:42 +0000)]
dot/emacs: Don't try to sort the diary buffer.

Things seem to end up in a really crappy order.

8 years agodot/emacs, el/dot-emacs.el: Better Emacs version checking.
Mark Wooding [Sun, 20 Mar 2016 17:41:10 +0000 (17:41 +0000)]
dot/emacs, el/dot-emacs.el: Better Emacs version checking.

Sometimes we must check the minor version number.

8 years agodot/bash_profile, setup: Emacs 24 seems cromulent.
Mark Wooding [Sun, 20 Mar 2016 11:59:20 +0000 (11:59 +0000)]
dot/bash_profile, setup: Emacs 24 seems cromulent.

8 years agodot/emacs: More modern appointment setup machinery.
Mark Wooding [Thu, 17 Mar 2016 11:48:00 +0000 (11:48 +0000)]
dot/emacs: More modern appointment setup machinery.

8 years agodot/emacs: More modern configuration for calendar date format.
Mark Wooding [Thu, 17 Mar 2016 11:47:39 +0000 (11:47 +0000)]
dot/emacs: More modern configuration for calendar date format.

8 years agodot/emacs: Bind keys in reserved user space.
Mark Wooding [Thu, 17 Mar 2016 11:47:19 +0000 (11:47 +0000)]
dot/emacs: Bind keys in reserved user space.

8 years agodot/emacs: Master diary and BBDB files now in Git-managed state directory.
Mark Wooding [Thu, 17 Mar 2016 11:46:56 +0000 (11:46 +0000)]
dot/emacs: Master diary and BBDB files now in Git-managed state directory.

8 years agodot/emacs, dot/gnus-local.el.distorted: Some BBDB hacking.
Mark Wooding [Thu, 17 Mar 2016 10:32:11 +0000 (10:32 +0000)]
dot/emacs, dot/gnus-local.el.distorted: Some BBDB hacking.

8 years agodot/tmux.conf: Half-baked configuration for tmux.
Mark Wooding [Thu, 17 Mar 2016 10:31:44 +0000 (10:31 +0000)]
dot/tmux.conf: Half-baked configuration for tmux.

It'll be a start if I want to do more work on it.

8 years agodot/parallel-config: Disable compatibility with moreutils.
Mark Wooding [Sun, 21 Feb 2016 22:30:19 +0000 (22:30 +0000)]
dot/parallel-config: Disable compatibility with moreutils.

8 years agodot/bash_profile: Don't change directory if running under schroot.
Mark Wooding [Sat, 20 Feb 2016 17:27:08 +0000 (17:27 +0000)]
dot/bash_profile: Don't change directory if running under schroot.

8 years agobin/mdw-sbuild-server: Catch failures from parallel builds.
Mark Wooding [Sat, 13 Feb 2016 19:33:40 +0000 (19:33 +0000)]
bin/mdw-sbuild-server: Catch failures from parallel builds.

The way the log messages were interleaved made catching errors
difficult.  Do something more complicated to make it work properly.

8 years agobin/mdw-sbuild: Merge the various changes files together.
Mark Wooding [Sat, 13 Feb 2016 11:10:37 +0000 (11:10 +0000)]
bin/mdw-sbuild: Merge the various changes files together.

Now there's only one thing which needs to be uploaded to the archive.

8 years agobin/mdw-sbuild: Introduce a new `$signp' variable.
Mark Wooding [Sat, 13 Feb 2016 11:09:31 +0000 (11:09 +0000)]
bin/mdw-sbuild: Introduce a new `$signp' variable.

This ends up being rather cleaner than messing about with `$noactp' and
whether `$keyid' is defined.

8 years agobin/mdw-sbuild: Add some section-header comments.
Mark Wooding [Sat, 13 Feb 2016 11:07:34 +0000 (11:07 +0000)]
bin/mdw-sbuild: Add some section-header comments.

8 years agobin/mdw-sbuild: Don't sign the `.dsc' file early.
Mark Wooding [Sat, 13 Feb 2016 11:06:16 +0000 (11:06 +0000)]
bin/mdw-sbuild: Don't sign the `.dsc' file early.

debsign(1) will prompt about whether to re-sign it later, which is just
annoying.  Conveniently, this cleans up the messy source-package
construction logic a lot.

8 years agoNew tools for building Debian packages using sbuild(1).
Mark Wooding [Wed, 10 Feb 2016 02:24:42 +0000 (02:24 +0000)]
New tools for building Debian packages using sbuild(1).

There's now a service, which can do parallel builds of a package for
multiple platforms, and a client for it which can upload packages to be
built and download the results.  And there's integration with the
existing `mdw-build' script.

8 years agobin/mdw-build: Abolish (direct) use of `mdw-conf'.
Mark Wooding [Wed, 10 Feb 2016 02:24:32 +0000 (02:24 +0000)]
bin/mdw-build: Abolish (direct) use of `mdw-conf'.

Values are now configured from the command line or the configuration
file.  Since the configuration file is a shell fragment, it can invoke
`mdw-conf' itself for compatibility, and, indeed, I now have such a
configuration file.  The default `mdw.conf' file now has the necessary
extra keys in it.

This involves a little new machinery in `mdw-build' itself.  Some new
flags are introduced, to control whether the outputs should be
signed (and if so, which key should be used); and whether a Debian
upload should be performed (and if so, which target to use).
Correspondingly, the existing `upload' option has grown a configurable
remote path to control where the files should be written.

8 years agobin/mdw-build: Read initial option state from a configuration file.
Mark Wooding [Wed, 10 Feb 2016 01:51:21 +0000 (01:51 +0000)]
bin/mdw-build: Read initial option state from a configuration file.

It's just a shell fragment, so it can set the necessary variables in any
way that seems sensible.

8 years agobin/mdw-build: Strip path from program name in messages.
Mark Wooding [Wed, 10 Feb 2016 01:11:48 +0000 (01:11 +0000)]
bin/mdw-build: Strip path from program name in messages.