chiark / gitweb /
profile
6 weeks agoel/dot-emacs.el: Apply `extend' setting to all(?) the applicable fonts. master
Mark Wooding [Fri, 14 Mar 2025 16:05:26 +0000 (16:05 +0000)]
el/dot-emacs.el: Apply `extend' setting to all(?) the applicable fonts.

6 weeks agodot/profile: Set `XDG_RUNTIME_DIR' if it looks relevant.
Mark Wooding [Thu, 23 Jan 2025 14:37:21 +0000 (14:37 +0000)]
dot/profile: Set `XDG_RUNTIME_DIR' if it looks relevant.

Without this, later `emacsclient' run from an SSH session can't find
the desktop session's Emacs server.

6 weeks agobin/fix-local-words: Publish this handy script properly.
Mark Wooding [Fri, 14 Mar 2025 15:53:26 +0000 (15:53 +0000)]
bin/fix-local-words: Publish this handy script properly.

6 weeks agoel/mdw-gnus-patch.el: Update the `imap-parse-body' hack.
Mark Wooding [Fri, 14 Mar 2025 15:53:05 +0000 (15:53 +0000)]
el/mdw-gnus-patch.el: Update the `imap-parse-body' hack.

I forget now why this is important, but it is.

6 weeks agodot/jupyter-notebook.json: Turn off line numbers.
Mark Wooding [Fri, 14 Mar 2025 15:52:28 +0000 (15:52 +0000)]
dot/jupyter-notebook.json: Turn off line numbers.

I don't remember where this came from but it looks harmless enough.

6 weeks agoMakefile: Don't assume `mdw-conf' installed when setting up `gpg.conf'.
Mark Wooding [Mon, 30 Sep 2024 15:33:58 +0000 (16:33 +0100)]
Makefile: Don't assume `mdw-conf' installed when setting up `gpg.conf'.

3 months agodot/profile: Respect explicit scheme in proxy variables.
Mark Wooding [Wed, 15 Jan 2025 13:58:18 +0000 (13:58 +0000)]
dot/profile: Respect explicit scheme in proxy variables.

3 months agodot/profile: Export correct variable for explicit HTTPS proxy.
Mark Wooding [Wed, 15 Jan 2025 13:57:53 +0000 (13:57 +0000)]
dot/profile: Export correct variable for explicit HTTPS proxy.

Good job I've never wanted this to be separate.

3 months agoel/dot-emacs.el: Don't choke now Magit lacks `global-magit-file-mode'.
Mark Wooding [Wed, 15 Jan 2025 14:02:37 +0000 (14:02 +0000)]
el/dot-emacs.el: Don't choke now Magit lacks `global-magit-file-mode'.

3 months agoel/dot-emacs.el: Extend region highlighting to end of line.
Mark Wooding [Wed, 15 Jan 2025 13:56:02 +0000 (13:56 +0000)]
el/dot-emacs.el: Extend region highlighting to end of line.

Not doing this is a bizarre perversion of later Emacsen.  Probably more
faces need the same treatment.

3 months agodot/gitconfig.in: Use `main' as default branch in new projects.
Mark Wooding [Wed, 15 Jan 2025 13:54:33 +0000 (13:54 +0000)]
dot/gitconfig.in: Use `main' as default branch in new projects.

With sufficiently recent `git', anyway.

6 months agobin/xzoomscr: Turn off panning when unity scaling is selected.
Mark Wooding [Mon, 30 Sep 2024 15:31:31 +0000 (16:31 +0100)]
bin/xzoomscr: Turn off panning when unity scaling is selected.

Panning and multiple CRTs don't mix well.  And I finally noticed the
part of the manpage which explained how to turn panning off.  So, err,
do that.

7 months agoel/dot-emacs (mdw-fontify-ada): Clear away dangerous speculative code.
Mark Wooding [Thu, 12 Sep 2024 12:14:49 +0000 (13:14 +0100)]
el/dot-emacs (mdw-fontify-ada): Clear away dangerous speculative code.

Don't threaten to set `font-lock-syntactic-face-function' to `nil'.
Firstly, that's a terrible value to set to the variable, because it
makes fontification not work; and, secondly, the Ada mode's
syntactic-face function is fine, actually, and I want to leave it as it
is.  Fortunately, I never actually committed to this foolishness, but
when I (evidently) cloned and hacked this function from the Rust-mode
version, I couldn't bring myself to delete that part entirely even
though it evidently didn't work.

