chiark / gitweb /
profile
6 years agodot/emacs: Bind `C-c t r' to `gtags-find-rtag' for reverse lookups.
Mark Wooding [Fri, 28 Jul 2017 14:47:55 +0000 (15:47 +0100)]
dot/emacs: Bind `C-c t r' to `gtags-find-rtag' for reverse lookups.

Move `timeclock-reread-log' out of the way.

6 years agodot/emacs: Add key-bindings for Gtags.
Mark Wooding [Fri, 28 Jul 2017 12:46:26 +0000 (13:46 +0100)]
dot/emacs: Add key-bindings for Gtags.

Now that the Debian version actually works a little bit.

6 years agodot/ipython-config.py: Don't colour exception-class names specially.
Mark Wooding [Fri, 28 Jul 2017 12:36:04 +0000 (13:36 +0100)]
dot/ipython-config.py: Don't colour exception-class names specially.

6 years agoel/dot-emacs.el: Define stub mode for editing Pyrex.
Mark Wooding [Thu, 27 Jul 2017 10:00:52 +0000 (11:00 +0100)]
el/dot-emacs.el: Define stub mode for editing Pyrex.

I'm not using the `official' one any more, because it depends on Pymacs
and I'm just not going there.

6 years agoel/dot-emacs.el: Add missing Pyrex keywords `enum' and `property'.
Mark Wooding [Thu, 27 Jul 2017 10:00:35 +0000 (11:00 +0100)]
el/dot-emacs.el: Add missing Pyrex keywords `enum' and `property'.

6 years agoel/dot-emacs.el: We depend on `mpc' macros at compile time.
Mark Wooding [Tue, 25 Jul 2017 17:18:00 +0000 (18:18 +0100)]
el/dot-emacs.el: We depend on `mpc' macros at compile time.

6 years agoel/dot-emacs.el: Include a (completely trivial) mode for Sod.
Mark Wooding [Mon, 24 Jul 2017 11:16:14 +0000 (12:16 +0100)]
el/dot-emacs.el: Include a (completely trivial) mode for Sod.

And stitch it into the `auto-mode-alist'.

6 years agoel/dot-emacs.el: Fix tab key in TeX-ish modes.
Mark Wooding [Mon, 24 Jul 2017 11:12:39 +0000 (12:12 +0100)]
el/dot-emacs.el: Fix tab key in TeX-ish modes.

I think having TAB bound to `indent-for-tab-command' is after all a good
thing, and I should put it back.  But `indent-relative' is also useful,
so put that on M-TAB.  This means defeating Flyspell's use of this key
to mean the same as C-. (`flyspell-auto-correct-word'), which (a) is
already on a different key too, and (b) I didn't know existed so I'm not
going to miss it.

6 years agoel/dot-emacs.el: Fix fontification for Rust keywords and builtins.
Mark Wooding [Sun, 23 Jul 2017 11:18:23 +0000 (12:18 +0100)]
el/dot-emacs.el: Fix fontification for Rust keywords and builtins.

6 years agodot/emacs: Add keybinding for Magit blame.
Mark Wooding [Sun, 23 Jul 2017 11:18:06 +0000 (12:18 +0100)]
dot/emacs: Add keybinding for Magit blame.

6 years agodot/emacs, el/dot-emacs.el: Key bindings for MPC volume twiddling.
Mark Wooding [Fri, 21 Jul 2017 14:18:44 +0000 (15:18 +0100)]
dot/emacs, el/dot-emacs.el: Key bindings for MPC volume twiddling.

6 years agodot-emacs.el: Fix complicated prefix-argument handling for compilation.
Mark Wooding [Fri, 21 Jul 2017 08:38:21 +0000 (09:38 +0100)]
dot-emacs.el: Fix complicated prefix-argument handling for compilation.

When I was setting this up, I stupidly forgot that the default is 1, not
zero.  Use the 8 bit, not the 1 bit, for interactiveness.

6 years agodot/emacs: Start configuring Dired's automatic command suggestions.
Mark Wooding [Thu, 20 Jul 2017 11:24:56 +0000 (12:24 +0100)]
dot/emacs: Start configuring Dired's automatic command suggestions.

