profile
4 years agomdw/build: Check out the `mdw-build' branch by hand.
Mark Wooding [Fri, 10 Apr 2020 16:51:22 +0000 (17:51 +0100)]
mdw/build: Check out the `mdw-build' branch by hand.

Later versions of Git leave the working tree empty after `git checkout
-b'.  Instead, just go through the necessary motions using the plumbing-
level commands.

4 years agoel/dot-emacs.el: Show italic characters in manpages correctly where possible.
Mark Wooding [Sat, 28 Mar 2020 16:06:35 +0000 (16:06 +0000)]
el/dot-emacs.el: Show italic characters in manpages correctly where possible.

They're still underlined in terminals where I don't expect italic
rendering to work.

4 years agoetc/profile: Fix the Qt style hacking.
Mark Wooding [Sat, 28 Mar 2020 12:42:53 +0000 (12:42 +0000)]
etc/profile: Fix the Qt style hacking.

See Debian #852836.

4 years agodot/e16-bindings: Remove the 5-f8 binding for opening terminals.
Mark Wooding [Sat, 28 Mar 2020 09:51:22 +0000 (09:51 +0000)]
dot/e16-bindings: Remove the 5-f8 binding for opening terminals.

I want to train myself to use the new C-5-t binding instead.

4 years agobin/check-blkdev-size: Add script for checking suspicious block devices.
Mark Wooding [Sun, 22 Mar 2020 19:16:51 +0000 (19:16 +0000)]
bin/check-blkdev-size: Add script for checking suspicious block devices.

I've had this lying around for a while.

4 years agodot/e16-bindings: Add `C-M-t' to open a new terminal.
Mark Wooding [Fri, 20 Mar 2020 16:47:45 +0000 (16:47 +0000)]
dot/e16-bindings: Add `C-M-t' to open a new terminal.

Infuriatingly, Intel have decided to steal `5-f8' for some useless thing
to do with the Windows video settings, with no way to override or turn
this off.  Add a different keystroke for the same thing.

Maybe I'll even end up preferring this.

4 years agodot/e16-bindings: Dislodge transparency to `C-5-c'.
Mark Wooding [Fri, 20 Mar 2020 16:46:37 +0000 (16:46 +0000)]
dot/e16-bindings: Dislodge transparency to `C-5-c'.

This isn't very frequently needed, so it won't be too annoying.  The `c'
is mnemonic for `compositing'.  Part two of the sliding block puzzle.

4 years agodot/e16-bindings: Dislodge `reset pointer shape' to `C-5-p'.
Mark Wooding [Fri, 20 Mar 2020 16:45:16 +0000 (16:45 +0000)]
dot/e16-bindings: Dislodge `reset pointer shape' to `C-5-p'.

I'd forgotten that this even existed, so it's not going to upset my
finger macros.  This is part of an annoying sliding-block puzzle.

4 years agodot/gitconfig.in: Delete the external grep colour setting.
Mark Wooding [Fri, 20 Mar 2020 16:28:45 +0000 (16:28 +0000)]
dot/gitconfig.in: Delete the external grep colour setting.

I don't know where this came from, and it's not supported by the
documentation.  Later versions of Git refuse to do anything while this
is here.

4 years agodot/emacs: Only load `ido-ubiquitous' if we really need it.
Mark Wooding [Fri, 20 Mar 2020 16:27:56 +0000 (16:27 +0000)]
dot/emacs: Only load `ido-ubiquitous' if we really need it.

It's folded into `ido-completing-read+' in later versions, and you get
an annoying warning if you ask for it anyway.

4 years agodot/inputrc: Show completions on the first `tab' keypress.
Mark Wooding [Wed, 26 Feb 2020 13:53:42 +0000 (13:53 +0000)]
dot/inputrc: Show completions on the first `tab' keypress.

4 years agodot/gtk3-settings.ini: Add reminder about Gtk 3's vanishing scrollbars.
Mark Wooding [Tue, 25 Feb 2020 23:27:53 +0000 (23:27 +0000)]
dot/gtk3-settings.ini: Add reminder about Gtk 3's vanishing scrollbars.

This setting ought to do something, but doesn't.  Huh.

