--- Begin Message ---
Subject: |
[PATCH] Consider the current subdirectory in 'dired-create-empty-file' |
Date: |
Wed, 09 Apr 2025 03:29:42 +0000 |
Tags: patch
Dear developers,
This small patch changes the 'dired-create-empty-file' command to use
the currently focused/active subdirectory - rather than the
topmost/default one - as the starting dirname for the interactive
prompt. This makes it consistent with 'dired-create-directory'.
Cheers,
Kasper
In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.48, cairo version 1.18.2)
Windowing system distributor 'The X.Org Foundation', version 11.0.12101016
System Description: NixOS 24.11 (Vicuna)
Configured using:
'configure
--prefix=/nix/store/79wgzibx44pyybla0p6x2l5mqa34688w-emacs-tip
--bindir=/nix/store/79wgzibx44pyybla0p6x2l5mqa34688w-emacs-tip/bin
--sbindir=/nix/store/79wgzibx44pyybla0p6x2l5mqa34688w-emacs-tip/sbin
--includedir=/nix/store/79wgzibx44pyybla0p6x2l5mqa34688w-emacs-tip/include
--mandir=/nix/store/79wgzibx44pyybla0p6x2l5mqa34688w-emacs-tip/share/man
--infodir=/nix/store/nhawn00yywb6py7yzmz8xgrpz5wg32w3-emacs-tip-info/share/info
--docdir=/nix/store/79wgzibx44pyybla0p6x2l5mqa34688w-emacs-tip/share/doc/emacs
--libdir=/nix/store/79wgzibx44pyybla0p6x2l5mqa34688w-emacs-tip/lib
--libexecdir=/nix/store/79wgzibx44pyybla0p6x2l5mqa34688w-emacs-tip/libexec
--localedir=/nix/store/79wgzibx44pyybla0p6x2l5mqa34688w-emacs-tip/share/locale
--disable-gc-mark-trace --disable-build-details --without-sound
--without-native-compilation --with-x --with-x-toolkit=gtk3
--with-modules --with-threads'
0001-Consider-the-current-subdirectory-in-dired-create-em.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#77668: [PATCH] Consider the current subdirectory in 'dired-create-empty-file' |
Date: |
Tue, 15 Apr 2025 19:06:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Tue, 15 Apr 2025 18:57:37 +0300 Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Stephen Berman <stephen.berman@gmx.net>
>> Cc: kpg@posteo.net, 77668@debbugs.gnu.org
>> Date: Tue, 15 Apr 2025 17:29:10 +0200
>>
>> On Tue, 15 Apr 2025 17:51:35 +0300 Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> >> Is the attached patch better?
>> >
>> > You kept the "prompts with" part, which I think just muddies the
>> > waters. But if you insist, I won't fight.
>>
>> I thought it was important to mention the prompt since its content can
>> depend on the value of the user option, but since the user will see
>> that, I guess that suffices, so I left it out in the attached patch. If
>> you agree with the wording now, is the patch ready to install?
>
> Yes, thanks.
Thanks, done in commit 0ac12aed097 and closing the bug. And thanks to
Kasper for proposing the change.
Steve Berman
--- End Message ---