Good riddance!

7 months agoel/dot-emacs (mdw-fontify-rust): Defeat doc-comment highlighting properly.
Mark Wooding [Thu, 12 Sep 2024 12:14:49 +0000 (13:14 +0100)]
el/dot-emacs (mdw-fontify-rust): Defeat doc-comment highlighting properly.

I don't want to highlight documentation comments differently from
ordinary comments.  I noticed, back in 77ccc2aa..., that this was done
using `font-lock-syntactic-face-function, and decided to force that to
`nil'.  I was right about the cause, but so wrong about the solution.

If the variable is `nil', then you just get errors about trying to apply
`nil'.  There is a default value, which selects `string' or `comment'
based on the `parse-partial-sexp' state, but for some stupid reason this
default is just a lambda expression in the `defvar' form rather than
having a name like `font-lock-default-syntactic-face-function' or
something.

Override the Rust-mode choice with the default (which isn't doing
anything other than the doc-comment highlighting behaviour that I don't
want) with the default.

7 months agobin/mdw-build: Initialize `gitver' even when not checking out.
Mark Wooding [Thu, 12 Sep 2024 12:13:01 +0000 (13:13 +0100)]
bin/mdw-build: Initialize `gitver' even when not checking out.

Otherwise we still try to extend the changelog file, only `gitver' is
empty, so the `new' version isn't actually different from the previous
one and `lintian' gets sad.

This setting includes the standard `+' for a dirty tree, which is
clearly superfluous in a `checkout' build.

7 months agobin/mdw-build: Name variable `hack_dch_p' consistently.
Mark Wooding [Thu, 12 Sep 2024 12:10:10 +0000 (13:10 +0100)]
bin/mdw-build: Name variable `hack_dch_p' consistently.

It was named correctly at initialization but then the `_p' suffix went
missing.  The code worked anyway.

7 months agoel/dot-emacs.el: Don't turn on `flyspell-prog-mode' in text modes.
Mark Wooding [Tue, 10 Sep 2024 11:37:18 +0000 (12:37 +0100)]
el/dot-emacs.el: Don't turn on `flyspell-prog-mode' in text modes.

It has the result of inhibiting highlighting of misspellings outside
quoted text and comments, which is certainly not the intended effect.

7 months agobin/mdw-build: Force rebuild of Autotools outputs.
Mark Wooding [Mon, 9 Sep 2024 10:36:21 +0000 (11:36 +0100)]
bin/mdw-build: Force rebuild of Autotools outputs.

8 months agoel/dot-emacs.el: Remove `cweb' class definition.
Mark Wooding [Fri, 30 Aug 2024 22:11:28 +0000 (23:11 +0100)]
el/dot-emacs.el: Remove `cweb' class definition.