4 years agodot/gtk3-settings.ini: Try to get Gtk programs to be dark.
Mark Wooding [Tue, 25 Feb 2020 23:27:26 +0000 (23:27 +0000)]
dot/gtk3-settings.ini: Try to get Gtk programs to be dark.

This doesn't seem to help much.  Oh, well.

4 years agodot/e16-bindings: Add bindings for switching compositing on and off.
Mark Wooding [Tue, 25 Feb 2020 23:25:59 +0000 (23:25 +0000)]
dot/e16-bindings: Add bindings for switching compositing on and off.

Compositing without hardware acceleration imposes a very heavy CPU load,
so under those circumstances it's best only used on special occasions.

4 years agodot/e16-bindings: Remove untabification debris.
Mark Wooding [Tue, 25 Feb 2020 23:25:23 +0000 (23:25 +0000)]
dot/e16-bindings: Remove untabification debris.

Introduced in 07321cbb237f2d0fe05e155b312d0f93461b8214, but it doesn't
seem to have done any damage.

4 years agodot/e16-bindings: Remove the scroll-wheel bindings for switching desktops.
Mark Wooding [Tue, 25 Feb 2020 23:23:40 +0000 (23:23 +0000)]
dot/e16-bindings: Remove the scroll-wheel bindings for switching desktops.

They're far too easy to trigger automatically.

4 years agobin/check-debsyms: New script simplifies checking Debian `symbols' files.
Mark Wooding [Sat, 9 Nov 2019 04:54:55 +0000 (04:54 +0000)]
bin/check-debsyms: New script simplifies checking Debian `symbols' files.

4 years agoel/dot-emacs.el: Turn off global diff refinement in Magit.
Mark Wooding [Fri, 8 Nov 2019 12:03:36 +0000 (12:03 +0000)]
el/dot-emacs.el: Turn off global diff refinement in Magit.

It turns out that this is really slow.

4 years agoel/dot-emacs.el: Try again to prevent switching to windows in other frames.
Mark Wooding [Wed, 9 Oct 2019 16:24:08 +0000 (17:24 +0100)]
el/dot-emacs.el: Try again to prevent switching to windows in other frames.

Ian Jackson pointed out that my previous countermeasure wasn't working.
I now have some new scars from `display-buffer'.

4 years agodot/profile: Inhibit angry-fruit-salad errors from things.
Mark Wooding [Tue, 8 Oct 2019 22:19:16 +0000 (23:19 +0100)]
dot/profile: Inhibit angry-fruit-salad errors from things.

There'll be more of this to come, I'm sure, but it's a start.  Maybe
I'll be able to find my prompt again.

4 years agogit/gitignore: Ignore `debian/build/' directory.
Mark Wooding [Tue, 8 Oct 2019 10:42:22 +0000 (11:42 +0100)]
git/gitignore: Ignore `debian/build/' directory.

4 years agogit/gitignore: Ignore general Debian build debris.
Mark Wooding [Mon, 7 Oct 2019 13:41:16 +0000 (14:41 +0100)]
git/gitignore: Ignore general Debian build debris.

4 years agobin/mdw-build: Support interim Debian package versions.
Mark Wooding [Mon, 30 Sep 2019 01:51:14 +0000 (02:51 +0100)]
bin/mdw-build: Support interim Debian package versions.

If the Debian version in the changelog ends with `~' then append the Git
version to this to form the synthetic version.  This will make a Debian
version number which is correctly slightly short of the target release
version.

4 years agobin/mdw-sbuild-server: Run builds sequentially.
Mark Wooding [Sun, 22 Sep 2019 14:25:35 +0000 (15:25 +0100)]
bin/mdw-sbuild-server: Run builds sequentially.

Otherwise they can interfere with each other, and cause test failures.
For example, TrIPE wants to use fixed port numbers in its fancier tests.

4 years agobin/mdw-sbuild-server: Align `sbuild' output in the log spew.
Mark Wooding [Fri, 20 Sep 2019 02:03:53 +0000 (03:03 +0100)]
bin/mdw-sbuild-server: Align `sbuild' output in the log spew.

