GNU bug report logs -
#25942
26.0.50; dired-mark-extension prepend '.' to suffix if not present
Previous Next
Reported by: Tino Calancha <tino.calancha <at> gmail.com>
Date: Fri, 3 Mar 2017 03:41:01 UTC
Severity: wishlist
Tags: patch
Found in version 26.0.50
Done: Tino Calancha <tino.calancha <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> The following patch adds a new command 'dired-mark-suffix', and
> modifies 'dired-mark-extension'.
> I) dired-mark-suffix: it behaves as 'dired-mark-extension' used to do,
> i.e., don't prepends any '.' to the user input.
> II) dired-mark-extension: It prepends '.' to EXTENSION when not present.
> This way became consistent with 'file-name-extension', that is, if
> (file-name-extension FILE) returns nil, then 'dired-mark-extension'
> will not mark FILE.
Thanks.
> diff --git a/etc/NEWS b/etc/NEWS
> index cd98f53399..3839439a32 100644
> --- a/etc/NEWS
> +++ b/etc/NEWS
> @@ -474,6 +474,11 @@ where to place point after C-c M-r and C-c M-s.
> ** Dired
>
> +++
> +*** Command 'dired-mark-extension' now automatically prepends a '.' to the
> +extension when not present. The new command 'dired-mark-suffix' behaves
> +similarly but it doesn't prepend a '.'.
> +
> ++++
> *** A new option 'dired-always-read-filesystem' default to nil.
> If non-nil, buffers visiting files are reverted before search them;
> for instance, in 'dired-mark-files-containing-regexp' a non-nil value
There is a special section in etc/NEWS for Incompatible Changes
that would be a more likely place to find this change.
This bug report was last modified 8 years and 117 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.