It seems that MMM already has `cweb' support, even though it's not
mentioned in the manual.

8 months agoel/dot-emacs.el: Add multiple-major-mode configuration.
Mark Wooding [Fri, 30 Aug 2024 22:09:14 +0000 (23:09 +0100)]
el/dot-emacs.el: Add multiple-major-mode configuration.

9 months agodot/gnus.el: Read active file unconditionally.
Mark Wooding [Tue, 23 Jul 2024 15:00:07 +0000 (16:00 +0100)]
dot/gnus.el: Read active file unconditionally.

9 months agoel/dot-emacs.el: Add support for Ada.
Mark Wooding [Wed, 17 Jul 2024 01:41:54 +0000 (02:41 +0100)]
el/dot-emacs.el: Add support for Ada.

9 months agoel/dot-emacs.el (mdw-fill-paragraph): Pass on arguments faithfully.
Mark Wooding [Wed, 17 Jul 2024 01:37:10 +0000 (02:37 +0100)]
el/dot-emacs.el (mdw-fill-paragraph): Pass on arguments faithfully.

The JUSTIFY option doesn't work very well when the fill prefix has
trailing whitespace, but that's a reason not to use it as a user, not
for suppressing it.  The REGION behaviour seems potentially useful, so
suppressing it was undoubtedly a mistake.  (Compatibility isn't an issue
here: both arguments have been around since at least Emacs 23.)

9 months agoMakefile: Create dummy PuTTY `Default%20Settings' file.
Mark Wooding [Sat, 13 Jul 2024 19:44:52 +0000 (20:44 +0100)]
Makefile: Create dummy PuTTY `Default%20Settings' file.

Because of an ill-advised and mostly-reverted change, PuTTY ignores
boolean settings from X resources unless this file exists, so make sure
that it does.  Because that file used to be maintained here, it might
be a dangling symlink, which is no good: notice this and create an
empty file instead.

9 months agodot/xinitrc: Set the correct size hacks for Emacs 27 (Lucid).
Mark Wooding [Sat, 13 Jul 2024 19:00:10 +0000 (20:00 +0100)]
dot/xinitrc: Set the correct size hacks for Emacs 27 (Lucid).

9 months agodot/zshenv: Don't read `~/.zprofile' in a login shell.
Mark Wooding [Fri, 12 Jul 2024 17:50:22 +0000 (18:50 +0100)]
dot/zshenv: Don't read `~/.zprofile' in a login shell.

The `~/.zshenv' file gets read /before/ `~/.zprofile', so, if this is
a login shell, the profile would be read twice.  Take evasive action.

9 months agoMerge remote-tracking branch 'staging'
Mark Wooding [Fri, 12 Jul 2024 17:26:23 +0000 (18:26 +0100)]
Merge remote-tracking branch 'staging'

* staging:
  firefox/foxy-mdwdev.json: Add configuration at work.
  dot/Xdefaults, dot/Xdefaults.pterm: Set bold font explicitly.
  dot/xinitrc: Add settings for Emacs 28 (Lucid).
  dot/xinitrc: Add settings for Emacs 25 (Lucid).
  dot/ipython-config.py: Fix bungled capability check.
  el/dot-emacs.el, dot/gnus.el: Handle character widths correctly.
  el/dot-emacs.el: Make a section for bug-fixing `defadvice' hacks.
  el/dot-emacs.el: Break out the `rename-file' hacking into its own section.
  el/dot-emacs.el: Gather up the calendar and diary hacking.
  el/dot-emacs.el: Gather up the Org-mode hacking.
  el/dot-emacs.el: Split window management hacks into their own section.

9 months agodot/gnus-local.el.distorted: Add A new Nationwide pattern.
Mark Wooding [Fri, 12 Jul 2024 17:21:21 +0000 (18:21 +0100)]
dot/gnus-local.el.distorted: Add A new Nationwide pattern.

9 months agofirefox/foxy-mdwdev.json: Add configuration at work.
Mark Wooding [Fri, 12 Jul 2024 17:15:49 +0000 (18:15 +0100)]
firefox/foxy-mdwdev.json: Add configuration at work.

9 months agodot/Xdefaults, dot/Xdefaults.pterm: Set bold font explicitly.
Mark Wooding [Fri, 12 Jul 2024 17:15:27 +0000 (18:15 +0100)]
dot/Xdefaults, dot/Xdefaults.pterm: Set bold font explicitly.

The manual says that PuTTY double-strikes by default, but the results
don't look terribly different.  Maybe `6x13b' is just double-struck
anyway.  But this seems a better thing to do.

9 months agodot/xinitrc: Add settings for Emacs 28 (Lucid).
Mark Wooding [Fri, 12 Jul 2024 17:13:25 +0000 (18:13 +0100)]
dot/xinitrc: Add settings for Emacs 28 (Lucid).

