From: Joost Kremers <joostkremers@fastmail.fm>
To: gnu-emacs-help@gnu.org
Subject: Weird capitalisation in "<mode-name> enabled in current buffer"
Date: Wed, 31 Aug 2022 13:34:12 +0200 [thread overview]
Message-ID: <87a67k63r4.fsf@fastmail.fm> (raw)
Hi list,
I "wrote" a teeny-tiny minor mode `dedicated-mode` inspired by the same-name
mode available on Melpa. It's basically just a single line:
```
(define-minor-mode dedicated-mode
"Minor mode to dedicate a window to its buffer."
:init-value nil :lighter " D" :global nil
(set-window-dedicated-p nil dedicated-mode))
```
Now, never mind that this shouldn't be a minor mode at all, since it should be
linked to the window, not the buffer. What's strange is that when I activate
this mode, the message in the echo area reads:
DeDicateD moDe enabled in current buffer
Note the capital Ds in the words "DeDicateD moDe". Same thing happens when I
deactivate the mode.
Funny thing is, if I change the :lighter in the mode definition to lower case
"d", the capitalisation does not happen.
So, what should I file this under? Bug or joke? :D
--
Joost Kremers
Life has its moments
next reply other threads:[~2022-08-31 11:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-31 11:34 Joost Kremers [this message]
2022-08-31 16:20 ` Weird capitalisation in "<mode-name> enabled in current buffer" Stephen Berman
2022-08-31 21:42 ` Joost Kremers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a67k63r4.fsf@fastmail.fm \
--to=joostkremers@fastmail.fm \
--cc=gnu-emacs-help@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.