6 years agodot/emacs, el/dot-emacs.el: Improve compilation machinery.
Mark Wooding [Thu, 20 Jul 2017 10:18:28 +0000 (11:18 +0100)]
dot/emacs, el/dot-emacs.el: Improve compilation machinery.

Allow setting of a compilation directory, by making the prefix-argument
machinery much more complicated.

6 years agoel/dot-emacs.el: Custom playlist add and remove.
Mark Wooding [Thu, 20 Jul 2017 00:25:37 +0000 (01:25 +0100)]
el/dot-emacs.el: Custom playlist add and remove.

These honour prefix argument or active region.  I've been bitten too
often by this.  There's quite a lot of fiddly stuff to preserve
the (invisible but significant) order of tracks in the selection.

6 years agoel/dot-emacs.el: Redefine the playlist header line to preserve mark.
Mark Wooding [Thu, 20 Jul 2017 00:23:32 +0000 (01:23 +0100)]
el/dot-emacs.el: Redefine the playlist header line to preserve mark.

The definition of the header line has some Lisp code which inserts stuff
into a temporary buffer, and that sets `deactivate-mark'.  Preserve this
variable so the mark remains active after cursor movement.

6 years agoel/dot-emacs.el: Restore mode lines to tag-browser windows.
Mark Wooding [Thu, 20 Jul 2017 00:22:43 +0000 (01:22 +0100)]
el/dot-emacs.el: Restore mode lines to tag-browser windows.

It's hard to tell which is the selected window without the mode lines.

6 years agoel/dot-emacs.el: Bind some additional MPC keys.
Mark Wooding [Thu, 20 Jul 2017 00:21:50 +0000 (01:21 +0100)]
el/dot-emacs.el: Bind some additional MPC keys.

Search (didn't know that was there), and jump-to, which I lost when I
replaced the keymap.

6 years agoel/dot-emacs.el: Don't `refresh' the selection after selecting tracks.
Mark Wooding [Thu, 20 Jul 2017 00:19:47 +0000 (01:19 +0100)]
el/dot-emacs.el: Don't `refresh' the selection after selecting tracks.

It's unnecessary, and it scrambles the order in an irritating way.

6 years agoel/dot-emacs.el: Don't try to select a track after the last line.
Mark Wooding [Thu, 20 Jul 2017 00:18:46 +0000 (01:18 +0100)]
el/dot-emacs.el: Don't try to select a track after the last line.

6 years agodot/emacs, el/dot-emacs.el: Show MPC status after play, previous, next.
Mark Wooding [Thu, 20 Jul 2017 00:17:08 +0000 (01:17 +0100)]
dot/emacs, el/dot-emacs.el: Show MPC status after play, previous, next.

Wrap the transport operations in a macro which ensures that the library
is loaded, and echoes the status afterwards.

6 years agoel/dot-emacs.el: Autoload `mpc-stop', not `mpc-pause'.
Mark Wooding [Thu, 20 Jul 2017 00:15:40 +0000 (01:15 +0100)]
el/dot-emacs.el: Autoload `mpc-stop', not `mpc-pause'.

We don't need the latter, but the former actually has a global key bound
to it.

6 years agoel/dot-emacs.el: Add hack for running programs from Dired buffers.
Mark Wooding [Wed, 19 Jul 2017 02:13:28 +0000 (03:13 +0100)]
el/dot-emacs.el: Add hack for running programs from Dired buffers.

Idea from Ian Jackson's dotfiles.

6 years agoel/dot-emacs.el: Make MPC be less annoying.
Mark Wooding [Tue, 18 Jul 2017 23:55:14 +0000 (00:55 +0100)]
el/dot-emacs.el: Make MPC be less annoying.

Add things to and remove things from the playlist; mark and unmark items
direddishly.  It's not quite right, but it'll improve as I get irritated
with it again.

6 years agoemacs: Turn off `ido-use-filename-at-point'.
Mark Wooding [Mon, 17 Jul 2017 14:21:30 +0000 (15:21 +0100)]
emacs: Turn off `ido-use-filename-at-point'.

