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#25578: [PATCH] Prompt default extension in dired-mark-extension Date: Tue, 28 Feb 2017 00:45:35 +0200 Organization: LINKOV.NET Message-ID: <87efyjfe28.fsf@localhost> References: <87r33cuw4w.fsf@mail.linkov.net> <878tpjfmk0.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1488235638 5392 195.159.176.226 (27 Feb 2017 22:47:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2017 22:47:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (x86_64-pc-linux-gnu) Cc: Chunyang Xu , 25578-done@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 27 23:47:11 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 1ciU4U-0000mP-Oz for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2017 23:47:10 +0100 Original-Received: from localhost ([::1]:57372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciU4a-0003VZ-JN for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2017 17:47:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciU4Q-0003O1-9v for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 17:47:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciU4M-0000um-F7 for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 17:47:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60604) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciU4M-0000ug-C0 for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 17:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ciU4M-0002PC-5e for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 17:47:02 -0500 Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2017 22:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 25578 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 25578@debbugs.gnu.org, juri@linkov.net, mail@xuchunyang.me Original-Received: via spool by 25578-done@debbugs.gnu.org id=D25578.14882355999214 (code D ref 25578); Mon, 27 Feb 2017 22:47:01 +0000 Original-Received: (at 25578-done) by debbugs.gnu.org; 27 Feb 2017 22:46:39 +0000 Original-Received: from localhost ([127.0.0.1]:58803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciU3z-0002OX-A9 for submit@debbugs.gnu.org; Mon, 27 Feb 2017 17:46:39 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:33862 helo=homiemail-a17.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciU3x-0002ON-6G for 25578-done@debbugs.gnu.org; Mon, 27 Feb 2017 17:46:37 -0500 Original-Received: from homiemail-a17.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTP id ED4732B206E; Mon, 27 Feb 2017 14:46:35 -0800 (PST) Original-Received: from localhost.linkov.net (m90-133-230-119.cust.tele2.ee [90.133.230.119]) (Authenticated sender: jurta@jurta.org) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id D806D2B206D; Mon, 27 Feb 2017 14:46:34 -0800 (PST) In-Reply-To: <878tpjfmk0.fsf@calancha-pc> (Tino Calancha's message of "Mon, 06 Feb 2017 22:58:39 +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:129913 Archived-At: >>> I want 'M-x dired-mark-extension' (from dired-x) in Dired to use the >>> extension of the file at point as default extension, when it is >>> possible. Because, in this way, I usually no longer need to type the >>> extension manually, which saves some time for me=E2=80=93someone can'= t type >>> English words quickly and accurately. >> >> Thanks, I think your patch is a useful addition. > I agree, it's a good default value. >> >> Also I'm using a similar feature for another Dired command >> =E2=80=98dired-mark-files-regexp=E2=80=99 that could provide similar d= efaults >> based on the current file and its extension: > That's also fine. Thanks for your support. Done and done.