From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#31446: 26.1; sql-interactive-mode buffer naming is broken Date: Tue, 22 May 2018 16:01:13 +1200 Message-ID: References: <83d0xti993.fsf@gnu.org> <83bmddi2ad.fsf@gnu.org> <83603lhrvw.fsf@gnu.org> <8336yoiuf4.fsf@gnu.org> <831se6hjnh.fsf@gnu.org> <83h8n1g2hm.fsf@gnu.org> <42fe26038dde2b56636888cfbf4e37bb@webmail.orcon.net.nz> <83603hf1w9.fsf@gnu.org> <51c17257ab43917d561cc5e56a556d67@webmail.orcon.net.nz> <83muwse7pd.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1526961617 27717 195.159.176.226 (22 May 2018 04:00:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 22 May 2018 04:00:17 +0000 (UTC) User-Agent: Orcon Webmail Cc: 31446@debbugs.gnu.org, fgunbin@fastmail.fm, bug-gnu-emacs-bounces+psainty=orcon.net.nz@gnu.org, michael@mauger.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 22 06:00:13 2018 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 1fKyT5-00075C-DD for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 May 2018 06:00:11 +0200 Original-Received: from localhost ([::1]:53496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKyVC-0006fH-DH for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 May 2018 00:02:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKyUx-0006dt-6V for bug-gnu-emacs@gnu.org; Tue, 22 May 2018 00:02:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKyUs-0005EC-CX for bug-gnu-emacs@gnu.org; Tue, 22 May 2018 00:02:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35551) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fKyUs-0005E6-9S for bug-gnu-emacs@gnu.org; Tue, 22 May 2018 00:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fKyUr-00041F-T8 for bug-gnu-emacs@gnu.org; Tue, 22 May 2018 00:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 May 2018 04:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31446-submit@debbugs.gnu.org id=B31446.152696167915400 (code B ref 31446); Tue, 22 May 2018 04:02:01 +0000 Original-Received: (at 31446) by debbugs.gnu.org; 22 May 2018 04:01:19 +0000 Original-Received: from localhost ([127.0.0.1]:43448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKyUB-00040J-Ap for submit@debbugs.gnu.org; Tue, 22 May 2018 00:01:19 -0400 Original-Received: from smtp-2.orcon.net.nz ([60.234.4.43]:57084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKyU9-00040A-B7 for 31446@debbugs.gnu.org; Tue, 22 May 2018 00:01:17 -0400 Original-Received: from [10.253.37.70] (port=43615 helo=webmail.orcon.net.nz) by smtp-2.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1fKyU6-0007is-01; Tue, 22 May 2018 16:01:14 +1200 Original-Received: from wlgwil-nat-office.catalyst.net.nz ([202.78.240.7]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Tue, 22 May 2018 16:01:13 +1200 In-Reply-To: <83muwse7pd.fsf@gnu.org> X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- 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:146369 Archived-At: On 2018-05-22 14:37, Eli Zaretskii wrote: > What is "C-u C-u" supposed to achieve? It isn't called out in the > doc strings, AFAICS, is it? Well that's an excellent question. `sql-product-interactive' does support C-u C-u, but I realise now that that `product' is its prefix arg and in the case of C-u C-u it sets a value of '(4) for `new-name'; so you're right -- there's no particular need to support other values. Personally I would still be inclined to use `consp' just so that additional C-u presses didn't result in the odd names that you currently get, but that's obviously not a major concern. >> Another difference from Emacs 25 is that using a prefix arg in Emacs >> 25 >> was guaranteed to create a new buffer/process (if the chosen buffer >> name >> conflicted then it was uniquified), whereas the new code is switching >> to >> the pre-existing buffer in the situation. > > This will have to be dealt with after Emacs 26.1 release. Ok. -Phil