chiark / gitweb /
profile
23 months agoel/dot-emacs.el: Open non-Magit buffers in new windows.
Mark Wooding [Mon, 2 May 2022 22:18:00 +0000 (23:18 +0100)]
el/dot-emacs.el: Open non-Magit buffers in new windows.

Emacs doesn't have a function for asking whether a named major mode
is derived from a given mode, so I've had to write one.

23 months agoel/dot-emacs.el (mdw-switch-window-configuration): Print a message afterwards.
Mark Wooding [Mon, 2 May 2022 13:42:51 +0000 (14:42 +0100)]
el/dot-emacs.el (mdw-switch-window-configuration): Print a message afterwards.

23 months agodot/gitconfig.in: Push the current branch only by default.
Mark Wooding [Mon, 2 May 2022 12:36:24 +0000 (13:36 +0100)]
dot/gitconfig.in: Push the current branch only by default.

I think this was an experiment, and it failed.

23 months agoel/dot-emacs.el: Override Magit buffer display logic.
Mark Wooding [Mon, 2 May 2022 11:55:47 +0000 (12:55 +0100)]
el/dot-emacs.el: Override Magit buffer display logic.

It's actually nearly right, except that it wants to cover existing Magit
windows with commit log and that's a mistake.

Implement a new version of `magit-display-buffer-traditional' which (a)
uses a list of modes in a variable rather than hardcoding it, and (b)
honours a designated window if there is one.

23 months agodot/emacs, el/dot-emacs.el: New gadget to force window selection.
Mark Wooding [Mon, 2 May 2022 11:52:20 +0000 (12:52 +0100)]
dot/emacs, el/dot-emacs.el: New gadget to force window selection.

I'm fed up with Emacs `display-buffer', which seems carefully designed
to read my mind and choose the least convenient possible window display
a buffer in.

Introduce a new command `mdw-designate-window', bound to `C-c w SPC',
which marks a window as being the target for the next buffer shown by
`display-buffer' when its caller doesn't have a better plan.  This
leaves alone things like Magit popups, which already know that they want
to go at the bottom of the current window (and that's fine).

23 months agodot/emacs, el/dot-emacs.el: Add new command for switching window configs.
Mark Wooding [Sun, 1 May 2022 12:37:54 +0000 (13:37 +0100)]
dot/emacs, el/dot-emacs.el: Add new command for switching window configs.

Not sure if I'll like this new approach to working, but it seems OK so
far.

23 months agodot/mdw-build.conf: Don't force the setup rune.
Mark Wooding [Sat, 30 Apr 2022 23:52:06 +0000 (00:52 +0100)]
dot/mdw-build.conf: Don't force the setup rune.

2 years agobin/nocss: Add an option to inhibit the `libdvdcss.so.2' hack.
Mark Wooding [Fri, 8 Apr 2022 14:25:04 +0000 (15:25 +0100)]
bin/nocss: Add an option to inhibit the `libdvdcss.so.2' hack.

This breaks reading DVD images over HTTP for some reason I don't
currently understand.

2 years agodot/emacs: Bind a key to `magit-toggle-buffer-lock'.
Mark Wooding [Fri, 8 Apr 2022 14:24:43 +0000 (15:24 +0100)]
dot/emacs: Bind a key to `magit-toggle-buffer-lock'.

2 years agodot/xinitrc: Run `unclutter'.
Mark Wooding [Wed, 6 Apr 2022 15:42:18 +0000 (16:42 +0100)]
dot/xinitrc: Run `unclutter'.

2 years agoel/dot-emacs.el: Fix configuration for SQL mode.
Mark Wooding [Fri, 25 Mar 2022 20:22:17 +0000 (20:22 +0000)]
el/dot-emacs.el: Fix configuration for SQL mode.

2 years agobin/nocss: Handy script to inhibit CSS decryption by `libdvdread'.
Mark Wooding [Fri, 25 Mar 2022 11:24:46 +0000 (11:24 +0000)]
bin/nocss: Handy script to inhibit CSS decryption by `libdvdread'.

My DVD archive is already decrypted, so CSS is unnecessary; but
`libdvdread' still takes some time -- sometimes a long time -- trying to
`crack' the nonexistent keys, and, on rare occasions, this can actually
result in a failure to read the plain content of the DVD image.

2 years agoMakefile: Use single-colon rules for `all'.
Mark Wooding [Fri, 25 Mar 2022 11:12:19 +0000 (11:12 +0000)]
Makefile: Use single-colon rules for `all'.

Alas, double-colon rules inhibit parallelism in an annoying way.

2 years agodot/screenrc: Erase to current background colour by default.
Mark Wooding [Sun, 27 Feb 2022 13:32:20 +0000 (13:32 +0000)]
dot/screenrc: Erase to current background colour by default.

Some programs expect this and produce rubbish otherwise.

2 years agodot/emacs: Define conversion factor in advance.
Mark Wooding [Thu, 17 Feb 2022 19:37:07 +0000 (19:37 +0000)]
dot/emacs: Define conversion factor in advance.

Rather than open-coding.

2 years agodot/e16-bindings, dot/xinitrc: Fix shell quoting for `pavucontrol'.
Mark Wooding [Thu, 17 Feb 2022 19:36:27 +0000 (19:36 +0000)]
dot/e16-bindings, dot/xinitrc: Fix shell quoting for `pavucontrol'.

This is a hopeless mess.  Hack around it by invoking a shell explicitly
to do the redirection.  Get `xinitrc' to help by using `eval' to
handle quotes correctly when splitting into words.

