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.
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.
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.
Mark Wooding [Mon, 21 Mar 2016 11:42:24 +0000 (11:42 +0000)]
dot/emacs: Squish Debbugs-style email addresses to the submission address.
Mark Wooding [Mon, 21 Mar 2016 11:41:43 +0000 (11:41 +0000)]
dot/emacs: Don't snarf addresses from boring mailboxes.
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.
Mark Wooding [Mon, 21 Mar 2016 11:04:21 +0000 (11:04 +0000)]
dot/emacs: Pick the right master diary file.
Mark Wooding [Mon, 21 Mar 2016 10:17:48 +0000 (10:17 +0000)]
dot/tmux.conf: Some more bindings.
Mark Wooding [Mon, 21 Mar 2016 10:16:54 +0000 (10:16 +0000)]
dot/tmux.conf: Order roughly by key.
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.
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.
Mark Wooding [Sun, 20 Mar 2016 19:42:15 +0000 (19:42 +0000)]
el/dot-emacs.el: Trim leading spaces from diary entry strings.
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.
Mark Wooding [Sun, 20 Mar 2016 17:45:30 +0000 (17:45 +0000)]
dot/emacs: Display times in 24-hour clock, please.
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>.
Mark Wooding [Sun, 20 Mar 2016 17:42:23 +0000 (17:42 +0000)]
dot/emacs: Use newer diary hook functions if they're available.
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.
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.
Mark Wooding [Sun, 20 Mar 2016 11:59:20 +0000 (11:59 +0000)]
dot/bash_profile, setup: Emacs 24 seems cromulent.
Mark Wooding [Thu, 17 Mar 2016 11:48:00 +0000 (11:48 +0000)]
dot/emacs: More modern appointment setup machinery.
Mark Wooding [Thu, 17 Mar 2016 11:47:39 +0000 (11:47 +0000)]
dot/emacs: More modern configuration for calendar date format.
Mark Wooding [Thu, 17 Mar 2016 11:47:19 +0000 (11:47 +0000)]
dot/emacs: Bind keys in reserved user space.
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.
Mark Wooding [Thu, 17 Mar 2016 10:32:11 +0000 (10:32 +0000)]
dot/emacs, dot/gnus-local.el.distorted: Some BBDB hacking.
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.
Mark Wooding [Sun, 21 Feb 2016 22:30:19 +0000 (22:30 +0000)]
dot/parallel-config: Disable compatibility with moreutils.
Mark Wooding [Sat, 20 Feb 2016 17:27:08 +0000 (17:27 +0000)]
dot/bash_profile: Don't change directory if running under schroot.
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.
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.
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.
Mark Wooding [Sat, 13 Feb 2016 11:07:34 +0000 (11:07 +0000)]
bin/mdw-sbuild: Add some section-header comments.
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.
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.
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.
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.
Mark Wooding [Wed, 10 Feb 2016 01:11:48 +0000 (01:11 +0000)]
bin/mdw-build: Strip path from program name in messages.
Mark Wooding [Wed, 10 Feb 2016 01:09:29 +0000 (01:09 +0000)]
mdw.conf: Consoles are by default UTF8 now.
Mark Wooding [Wed, 10 Feb 2016 01:09:05 +0000 (01:09 +0000)]
mdw.conf: `distorted.org.uk' now serves everything over HTTPS.
Mark Wooding [Wed, 10 Feb 2016 01:07:28 +0000 (01:07 +0000)]
mdw.conf: Update for new release key.
It's not actually that new any more.
Mark Wooding [Wed, 10 Feb 2016 01:07:01 +0000 (01:07 +0000)]
el/dot-emacs.el: Don't highlight Magit diff hunks so garishly.
Mark Wooding [Tue, 9 Feb 2016 18:45:24 +0000 (18:45 +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:
bin/mdw-build: Detect Scratchbox2 and qualify the `dist-...' dir name.
bin/mdw-build: Make `checkout=REV' actually work.
bin/mdw-build: Missing `;;' in `case'.
dot/gnus.el: Configure the correct way to save articles.
Mark Wooding [Tue, 9 Feb 2016 18:45:17 +0000 (18:45 +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:
el/dot-emacs.el: Make `tab' key more useful in TeX modes.
Mark Wooding [Tue, 9 Feb 2016 18:43:25 +0000 (18:43 +0000)]
dot/bashrc: Improvements for handling schroot(1) environments.
* Recognize that an `schroot' is likely secure.
* Include the chroot name in the prompt.
Mark Wooding [Tue, 9 Feb 2016 14:07:28 +0000 (14:07 +0000)]
bin/mdw-build: Detect Scratchbox2 and qualify the `dist-...' dir name.
Mark Wooding [Tue, 9 Feb 2016 14:04:55 +0000 (14:04 +0000)]
bin/mdw-build: Make `checkout=REV' actually work.
Collect the revision number from the checkout, and delay checking
against the changelog.
Mark Wooding [Tue, 9 Feb 2016 14:02:56 +0000 (14:02 +0000)]
bin/mdw-build: Missing `;;' in `case'.
I didn't know that was allowed. It doesn't seem like good style,
anyway.
Mark Wooding [Tue, 9 Feb 2016 14:01:23 +0000 (14:01 +0000)]
dot/gnus.el: Configure the correct way to save articles.
Mark Wooding [Tue, 26 Jan 2016 10:00:46 +0000 (10:00 +0000)]
el/dot-emacs.el: Make `tab' key more useful in TeX modes.
Mark Wooding [Tue, 15 Dec 2015 19:15:23 +0000 (19:15 +0000)]
el/dot-emacs.el (mdw-fontify-c-and-c++): New keywords from later standards.
Include the keywords from C11 and C++11.
Mark Wooding [Tue, 15 Dec 2015 19:15:23 +0000 (19:15 +0000)]
el/dot-emacs.el (mdw-fontify-c-and-c++): Remove `this' from keyword list.
It's already in the constants list.
Mark Wooding [Tue, 15 Dec 2015 19:15:23 +0000 (19:15 +0000)]
el/dot-emacs.el (mdw-fontify-c-and-c++): Mention that `asm' is in C++.
Somewhat inexplicably.
Mark Wooding [Tue, 15 Dec 2015 19:15:23 +0000 (19:15 +0000)]
el/dot-emacs.el (mdw-fontify-c-and-c++): Fix the <iso646.h> macros.
Mark them as being introduced to C by C95. Add `not' and `not_eq',
which were in the original C++ standard but mistakenly not listed.
Mark Wooding [Tue, 15 Dec 2015 19:15:23 +0000 (19:15 +0000)]
el/dot-emacs.el (mdw-fontify-c-and-c++): C9X become C99.
So say so in the commentary. No code change.
Mark Wooding [Tue, 15 Dec 2015 19:15:23 +0000 (19:15 +0000)]
el/dot-emacs.el (mdw-fontify-c-and-c++): Fix comment alignment.
Purely cosmetic.
Mark Wooding [Fri, 15 Jan 2016 22:43:53 +0000 (22:43 +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:
bin/mdw-build: Add a `native' option.
bin/mdw-build: Allow configuration of the `setup' command.
bin/mdw-build: `nocommit' isn't a special case.
git/attributes: Don't put tabs in TeX files.
dot/e16-bindings: Set cursor shape; repaint display.
Mark Wooding [Fri, 15 Jan 2016 22:42:54 +0000 (22:42 +0000)]
bin/mdw-build: Add a `native' option.
Basically, should we apply sanity checks for my own packages which
aren't appropriate for other people's?
Mark Wooding [Fri, 15 Jan 2016 22:41:34 +0000 (22:41 +0000)]
bin/mdw-build: Allow configuration of the `setup' command.
This lets us run the setup scripts for packages using other styles of
build system.
Mark Wooding [Fri, 15 Jan 2016 22:39:21 +0000 (22:39 +0000)]
bin/mdw-build: `nocommit' isn't a special case.
Fold handling for it in with the rest of the `no*' options.
Mark Wooding [Sun, 10 Jan 2016 13:51:04 +0000 (13:51 +0000)]
git/attributes: Don't put tabs in TeX files.
It often doesn't work out well.
Mark Wooding [Sun, 10 Jan 2016 13:51:04 +0000 (13:51 +0000)]
dot/e16-bindings: Set cursor shape; repaint display.
Mark Wooding [Mon, 28 Dec 2015 15:28:44 +0000 (15:28 +0000)]
el/dot-emacs.el: Advice to fix `markdown-mode' to preserve match data.
`markdown-mode' adds a hook to `after-change-functions', which checks
for completed wiki links and tries to highlight them. This clobbers the
match data, and, although it tries to save the position of the point, it
seems that `replace-match' arranges to leave point at the end of the
match by looking at the match data after the hook functions have run.
The result is that point ends up in the wrong place after `replace-
match'. During `query-replace' and friends, the effect is that only the
first change in any given line is actually replaced, regardless of how
many matches there might be.
Giving the broken function a few choice words of advice fixes
everything.
Mark Wooding [Mon, 28 Dec 2015 14:26:29 +0000 (14:26 +0000)]
dot/lisp-init.lisp: Don't override `HOME:' in CMUCL after all.
It's too painful.
Mark Wooding [Mon, 28 Dec 2015 14:25:35 +0000 (14:25 +0000)]
Merge branch 'master' of us:etc/profile
* 'master' of us:etc/profile:
el/dot-emacs.el: Set indent quantum for plain `perl-mode'.
Mark Wooding [Mon, 28 Dec 2015 14:25:04 +0000 (14:25 +0000)]
Merge branch 'master' of us:git/staging/profile
* 'master' of us:git/staging/profile:
el/dot-emacs.el: Don't highlight bad whitespace in read-only buffers.
Mark Wooding [Mon, 28 Dec 2015 14:12:52 +0000 (14:12 +0000)]
el/dot-emacs.el: Don't highlight bad whitespace in read-only buffers.
It's not like I'm planning to do anything about them.
Mark Wooding [Tue, 3 Nov 2015 19:14:44 +0000 (19:14 +0000)]
el/dot-emacs.el: Make the continued-line backslash actually be a `\'.
I botched the escaping for `?', so it actually came out as a space.
Mark Wooding [Thu, 1 Oct 2015 07:28:31 +0000 (08:28 +0100)]
dot/gnus-local.el.distorted: New mailbox for bug-system mail.
Mark Wooding [Sun, 20 Sep 2015 13:50:49 +0000 (14:50 +0100)]
Merge branch 'master' of us:git/staging/profile
* 'master' of us:git/staging/profile:
dot/lisp-init.lisp: Use `sb-ext:posix-getenv' instead of `sb-posix:getenv'.
dot/lisp-init.lisp: Refactor setting of `HOME:'.
Mark Wooding [Wed, 16 Sep 2015 10:51:27 +0000 (11:51 +0100)]
dot/lisp-init.lisp: Use `sb-ext:posix-getenv' instead of `sb-posix:getenv'.
The former is built into the standard image, while the latter involves
loading a system at runtime which delays startup noticeably.
Mark Wooding [Wed, 16 Sep 2015 10:50:07 +0000 (11:50 +0100)]
dot/lisp-init.lisp: Refactor setting of `HOME:'.
Mark Wooding [Mon, 14 Sep 2015 18:59:33 +0000 (19:59 +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:
bin/update-buildable-branch: New utility for `buildable' branches.
Mark Wooding [Mon, 14 Sep 2015 12:03:06 +0000 (13:03 +0100)]
bin/update-buildable-branch: New utility for `buildable' branches.
I'm experimentally publishing semiautomatically-maintained branches of
projects with all of the build tools and other stuff included.
Mark Wooding [Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)]
dot/lisp-init.lisp: Turns out SBCL has a magic function to set `SYS'.
Mark Wooding [Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)]
dot/lisp-init.lisp: Add another LP host for the CLC archive.
Mark Wooding [Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)]
dot/lisp-init.lisp: Oh, wait, I made it work in CLisp after all.
Mark Wooding [Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)]
dot/lisp-init.lisp: Add missing stanza comment.
Mark Wooding [Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)]
dot/lisp-init.lisp: CMU CL already has a `search list' called `HOME'.
Zap it.
Mark Wooding [Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)]
dot/lisp-init.lisp: The logical-pathname translations don't work in Clisp.
Mark Wooding [Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)]
dot/lisp-init.lisp: Fix stupid typo.
It turns out that Clisp can't actually do the translations.
Mark Wooding [Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)]
dot/lisp-init.lisp: Add logical pathname translations for `HOME:'.
Just for fun.
Mark Wooding [Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)]
dot/lisp-init.lisp: Tell SBCL where it can find its sources.
The Debian build has bogus translations, so fix them.
Mark Wooding [Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)]
dot/lisp-init.lisp: Avoid interning symbols.
Mark Wooding [Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)]
bin/mdw-build: Don't sign tarball for test builds.
Mark Wooding [Sun, 16 Aug 2015 15:08:10 +0000 (16:08 +0100)]
el/dot-emacs.el: Provide a global setting of `mdw-do-misc-mode-hacking'.
Ooops.
Mark Wooding [Fri, 14 Aug 2015 17:19:00 +0000 (18:19 +0100)]
el/dot-emacs.el: Delay whitespace-mode setting.
Turn on whitespace-mode /after/ local variables have been applied, so
that it can take into account settings like `indent-tabs-mode' acquired
from file- or directory-local variables.
There used to be a halfhearted attempt at this, with the
`mdw-post-config-mode-hook' function called explicitly by the various
mode hooks. This is now replaced by a standard hook on
`hack-local-variables-hook' activated by `mdw-misc-mode-config'.
Mark Wooding [Wed, 5 Aug 2015 19:49:27 +0000 (20:49 +0100)]
dot/gitconfig.in: Disable SSH connection caching by git-annex.
I already do that, and it goes horribly wrong if we both try.
Mark Wooding [Tue, 4 Aug 2015 15:45:30 +0000 (16:45 +0100)]
el/dot-emacs.el: Set indent quantum for plain `perl-mode'.
Didn't need this back when we had a hacky alias.
Mark Wooding [Thu, 23 Jul 2015 09:22:12 +0000 (10:22 +0100)]
setup: Use `-P' option when preprocessing.
This avoids adding `#' lines and eating trailing `\' continuation
markers.
Mark Wooding [Thu, 23 Jul 2015 09:13:41 +0000 (10:13 +0100)]
dot/emacs, dot/Xdefaults: Refine handling of menu bar properties.
Terminal Emacsen shouldn't have them; windowed Emacsen should.
Mark Wooding [Thu, 23 Jul 2015 09:11:45 +0000 (10:11 +0100)]
dot/emacs: Reformat frame-list settings stanza.
Mark Wooding [Thu, 23 Jul 2015 08:55:12 +0000 (09:55 +0100)]
dot/Xdefaults: Make Emacs windows be dark blue by default.
Note that the main Emacs is already overridden to be black. This makes
temporary Emacsen stand out better.
Mark Wooding [Thu, 23 Jul 2015 08:54:55 +0000 (09:54 +0100)]
dot/xinitrc: Force main Emacs background to black.
Mark Wooding [Thu, 23 Jul 2015 08:50:10 +0000 (09:50 +0100)]
setup: Preprocess the Xdefaults file before installing it.
Now applications can read the resources even if they haven't been
attached to the root window.
Mark Wooding [Sun, 28 Jun 2015 11:31:58 +0000 (12:31 +0100)]
el/dot-emacs.el: Highlight `:' as punctuation in Perl.
Mark Wooding [Sun, 28 Jun 2015 11:31:16 +0000 (12:31 +0100)]
el/dot-emacs.el: Add missing Perl keyword `default'.
Also reformat the keyword list.
Mark Wooding [Tue, 23 Jun 2015 09:34:20 +0000 (10:34 +0100)]
bin/xpra-start-xdummy: New script: start xpra with dummy video driver.
Mark Wooding [Wed, 10 Jun 2015 13:47:54 +0000 (14:47 +0100)]
dot/emacs, el/dot-emacs.el: Defeat `keyboard-escape-quit'.
This is a really bad command to invoke by accident because it vaporizes
your current, possibly elaborate, window configuration. Unfortunately,
it's bound to ESC ESC ESC, which is also C-[ C-[ C-[, and C-[ is right
next to C-p, which I often try to bounce on, oblivious to the occasional
off-by-one error.
* Bind ESC ESC to a function which says `wrong-button' (and fails to
ring the bell because Emacs is broken). At least this way I'm
likely to notice.
* Bind ESC C-] C-] to `keyboard-escape-quit', because it might just be
useful for something.
Mark Wooding [Wed, 10 Jun 2015 10:38:43 +0000 (11:38 +0100)]
dot/emacs: No, `interpreter-mode-alist' entries shouldn't have leading `/'.
I can't believe I've gone for so long with this stupid bug.
Mark Wooding [Wed, 3 Jun 2015 22:24:12 +0000 (23:24 +0100)]
dot/gnus-local.el.distorted: Reorganize the split list.
Or, well, actually organize it for the first time.
Mark Wooding [Wed, 3 Jun 2015 22:22:41 +0000 (23:22 +0100)]
dot/gnus-local.el.distorted: Set more splitting variables.
* Configure both the `nnmail-...' and `nnimap-...' versions of the
variables. That way, `gnus-summary-respool-...' actually work on
IMAP mailboxes.
* Set the new `nnimap-split-methods' variable, because `nnimap-split-
rule' has been eliminated in later versions.