4 years agodot/emacs, el/dot-emacs.el: Gather mode settings together.
Mark Wooding [Fri, 13 Sep 2019 16:21:49 +0000 (17:21 +0100)]
dot/emacs, el/dot-emacs.el: Gather mode settings together.

Not my cleanest patch, but this should just be a bunch of reordering of
stuff with some light formatting.

4 years agoel/dot-emacs.el: Use `dolist' or `mapc' rather than `mapcar' for effect.
Mark Wooding [Fri, 13 Sep 2019 18:53:33 +0000 (19:53 +0100)]
el/dot-emacs.el: Use `dolist' or `mapc' rather than `mapcar' for effect.

Prefer the former where the compiler can macroexpand it reliably.

4 years agodot/emacs, el/dot-emacs.el: Consistently use `setq-default' for mode defaults.
Mark Wooding [Fri, 13 Sep 2019 16:20:11 +0000 (17:20 +0100)]
dot/emacs, el/dot-emacs.el: Consistently use `setq-default' for mode defaults.

More-or-less consistently anyway.

4 years agoel/dot-emacs.el: Add a heading for `m4'.
Mark Wooding [Fri, 13 Sep 2019 16:14:00 +0000 (17:14 +0100)]
el/dot-emacs.el: Add a heading for `m4'.

4 years agoel/dot-emacs.el: Promote `Lispy languages' to a top-level section.
Mark Wooding [Fri, 13 Sep 2019 16:13:14 +0000 (17:13 +0100)]
el/dot-emacs.el: Promote `Lispy languages' to a top-level section.

4 years agoel/dot-emacs.el (comint-...): Lift out into utilities.
Mark Wooding [Fri, 13 Sep 2019 16:09:34 +0000 (17:09 +0100)]
el/dot-emacs.el (comint-...): Lift out into utilities.

They didn't really have much to do with Lisp.

4 years agoel/dot-emacs.el (date): Use primitive `delete-char' to remove newline.
Mark Wooding [Fri, 13 Sep 2019 16:07:07 +0000 (17:07 +0100)]
el/dot-emacs.el (date): Use primitive `delete-char' to remove newline.

4 years agodot/emacs, dot/xinitrc, el/dot-emacs.el: Flag for Emacs splash screen.
Mark Wooding [Fri, 13 Sep 2019 16:06:04 +0000 (17:06 +0100)]
dot/emacs, dot/xinitrc, el/dot-emacs.el: Flag for Emacs splash screen.

It turns out to be rather annoying when used from the command line, so
add an option to inhibit it and other related cruft.

4 years agoel/dot-emacs.el: Factor out the command-line option scanning.
Mark Wooding [Fri, 13 Sep 2019 16:05:13 +0000 (17:05 +0100)]
el/dot-emacs.el: Factor out the command-line option scanning.

4 years agodot/gitconfig.in: Add rune to run a command in all modules.
Mark Wooding [Wed, 11 Sep 2019 16:50:49 +0000 (17:50 +0100)]
dot/gitconfig.in: Add rune to run a command in all modules.

For some daft reason, `git submodule foreach' won't run the command in
the top-level working tree.

4 years agoMerge remote-tracking branch 'staging/master'
Mark Wooding [Mon, 9 Sep 2019 22:57:27 +0000 (23:57 +0100)]
Merge remote-tracking branch 'staging/master'

* staging/master:
  dot/gitconfig.in: Support the `scissors' convention in incoming mail.
  dot/gitconfig.in: Force the `from' address on Git patches.
  dot/gitconfig.in: Delete the `patches' alias.

4 years agodot/gitconfig.in: Support the `scissors' convention in incoming mail.
Mark Wooding [Mon, 9 Sep 2019 17:26:30 +0000 (18:26 +0100)]
dot/gitconfig.in: Support the `scissors' convention in incoming mail.

4 years agodot/gitconfig.in: Force the `from' address on Git patches.
Mark Wooding [Mon, 9 Sep 2019 17:25:56 +0000 (18:25 +0100)]
dot/gitconfig.in: Force the `from' address on Git patches.

I don't think it's right to sign other people up for email just because
I'm presenting their patches upstream.