2 years agodot/e16-bindings: Add bindings for the display settings.
Mark Wooding [Mon, 14 Feb 2022 13:22:40 +0000 (13:22 +0000)]
dot/e16-bindings: Add bindings for the display settings.

This is rather valuable for laptops.  Though less so than I'd originally
hoped, since I ended up having to mess with `xrandr' directly rather
than clicking the GUI.  Oh, well.

2 years agodot/screenrc: Customize a whole lot of keybindings.
Mark Wooding [Mon, 14 Feb 2022 12:12:54 +0000 (12:12 +0000)]
dot/screenrc: Customize a whole lot of keybindings.

2 years agodot/shell-rc, etc.: Introduce an easily user-definable prompt section.
Mark Wooding [Sat, 12 Feb 2022 15:24:40 +0000 (15:24 +0000)]
dot/shell-rc, etc.: Introduce an easily user-definable prompt section.

2 years agodot/shell-rc: Rearrange variable initialization to make space for later.
Mark Wooding [Sat, 12 Feb 2022 15:19:51 +0000 (15:19 +0000)]
dot/shell-rc: Rearrange variable initialization to make space for later.

2 years agodot/Xdefaults: Further darken the default auxiliary Emacs frame colour.
Mark Wooding [Tue, 8 Feb 2022 12:07:44 +0000 (12:07 +0000)]
dot/Xdefaults: Further darken the default auxiliary Emacs frame colour.

2 years agodot/e16-bindings: Muffle the drivelous spew from `pavucontrol'.
Mark Wooding [Tue, 8 Feb 2022 11:53:25 +0000 (11:53 +0000)]
dot/e16-bindings: Muffle the drivelous spew from `pavucontrol'.

2 years agoel/dot-emacs.el: Don't do elaborate reformatting when indenting Perl.
Mark Wooding [Tue, 8 Feb 2022 03:56:30 +0000 (03:56 +0000)]
el/dot-emacs.el: Don't do elaborate reformatting when indenting Perl.

2 years agobin/x2x-privsep: Add (souped-up) version of this handy script.
Mark Wooding [Tue, 8 Feb 2022 03:51:55 +0000 (03:51 +0000)]
bin/x2x-privsep: Add (souped-up) version of this handy script.

2 years agodot/screenrc: Increase the scrollback size.
Mark Wooding [Thu, 27 Jan 2022 23:30:21 +0000 (23:30 +0000)]
dot/screenrc: Increase the scrollback size.

2 years agoel/dot-emacs.el: Indent CSS by a whole tab.
Mark Wooding [Thu, 27 Jan 2022 23:30:04 +0000 (23:30 +0000)]
el/dot-emacs.el: Indent CSS by a whole tab.

2 years agoel/dot-emacs.el: Tweak formatting trivially.
Mark Wooding [Thu, 27 Jan 2022 23:29:35 +0000 (23:29 +0000)]
el/dot-emacs.el: Tweak formatting trivially.

2 years agoel/dot-emacs.el: Autoload SLIME while compiling.
Mark Wooding [Thu, 27 Jan 2022 23:27:15 +0000 (23:27 +0000)]
el/dot-emacs.el: Autoload SLIME while compiling.

2 years agodot/emacs: Display variable names more sensibly in `custom' buffers.
Mark Wooding [Thu, 27 Jan 2022 23:25:34 +0000 (23:25 +0000)]
dot/emacs: Display variable names more sensibly in `custom' buffers.

2 years agoel/dot-emacs.el: Sink the `comint' stuff to be with shell-mode hacking.
Mark Wooding [Thu, 27 Jan 2022 23:24:34 +0000 (23:24 +0000)]
el/dot-emacs.el: Sink the `comint' stuff to be with shell-mode hacking.

2 years agoel/dot-emacs.el: Hoist definition of `mdw-diary-for-org-mode-p'.
Mark Wooding [Thu, 27 Jan 2022 23:23:45 +0000 (23:23 +0000)]
el/dot-emacs.el: Hoist definition of `mdw-diary-for-org-mode-p'.

2 years agodot/profile: Turn off the QT theme.
Mark Wooding [Thu, 27 Jan 2022 23:22:02 +0000 (23:22 +0000)]
dot/profile: Turn off the QT theme.

It just causes stuff to crash nowadays. :-(

2 years agodot/emacs, el/dot-emacs.el: Define user variables with `defcustom'.
Mark Wooding [Tue, 19 Oct 2021 14:40:58 +0000 (15:40 +0100)]
dot/emacs, el/dot-emacs.el: Define user variables with `defcustom'.

The old start-the-docstring-with-a-`*' thing doesn't work any more.