It's too stupid to be useful rather than an annoyance.

6 years agoel/dot-emacs.el: Use `string-to-number' instead of `parse-integer'.
Mark Wooding [Mon, 17 Jul 2017 12:43:53 +0000 (13:43 +0100)]
el/dot-emacs.el: Use `string-to-number' instead of `parse-integer'.

Not sure where the latter came from (except that it's the Common Lisp
function for doing this job), but it doesn't work on a freshly started
instance.

6 years agodot/gnus-local.el.distorted: Fix Gnus configuration after upgrade.
Mark Wooding [Mon, 17 Jul 2017 11:18:33 +0000 (12:18 +0100)]
dot/gnus-local.el.distorted: Fix Gnus configuration after upgrade.

I'm dropping compatibility with old Gnuses.

  * Use `starttls' where possible for communicating with IMAP servers.
    Alas, that doesn't include Gmail.

  * Remove the attempt to use separate authentication files for
    different accounts.  Everything is now in `~/.gnus.authinfo', and
    IMAP credentials are keyed by server label, not address, for some
    reason.

  * Note that chiark doesn't have a proper certificate.  For some
    reason, `starttls-extra-arguments' in IMAP server stanze is a list,
    while in SMTP server stanze, it's a string.

6 years agodot/bash-*: Rename from `bash_*'.
Mark Wooding [Mon, 17 Jul 2017 00:22:38 +0000 (01:22 +0100)]
dot/bash-*: Rename from `bash_*'.

Did I mention that I don't like underscores.  Let's see how this pans
out.

6 years agoel/dot-emacs.el: Highlight subdirectories in my usual way.
Mark Wooding [Mon, 17 Jul 2017 00:15:22 +0000 (01:15 +0100)]
el/dot-emacs.el: Highlight subdirectories in my usual way.

Directories show up in cyan everywhere else.  Why are they especially
scary in Ido `find-file'?

6 years agodot/emacs: Turn on the fancy Ido toys.
Mark Wooding [Sun, 16 Jul 2017 23:27:29 +0000 (00:27 +0100)]
dot/emacs: Turn on the fancy Ido toys.

If we have `ido-completing-read+' then we can safely turn on Magit's Ido
support (which apparently depends on that package to sort out some edge
cases).  The `ido-ubiquitous' package extends Ido goodness to other
commands, and depends on `ido-completing-read+' to do its dirty work
anyway, so if we can enable that then it's safe to throw Magit's switch.
Finally, `smex' brings Ido goodness to M-x.

For safety's sake, leave traditional `execute-extended-command' on C-c
M-x.

6 years agodot/emacs: Get with the program and switch to Ido for buffer completion.
Mark Wooding [Sun, 16 Jul 2017 22:56:54 +0000 (23:56 +0100)]
dot/emacs: Get with the program and switch to Ido for buffer completion.

Bonus: it does filename completion too.  Downside: it needed a good
kicking not to do completely stupid things.

6 years agodot/ipython-key-bindings.py: Hack IPython's bogus keybindings.
Mark Wooding [Sat, 15 Jul 2017 13:49:10 +0000 (14:49 +0100)]
dot/ipython-key-bindings.py: Hack IPython's bogus keybindings.

Hopefully they're a bit less bogus now.  Maybe.

6 years agodot/ipython-config.py: Configure modern IPython syntax colouring.
Mark Wooding [Sat, 15 Jul 2017 00:15:00 +0000 (01:15 +0100)]
dot/ipython-config.py: Configure modern IPython syntax colouring.

This ought to match my Emacs display, but numbers seem to come out
somewhat lime-green rather than yellow.

6 years agodot/ipython-config.py: Go back to traditional completion display.
Mark Wooding [Sat, 15 Jul 2017 00:05:43 +0000 (01:05 +0100)]
dot/ipython-config.py: Go back to traditional completion display.

IPython has this new default completion display where it shows a
tiny fraction of the available completions in a postage stamp.  I'm
not sure why this is meant to be better.  It's the sort of thing IDEs
do, but it seems daft to me.