4 years agodot/gitconfig.in: Delete the `patches' alias.
Mark Wooding [Mon, 9 Sep 2019 17:23:04 +0000 (18:23 +0100)]
dot/gitconfig.in: Delete the `patches' alias.

I wasn't using it. :-/

4 years agodot/e16-bindings: Swap window-move and area-move.
Mark Wooding [Sun, 8 Sep 2019 19:15:26 +0000 (20:15 +0100)]
dot/e16-bindings: Swap window-move and area-move.

The former seems more useful, so it should have the simpler chord.

4 years agobin/datasyms: New utility to print the writable-data symbols in object files.
Mark Wooding [Wed, 4 Sep 2019 18:10:52 +0000 (19:10 +0100)]
bin/datasyms: New utility to print the writable-data symbols in object files.

It turns out that I have a habit of forgetting to declare constant
tables as being `const'.  This tool is one of the few ways to notice
that I've done this.

4 years agodot/gitconfig.in: Show Git output in columns.
Mark Wooding [Tue, 3 Sep 2019 10:52:18 +0000 (11:52 +0100)]
dot/gitconfig.in: Show Git output in columns.

Why have I only just noticed that this exists?

4 years agodot/emacs: Have `ediff' windows side-by-side by default.
Mark Wooding [Tue, 3 Sep 2019 10:51:41 +0000 (11:51 +0100)]
dot/emacs: Have `ediff' windows side-by-side by default.

4 years agodot/emacs: Configure BibTeX record key generation.
Mark Wooding [Tue, 3 Sep 2019 10:51:20 +0000 (11:51 +0100)]
dot/emacs: Configure BibTeX record key generation.

4 years agodot/emacs: Configure BibTeX record sorting.
Mark Wooding [Tue, 3 Sep 2019 10:50:33 +0000 (11:50 +0100)]
dot/emacs: Configure BibTeX record sorting.

Expand the string entries, and sort by entry class.

4 years agodot/emacs: Sort fields and add braces as necessary in BibTeX records.
Mark Wooding [Tue, 3 Sep 2019 10:48:40 +0000 (11:48 +0100)]
dot/emacs: Sort fields and add braces as necessary in BibTeX records.

4 years agodot/emacs: Align the `=' signs in a BibTeX record.
Mark Wooding [Tue, 3 Sep 2019 10:36:52 +0000 (11:36 +0100)]
dot/emacs: Align the `=' signs in a BibTeX record.

4 years agodot/emacs: Include optional fields in new BibTeX records.
Mark Wooding [Tue, 3 Sep 2019 10:36:06 +0000 (11:36 +0100)]
dot/emacs: Include optional fields in new BibTeX records.

The formatting will delete them if they're not wanted.

4 years agoel/dot-emacs.el: Set fill column smaller in `bibtex-mode'.
Mark Wooding [Tue, 3 Sep 2019 10:33:51 +0000 (11:33 +0100)]
el/dot-emacs.el: Set fill column smaller in `bibtex-mode'.

There's some bug in the mode-specific filling which causes overly long
lines sometimes.

4 years agodot/lesskey: Switch `less' back to `-R'.
Mark Wooding [Fri, 23 Aug 2019 16:35:36 +0000 (17:35 +0100)]
dot/lesskey: Switch `less' back to `-R'.

This reverts b59e8644263f6e5bd31778ffada9be6e0a539a92, but puts the `R'
option with the other uppercase things for consistency.

With `-r', `less' (a) won't truncate lines, and (b) hopelessly corrupts
the screen.

I shall resolve the problem with `diff' by installing version 3.7, which
fixes the bug.

4 years agodot/gitconfig.in: Use `mdw-pager' rather than `less' explicitly.
Mark Wooding [Fri, 23 Aug 2019 16:34:22 +0000 (17:34 +0100)]
dot/gitconfig.in: Use `mdw-pager' rather than `less' explicitly.