9 months agodot/xinitrc: Add settings for Emacs 25 (Lucid).
Mark Wooding [Fri, 12 Jul 2024 17:13:15 +0000 (18:13 +0100)]
dot/xinitrc: Add settings for Emacs 25 (Lucid).

9 months agodot/ipython-config.py: Fix bungled capability check.
Mark Wooding [Fri, 12 Jul 2024 16:45:56 +0000 (17:45 +0100)]
dot/ipython-config.py: Fix bungled capability check.

9 months agodot/profile: Force a terminal when setting `ls' colours.
Mark Wooding [Fri, 12 Jul 2024 16:44:40 +0000 (17:44 +0100)]
dot/profile: Force a terminal when setting `ls' colours.

I have no idea why this never bit me before.

9 months agodot/shell-rc: Be nice when running Maven too.
Mark Wooding [Thu, 11 Jul 2024 12:28:31 +0000 (13:28 +0100)]
dot/shell-rc: Be nice when running Maven too.

Not that I do that often by choice.

9 months agodot/shell-rc, el/dot-emacs.el: Lower I/O priority for build jobs.
Mark Wooding [Thu, 11 Jul 2024 12:27:57 +0000 (13:27 +0100)]
dot/shell-rc, el/dot-emacs.el: Lower I/O priority for build jobs.

9 months agodot/shell-rc: Relax the hard dependency on `rlwrap'.
Mark Wooding [Thu, 11 Jul 2024 11:23:35 +0000 (12:23 +0100)]
dot/shell-rc: Relax the hard dependency on `rlwrap'.

9 months agodot/profile (__mdw_programp): Use `command -v' rather than `type'.
Mark Wooding [Thu, 11 Jul 2024 11:22:27 +0000 (12:22 +0100)]
dot/profile (__mdw_programp): Use `command -v' rather than `type'.

POSIX specifies the exit status for the former but not the latter.

9 months agomdw.conf: Use explicit upload target path.
Mark Wooding [Thu, 11 Jul 2024 11:21:17 +0000 (12:21 +0100)]
mdw.conf: Use explicit upload target path.