2 years agoel/dot-emacs.el: Make `mdw-column-width' and `mdw-text-width' be user vars.
Mark Wooding [Tue, 19 Oct 2021 13:17:41 +0000 (14:17 +0100)]
el/dot-emacs.el: Make `mdw-column-width' and `mdw-text-width' be user vars.

I keep trying to do `set-variable' on them.

2 years agoMerge remote-tracking branches 'crybaby/master', 'gibson/master' and 'mdwdev/master'
Mark Wooding [Sun, 3 Oct 2021 14:24:02 +0000 (15:24 +0100)]
Merge remote-tracking branches 'crybaby/master', 'gibson/master' and 'mdwdev/master'

* crybaby/master:
  dot/swank.lisp: Only force `:fd-handler' on Lisps which can do it.
  dot/emacs: Add Viper cursor-colour flail.
  dot/emacs: Apply Viper settings as the defaults.
  dot/emacs, el/dot-emacs.el: Set up Viper mode.

* gibson/master:
  firefox/stylus/Scribd Reveal.css: Hack to override Scribd sign-in bollocks.
  firefox/stylus/*.css: New styles for Fandom and Vridar.
  el/dot-emacs.el: Add a switch for the `--rebase-merges' option.
  dot/emacs: Move the cursor properly.

* mdwdev/master:
  firefox/stylus/: Add styling for Trustonic's awful Confluence wiki.
  el/dot-emacs.el: Move the comment indentation weirdness to Alec-emulation.

2 years agodot/swank.lisp: Only force `:fd-handler' on Lisps which can do it.
Mark Wooding [Sun, 3 Oct 2021 14:21:55 +0000 (15:21 +0100)]
dot/swank.lisp: Only force `:fd-handler' on Lisps which can do it.

2 years agodot/emacs: Add Viper cursor-colour flail.
Mark Wooding [Sun, 3 Oct 2021 14:20:39 +0000 (15:20 +0100)]
dot/emacs: Add Viper cursor-colour flail.

What I want is for the cursor to be its usual red colour in insert mode
and green in command mode, but there doesn't seem to be an easy way to
do that.  Committing my flail in the hopes that I debug it eventually.

2 years agodot/emacs: Apply Viper settings as the defaults.
Mark Wooding [Sun, 3 Oct 2021 13:56:48 +0000 (14:56 +0100)]
dot/emacs: Apply Viper settings as the defaults.

Otherwise they'll end up being local to some buffer in a really useless
way.

2 years agodot/emacs, el/dot-emacs.el: Set up Viper mode.
Mark Wooding [Sat, 22 May 2021 01:11:47 +0000 (02:11 +0100)]
dot/emacs, el/dot-emacs.el: Set up Viper mode.

I probably won't use it very much, but it looks like an interesting
extra set of toys for editing, which can be persuaded not to be too
annoying.

2 years agofirefox/stylus/: Add styling for Trustonic's awful Confluence wiki.
Mark Wooding [Sun, 3 Oct 2021 13:55:46 +0000 (14:55 +0100)]
firefox/stylus/: Add styling for Trustonic's awful Confluence wiki.

2 years agoel/dot-emacs.el: Move the comment indentation weirdness to Alec-emulation.
Mark Wooding [Sun, 3 Oct 2021 13:53:51 +0000 (14:53 +0100)]
el/dot-emacs.el: Move the comment indentation weirdness to Alec-emulation.

This isn't a good look.

2 years agoel/dot-emacs.el: Make sexp navigation work correctly in Python mode.
Mark Wooding [Sun, 3 Oct 2021 13:50:23 +0000 (14:50 +0100)]
el/dot-emacs.el: Make sexp navigation work correctly in Python mode.

2 years agodot/zshrc: Interpret a doubled quote inside single quotes as a single quote.
Mark Wooding [Sun, 3 Oct 2021 13:49:48 +0000 (14:49 +0100)]
dot/zshrc: Interpret a doubled quote inside single quotes as a single quote.

And not a pointless suspension of single quoting.

2 years agobin/remote-slideshow: Don't linger on a single image for so long.
Mark Wooding [Sun, 3 Oct 2021 13:49:32 +0000 (14:49 +0100)]
bin/remote-slideshow: Don't linger on a single image for so long.

2 years agobin/remote-slideshow: Handle the case of no arguments correctly.
Mark Wooding [Sun, 3 Oct 2021 13:49:05 +0000 (14:49 +0100)]
bin/remote-slideshow: Handle the case of no arguments correctly.

D'oh!

2 years agoDelete the Disorder hacks.
Mark Wooding [Sun, 3 Oct 2021 13:47:30 +0000 (14:47 +0100)]
Delete the Disorder hacks.

These now live in a separate `disorder-toys' repository.

2 years agofirefox/searchplugins/startpage.xml: Search-engine definition for StartPage.
Mark Wooding [Sun, 3 Oct 2021 13:46:15 +0000 (14:46 +0100)]
firefox/searchplugins/startpage.xml: Search-engine definition for StartPage.

2 years agofirefox/stylus/Scribd Reveal.css: Hack to override Scribd sign-in bollocks.
Mark Wooding [Sun, 3 Oct 2021 14:05:26 +0000 (15:05 +0100)]
firefox/stylus/Scribd Reveal.css: Hack to override Scribd sign-in bollocks.

Not my work, I think.

2 years agofirefox/stylus/*.css: New styles for Fandom and Vridar.
Mark Wooding [Sun, 3 Oct 2021 14:05:10 +0000 (15:05 +0100)]
firefox/stylus/*.css: New styles for Fandom and Vridar.

2 years agoel/dot-emacs.el: Add a switch for the `--rebase-merges' option.
Mark Wooding [Sun, 3 Oct 2021 14:03:03 +0000 (15:03 +0100)]
el/dot-emacs.el: Add a switch for the `--rebase-merges' option.

2 years agodot/emacs: Move the cursor properly.
Mark Wooding [Sun, 3 Oct 2021 14:00:21 +0000 (15:00 +0100)]
dot/emacs: Move the cursor properly.

Vertical motion is by visual lines, because this allows more
fine-grained motion -- and not for any deep philosophical reason,
because the arguments from principle are all in favour of motion by
logical lines.

Move the cursor visually horizontally when the cursor keys are pressed,
but in buffer order when the traditional C-b/C-f keys are used.  This
makes most sense to me when I'm trying to edit mixed-direction text.  It
probably won't suit anyone else.

2 years agoMerge remote-tracking branches 'spirit', 'crybaby' and 'staging'
Mark Wooding [Thu, 20 May 2021 18:08:06 +0000 (19:08 +0100)]
Merge remote-tracking branches 'spirit', 'crybaby' and 'staging'

* spirit:
  firefox/stylus/stackoverflow.com.css: Add style for Stackmumble.
  firefox/stylus/wikimedia.org.css: Apply Mediawiki styling at the client side.
  firefox/stylus/tvtropes.com.css: Make the text be actually white.
  firefox/stylus/salsa.debian.org.css: Focus style changes more carefully.
  firefox/stylus/salsa.debian.org.css: Reformat the body style.
  bin/, Makefile: Add some scripts for doing stuff to remote machines.
  dot/emacs: Reconfigure PostScript printing of buffers.
  el/dot-emacs.el: Fix fontification in printouts.
  el/dot-emacs.el: Print buffers in a condensed version of Courier.
  el/dot-emacs.el: Don't print `flyspell' overlays.
  firefox/chrome-userContent.css: Remove (invisible) borders round monospace.
  firefox/chrome-userContent.css: Set headings in sans.
  firefox/searchplugins/: Add some search engine definitions.
  bin/mdw-build: Prepare for a world where `mdw-setup' doesn't exist any more.

* crybaby:
  el/dot-emacs.el: Fix `loop' indentation for older Emacsen.
  bin/hyperspec: Track changes to Emacs hyperspec internals.

* staging:
  firefox/stylus.slack.com.css: Kick Slack styling some more.
  el/dot-emacs.el: Rename the Trustonic C styles.

2 years agoel/dot-emacs.el: Fix `loop' indentation for older Emacsen.
Mark Wooding [Thu, 20 May 2021 18:03:53 +0000 (19:03 +0100)]
el/dot-emacs.el: Fix `loop' indentation for older Emacsen.

2 years agofirefox/stylus/stackoverflow.com.css: Add style for Stackmumble.
Mark Wooding [Thu, 20 May 2021 18:02:00 +0000 (19:02 +0100)]
firefox/stylus/stackoverflow.com.css: Add style for Stackmumble.

2 years agofirefox/stylus/wikimedia.org.css: Apply Mediawiki styling at the client side.
Mark Wooding [Thu, 20 May 2021 18:01:35 +0000 (19:01 +0100)]
firefox/stylus/wikimedia.org.css: Apply Mediawiki styling at the client side.

2 years agofirefox/stylus/tvtropes.com.css: Make the text be actually white.
Mark Wooding [Thu, 20 May 2021 18:00:21 +0000 (19:00 +0100)]
firefox/stylus/tvtropes.com.css: Make the text be actually white.

2 years agofirefox/stylus/salsa.debian.org.css: Focus style changes more carefully.
Mark Wooding [Thu, 20 May 2021 17:59:00 +0000 (18:59 +0100)]
firefox/stylus/salsa.debian.org.css: Focus style changes more carefully.

Also restore the bottom border, for some reason.

2 years agofirefox/stylus/salsa.debian.org.css: Reformat the body style.
Mark Wooding [Thu, 20 May 2021 17:58:40 +0000 (18:58 +0100)]
firefox/stylus/salsa.debian.org.css: Reformat the body style.

2 years agofirefox/stylus.slack.com.css: Kick Slack styling some more.
Mark Wooding [Thu, 20 May 2021 17:51:38 +0000 (18:51 +0100)]
firefox/stylus.slack.com.css: Kick Slack styling some more.

2 years agoel/dot-emacs.el: Rename the Trustonic C styles.
Mark Wooding [Thu, 20 May 2021 17:46:06 +0000 (18:46 +0100)]
el/dot-emacs.el: Rename the Trustonic C styles.

It seems that the bizarre indentation of argument lists was a perversion
specific to Alec.  Don't do this by default any more.  Rename the
`basic' version to be `mdw-trustonic-c', and make the strange perversion
be `mdw-trustonic-alec-c'.

2 years agobin/, Makefile: Add some scripts for doing stuff to remote machines.
Mark Wooding [Thu, 20 May 2021 17:43:16 +0000 (18:43 +0100)]
bin/, Makefile: Add some scripts for doing stuff to remote machines.

2 years agodot/emacs: Reconfigure PostScript printing of buffers.
Mark Wooding [Thu, 20 May 2021 17:41:46 +0000 (18:41 +0100)]
dot/emacs: Reconfigure PostScript printing of buffers.

2 years agoel/dot-emacs.el: Fix fontification in printouts.
Mark Wooding [Thu, 20 May 2021 17:40:59 +0000 (18:40 +0100)]
el/dot-emacs.el: Fix fontification in printouts.

2 years agoel/dot-emacs.el: Print buffers in a condensed version of Courier.
Mark Wooding [Thu, 20 May 2021 17:40:33 +0000 (18:40 +0100)]
el/dot-emacs.el: Print buffers in a condensed version of Courier.

2 years agoel/dot-emacs.el: Don't print `flyspell' overlays.
Mark Wooding [Thu, 20 May 2021 17:39:11 +0000 (18:39 +0100)]
el/dot-emacs.el: Don't print `flyspell' overlays.

2 years agofirefox/chrome-userContent.css: Remove (invisible) borders round monospace.
Mark Wooding [Thu, 20 May 2021 17:36:06 +0000 (18:36 +0100)]
firefox/chrome-userContent.css: Remove (invisible) borders round monospace.

Everything just looks weird.

2 years agofirefox/chrome-userContent.css: Set headings in sans.
Mark Wooding [Thu, 20 May 2021 17:35:53 +0000 (18:35 +0100)]
firefox/chrome-userContent.css: Set headings in sans.

2 years agofirefox/searchplugins/: Add some search engine definitions.
Mark Wooding [Thu, 20 May 2021 17:35:11 +0000 (18:35 +0100)]
firefox/searchplugins/: Add some search engine definitions.

3 years agodot/emacs: Add binding for `w3m' bookmarks.
Mark Wooding [Sun, 18 Apr 2021 16:19:57 +0000 (17:19 +0100)]
dot/emacs: Add binding for `w3m' bookmarks.

3 years agobin/hyperspec: Track changes to Emacs hyperspec internals.
Mark Wooding [Mon, 5 Apr 2021 16:54:52 +0000 (17:54 +0100)]
bin/hyperspec: Track changes to Emacs hyperspec internals.

3 years agoel/dot-emacs.el, dot/emacs: Add new function to change frame colours.
Mark Wooding [Sat, 5 Sep 2020 13:26:56 +0000 (14:26 +0100)]
el/dot-emacs.el, dot/emacs: Add new function to change frame colours.

3 years agoel/dot-emacs.el (mdw-set-frame-width): Add documentation.
Mark Wooding [Sat, 5 Sep 2020 13:02:47 +0000 (14:02 +0100)]
el/dot-emacs.el (mdw-set-frame-width): Add documentation.

3 years agobin/mdw-build: Prepare for a world where `mdw-setup' doesn't exist any more.
Mark Wooding [Thu, 27 Aug 2020 02:33:44 +0000 (03:33 +0100)]
bin/mdw-build: Prepare for a world where `mdw-setup' doesn't exist any more.

I want `cfd' to go away as a thing which is installed centrally on
systems.  So stare at a package and try to figure out how one should go
about setting it up.

3 years agoel/dot-emacs.el (compile-command): Run compilations nice(1)ly by default.
Mark Wooding [Sat, 29 Aug 2020 23:24:20 +0000 (00:24 +0100)]
el/dot-emacs.el (compile-command): Run compilations nice(1)ly by default.

3 years agoel/dot-emacs.el: Replace `directory-name-p' by a circumlocution.
Mark Wooding [Wed, 26 Aug 2020 12:02:30 +0000 (13:02 +0100)]
el/dot-emacs.el: Replace `directory-name-p' by a circumlocution.

I hadn't noticed that this function doesn't exist in Emacs 24.

3 years agodot/Xdefaults: Get xterm to remember moar scrollback.
Mark Wooding [Wed, 29 Jul 2020 17:41:14 +0000 (18:41 +0100)]
dot/Xdefaults: Get xterm to remember moar scrollback.

3 years agodot/Xdefaults: Tell xterm to use `^?' for deletion.
Mark Wooding [Wed, 29 Jul 2020 17:39:12 +0000 (18:39 +0100)]
dot/Xdefaults: Tell xterm to use `^?' for deletion.

Otherwise, Cygwin's xterm binds backspace to `^H' and there is sadness.

3 years agodot/Xdefaults: Disable xterm's toolbar on Cygwin.
Mark Wooding [Wed, 29 Jul 2020 17:36:50 +0000 (18:36 +0100)]
dot/Xdefaults: Disable xterm's toolbar on Cygwin.

For some stupid reason, there's a toolbar by default.  I think Debian
must switch this wretched thing off.

3 years agodot/Xdefaults: Find xterm's `vt100' widget on Cygwin.
Mark Wooding [Wed, 29 Jul 2020 17:35:11 +0000 (18:35 +0100)]
dot/Xdefaults: Find xterm's `vt100' widget on Cygwin.

I don't know whether this is Cygwin weirdness or upstream xterm, but the
`vt100' widget isn't toplevel here, and my resource settings are being
ignored -- including the font, which causes great sadness.  Fix this.

3 years agodot/profile: Reduce the default ulimit a smidge.
Mark Wooding [Wed, 26 Aug 2020 12:11:42 +0000 (13:11 +0100)]
dot/profile: Reduce the default ulimit a smidge.

The dash(1) shell has an awful bug on 32-bit systems.  Although the
limit is presented to the shell as a number of kilobytes, it's presented
to the setrlimit(2) syscall as a number of /bytes/.  It seems that
dash(1) performs this calculation using 32-bit integers on 32-bit
platforms, and, with the chosen default of 4194304, ends up with zero,
and nothing can start up.

Reduce the limit by a kilobyte to avoid frying dash(1)'s brain.

3 years agodot/a2psrc: Basic configuration for `a2ps', which is stupid by default.
Mark Wooding [Thu, 13 Aug 2020 14:22:42 +0000 (15:22 +0100)]
dot/a2psrc: Basic configuration for `a2ps', which is stupid by default.

3 years agoel/dot-emacs.el: Make Org mode put captions at the bottom of floats.
Mark Wooding [Tue, 11 Aug 2020 12:45:03 +0000 (13:45 +0100)]
el/dot-emacs.el: Make Org mode put captions at the bottom of floats.

3 years agoMakefile: Overwrite the resources by default, rather than merging.
Mark Wooding [Sun, 9 Aug 2020 03:34:04 +0000 (04:34 +0100)]
Makefile: Overwrite the resources by default, rather than merging.

Otherwise I can't tell what the effect of removing things is.

3 years agodot/lisp-init.lisp: Use `double-float' by default.
Mark Wooding [Sun, 9 Aug 2020 03:33:39 +0000 (04:33 +0100)]
dot/lisp-init.lisp: Use `double-float' by default.

Not sure what they were thinking.

3 years agodot/lisp-init.lisp: Spell `Swank''s name with a capital letter.
Mark Wooding [Sun, 9 Aug 2020 03:33:23 +0000 (04:33 +0100)]
dot/lisp-init.lisp: Spell `Swank''s name with a capital letter.

3 years agodot/Xdefaults: Make `xdvi' work properly with dark colours.
Mark Wooding [Sun, 9 Aug 2020 03:31:48 +0000 (04:31 +0100)]
dot/Xdefaults: Make `xdvi' work properly with dark colours.

By default it's now white on black, but you can tell it its name is
`xdvi-bow' to be black on white.

3 years agodot/Xdefaults: Delete some old generic Xt resources.
Mark Wooding [Sun, 9 Aug 2020 03:30:50 +0000 (04:30 +0100)]
dot/Xdefaults: Delete some old generic Xt resources.

I think these mainly serve to break things at the moment.

3 years agodot/Xdefaults: Make XScreenSaver look properly sensible with dark colours.
Mark Wooding [Sun, 9 Aug 2020 03:30:27 +0000 (04:30 +0100)]
dot/Xdefaults: Make XScreenSaver look properly sensible with dark colours.

3 years agodot/lisp-init.lisp: Get SBCL to ignore inconsistent package redefinition.
Mark Wooding [Fri, 24 Jul 2020 22:38:41 +0000 (23:38 +0100)]
dot/lisp-init.lisp: Get SBCL to ignore inconsistent package redefinition.

This is all very unpleasant.  Sorry.

3 years agodot/lisp-init.lisp: Make ABCL shut up about redefinition.
Mark Wooding [Fri, 24 Jul 2020 22:37:20 +0000 (23:37 +0100)]
dot/lisp-init.lisp: Make ABCL shut up about redefinition.

I've tried muffling warnings, but that doesn't seem to work because of
the bizarre way ABCL's compiler works.

3 years agodot/Xdefaults: (Partially) un-break XScreenSaver's password prompt.
Mark Wooding [Fri, 24 Jul 2020 22:35:53 +0000 (23:35 +0100)]
dot/Xdefaults: (Partially) un-break XScreenSaver's password prompt.

My darkening of Xt-based programs seems to have confused XScreenSaver
into being very ugly.  This is not a complete fix, but it's less bad
than it was.

3 years agodot/Xdefaults: Delete bogus trailing blank line.
Mark Wooding [Fri, 24 Jul 2020 22:35:18 +0000 (23:35 +0100)]
dot/Xdefaults: Delete bogus trailing blank line.

3 years agoel/dot-emacs.el: Work-in-progress support for Fortran!
Mark Wooding [Fri, 10 Jul 2020 19:45:22 +0000 (20:45 +0100)]
el/dot-emacs.el: Work-in-progress support for Fortran!

3 years agodot/emacs, el/dot-emacs.el: Reindent using the new rules.
Mark Wooding [Fri, 10 Jul 2020 19:44:32 +0000 (20:44 +0100)]
dot/emacs, el/dot-emacs.el: Reindent using the new rules.

Some occasional reflowing is necessary, but honestly much less than I
expected.

3 years agoel/dot-emacs.el: Indent `setf' and related forms properly.
Mark Wooding [Fri, 10 Jul 2020 19:42:13 +0000 (20:42 +0100)]
el/dot-emacs.el: Indent `setf' and related forms properly.

In both Emacs and Common Lisp.

3 years agoel/dot-emacs.el: Indent `funcall' properly in Emacs Lisp too.
Mark Wooding [Fri, 10 Jul 2020 19:41:17 +0000 (20:41 +0100)]
el/dot-emacs.el: Indent `funcall' properly in Emacs Lisp too.

Fortunately, not much hacking is required.

3 years agodot/lisp-init.lisp, dot/shell-rc: Support CCL and ABCL as Lisp systems.
Mark Wooding [Fri, 10 Jul 2020 19:38:02 +0000 (20:38 +0100)]
dot/lisp-init.lisp, dot/shell-rc: Support CCL and ABCL as Lisp systems.

3 years agodot/lisp-init.lisp: Add the `HOME:' logical-pathname host on ECL.
Mark Wooding [Fri, 10 Jul 2020 19:37:10 +0000 (20:37 +0100)]
dot/lisp-init.lisp: Add the `HOME:' logical-pathname host on ECL.

3 years agodot/lisp-init.lisp: Explain why the shebang support is there.
Mark Wooding [Fri, 10 Jul 2020 19:33:33 +0000 (20:33 +0100)]
dot/lisp-init.lisp: Explain why the shebang support is there.

I nearly deleted it thinking it was useless and then realized what its
actual purpose was.

3 years agodot/lisp-init.lisp: Set `CL:' logical-pathname independently of `HOME:'.
Mark Wooding [Fri, 10 Jul 2020 19:28:43 +0000 (20:28 +0100)]
dot/lisp-init.lisp: Set `CL:' logical-pathname independently of `HOME:'.

There's no good reason why these should have been dependent before.

The need for circumlocution on CLisp is just gratuitously annoying.