From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Thorne Newsgroups: gmane.emacs.bugs Subject: bug#34621: Patch Update Date: Tue, 05 Mar 2019 18:22:15 +0000 Organization: Reckon Digital Message-ID: References: <08e7108149ce2374fd0c9b7fc3e6ae38@reckondigital.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="34042"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Roundcube Webmail/1.1.2 To: 34621@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 05 19:34:46 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1Etq-0008fg-Kw for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Mar 2019 19:34:46 +0100 Original-Received: from localhost ([127.0.0.1]:47509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1Etp-0007Qx-Ha for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Mar 2019 13:34:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1EiV-0006Ex-Mu for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2019 13:23:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1EiU-0007sf-P0 for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2019 13:23:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48122) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1EiU-0007s8-JC for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2019 13:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h1EiU-00041E-CM for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2019 13:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Thorne Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Mar 2019 18:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34621 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 34621-submit@debbugs.gnu.org id=B34621.155181014115372 (code B ref 34621); Tue, 05 Mar 2019 18:23:02 +0000 Original-Received: (at 34621) by debbugs.gnu.org; 5 Mar 2019 18:22:21 +0000 Original-Received: from localhost ([127.0.0.1]:33433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1Ehp-0003zs-A4 for submit@debbugs.gnu.org; Tue, 05 Mar 2019 13:22:21 -0500 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:55039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1Ehn-0003zj-9U for 34621@debbugs.gnu.org; Tue, 05 Mar 2019 13:22:19 -0500 Original-Received: from webmail.gandi.net (webmail4.sd4.0x35.net [10.200.201.4]) (Authenticated sender: c.thorne@reckondigital.com) by relay10.mail.gandi.net (Postfix) with ESMTPA id C74B4240008; Tue, 5 Mar 2019 18:22:15 +0000 (UTC) In-Reply-To: X-Sender: c.thorne@reckondigital.com 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:156063 Archived-At: > It doesn't sound to me like this has anything, per se, > to do with Dired. It has to do with how the default is > determined, and that's apparently now being picked up > from the buffer name. Hmm, I think you're right that this isn't just isolated to dired. For example, I can start a shell-mode buffer, rename it to shell.txt and rgrep will now suggest "*.txt" as the default extension even though my buffer is unrelated to .txt files. An alternative I considered is only showing extension suggestions for buffers that are associated with a file (i.e. buffer-file-name is a non-empty string). Can you think of any cases where this would fall down?