Turning on rsync(1)'s `--protect-args' feature makes the `~'-expansion
not work, and the former is more valuable.

9 months agobin/mdw-sbuild-server: Update the default targets to stretch(!)
Mark Wooding [Thu, 11 Jul 2024 11:19:17 +0000 (12:19 +0100)]
bin/mdw-sbuild-server: Update the default targets to stretch(!)

9 months agodot/w3m-config: Don't display images by default.
Mark Wooding [Thu, 11 Jul 2024 11:16:49 +0000 (12:16 +0100)]
dot/w3m-config: Don't display images by default.

It doesn't seem to work properly in pterm, at any rate.  It still works
in Emacs, but that is unaffected by this tweak.

9 months agobin/mdw-build: Add an option to set output-directory qualifier explicitly.
Mark Wooding [Tue, 2 Jul 2024 13:35:32 +0000 (14:35 +0100)]
bin/mdw-build: Add an option to set output-directory qualifier explicitly.

9 months agobin/mdw-build: Delete spurious space.
Mark Wooding [Tue, 2 Jul 2024 13:34:44 +0000 (14:34 +0100)]
bin/mdw-build: Delete spurious space.

9 months agobin/mdw-build: Initialize qualifier earlier.
Mark Wooding [Tue, 2 Jul 2024 13:31:19 +0000 (14:31 +0100)]
bin/mdw-build: Initialize qualifier earlier.

9 months agobin/mdw-build: Give `sep' a name suitable for a wider scope.
Mark Wooding [Tue, 2 Jul 2024 12:51:00 +0000 (13:51 +0100)]
bin/mdw-build: Give `sep' a name suitable for a wider scope.

9 months agofirefox/foxy-spirit.json: Current-ish FoxyProxy configuration.
Mark Wooding [Tue, 2 Jul 2024 12:50:37 +0000 (13:50 +0100)]
firefox/foxy-spirit.json: Current-ish FoxyProxy configuration.

9 months agodot/w3m-config: Configure external browsers sensibly.
Mark Wooding [Tue, 2 Jul 2024 12:50:19 +0000 (13:50 +0100)]
dot/w3m-config: Configure external browsers sensibly.

9 months agoel/dot-emacs.el: Use more sensible fonts for SLIME REPL output.
Mark Wooding [Tue, 2 Jul 2024 12:33:09 +0000 (13:33 +0100)]
el/dot-emacs.el: Use more sensible fonts for SLIME REPL output.

9 months agoel/dot-emacs.el: Freshen the W3M search engine list.
Mark Wooding [Tue, 2 Jul 2024 12:32:39 +0000 (13:32 +0100)]
el/dot-emacs.el: Freshen the W3M search engine list.

And use DuckDuckGo by default.

9 months agofirefox/chrome-userContent.css: Force specific fonts.
Mark Wooding [Tue, 2 Jul 2024 12:31:25 +0000 (13:31 +0100)]
firefox/chrome-userContent.css: Force specific fonts.

For some reason, Firefox doesn't respect the generic names in Reader
mode.

10 months agoel/dot-emacs.el, dot/gnus.el: Handle character widths correctly.
Mark Wooding [Sun, 23 Jun 2024 00:04:22 +0000 (01:04 +0100)]
el/dot-emacs.el, dot/gnus.el: Handle character widths correctly.

10 months agoel/dot-emacs.el: Make a section for bug-fixing `defadvice' hacks.
Mark Wooding [Sat, 22 Jun 2024 10:50:36 +0000 (11:50 +0100)]
el/dot-emacs.el: Make a section for bug-fixing `defadvice' hacks.

10 months agoel/dot-emacs.el: Break out the `rename-file' hacking into its own section.
Mark Wooding [Sat, 22 Jun 2024 10:52:12 +0000 (11:52 +0100)]
el/dot-emacs.el: Break out the `rename-file' hacking into its own section.

10 months agoel/dot-emacs.el: Gather up the calendar and diary hacking.
Mark Wooding [Sat, 22 Jun 2024 10:48:14 +0000 (11:48 +0100)]
el/dot-emacs.el: Gather up the calendar and diary hacking.

10 months agoel/dot-emacs.el: Gather up the Org-mode hacking.
Mark Wooding [Sat, 22 Jun 2024 10:47:04 +0000 (11:47 +0100)]
el/dot-emacs.el: Gather up the Org-mode hacking.

10 months agoel/dot-emacs.el: Split window management hacks into their own section.
Mark Wooding [Sat, 22 Jun 2024 10:42:30 +0000 (11:42 +0100)]
el/dot-emacs.el: Split window management hacks into their own section.

10 months agodot/gnus.el, dot/gnus-local.el.distorted: Gnus Cloud silliness.
Mark Wooding [Tue, 18 Jun 2024 13:17:36 +0000 (14:17 +0100)]
dot/gnus.el, dot/gnus-local.el.distorted: Gnus Cloud silliness.

10 months agoel/dot-emacs.el: Fix C comment indentation.
Mark Wooding [Tue, 18 Jun 2024 13:16:27 +0000 (14:16 +0100)]
el/dot-emacs.el: Fix C comment indentation.

10 months agoel/dot-emacs.el: Highlight Magit arguments less stupidly.
Mark Wooding [Tue, 18 Jun 2024 13:15:10 +0000 (14:15 +0100)]
el/dot-emacs.el: Highlight Magit arguments less stupidly.

10 months agodot/emacs: Add key bindings for clipboard operations.
Mark Wooding [Tue, 18 Jun 2024 13:09:10 +0000 (14:09 +0100)]
dot/emacs: Add key bindings for clipboard operations.

10 months agodot/Xdefaults.pterm: Fiddle with `pterm' colours.
Mark Wooding [Tue, 18 Jun 2024 13:08:31 +0000 (14:08 +0100)]
dot/Xdefaults.pterm: Fiddle with `pterm' colours.

10 months agodot/gnus-local.el.distorted
Mark Wooding [Mon, 20 May 2024 17:57:08 +0000 (18:57 +0100)]
dot/gnus-local.el.distorted

Include Mailman bounce notifications in `admin.mail'.