I tripped over this because I was experimenting with alternative pagers.
Astonishingly, they all suck more than `less', so I'm stuck.

4 years agodot/emacs: Spell `ido-enable-prefix' correctly.
Mark Wooding [Thu, 22 Aug 2019 17:29:44 +0000 (18:29 +0100)]
dot/emacs: Spell `ido-enable-prefix' correctly.

4 years agodoc/shell-rc: Hide the `gdb' banner.
Mark Wooding [Thu, 22 Aug 2019 11:20:13 +0000 (12:20 +0100)]
doc/shell-rc: Hide the `gdb' banner.

It's very large and rather boring.

4 years agodot/emacs: Get `ido' to insist on getting the first letter right.
Mark Wooding [Thu, 22 Aug 2019 11:19:15 +0000 (12:19 +0100)]
dot/emacs: Get `ido' to insist on getting the first letter right.

Hopefully this will make its completion decisions somewhat less silly.

4 years agodot/emacs: Don't display the diary when starting up or every morning.
Mark Wooding [Thu, 22 Aug 2019 11:18:34 +0000 (12:18 +0100)]
dot/emacs: Don't display the diary when starting up or every morning.

This has been really annoying!

4 years agodot/emacs: Group `appt' settings into a single `setf' form.
Mark Wooding [Thu, 22 Aug 2019 11:18:09 +0000 (12:18 +0100)]
dot/emacs: Group `appt' settings into a single `setf' form.

4 years agodot/emacs: Hide warnings about the server when starting up.
Mark Wooding [Thu, 22 Aug 2019 11:16:15 +0000 (12:16 +0100)]
dot/emacs: Hide warnings about the server when starting up.

These are hardly ever interesting, and eat half of the initial frame.

4 years agoel/dot-emacs.el: Advise the right functions for Hyperspec display.
Mark Wooding [Thu, 22 Aug 2019 11:15:12 +0000 (12:15 +0100)]
el/dot-emacs.el: Advise the right functions for Hyperspec display.

I mistakenly advised the old-fashioned function names, which are now
merely aliases for the proper functions.

4 years agodot/mdw-build.conf: Don't override Debian build settings from environment.
Mark Wooding [Fri, 9 Aug 2019 23:54:50 +0000 (00:54 +0100)]
dot/mdw-build.conf: Don't override Debian build settings from environment.

4 years agobin/mdw-sbuild-server: Use correct option if not building arch-specific.
Mark Wooding [Wed, 7 Aug 2019 12:35:04 +0000 (13:35 +0100)]
bin/mdw-sbuild-server: Use correct option if not building arch-specific.

4 years agodot/shell-rc: Colourize `diff' output similarly to `grep'.
Mark Wooding [Fri, 2 Aug 2019 19:38:05 +0000 (20:38 +0100)]
dot/shell-rc: Colourize `diff' output similarly to `grep'.

There's a problem here because of a `zsh' bug:

$ diff -u <(thing) <(thong) | blah
diff: /proc/self/fd/13: No such file or directory
diff: /proc/self/fd/14: No such file or directory

caused by the process-substitution pipes being lost somewhere.

Work around this as (a)

$ diff -u =(thing) =(thong) | blah

(produces temporary files), or (b)

$ { diff -u <(thing) <(thong) } | blah

(extra typing).

4 years agodot/lesskey: Use `-r' instead of `-R'.
Mark Wooding [Fri, 2 Aug 2019 19:30:44 +0000 (20:30 +0100)]
dot/lesskey: Use `-r' instead of `-R'.

This seems to handle some kinds of colourized output better.  In
particular, GNU `diff' gets mangled by `less -R': only the first line in
a coloured group ends up actually being coloured.  On the other hand,
`less -r' copes with this properly, maybe because it's actually looking
at the control codes rather than feeding them through without thinking
and then accidentally clobbering their effects.

I don't know why my `less' settings have used `-R', but they have for as
long as I've maintained my profile in Git.  Oh, well.

4 years agoel/dot-emacs.el: Force Hyperspec lookups to use w3m, if available.
Mark Wooding [Sat, 3 Aug 2019 02:05:54 +0000 (03:05 +0100)]
el/dot-emacs.el: Force Hyperspec lookups to use w3m, if available.

It's much more convenient to have the documentation in Emacs.

