GNU bug report logs - #48798
26.3; `define-minor-mode': Message should name the current buffer where enabled/disabled

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Wed, 2 Jun 2021 19:37:02 UTC

Severity: wishlist

Tags: moreinfo

Found in version 26.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 48798 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "33076 <at> debbugs.gnu.org" <33076 <at> debbugs.gnu.org>,
 "48798 <at> debbugs.gnu.org" <48798 <at> debbugs.gnu.org>
Subject: RE: bug#48798: 26.3; `define-minor-mode': Message should name the
 current buffer where enabled/disabled
Date: Sat, 28 Jan 2023 21:55:54 +0000
> The same problem persists - bugs #33076 and #48798.
> 
> It's quite possible to not notice - or even not be
> able to easily see - which buffer is current when
> it's changed to/from read-only.  It  just makes
> sense to tell users which buffer is involved.
> 
> Really hard to believe this isn't obvious and the
> trivial fix wasn't applied.  This just makes life
> that much harder for users, with no benefit to Emacs.

Perhaps the problem is more noticeable if buffers
are in separate frames.  Especially since Emacs
has messed with frame focus so much (since Emacs
26, at least).  If the buffer you thought was
current with its window selected is not, for some
reason (e.g. gratuitous Emacs frame-focus switch),
then the message doesn't help at all if you have
multiple buffers in separate frames etc.

I'm guessing that this might be why Lars didn't
think this was a real problem.  It might be less
noticeable if you're not a victim of Emacs's
gratuitous frame focus-switching.

But even if that's not the case, I see no reason
why this shouldn't be fixed.  _Whatever_ the
reason might be why someone doesn't know or isn't
sure which buffer had the focus, why not have a
message that tells you what Emacs actually did?

Please reopen this bug and apply the trivial fix.
Thx.  I'd really not like to have to redefine
`define-minor-mode' for my own use, just to fix
this annoyance.  To me, this message improvement
for users should be a no-brainer.




This bug report was last modified 1 year and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.