all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Tino Calancha <tino.calancha@gmail.com>
Cc: 25942@debbugs.gnu.org
Subject: bug#25942: 26.0.50; dired-mark-extension prepend '.' to suffix if not present
Date: Tue, 28 Mar 2017 01:44:12 +0300	[thread overview]
Message-ID: <87h92e9w77.fsf@localhost> (raw)
In-Reply-To: <87zig7jna1.fsf@calancha-pc> (Tino Calancha's message of "Mon, 27 Mar 2017 14:34:30 +0900")

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





  parent reply	other threads:[~2017-03-27 22:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-03  3:40 bug#25942: 26.0.50; dired-mark-extension prepend '.' to suffix if not present Tino Calancha
2017-03-26 22:40 ` Juri Linkov
2017-03-27  1:30   ` Tino Calancha
2017-03-27  1:32     ` Tino Calancha
2017-03-27  2:35     ` Eli Zaretskii
2017-03-27  5:34       ` Tino Calancha
2017-03-27 14:28         ` Eli Zaretskii
2017-03-27 15:32           ` Tino Calancha
2017-03-27 22:44         ` Juri Linkov [this message]
2017-03-28  1:23           ` Tino Calancha
2017-03-31  8: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=87h92e9w77.fsf@localhost \
    --to=juri@linkov.net \
    --cc=25942@debbugs.gnu.org \
    --cc=tino.calancha@gmail.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.