10 months agodot/lisp-init.lisp: Don't set SBCL source directory if there's no source there.
Mark Wooding [Mon, 17 Jun 2024 17:27:40 +0000 (18:27 +0100)]
dot/lisp-init.lisp: Don't set SBCL source directory if there's no source there.

11 months agodot/gpg.conf.m4, dot/gpg-agent.conf, Makefile: Adopt GnuPG configuration.
Mark Wooding [Fri, 17 May 2024 16:09:05 +0000 (17:09 +0100)]
dot/gpg.conf.m4, dot/gpg-agent.conf, Makefile: Adopt GnuPG configuration.

11 months agodot/emacs, el/dot-emacs.el: Update browser configuration.
Mark Wooding [Tue, 14 May 2024 12:24:45 +0000 (13:24 +0100)]
dot/emacs, el/dot-emacs.el: Update browser configuration.

It seems that `browse-url-mozilla' doesn't work any more, but there's
a `browse-url-firefox' which does, so use that in preference.

11 months agoel/dot-emacs.el: More ERC face fiddling.
Mark Wooding [Tue, 14 May 2024 02:21:10 +0000 (03:21 +0100)]
el/dot-emacs.el: More ERC face fiddling.

11 months agoel/dot-emacs.el: Fiddle with ERC faces.
Mark Wooding [Tue, 14 May 2024 02:03:41 +0000 (03:03 +0100)]
el/dot-emacs.el: Fiddle with ERC faces.

11 months agodot/ercrc.el: Add another wide character.
Mark Wooding [Tue, 14 May 2024 02:03:11 +0000 (03:03 +0100)]
dot/ercrc.el: Add another wide character.

11 months agodot/shell-rc: Force the policy on `ls', like it is in `diff' and `grep'.
Mark Wooding [Sun, 12 May 2024 23:39:13 +0000 (00:39 +0100)]
dot/shell-rc: Force the policy on `ls', like it is in `diff' and `grep'.

11 months agodot/shell-rc: Unify the policy on colouring.
Mark Wooding [Sun, 12 May 2024 23:38:23 +0000 (00:38 +0100)]
dot/shell-rc: Unify the policy on colouring.

Also, inhibit colouring in Emacs shells.

11 months agodot/profile, dot/shell-rc: Move colour settings into profile.
Mark Wooding [Sun, 12 May 2024 23:36:50 +0000 (00:36 +0100)]
dot/profile, dot/shell-rc: Move colour settings into profile.

Now the actual colour definitions are set in the profile, and the
decision to apply them is in the shell `rc' file.

11 months agodot/gnus-local.el.distorted: Fix up splits for new and changed mail sources.
Mark Wooding [Sun, 12 May 2024 19:41:11 +0000 (20:41 +0100)]
dot/gnus-local.el.distorted: Fix up splits for new and changed mail sources.

11 months agodot/gnus-local.el.distorted: Sort the various `crap.*' splits.
Mark Wooding [Sun, 12 May 2024 19:40:23 +0000 (20:40 +0100)]
dot/gnus-local.el.distorted: Sort the various `crap.*' splits.

11 months agoel/mdw-multiple-cursors.el: Use the `cl-' names for CL-ish functions.
Mark Wooding [Sun, 12 May 2024 19:33:37 +0000 (20:33 +0100)]
el/mdw-multiple-cursors.el: Use the `cl-' names for CL-ish functions.

11 months agodot/parallel-hosts: Add new VPS `eggle'.
Mark Wooding [Sun, 12 May 2024 10:34:30 +0000 (11:34 +0100)]
dot/parallel-hosts: Add new VPS `eggle'.

11 months agodot/parallel-hosts: Reorganize the lists now `fender' is home.
Mark Wooding [Sun, 12 May 2024 10:31:46 +0000 (11:31 +0100)]
dot/parallel-hosts: Reorganize the lists now `fender' is home.

Delete the temporary `n...' entries added during the transition period.

