[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25942: 26.0.50; dired-mark-extension prepend '.' to suffix if not pr

From: Juri Linkov
Subject: bug#25942: 26.0.50; dired-mark-extension prepend '.' to suffix if not present
Date: Tue, 28 Mar 2017 01:44:12 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (x86_64-pc-linux-gnu)

> 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.


> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]