From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#25942: 26.0.50; dired-mark-extension prepend '.' to suffix if not present Date: Tue, 28 Mar 2017 01:44:12 +0300 Organization: LINKOV.NET Message-ID: <87h92e9w77.fsf@localhost> References: <87d1dzjadq.fsf@calancha-pc> <87bmsn1x2d.fsf@localhost> <83r31j8n0e.fsf@gnu.org> <87zig7jna1.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1490654780 12140 195.159.176.226 (27 Mar 2017 22:46:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Mar 2017 22:46:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (x86_64-pc-linux-gnu) Cc: 25942@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 28 00:46:16 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 1csdOt-0001jn-67 for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Mar 2017 00:46:11 +0200 Original-Received: from localhost ([::1]:49164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csdOt-0008KH-RP for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Mar 2017 18:46:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csdOo-0008K1-HH for bug-gnu-emacs@gnu.org; Mon, 27 Mar 2017 18:46:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csdOk-0007hb-PN for bug-gnu-emacs@gnu.org; Mon, 27 Mar 2017 18:46:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49701) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1csdOk-0007hU-Lx for bug-gnu-emacs@gnu.org; Mon, 27 Mar 2017 18:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1csdOk-0005kh-A2 for bug-gnu-emacs@gnu.org; Mon, 27 Mar 2017 18:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Mar 2017 22:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25942 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 25942-submit@debbugs.gnu.org id=B25942.149065475922102 (code B ref 25942); Mon, 27 Mar 2017 22:46:02 +0000 Original-Received: (at 25942) by debbugs.gnu.org; 27 Mar 2017 22:45:59 +0000 Original-Received: from localhost ([127.0.0.1]:47900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csdOg-0005kQ-P4 for submit@debbugs.gnu.org; Mon, 27 Mar 2017 18:45:58 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:50496 helo=homiemail-a11.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csdOf-0005kH-Cj for 25942@debbugs.gnu.org; Mon, 27 Mar 2017 18:45:57 -0400 Original-Received: from homiemail-a11.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a11.g.dreamhost.com (Postfix) with ESMTP id 9EB0C314C066; Mon, 27 Mar 2017 15:45:55 -0700 (PDT) Original-Received: from localhost.linkov.net (m213-102-69-42.cust.tele2.ee [213.102.69.42]) (Authenticated sender: jurta@jurta.org) by homiemail-a11.g.dreamhost.com (Postfix) with ESMTPA id 9711A314C062; Mon, 27 Mar 2017 15:45:54 -0700 (PDT) In-Reply-To: <87zig7jna1.fsf@calancha-pc> (Tino Calancha's message of "Mon, 27 Mar 2017 14:34:30 +0900") 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:131022 Archived-At: > The following patch adds a new command 'dired-mark-suffix', and > modifies 'dired-mark-extension'. > I) dired-mark-suffix: it behaves as 'dired-mark-extension' used to do, > i.e., don't prepends any '.' to the user input. > II) dired-mark-extension: It prepends '.' to EXTENSION when not present. > This way became consistent with 'file-name-extension', that is, if > (file-name-extension FILE) returns nil, then 'dired-mark-extension' > will not mark FILE. Thanks. > diff --git a/etc/NEWS b/etc/NEWS > index cd98f53399..3839439a32 100644 > --- a/etc/NEWS > +++ b/etc/NEWS > @@ -474,6 +474,11 @@ where to place point after C-c M-r and C-c M-s. > ** Dired > > +++ > +*** Command 'dired-mark-extension' now automatically prepends a '.' to the > +extension when not present. The new command 'dired-mark-suffix' behaves > +similarly but it doesn't prepend a '.'. > + > ++++ > *** A new option 'dired-always-read-filesystem' default to nil. > If non-nil, buffers visiting files are reverted before search them; > for instance, in 'dired-mark-files-containing-regexp' a non-nil value There is a special section in etc/NEWS for Incompatible Changes that would be a more likely place to find this change.