GNU bug report logs - #70230
30.0.50; [PATCH] * lisp/master.el (master-says): check nil parameter

Previous Next

Package: emacs;

Reported by: Lin Sun <sunlin7.mail <at> gmail.com>

Date: Sat, 6 Apr 2024 06:39:01 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lin Sun <sunlin7.mail <at> gmail.com>
Cc: 70230 <at> debbugs.gnu.org
Subject: bug#70230: 30.0.50; [PATCH] * lisp/master.el (master-says): check nil parameter
Date: Sat, 06 Apr 2024 18:30:10 +0300
> From: Lin Sun <sunlin7.mail <at> gmail.com>
> Date: Sat, 6 Apr 2024 15:25:35 +0000
> Cc: 70230 <at> debbugs.gnu.org
> 
> On Sat, Apr 6, 2024 at 8:06 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
> > Thanks, but "Slave buffer has disappeared" doesn't sound like a good
> > error message when master-of is nil, does it?
> Totally, the message will confuse the user. I modified the patch and
> it checks the parameter `master-of' and gives a message "Slave buffer
> does not exist" when it's nil.

I think "Slave buffer does not exist" is not the best message, since
the slave master is simply undefined in that case.  A better message
would be something like "Current buffer is not a master of any other
buffer".




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

Previous Next


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