11 months agoel/dot-emacs.el (mdw-fontify-perl): Use the standard autofill function.
Mark Wooding [Thu, 9 May 2024 22:22:41 +0000 (23:22 +0100)]
el/dot-emacs.el (mdw-fontify-perl): Use the standard autofill function.

Cperl mode has its own crazy autofill which messes up earlier lines and
doesn't get the dynamic fill prefix right.  So beat it up and use the
standard function.

11 months agoel/dot-emacs.el (mdw-display-buffer-in-tolerable-window): Maybe reuse current.
Mark Wooding [Thu, 9 May 2024 22:20:44 +0000 (23:20 +0100)]
el/dot-emacs.el (mdw-display-buffer-in-tolerable-window): Maybe reuse current.

If the selected window is also the fallback window for the frame then
it's OK to use it.  That's what it's for.  So if there's a fallback
window then clear `selected' so that the later check doesn't complain.

12 months agobin/disorder-play-on-demand: Script to set up on-demand playing.
Mark Wooding [Mon, 29 Apr 2024 11:16:33 +0000 (12:16 +0100)]
bin/disorder-play-on-demand: Script to set up on-demand playing.

12 months agodot/emacs, el/dot-emacs.el: Another `display-window' hack: fallback.
Mark Wooding [Mon, 29 Apr 2024 10:03:33 +0000 (11:03 +0100)]
dot/emacs, el/dot-emacs.el: Another `display-window' hack: fallback.

Allow a window in each frame to be declared as the `victim' for random
pop-up buffers, overriding the usual policy.

12 months agoel/dot-emacs.el (mdw-designate-window): Say if no designation cleared.
Mark Wooding [Mon, 29 Apr 2024 10:00:38 +0000 (11:00 +0100)]
el/dot-emacs.el (mdw-designate-window): Say if no designation cleared.

Print a different message if we were asked to clear the designation, but
in fact no window was designated anyway.

12 months agoel/dot-emacs.el: Collapse to adjacent and related `setq' forms.
Mark Wooding [Mon, 29 Apr 2024 09:58:01 +0000 (10:58 +0100)]
el/dot-emacs.el: Collapse to adjacent and related `setq' forms.

12 months agoel/dot-emacs.el: Help `gud-find-expr' to not crash if prompts are read-only.
Mark Wooding [Mon, 29 Apr 2024 10:00:03 +0000 (11:00 +0100)]
el/dot-emacs.el: Help `gud-find-expr' to not crash if prompts are read-only.

Silly rabbit.

12 months agodot/emacs: Moderate horizontal scrolling; auto-scroll only one line.
Mark Wooding [Mon, 29 Apr 2024 09:58:34 +0000 (10:58 +0100)]
dot/emacs: Moderate horizontal scrolling; auto-scroll only one line.

I think the one-line auto-scroll is an improvement but I'm not
completely sure yet.

12 months agodot/emacs: Look for running server before leaping at starting a new one.
Mark Wooding [Mon, 29 Apr 2024 09:53:10 +0000 (10:53 +0100)]
dot/emacs: Look for running server before leaping at starting a new one.

I used to use `warning-suppress-types' to muffle this, but it doesn't
work any more because there's a new mechanism for `delayed warnings'.
If we're still starting up (and not being a daemon or noninteractive)
then warnings get put on a list to deal with later -- but the
suppression lists aren't saved, so the warning `escapes' from under my
attempt to muffle it.

Instead, look to see if there's a server already running, and just print
a message if there is.

12 months agoRevert "dot/inputrc: Show completions on the first `tab' keypress."
Mark Wooding [Sat, 16 Mar 2024 15:20:47 +0000 (15:20 +0000)]
Revert "dot/inputrc: Show completions on the first `tab' keypress."

This reverts commit 675455c2159ddadcc96a04b470d9516d54bd7fe7.

Turns out that I hate it after all.

12 months agoel/dot-emacs.el: Do basic whitespace highlighting in `nroff-mode'.
Mark Wooding [Sat, 16 Mar 2024 15:20:03 +0000 (15:20 +0000)]
el/dot-emacs.el: Do basic whitespace highlighting in `nroff-mode'.

