GNU bug report logs -
#38384
(next|previous)-buffer silent about not switching
Previous Next
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
View this message in rfc822 format
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Tue, 26 Nov 2019 19:51:50 +0100
> Cc: 38384 <at> debbugs.gnu.org
>
> > I don't see how this is relevant to the issue at hand, what did I
> > miss?
>
> Sorry, I fail to see how could it not be relevant. Lisp code calling (next|previous)-buffer already has to defend
> itself against a user-error. My code just adds one specific case (that of the window's buffer list having only one
> buffer) in which user-error is also signaled. Am I missing something?
We previously signaled user-error in situations where we couldn't
continue at all. Your addition is in a situation where nothing
particularly bad happened, so from the POV of a caller, we are now
signaling a user-error gratuitously. I'm bothered only by the change
whereby we signal a user-error with the purpose of attracting the
user's attention, not because we cannot continue.
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.