6 years agodot/ipython-config.py: Turn off `greedy' completion.
Mark Wooding [Sat, 15 Jul 2017 00:03:11 +0000 (01:03 +0100)]
dot/ipython-config.py: Turn off `greedy' completion.

It makes completion work really badly on newer versions of IPython.

6 years agodot/ipython-config.py: Stop saying `ignore_old_config'.
Mark Wooding [Sat, 15 Jul 2017 00:04:20 +0000 (01:04 +0100)]
dot/ipython-config.py: Stop saying `ignore_old_config'.

Apparently it's an old configuration, and I can't tell IPython to
ignore it...

6 years agodot/ipython-config.py: Rename from `dot/ipython_config.py'.
Mark Wooding [Sat, 15 Jul 2017 13:48:36 +0000 (14:48 +0100)]
dot/ipython-config.py: Rename from `dot/ipython_config.py'.

I don't like underscores in filenames, and I can live without this one.

6 years agodot/emacs, el/dot-emacs.el: Configuration for Emacs `mpc' support.
Mark Wooding [Sat, 15 Jul 2017 00:09:11 +0000 (01:09 +0100)]
dot/emacs, el/dot-emacs.el: Configuration for Emacs `mpc' support.

I can control audio from Emacs.  That's kind of cool.  Admittedly,
`mpc' is annoying and deficient in a number of ways, but it's still
cool.  Right?

6 years agoel/dot-emacs.el: Split the Magit configuration into its own section.
Mark Wooding [Sat, 15 Jul 2017 00:08:07 +0000 (01:08 +0100)]
el/dot-emacs.el: Split the Magit configuration into its own section.

6 years agoel/dot-emacs.el: Configure some Magit faces to work better in terminals.
Mark Wooding [Sat, 15 Jul 2017 12:11:09 +0000 (13:11 +0100)]
el/dot-emacs.el: Configure some Magit faces to work better in terminals.

6 years agoel/dot-emacs.el: Include a compressed WIP mode-line lighter.
Mark Wooding [Sat, 15 Jul 2017 12:10:27 +0000 (13:10 +0100)]
el/dot-emacs.el: Include a compressed WIP mode-line lighter.

It's nice to know that it's there.

6 years agoel/dot-emacs.el: Turn off the margin display in Magit log buffers.
Mark Wooding [Sat, 15 Jul 2017 12:10:05 +0000 (13:10 +0100)]
el/dot-emacs.el: Turn off the margin display in Magit log buffers.

6 years agoel/dot-emacs.el: Add a `reverse-diff' option to Magit's diff popups.
Mark Wooding [Sat, 15 Jul 2017 00:13:05 +0000 (01:13 +0100)]
el/dot-emacs.el: Add a `reverse-diff' option to Magit's diff popups.

This is just what you need for comparing the working tree to some target
revision, when tidying up a patch queue or a working-tree disaster.
It's essentially the missing bit of Magit's old rewrite mode.

6 years agodot/emacs, el/dot-emacs.el: Add support for Lua programming.
Mark Wooding [Sat, 15 Jul 2017 00:12:04 +0000 (01:12 +0100)]
dot/emacs, el/dot-emacs.el: Add support for Lua programming.

I don't love Lua, but it's better for writing Wireshark dissectors than
C.  So let's have some configuration.

6 years agodot/bash_profile: Force a sensible Qt style.
Mark Wooding [Sat, 15 Jul 2017 00:10:44 +0000 (01:10 +0100)]
dot/bash_profile: Force a sensible Qt style.

Otherwise I get microscopic fonts and ugly widgets.  This requires the
`qt5-style-plugins' package.

6 years agoVarious hacks to support use of Ed25519 keys in OpenSSH.
Mark Wooding [Sat, 8 Jul 2017 11:32:46 +0000 (12:32 +0100)]
Various hacks to support use of Ed25519 keys in OpenSSH.

  * New script `bin/add-ssh-keys' to load keys into the SSH agent in the
    right order, so that it prefers Ed25519 over RSA.

  * Don't use the `gnome-keyring' SSH agent, because it doesn't
    implement modern cryptography.  Because the Gnome developers have
    more important things to screw up.

