From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#38384: (next|previous)-buffer silent about not switching Date: Tue, 26 Nov 2019 16:54:56 +0100 Message-ID: References: <83lfs2sky2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f4a8f3059841e87a" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="173727"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38384@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 26 16:57:06 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iZdD2-000isi-AL for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Nov 2019 16:57:00 +0100 Original-Received: from localhost ([::1]:56574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZdD1-0003Ur-49 for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Nov 2019 10:56:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32881) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZdC9-0002jW-0A for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2019 10:56:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZdC7-0007GF-VG for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2019 10:56:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46803) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZdC6-0007Fi-Jz for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2019 10:56:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iZdC6-0003X2-KR for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2019 10:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Nov 2019 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38384 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 38384-submit@debbugs.gnu.org id=B38384.157478373913519 (code B ref 38384); Tue, 26 Nov 2019 15:56:02 +0000 Original-Received: (at 38384) by debbugs.gnu.org; 26 Nov 2019 15:55:39 +0000 Original-Received: from localhost ([127.0.0.1]:52771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZdBj-0003Vz-DC for submit@debbugs.gnu.org; Tue, 26 Nov 2019 10:55:39 -0500 Original-Received: from mail-qt1-f173.google.com ([209.85.160.173]:38940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZdBh-0003Vm-VW for 38384@debbugs.gnu.org; Tue, 26 Nov 2019 10:55:38 -0500 Original-Received: by mail-qt1-f173.google.com with SMTP id g1so12547907qtj.6 for <38384@debbugs.gnu.org>; Tue, 26 Nov 2019 07:55:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mcdD0OG6YkPfeY+btOazkS/oe2sUKNtj/VKUDo3cAqo=; b=E6qyLk6NhUV6RNdPXBAfCqF5i1iX+g4wAkAM3TWh1aq/lJUyQGsjtfJ654qaLfxu5i 8gbaGwVzyvSdv/zH+XGxVpMJH1+9LF4j183tl7TSigTsL7qgfAtQtLv3bKLuNd3OSIb7 uYoGBAX3lM0Nj1BfcXG6cVOMCdZB56+2FIJUyEjh1x9b3TsRSBoZS+dDq6L+e5FpHfIU DNAHZuBOX5E03VqtakgM31ejjkYxz1DQRQi62CsYS3TZZvGzgdc9IyRSmKGiAu/lkCOX EH9ieoxdiGKO24aVIxVaRoa/pm/kuHrpaJ1aAyGWXSEBr/R8t8i7JHV+YkgJ5neMfskS Ebtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mcdD0OG6YkPfeY+btOazkS/oe2sUKNtj/VKUDo3cAqo=; b=DD0acitDUUengDp0nRdb90uEMLj/Zc5DkARE/jIJQRNlWh6UkjPZHAvsuszMpsAUap qkWqQE4BWDCVS6+JipcWFXSMtobKsxQNcLWRqJAwx5Kk+BGFFu3KUP0cznaTKSCaHt6n elIba44Jp53+1SL6y92NFFJEkSjNgPYjzlhS7DcVtgCibc9iAum8Ef4WEKO54rjk4kWX NexP3dWQtU9USZbPhO4fLvYbZCk5ujkbV0X2WEa3voKAL4GCFu/E5ZYmw13mlPVytoYX P7mKuLI/WYd/Wn8nRLPH85fu8J3qHGOw059kOD54GRtxteAomTg+kvJDBHrZGQAkqguo clkg== X-Gm-Message-State: APjAAAWflkNgjP9Xgm2DbndAdW1lMGgW0mNRyGtpFGPaPRk0KUTz4b72 KOve5V+/UodUE8z1XNC6gL6GCW5PCNgCKtWPcRg= X-Google-Smtp-Source: APXvYqy2EaKRS2LqrDxXA6I3GHx02ZK8J9vOugUHZmsDTy69rpEo/h3vA3K9ZluO5ncW5uhLo5MqmH6TwspYe80YENY= X-Received: by 2002:ac8:71c9:: with SMTP id i9mr32942112qtp.287.1574783732196; Tue, 26 Nov 2019 07:55:32 -0800 (PST) In-Reply-To: <83lfs2sky2.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:172443 Archived-At: --000000000000f4a8f3059841e87a Content-Type: text/plain; charset="UTF-8" On Tue, Nov 26, 2019 at 4:42 PM Eli Zaretskii wrote: > Could that disrupt noninteractive calls? Yes, that's why added the notice in NEWS in the "Incompatible Lisp Changes". But, on one hand, programs should perhaps be using switch-to-(prev|next)-buffer. AFAICS, next-buffer and previous-buffer aren't even documented in the Elisp manual (they are briefly mentioned in the Emacs manual). And on the other, if code is using (next|prev)-buffer, silently getting the same buffer is likely a subtle bug anyway. At least now they get notice. --000000000000f4a8f3059841e87a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Nov 26, 2019 at 4:42 PM Eli Zaretskii <= eliz@gnu.org> wrote:

>= ; Could that disrupt noninteractive calls?

Yes, th= at's why added the notice in NEWS in the "Incompatible Lisp Change= s".

But, on one hand, programs should perhaps be using switch-t= o-(prev|next)-buffer. AFAICS, next-buffer and previous-buffer aren't ev= en documented in the Elisp manual (they are briefly=C2=A0mentioned in the E= macs manual).

=C2=A0And on the other, if code is u= sing (next|prev)-buffer, silently getting the same buffer is likely a subtl= e bug anyway. At least now they get notice.

--000000000000f4a8f3059841e87a--