From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27966: 25.1.50; Bad behaviour #'generate-new-buffer-name if buffer "nil" exists Date: Sat, 05 Aug 2017 12:54:21 +0300 Message-ID: <831soqwd9u.fsf@gnu.org> References: <5985.8cca.25d3d.65c5@parhasard.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1501926918 11533 195.159.176.226 (5 Aug 2017 09:55:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Aug 2017 09:55:18 +0000 (UTC) Cc: 27966-done@debbugs.gnu.org To: Aidan Kehoe Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 05 11:55:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddvnY-0002UV-Vv for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Aug 2017 11:55:09 +0200 Original-Received: from localhost ([::1]:56059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddvnf-0001SC-9V for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Aug 2017 05:55:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddvnX-0001Lu-8n for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 05:55:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddvnT-0007Kq-4w for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 05:55:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39832) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddvnT-0007KH-1V for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 05:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ddvnS-0006Mz-PL for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 05:55:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Aug 2017 09:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 27966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 27966@debbugs.gnu.org, eliz@gnu.org, kehoea@parhasard.net Original-Received: via spool by 27966-done@debbugs.gnu.org id=D27966.150192688124449 (code D ref 27966); Sat, 05 Aug 2017 09:55:02 +0000 Original-Received: (at 27966-done) by debbugs.gnu.org; 5 Aug 2017 09:54:41 +0000 Original-Received: from localhost ([127.0.0.1]:42508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddvn7-0006MH-4S for submit@debbugs.gnu.org; Sat, 05 Aug 2017 05:54:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddvn5-0006M1-Bw for 27966-done@debbugs.gnu.org; Sat, 05 Aug 2017 05:54:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddvmv-0006qT-U1 for 27966-done@debbugs.gnu.org; Sat, 05 Aug 2017 05:54:34 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddvmv-0006qK-Qo; Sat, 05 Aug 2017 05:54:29 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1442 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ddvmv-0007Ee-8H; Sat, 05 Aug 2017 05:54:29 -0400 In-reply-to: <5985.8cca.25d3d.65c5@parhasard.net> (message from Aidan Kehoe on Sat, 5 Aug 2017 10:15:54 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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:135407 Archived-At: > From: Aidan Kehoe > Date: Sat, 5 Aug 2017 10:15:54 +0100 > > > (progn (get-buffer-create "nil") > (generate-new-buffer-name "nil")) C-j > > This gives the string "nil". This is incorrect behaviour, since "nil" is > the name of an existing buffer. On line 1080 of buffer.c, IGNORE should > be checked to be non-nil before calling Fstring_equal(). Thanks, fixed on master.