all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Branham <alex.branham@gmail.com>
To: 36212@debbugs.gnu.org
Subject: bug#36212: [PATCH] make undo less enthusiastic
Date: Fri, 14 Jun 2019 13:21:11 -0500	[thread overview]
Message-ID: <87sgscqb8o.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

This is really minor, but I find it annoying that undo is so
enthusiastic in its messaging. This patch removes the exclamation mark,
which makes undo's messaging more similar to other functions messaging
(e.g. C-g, C-SPC, etc).

Alex


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-simple.el-undo-Make-message-less-enthusiastic.patch --]
[-- Type: text/x-patch, Size: 912 bytes --]

From 5165b92810a29ea409b0dd92179b3599112e1f4e Mon Sep 17 00:00:00 2001
From: Alex Branham <alex.branham@gmail.com>
Date: Fri, 14 Jun 2019 10:00:29 -0500
Subject: [PATCH] * lisp/simple.el (undo): Make message less enthusiastic

---
 lisp/simple.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/simple.el b/lisp/simple.el
index 5e9d13f9f8..d9f310b203 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2530,7 +2530,7 @@ undo
     ;; so, ask the user whether she wants to skip the redo/undo pair.
     (let ((equiv (gethash pending-undo-list undo-equiv-table)))
       (or (eq (selected-window) (minibuffer-window))
-	  (setq message (format "%s%s!"
+	  (setq message (format "%s%s"
                                 (if (or undo-no-redo (not equiv))
                                     "Undo" "Redo")
                                 (if undo-in-region " in region" ""))))
-- 
2.21.0


             reply	other threads:[~2019-06-14 18:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 18:21 Alex Branham [this message]
2019-06-15  9:47 ` bug#36212: [PATCH] make undo less enthusiastic Mattias Engdegård
2019-06-21  8:54 ` Noam Postavsky
2019-06-28  0:58   ` Alex Branham

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=87sgscqb8o.fsf@gmail.com \
    --to=alex.branham@gmail.com \
    --cc=36212@debbugs.gnu.org \
    /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.