4 years agoel/dot-emacs.el: Preserve environment properly when clearing `LD_PRELOAD'.
Mark Wooding [Fri, 2 Aug 2019 14:49:10 +0000 (15:49 +0100)]
el/dot-emacs.el: Preserve environment properly when clearing `LD_PRELOAD'.

Just binding `process-environment' isn't enough, because `setenv'
mutates the list-structure in place.  Take a complete copy, just to be
sure.

Otherwise, compiling something prevents SLIME from starting up properly.

4 years agoMakefile: Fix name of `releasekey' config setting.
Mark Wooding [Fri, 2 Aug 2019 14:48:48 +0000 (15:48 +0100)]
Makefile: Fix name of `releasekey' config setting.

Now the Git configuration is actually correct.  I hadn't noticed before
because I hadn't changed the config setting away from the default for
aaages.

5 years agoel/dot-emacs.el (mdw-fontify-javascript): Remove duplicate keywords.
Mark Wooding [Sat, 25 May 2019 12:24:58 +0000 (13:24 +0100)]
el/dot-emacs.el (mdw-fontify-javascript): Remove duplicate keywords.

These were apparently duplicated when I introduced this function.

5 years agoel/dot-emacs.el: Rename `...-constants' to `...-builtins'.
Mark Wooding [Sat, 25 May 2019 12:20:04 +0000 (13:20 +0100)]
el/dot-emacs.el: Rename `...-constants' to `...-builtins'.

That's closer to what I'm using them as, I think.

5 years agodot/screenrc: Don't adjust the widths of terminal windows when starting.
Mark Wooding [Sun, 12 May 2019 12:57:46 +0000 (13:57 +0100)]
dot/screenrc: Don't adjust the widths of terminal windows when starting.

5 years agodot/bashrc: Reinstate carriage-return literal broken by deficient editor.
Mark Wooding [Wed, 27 Feb 2019 14:37:50 +0000 (14:37 +0000)]
dot/bashrc: Reinstate carriage-return literal broken by deficient editor.

I think I used THE to make 8a075bd7..., which replaced my literal
carriage-return with a linefeed, which causes all manner of trouble.
Put the carriage-return back.

5 years agoel/dot-emacs.el (mdw-fontify-rust): Highlight `$' correctly.
Mark Wooding [Tue, 26 Feb 2019 09:58:46 +0000 (09:58 +0000)]
el/dot-emacs.el (mdw-fontify-rust): Highlight `$' correctly.

5 years agodot/xinitrc: Tell desktoppy things that I run XFCE.
Mark Wooding [Sat, 23 Feb 2019 21:03:25 +0000 (21:03 +0000)]
dot/xinitrc: Tell desktoppy things that I run XFCE.

This isn't entirely true, but it persuades (for example) `xdg-open' to
do things less stupidly.

5 years agodot/xinitrc: Use modern command-substitution syntax.
Mark Wooding [Sat, 23 Feb 2019 21:02:51 +0000 (21:02 +0000)]
dot/xinitrc: Use modern command-substitution syntax.

The old backtick syntax was kind of bletcherous, and it doesn't nest
well.

5 years agoel/dot-emacs.el (mdw-fontify-rust): Add new keywords from 2018 edition.
Mark Wooding [Sat, 16 Feb 2019 12:28:16 +0000 (12:28 +0000)]
el/dot-emacs.el (mdw-fontify-rust): Add new keywords from 2018 edition.

5 years agodot/ercrc.el: Substitute problematic characters.
Mark Wooding [Thu, 14 Feb 2019 13:18:21 +0000 (13:18 +0000)]
dot/ercrc.el: Substitute problematic characters.

The problem is mostly emoji, arriving in Twitter announcements from
Servus: I think that mosh and putty (and maybe Emacs) have different
ideas about character width, and the terminal display ends up being a
total mess.

5 years agodot/profile: Move Cargo debris into the XDG cache directory.
Mark Wooding [Thu, 14 Feb 2019 13:10:05 +0000 (13:10 +0000)]
dot/profile: Move Cargo debris into the XDG cache directory.

5 years agoel/dot-emacs.el (mdw-fontify-rust): Fix integer literal syntax.
Mark Wooding [Thu, 14 Feb 2019 13:09:05 +0000 (13:09 +0000)]
el/dot-emacs.el (mdw-fontify-rust): Fix integer literal syntax.

