From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#24150: 26.0.50; New command: dired-create-empty-file Date: Fri, 7 Jul 2017 14:36:20 +0900 (JST) Message-ID: References: <87mv8m3yya.fsf@calancha-pc> <83wp7mn3go.fsf@gnu.org> <97b67d5a-fc1e-47ea-b6b1-4154206ed5f9@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Trace: blaine.gmane.org 1499405836 6367 195.159.176.226 (7 Jul 2017 05:37:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Jul 2017 05:37:16 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Tino Calancha , tzz@lifelogs.com, clement.pit@gmail.com, 24150@debbugs.gnu.org, sdl.web@gmail.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 07 07:37:10 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 1dTLwz-0001Az-PW for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Jul 2017 07:37:09 +0200 Original-Received: from localhost ([::1]:54573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTLx3-00075j-Ea for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Jul 2017 01:37:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTLwx-00075e-NZ for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2017 01:37:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTLws-0005b1-PJ for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2017 01:37:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52982) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTLws-0005av-Kp for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2017 01:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dTLws-0004Gu-6P for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2017 01:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Jul 2017 05:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24150 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24150-submit@debbugs.gnu.org id=B24150.149940579216380 (code B ref 24150); Fri, 07 Jul 2017 05:37:02 +0000 Original-Received: (at 24150) by debbugs.gnu.org; 7 Jul 2017 05:36:32 +0000 Original-Received: from localhost ([127.0.0.1]:55659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTLwO-0004G8-5D for submit@debbugs.gnu.org; Fri, 07 Jul 2017 01:36:32 -0400 Original-Received: from mail-pf0-f179.google.com ([209.85.192.179]:33222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTLwM-0004Fw-P9 for 24150@debbugs.gnu.org; Fri, 07 Jul 2017 01:36:31 -0400 Original-Received: by mail-pf0-f179.google.com with SMTP id e7so11799498pfk.0 for <24150@debbugs.gnu.org>; Thu, 06 Jul 2017 22:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=RiBfSRBcwRP3Z6qHRH5FnIeELdMZfQtzeiLqcwYOkSY=; b=FTIBm/C9hrPkM0uS+ATsJ83jeG9A6SvTrHNj0mEeyNHuyGDFTiUdta+59j6A7xsUIa /vYjzdk/KzsIHn9UZFyDxfSwqJ8KhQs408yFK7bnS9nBlSAcWvRS5HFsttECDhaqgEqk zKrYpnFH9iWEeeRtCrRGzvFsVrt1vD9f+BnwCITEH9WGRMT+FIycDLTbX0ZDHk3zQ+eF iea0J9KcdHlPKUHl5BaU282n9vFgdw86cJjX//2lvH+DHyRa6Ic0Jy43yi234Umlfjrw Mmv8wW2Gy6QUsDxtr5zhC/aU2QUnYUR8BwwoWpl/gKaq2nhR1abaGD6008opcxuVUcue 63mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=RiBfSRBcwRP3Z6qHRH5FnIeELdMZfQtzeiLqcwYOkSY=; b=YNXJEIfbli42v48+ur20T53EJCq7DgH4Mx8gU5UuM3DLt31asyY4mPhNbhdqKwZPbt +XAqaq26UDYHtshallXrFtglHR6k0cLzMbZ3VJkcyFhVSQx5RtRlP/rIykW44iSMnvsn d4gNksnGo8VACMy/PxpLxsTkseF5zg48GV1AKZFjEHLJ4XYUEuoxqTDy3srlsrn9uGG5 jZ4VDp7/vGPwXNlwIvG98z+fCkX9EHKATIeyZu7UOZawOHMNbLAowhnONacW45829StF tY+54v1sVZj5PcxSyA1LTxnY7YVd5NpUjLt1HvGj7+JmAUsRie5XL3GWIcKpfxewAqog VN7w== X-Gm-Message-State: AIVw111nIWAjomGWgggNundhzQMkSQOgWBAE6bUrcmb9DT1BavN5hZ5p 8UFVBg/c66gdSQ== X-Received: by 10.99.109.201 with SMTP id i192mr29184459pgc.204.1499405784734; Thu, 06 Jul 2017 22:36:24 -0700 (PDT) Original-Received: from calancha-pc (222.139.137.133.dy.bbexcite.jp. [133.137.139.222]) by smtp.gmail.com with ESMTPSA id d70sm3890124pfg.132.2017.07.06.22.36.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jul 2017 22:36:24 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <97b67d5a-fc1e-47ea-b6b1-4154206ed5f9@default> 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:134288 Archived-At: On Wed, 5 Jul 2017, Drew Adams wrote: >>> +*** New command 'dired-create-empty-file' (similar to >>> +'dired-create-directory') creates a new empty file; bound to '_'. > > FWIW: > > I'd rather not see this command bound to a key. How about just > putting it in a menu? That's a nice suggestion. Thank you. > > FWIW2: > > I bind `_' to `dired-show-file-type' (dired-aux.el), which is bound > by default to `y'. I bind `y' to a command that makes a relative > symbolic link to the file on the cursor line. This is in keeping > with `Y' for `dired-do-relsymlink' and `%Y' for > `dired-do-relsymlink-regexp'. After re-thinking the issue, i am reluctant to set a binding for this: that could make clashes with Dired+, reducing discoverability of useful features. Having the command defined in Emacs means that users just need 1 line in their config file to set their binding of choice. That's cheap. I will implement Eli's comments during this weekend and back here with an updated patch. Thank you