6 years agoel/dot-emacs.el: Basic configuration (and fixes) for Magit's repo list.
Mark Wooding [Fri, 7 Jul 2017 19:58:05 +0000 (20:58 +0100)]
el/dot-emacs.el: Basic configuration (and fixes) for Magit's repo list.

By default it should look in `~/src/' for repositories -- duh.  A
`~/.emacs-local' can override the list as appropriate.

Unfortunately, Magit's repo list is rather buggy.

  * The function `magit-rep-list' returns filenames rather than
    directory names, and Emacs (24, at least) then sets the wrong
    current directory when running inferior processes to find out about
    the repos.

  * The functions `magit-repolist-column-un{pulled-from,pushed-to}-
    {upstream,pushremote}' are just screwed because they expect `magit-
    get-{push,upstream}-branch' to magically turn `nil' into the current
    branch name, which isn't going to happen.

So, configure things, and hack around the bugs.

6 years agodot/sqliterc: Add common configuration for Sqlite utility.
Mark Wooding [Thu, 6 Jul 2017 13:30:10 +0000 (14:30 +0100)]
dot/sqliterc: Add common configuration for Sqlite utility.

6 years agodot/gitconfig.in: Arrange to push reachable heavy tags by default.
Mark Wooding [Thu, 6 Jul 2017 08:40:53 +0000 (09:40 +0100)]
dot/gitconfig.in: Arrange to push reachable heavy tags by default.