You're not allowed to write `is' or `us' as suffixes.

5 years agoel/dot-emacs.el (mdw-fontify-rust): Spell the `crate' keyword correctly.
Mark Wooding [Thu, 14 Feb 2019 13:08:48 +0000 (13:08 +0000)]
el/dot-emacs.el (mdw-fontify-rust): Spell the `crate' keyword correctly.

5 years agoel/dot-emacs.el (mdw-fontify-rust): Highlight `%' properly.
Mark Wooding [Thu, 14 Feb 2019 13:08:26 +0000 (13:08 +0000)]
el/dot-emacs.el (mdw-fontify-rust): Highlight `%' properly.

5 years agoel/dot-emacs.el (mdw-fontify-rexx): Highlight `¬' properly.
Mark Wooding [Thu, 14 Feb 2019 13:06:54 +0000 (13:06 +0000)]
el/dot-emacs.el (mdw-fontify-rexx): Highlight `¬' properly.

5 years agodot/bashrc, dot/zshrc: Do highlighting when `TERM' is `putty...'.
Mark Wooding [Thu, 24 Jan 2019 15:14:45 +0000 (15:14 +0000)]
dot/bashrc, dot/zshrc: Do highlighting when `TERM' is `putty...'.

This is the `proper' terminal-type family for `pterm', even though it
has some unfortunate behaviour which means that I still prefer
`xterm...' in general.

5 years agodot/emacs, dot/profile, el/dot-emacs.el: Back to Firefox/Iceweasel.
Mark Wooding [Wed, 23 Jan 2019 17:29:37 +0000 (17:29 +0000)]
dot/emacs, dot/profile, el/dot-emacs.el: Back to Firefox/Iceweasel.

This reverts commit 90ac1ffc018d15315a2e95deb822f3ca168a9fee,
"dot/emacs, dot/profile, el/dot-emacs.el: Moving back to Chromium."

Maybe I'll make up my mind some day.

5 years agoel/dot-emacs.el: Configure the default CSS indentation.
Mark Wooding [Wed, 23 Jan 2019 17:26:02 +0000 (17:26 +0000)]
el/dot-emacs.el: Configure the default CSS indentation.

Why have I only just noticed that this was silly?

5 years agocss/*: Add some HTML style hacks I use in a few places.
Mark Wooding [Wed, 23 Jan 2019 17:25:07 +0000 (17:25 +0000)]
css/*: Add some HTML style hacks I use in a few places.

These need to be stuffed into a browser extension such as Stylus to be
useful.

5 years agobin/mdw-sbuild: Ignore version-control cruft when making source package.
Mark Wooding [Mon, 24 Dec 2018 11:34:16 +0000 (11:34 +0000)]
bin/mdw-sbuild: Ignore version-control cruft when making source package.

5 years agoMakefile: Abbreviate `$(HOME)/...' things as `~/...' in silent-rules.
Mark Wooding [Sun, 9 Dec 2018 14:49:55 +0000 (14:49 +0000)]
Makefile: Abbreviate `$(HOME)/...' things as `~/...' in silent-rules.

5 years agodot/lesskey, dot/profile: Move constant `less' settings into `.lesskey'.
Mark Wooding [Sun, 9 Dec 2018 12:47:14 +0000 (12:47 +0000)]
dot/lesskey, dot/profile: Move constant `less' settings into `.lesskey'.

The `LESSCHARSET' and `LESSGLOBALTAGS' settings depend on runtime
probes, so I can't move those.

5 years agodot/lesskey: Add binding for backspace to scroll back a screen.
Mark Wooding [Sun, 9 Dec 2018 12:46:27 +0000 (12:46 +0000)]
dot/lesskey: Add binding for backspace to scroll back a screen.

I keep doing this, because of Info and Emacs `view-mode', and `less'
keeps dinging at me.  It stops now.

5 years agoMakefile: Build `~/.less' properly from our `dot/lesskey' file.
Mark Wooding [Sun, 9 Dec 2018 12:45:34 +0000 (12:45 +0000)]
Makefile: Build `~/.less' properly from our `dot/lesskey' file.

