chiark / gitweb /
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'.
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. :-(
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.
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.
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.
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.
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.
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.
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.
Mark Wooding [Sun, 3 Oct 2021 13:55:46 +0000 (14:55 +0100)]
firefox/stylus/: Add styling for Trustonic's awful Confluence wiki.
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.
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.
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.
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.
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!
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.
Mark Wooding [Sun, 3 Oct 2021 13:46:15 +0000 (14:46 +0100)]
firefox/searchplugins/startpage.xml: Search-engine definition for StartPage.
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.
Mark Wooding [Sun, 3 Oct 2021 14:05:10 +0000 (15:05 +0100)]
firefox/stylus/*.css: New styles for Fandom and Vridar.
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.
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.
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.
Mark Wooding [Thu, 20 May 2021 18:03:53 +0000 (19:03 +0100)]
el/dot-emacs.el: Fix `loop' indentation for older Emacsen.
Mark Wooding [Thu, 20 May 2021 18:02:00 +0000 (19:02 +0100)]
firefox/stylus/stackoverflow.com.css: Add style for Stackmumble.
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.
Mark Wooding [Thu, 20 May 2021 18:00:21 +0000 (19:00 +0100)]
firefox/stylus/tvtropes.com.css: Make the text be actually white.
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.
Mark Wooding [Thu, 20 May 2021 17:58:40 +0000 (18:58 +0100)]
firefox/stylus/salsa.debian.org.css: Reformat the body style.
Mark Wooding [Thu, 20 May 2021 17:51:38 +0000 (18:51 +0100)]
firefox/stylus.slack.com.css: Kick Slack styling some more.
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'.
Mark Wooding [Thu, 20 May 2021 17:43:16 +0000 (18:43 +0100)]
bin/, Makefile: Add some scripts for doing stuff to remote machines.
Mark Wooding [Thu, 20 May 2021 17:41:46 +0000 (18:41 +0100)]
dot/emacs: Reconfigure PostScript printing of buffers.
Mark Wooding [Thu, 20 May 2021 17:40:59 +0000 (18:40 +0100)]
el/dot-emacs.el: Fix fontification in printouts.
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.
Mark Wooding [Thu, 20 May 2021 17:39:11 +0000 (18:39 +0100)]
el/dot-emacs.el: Don't print `flyspell' overlays.
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.
Mark Wooding [Thu, 20 May 2021 17:35:53 +0000 (18:35 +0100)]
firefox/chrome-userContent.css: Set headings in sans.
Mark Wooding [Thu, 20 May 2021 17:35:11 +0000 (18:35 +0100)]
firefox/searchplugins/: Add some search engine definitions.
Mark Wooding [Sun, 18 Apr 2021 16:19:57 +0000 (17:19 +0100)]
dot/emacs: Add binding for `w3m' bookmarks.
Mark Wooding [Mon, 5 Apr 2021 16:54:52 +0000 (17:54 +0100)]
bin/hyperspec: Track changes to Emacs hyperspec internals.
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.
Mark Wooding [Sat, 5 Sep 2020 13:02:47 +0000 (14:02 +0100)]
el/dot-emacs.el (mdw-set-frame-width): Add documentation.
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.
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.
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.
Mark Wooding [Wed, 29 Jul 2020 17:41:14 +0000 (18:41 +0100)]
dot/Xdefaults: Get xterm to remember moar scrollback.
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.
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.
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.
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.
Mark Wooding [Thu, 13 Aug 2020 14:22:42 +0000 (15:22 +0100)]
dot/a2psrc: Basic configuration for `a2ps', which is stupid by default.
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.
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.
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.
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.
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.
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.
Mark Wooding [Sun, 9 Aug 2020 03:30:27 +0000 (04:30 +0100)]
dot/Xdefaults: Make XScreenSaver look properly sensible with dark colours.
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.
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.
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.
Mark Wooding [Fri, 24 Jul 2020 22:35:18 +0000 (23:35 +0100)]
dot/Xdefaults: Delete bogus trailing blank line.
Mark Wooding [Fri, 10 Jul 2020 19:45:22 +0000 (20:45 +0100)]
el/dot-emacs.el: Work-in-progress support for Fortran!
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.
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.
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.
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.
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.
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.
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.
Mark Wooding [Fri, 10 Jul 2020 19:25:49 +0000 (20:25 +0100)]
dot/lisp-init.lisp: Really don't try to set `HOME:' on CMU CL.
It's already excluded by the outer `#+...' guard, but there was a little
`#+cmu' dropping inside anyway. Delete this, and extend the commentary
to explain why there's this lacuna. (In more detail, CMU CL objects if
I try to establish a logical-pathname host when there's already a search
list with the same name.)
Mark Wooding [Wed, 1 Jul 2020 18:52:49 +0000 (19:52 +0100)]
el/dot-emacs.el: Fix indentation of `loop'.
This one has been annoying me for years.
Mark Wooding [Wed, 1 Jul 2020 18:51:45 +0000 (19:51 +0100)]
el/dot-emacs.el: Indent `funcall' in a fancy way.
I generally want to see the actual arguments lined up, leaving the
function name clear. Of course, if things don't fit then we have a
single column.
Mark Wooding [Wed, 1 Jul 2020 18:49:53 +0000 (19:49 +0100)]
el/dot-emacs.el: Use plain `setq' rather than `setq-default'.
I can't see anything trying to make these buffer-local.
Mark Wooding [Wed, 1 Jul 2020 18:48:22 +0000 (19:48 +0100)]
el/dot-emacs.el: Move the indentation settings further down.
There's more of this to come.
Mark Wooding [Wed, 1 Jul 2020 18:43:33 +0000 (19:43 +0100)]
dot/swank.lisp: Actually delete the Swank contrib clobbering.
This was introduced in
b5bf344506d856bb6d35931354fbb211de847022 because
Swank's presentation-streams machinery broke compatibility of FASL files
between Swanky and plain Lisp systems. But that was over a decade ago,
and my testing hasn't shown a problem, so let's try without that for
now.
Mark Wooding [Wed, 1 Jul 2020 19:27:47 +0000 (20:27 +0100)]
dot/swank.lisp: Put the right number of `;;;' in the Emacs header.
Mark Wooding [Wed, 1 Jul 2020 18:43:07 +0000 (19:43 +0100)]
dot/swank.lisp: Add stanza headings.
Mark Wooding [Wed, 1 Jul 2020 18:42:20 +0000 (19:42 +0100)]
dot/swank.lisp: Rewrite the Swank `contribs' hacking.
Now the list items are individually per-Lisp-system, rather than it
being all or nothing.
Mark Wooding [Wed, 1 Jul 2020 18:41:37 +0000 (19:41 +0100)]
dot/swank.lisp: If my `lisp-init.lisp' has run, use its package.
This tries to keep `cl-user' free for the actual session.
Mark Wooding [Wed, 1 Jul 2020 18:41:15 +0000 (19:41 +0100)]
dot/swank.lisp: Delete the debugging cruft.
Mark Wooding [Wed, 1 Jul 2020 18:39:01 +0000 (19:39 +0100)]
dot/lisp-init.lisp, dot/shell-rc: Suppress Lisp heralds; use `rlwrap'.
Add shell aliases -- and, in one case, some awful Lisp-level hacking --
to suppress Lisp system heralds.
The hacking for ECL is unusually terrible, because it breaks
`*standard-output*' until the prompt is ready to appear, so inhibit it
if there are any command-line arguments which might, for example, want
to print something.
Mark Wooding [Wed, 1 Jul 2020 18:38:17 +0000 (19:38 +0100)]
dot/lisp-init.lisp: Get CLisp to save and restore its REPL history.
This is much more painful than it ought to be, but it seems to work.
Mark Wooding [Wed, 1 Jul 2020 18:37:24 +0000 (19:37 +0100)]
dot/lisp-init.lisp: Partially mitigate CMU CL's daft EOF behaviour.
One still needs two `^D's before it quits, but that's much better than
20.
Mark Wooding [Wed, 1 Jul 2020 18:36:33 +0000 (19:36 +0100)]
dot/lisp-init.lisp: Also squelch `*require-verbose*' on CMU CL.
Mark Wooding [Wed, 1 Jul 2020 18:35:44 +0000 (19:35 +0100)]
dot/lisp-init.lisp: Group related `setf's together.
I think I bounce back and forth on this, but at the moment I prefer them
this way.
Mark Wooding [Wed, 1 Jul 2020 19:28:10 +0000 (20:28 +0100)]
dot/lisp-init.lisp: Add missing Emacs header.
Mark Wooding [Wed, 1 Jul 2020 18:35:13 +0000 (19:35 +0100)]
dot/lisp-init.lisp: Add a missing stanza heading.
Mark Wooding [Wed, 1 Jul 2020 18:33:06 +0000 (19:33 +0100)]
dot/lisp-init.lisp: Place toplevel read-time conditionals on their own lines.
I've found that this looks better. Also, it makes it possible to run
them easily from Emacs independently of the conditional using `slime-
eval-defun' or `slime-compile-defun'.
Mark Wooding [Wed, 1 Jul 2020 18:30:36 +0000 (19:30 +0100)]
dot/lisp-init.lisp: Silence Lisp before loading ASDF.
Mark Wooding [Wed, 1 Jul 2020 18:27:59 +0000 (19:27 +0100)]
dot/lisp-init.lisp: Use a single ASDF rune everywhere.
The ASDF3 maintainers have done an excellent job of persuading everyone
to support loading ASDF in the same way.
Mark Wooding [Wed, 1 Jul 2020 18:21:10 +0000 (19:21 +0100)]
dot/lisp-init.lisp: Scatter the `export' declarations.
Mark Wooding [Tue, 4 Aug 2020 20:49:46 +0000 (21:49 +0100)]
dot/profile: Set a memory limit so leaky programs don't case swapdeath.
Mark Wooding [Tue, 4 Aug 2020 09:48:38 +0000 (10:48 +0100)]
el/dot-emacs.el: Arrange for Slime to name me better.
Mark Wooding [Mon, 22 Jun 2020 14:52:19 +0000 (15:52 +0100)]
bin/disorder-notify (watch_and_notify0): Mention when we stop.
It's rather difficult to figure out when we've stopped due to lack of
selected tracks when random play is disabled, so, err... I don't bother.
I think the server should send a specific message in its log.
Mark Wooding [Mon, 22 Jun 2020 14:52:02 +0000 (15:52 +0100)]
bin/disorder-notify (watch_and_notify0): Track state while logging.
Mark Wooding [Mon, 22 Jun 2020 14:51:48 +0000 (15:51 +0100)]
bin/disorder-notify: Insert missing space.
Mark Wooding [Mon, 22 Jun 2020 14:39:46 +0000 (15:39 +0100)]
bin/disorder-notify: Hoist `get_now_playing' above `format_now_playing'.
Mark Wooding [Sun, 26 Jul 2020 21:46:17 +0000 (22:46 +0100)]
el/dot-emacs.el: Indent string literals correctly, e.g., in Lisp mode.
I had formed the impression that my indentation machinery worked
correctly on Common Lisp docstrings, but this turns out to be completely
wrong.
Of course, my life would be better if it did work, and now it does.
Mark Wooding [Sun, 26 Jul 2020 21:45:50 +0000 (22:45 +0100)]
el/dot-emacs.el: Make fill-prefix patterns much fancier.
Now we can call out to Lisp to make decisions about where point is.