I'm fed up of forgetting to push tags when I'm releasing things. :-(

6 years agodot/emacs, el/dot-emacs.el: Configuration for greatly-enhanced Magit.
Mark Wooding [Tue, 4 Jul 2017 11:54:25 +0000 (12:54 +0100)]
dot/emacs, el/dot-emacs.el: Configuration for greatly-enhanced Magit.

Oh, wow.  Magit is even more awesome, but needs a little tweaking.
Tweak, tweak.

6 years agodot/gitconfig.in: Get `git merge' to include ancestor text in conflicts.
Mark Wooding [Tue, 4 Jul 2017 12:58:45 +0000 (13:58 +0100)]
dot/gitconfig.in: Get `git merge' to include ancestor text in conflicts.

6 years agosetup, dot/xinitrc: Provisionally prefer Emacs 24 over 23.
Mark Wooding [Tue, 4 Jul 2017 23:14:29 +0000 (00:14 +0100)]
setup, dot/xinitrc: Provisionally prefer Emacs 24 over 23.

I think the bug which breaks X selection handling may have been
defeated, but I'm not sure.  Certainly the new and shiny Magit requires
Emacs 24, and that's probably reason enough to prefer it.

6 years agoel/dot-emacs.el (mdw-version-<): Fix stupid infinite-loop bug.
Mark Wooding [Sun, 2 Jul 2017 22:32:33 +0000 (23:32 +0100)]
el/dot-emacs.el (mdw-version-<): Fix stupid infinite-loop bug.

6 years agodot/gnus-local.el.distorted: File email from A&A specially.
Mark Wooding [Sun, 2 Jul 2017 22:31:41 +0000 (23:31 +0100)]
dot/gnus-local.el.distorted: File email from A&A specially.

6 years agodot/gtk...: Configuration for Gtk things.
Mark Wooding [Sun, 2 Jul 2017 14:22:15 +0000 (15:22 +0100)]
dot/gtk...: Configuration for Gtk things.

6 years agodot/gdbinit: Don't confirm kill or quit.
Mark Wooding [Sun, 2 Jul 2017 14:21:29 +0000 (15:21 +0100)]
dot/gdbinit: Don't confirm kill or quit.

6 years agoel/dot-emacs.el: Add hacking for LaTeX syntax highlighting.
Mark Wooding [Sun, 25 Jun 2017 18:03:20 +0000 (19:03 +0100)]
el/dot-emacs.el: Add hacking for LaTeX syntax highlighting.

6 years agodot/emacs: Integrate the primary selection with the kill ring.
Mark Wooding [Sun, 25 Jun 2017 18:02:44 +0000 (19:02 +0100)]
dot/emacs: Integrate the primary selection with the kill ring.

Not the clipboard.  Silly idea.

6 years agodot/emacs: Save minibuffer history, and retain more of it.
Mark Wooding [Sun, 25 Jun 2017 18:02:25 +0000 (19:02 +0100)]
dot/emacs: Save minibuffer history, and retain more of it.

6 years agoMerge branch 'master' of ustrat:git/staging/profile
Mark Wooding [Fri, 12 May 2017 13:29:56 +0000 (14:29 +0100)]
Merge branch 'master' of ustrat:git/staging/profile

* 'master' of ustrat:git/staging/profile:
  dot/emacs: Bind C-c k to `compile'.
  bin/xpra-start-xdummy: Give a relative path to the configuration file.

7 years agobin/start-ssh-agent: Search for agents in some more places.
Mark Wooding [Sat, 5 Nov 2016 21:28:22 +0000 (21:28 +0000)]
bin/start-ssh-agent: Search for agents in some more places.

7 years agobin/start-ssh-agent: Export `SSH_AUTH_SOCK' in just one place.
Mark Wooding [Sat, 5 Nov 2016 21:28:22 +0000 (21:28 +0000)]
bin/start-ssh-agent: Export `SSH_AUTH_SOCK' in just one place.

7 years agobin/start-ssh-agent: Hoist variables for standard socket name.
Mark Wooding [Sat, 5 Nov 2016 21:28:22 +0000 (21:28 +0000)]
bin/start-ssh-agent: Hoist variables for standard socket name.

7 years agobin/start-ssh-agent: Fiddle the startup logic a bit.
Mark Wooding [Sat, 5 Nov 2016 21:28:22 +0000 (21:28 +0000)]
bin/start-ssh-agent: Fiddle the startup logic a bit.

Make the switch variables be `t' or `nil', rather than possibly empty.
Use `case' to test them rather than `if'.

7 years agobin/start-ssh-agent: Style tweaking of `case' statements.
Mark Wooding [Sat, 5 Nov 2016 21:28:22 +0000 (21:28 +0000)]
bin/start-ssh-agent: Style tweaking of `case' statements.

7 years agodot/emacs: Bind C-c k to `compile'.
Mark Wooding [Sat, 8 Oct 2016 10:15:35 +0000 (11:15 +0100)]
dot/emacs: Bind C-c k to `compile'.

I have no I idea why I never did this before.

7 years agobin/xpra-start-xdummy: Give a relative path to the configuration file.
Mark Wooding [Sat, 8 Oct 2016 10:14:48 +0000 (11:14 +0100)]
bin/xpra-start-xdummy: Give a relative path to the configuration file.

Later X server versions insist on this for some bogus security reason.

7 years agodot/gdbinit, git/gitignore: Save GDB command-line history.
Mark Wooding [Thu, 11 Aug 2016 08:42:13 +0000 (09:42 +0100)]
dot/gdbinit, git/gitignore: Save GDB command-line history.

7 years agodot/gitconfig.in: Use `diff-highlight' for, err, highlighting diffs.
Mark Wooding [Tue, 2 Aug 2016 10:45:30 +0000 (11:45 +0100)]
dot/gitconfig.in: Use `diff-highlight' for, err, highlighting diffs.

7 years agosetup: Use explicit path to `mdw-conf'.
Mark Wooding [Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)]
setup: Use explicit path to `mdw-conf'.

It works in an environment that's already been set up, but not in a
shiny new world.  Oops.

7 years agoMerge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile
Mark Wooding [Fri, 17 Jun 2016 10:23:00 +0000 (11:23 +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: Better fontification for Ediff.
  dot/emacs: Set new variable for Python indent level.
  setup: Just symlink all of the backgrounds.
  bg/twins.jpg: The Twins: Kate and Grace Hoare, by John Everett Millais.
  dot/gnus-local.el.distorted: Changes to support later Gnus versions.

7 years agodot/emacs: Don't snarf addresses from spam corpus.
Mark Wooding [Fri, 17 Jun 2016 10:22:55 +0000 (11:22 +0100)]
dot/emacs: Don't snarf addresses from spam corpus.

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.

8 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.