The documentation is clear about having to do this annoying thing, so
I'm not sure why I didn't do it.

Delete the old `~/.lesskey' file if we find it, because it doesn't do
any good there.

5 years agoel/dot-emacs.el: Don't raise frames on mode-line or header-line presses.
Mark Wooding [Sat, 8 Dec 2018 23:27:16 +0000 (23:27 +0000)]
el/dot-emacs.el: Don't raise frames on mode-line or header-line presses.

5 years agodot/emacs: Don't use dialogue boxes.
Mark Wooding [Sat, 8 Dec 2018 23:26:29 +0000 (23:26 +0000)]
dot/emacs: Don't use dialogue boxes.

Particularly with Magit asynchronous operations, they cause annoying
popups which are hard to dismiss from the keyboard.

5 years agodot/zshrc: Add in Bash-style completion-type override bindings.
Mark Wooding [Sat, 8 Dec 2018 12:51:10 +0000 (12:51 +0000)]
dot/zshrc: Add in Bash-style completion-type override bindings.

This dislodges the (otherwise useless anyway) previous binding of M-/ to
`_history-complete-older', which I've nudged to M-, (which was
previously the even less useful `_history-complete-newer').  As far as I
can tell, none of the other keys did anything at all previously.

5 years agoMakefile: Zap Zsh's secret `~/.zcompdump' file if `.zshrc' is newer.
Mark Wooding [Sat, 8 Dec 2018 13:09:17 +0000 (13:09 +0000)]
Makefile: Zap Zsh's secret `~/.zcompdump' file if `.zshrc' is newer.

Otherwise it can resurrect dead keybindings and other confusing
badness.  It does make a significant difference to Zsh startup speed,
but Zsh will recreate it automatically so it's all good.

5 years agoMakefile: Factor the printing out from `v_tag'.
Mark Wooding [Sat, 8 Dec 2018 13:05:37 +0000 (13:05 +0000)]
Makefile: Factor the printing out from `v_tag'.

5 years agoMakefile (v_tag): No, there's no second argument.
Mark Wooding [Sat, 8 Dec 2018 13:03:38 +0000 (13:03 +0000)]
Makefile (v_tag): No, there's no second argument.

I think this must have an aspiration which never worked out.  Bury it
properly.

5 years agoel/dot-emacs.el (mdw-fontify-pythonic): Recognize `0o...' and `0b...'.
Mark Wooding [Sun, 25 Nov 2018 13:53:03 +0000 (13:53 +0000)]
el/dot-emacs.el (mdw-fontify-pythonic): Recognize `0o...' and `0b...'.

I must have missed these being introduced.

5 years agoel/dot-emacs.el (mdw-fontify-pythonic): Numbers can't contain `_'.
Mark Wooding [Sun, 25 Nov 2018 13:52:25 +0000 (13:52 +0000)]
el/dot-emacs.el (mdw-fontify-pythonic): Numbers can't contain `_'.

Where did I get the idea that they could from?  This isn't even Python
3.

5 years agodot/shell-rc: Fix bungled prompt hack.
Mark Wooding [Thu, 22 Nov 2018 13:22:23 +0000 (13:22 +0000)]
dot/shell-rc: Fix bungled prompt hack.

5 years agodot/shell-rc: Notice `$MDW_BUILDENV' and add it to the prompt.
Mark Wooding [Thu, 22 Nov 2018 12:36:17 +0000 (12:36 +0000)]
dot/shell-rc: Notice `$MDW_BUILDENV' and add it to the prompt.

For things like cross-building environments.

5 years agodot/emacs: Add auto-mode magic for Sage.
Mark Wooding [Thu, 22 Nov 2018 12:35:46 +0000 (12:35 +0000)]
dot/emacs: Add auto-mode magic for Sage.

Why didn't I do this ages ago?

5 years agoel/dot-emacs.el: Fix `asm-mode' comment highlighting.
Mark Wooding [Tue, 16 Oct 2018 18:45:01 +0000 (19:45 +0100)]
el/dot-emacs.el: Fix `asm-mode' comment highlighting.

I think this actually works with all three comment syntaxes now.  Go me.