[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24150: 26.0.50; New command: dired-create-empty-file
From: |
Tino Calancha |
Subject: |
bug#24150: 26.0.50; New command: dired-create-empty-file |
Date: |
Fri, 7 Jul 2017 14:36:20 +0900 (JST) |
User-agent: |
Alpine 2.20 (DEB 67 2015-01-07) |
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
- bug#24150: 26.0.50; New command: dired-create-empty-file, (continued)
- bug#24150: 26.0.50; New command: dired-create-empty-file, Eli Zaretskii, 2017/07/03
- bug#24150: 26.0.50; New command: dired-create-empty-file, Tino Calancha, 2017/07/03
- bug#24150: 26.0.50; New command: dired-create-empty-file, Eli Zaretskii, 2017/07/03
- bug#24150: 26.0.50; New command: dired-create-empty-file, Thien-Thi Nguyen, 2017/07/03
- bug#24150: 26.0.50; New command: dired-create-empty-file, Ted Zlatanov, 2017/07/07
- bug#24150: 26.0.50; New command: dired-create-empty-file, Drew Adams, 2017/07/07
- bug#24150: 26.0.50; New command: dired-create-empty-file, Ted Zlatanov, 2017/07/07
bug#24150: 26.0.50; New command: dired-create-empty-file, Drew Adams, 2017/07/03
bug#24150: 26.0.50; New command: dired-create-empty-file, Eli Zaretskii, 2017/07/05