GNU bug report logs - #38384
(next|previous)-buffer silent about not switching

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Tue, 26 Nov 2019 12:09:02 UTC

Severity: minor

Tags: patch

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 38384 <at> debbugs.gnu.org
Subject: Re: bug#38384: (next|previous)-buffer silent about not switching
Date: Tue, 26 Nov 2019 17:42:45 +0200
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Tue, 26 Nov 2019 13:08:12 +0100
> 
> In some circumstances, next-buffer and previous-buffer do not have any buffer to switch to, and in that case
> they silently do nothing.  (Strictly speaking, they call switch-to-(next|prev)-buffer, which do nothing and return
> nil).
> 
> I think they should throw a user-error, to inform the user about the situation.

Could that disrupt noninteractive calls?




This bug report was last modified 5 years and 181 days ago.

Previous Next


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