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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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