all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: Phil Sainty <psainty@orcon.net.nz>
Cc: bug-gnu-emacs
	<bug-gnu-emacs-bounces+psainty=orcon.net.nz@gnu.org>,
	tino.calancha@gmail.com, tzz@lifelogs.com, clement.pit@gmail.com,
	Michael Albinus <michael.albinus@gmx.de>,
	24150@debbugs.gnu.org, sdl.web@gmail.com
Subject: bug#24150: 26.0.50; New command: dired-create-empty-file
Date: Tue, 17 Jul 2018 16:39:27 +0900	[thread overview]
Message-ID: <87lgaa9uq8.fsf@calancha-pc.dy.bbexcite.jp> (raw)
In-Reply-To: <879bc31155c8718745f44321382e9ecb@webmail.orcon.net.nz> (Phil Sainty's message of "Tue, 10 Jul 2018 19:42:22 +1200")

Phil Sainty <psainty@orcon.net.nz> writes:

> I've not followed this bug, but just wanted to comment that I've found
> https://stackoverflow.com/a/18885461 (which I simply adapted from
> `dired-create-directory') to be a remarkably convenient command over
> the years.
Thank you Phil!

your command does the thing well locally;  I've tested it in a
remote machine and it fails.
It is desirable that every Dired command work regardless of if the machine
is local or remote.
My patch handles the remote machine; not in the most efficient way but we
always could add a handler for the new command afterward.

> I see that there are suggestions against binding it to a key, but I
> would suggest using "_" as a binding in dired (which on a US keyboard
> layout is directly beside "+" (with both being shift-modifier chords),
> which is a binding that I immediately found easy to remember and use.
I use a Japanese keyboard but I sympathize with your suggestion,
after all, I have my own key binding for this feature.

My patch does not provide any binding after the discussion in this
thread.  It might be added later if needed.

At this stage, I am happy to focus the discussion on the acceptance
of the command itself.
I saw users of other editors very used to call a command to create
an empty file.  Sure, we write our own commands for such simple
things, but most of Emacs users don't write elisp: those people
expect this command already built-in.







  reply	other threads:[~2018-07-17  7:39 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-04 13:25 bug#24150: 25.1.50; New command: dired-create-empty-file Tino Calancha
2016-08-04 13:54 ` Clément Pit--Claudel
2016-08-04 16:29 ` Leo Liu
2016-08-04 17:13   ` Ted Zlatanov
2016-08-04 17:29     ` Drew Adams
2016-08-05  6:03 ` Tino Calancha
2016-08-05 14:48   ` Drew Adams
2016-08-06 12:38     ` Tino Calancha
2016-08-05  6:07 ` Tino Calancha
2017-05-03  8:23 ` Tino Calancha
2017-07-03  4:51 ` bug#24150: 26.0.50; " Tino Calancha
2017-07-03 14:24   ` Eli Zaretskii
2017-07-03 15:04     ` Tino Calancha
2017-07-03 16:33       ` Eli Zaretskii
2017-07-03 20:18         ` Thien-Thi Nguyen
2017-07-07 13:13         ` Ted Zlatanov
2017-07-07 13:17           ` Drew Adams
2017-07-07 13:31             ` Ted Zlatanov
2017-07-03 15:12     ` Drew Adams
2017-07-05 18:28   ` Eli Zaretskii
2017-07-05 19:34     ` Drew Adams
2017-07-07  5:36       ` Tino Calancha
2017-07-07 11:11         ` Drew Adams
2018-07-10  7:01           ` Tino Calancha
2018-07-10  7:42             ` Phil Sainty
2018-07-17  7:39               ` Tino Calancha [this message]
2018-07-20  9:03                 ` Eli Zaretskii
2018-07-23  3:57                   ` Tino Calancha
2018-07-27  8:39                     ` Eli Zaretskii
2018-07-31  4:47                       ` Tino Calancha
2018-07-31 16:20                         ` Eli Zaretskii
2018-08-01  5:16                           ` Tino Calancha
2018-08-01  6:24                             ` Eli Zaretskii
2018-08-01  7:13                               ` Tino Calancha
2018-08-01  8:56                                 ` Eli Zaretskii
2018-08-01  9:31                                   ` Tino Calancha
2018-08-01 11:45                                     ` Eli Zaretskii
2018-08-02  4:34                                       ` Tino Calancha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lgaa9uq8.fsf@calancha-pc.dy.bbexcite.jp \
    --to=tino.calancha@gmail.com \
    --cc=24150@debbugs.gnu.org \
    --cc=bug-gnu-emacs-bounces+psainty=orcon.net.nz@gnu.org \
    --cc=clement.pit@gmail.com \
    --cc=michael.albinus@gmx.de \
    --cc=psainty@orcon.net.nz \
    --cc=sdl.web@gmail.com \
    --cc=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.