12 months agodot/emacs, el/dot-emacs.el: Switch to using the `cl-lib' package.
Mark Wooding [Mon, 29 Apr 2024 09:00:47 +0000 (10:00 +0100)]
dot/emacs, el/dot-emacs.el: Switch to using the `cl-lib' package.

I can't say I'm thrilled about having to remember which functions I have
to stick `cl-...' on the front of now, but it will shut up some
deprecation warnings.

There are probably lurking runtime problems where I've failed to notice
that a function (or, worse, a macro) needs to be renamed.

13 months agodot/emacs: Inhibit server from raising windows.
Mark Wooding [Sun, 10 Mar 2024 17:47:18 +0000 (17:47 +0000)]
dot/emacs: Inhibit server from raising windows.

Annoying because Magit (ab)uses the server machinery.  At least there's
an actual option for this.

13 months agoel/dot-emacs.el: Treat the Python soft keywords more carefully.
Mark Wooding [Sun, 10 Mar 2024 17:46:19 +0000 (17:46 +0000)]
el/dot-emacs.el: Treat the Python soft keywords more carefully.

In particular, `match' gets used heavily as a method name when working
with regices, so bolding it everywhere is quite bad.

13 months agoel/dot-emacs.el: Hack in a null `entity' as a emphasis boundary.
Mark Wooding [Sun, 10 Mar 2024 17:44:40 +0000 (17:44 +0000)]
el/dot-emacs.el: Hack in a null `entity' as a emphasis boundary.

13 months agoel/dot-emacs.el: Delete stray blank line.
Mark Wooding [Sun, 10 Mar 2024 17:20:54 +0000 (17:20 +0000)]
el/dot-emacs.el: Delete stray blank line.

13 months agodot/parallel-hosts: Add temporary names for fender hosts at home.
Mark Wooding [Sun, 10 Mar 2024 17:20:27 +0000 (17:20 +0000)]
dot/parallel-hosts: Add temporary names for fender hosts at home.

13 months agodot/parallel-hosts: Use VPN name for `mdwdev'.
Mark Wooding [Sun, 10 Mar 2024 17:20:12 +0000 (17:20 +0000)]
dot/parallel-hosts: Use VPN name for `mdwdev'.

13 months agodot/parallel-hosts: Disable hosts which I know don't work at the moment.
Mark Wooding [Sun, 10 Mar 2024 17:19:48 +0000 (17:19 +0000)]
dot/parallel-hosts: Disable hosts which I know don't work at the moment.

14 months agodot/screenrc: Add a binding for the `kill' command.
Mark Wooding [Wed, 28 Feb 2024 15:12:39 +0000 (15:12 +0000)]
dot/screenrc: Add a binding for the `kill' command.

This is quite important for serial-terminal windows.

14 months agodot/emacs (compilation-scroll-output): Yes, I prefer `first-error'.
Mark Wooding [Wed, 21 Feb 2024 17:03:03 +0000 (17:03 +0000)]
dot/emacs (compilation-scroll-output): Yes, I prefer `first-error'.

14 months agoel/dot-emacs.el: Add the additional Python 3 keywords and builtins.
Mark Wooding [Sat, 17 Feb 2024 13:15:59 +0000 (13:15 +0000)]
el/dot-emacs.el: Add the additional Python 3 keywords and builtins.

14 months agoel/dot-emacs.el: Highlight Python builtins.
Mark Wooding [Sat, 17 Feb 2024 14:38:31 +0000 (14:38 +0000)]
el/dot-emacs.el: Highlight Python builtins.

Also special method names.

14 months agoel/dot-emacs.el (mdw-regexp): Sort the input list.
Mark Wooding [Sat, 17 Feb 2024 14:34:24 +0000 (14:34 +0000)]
el/dot-emacs.el (mdw-regexp): Sort the input list.

It's compile time.  Nobody cares about the extra time, and it's a weight
off of my mind as a caller.