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 #8 received at 38384 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Juanma Barranquero <lekktu <at> gmail.com>, 38384 <at> debbugs.gnu.org
Subject: Re: bug#38384: (next|previous)-buffer silent about not switching
Date: Tue, 26 Nov 2019 14:42:08 +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.

Right.  Please install your patch.

martin




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.