bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#38457: 27.0.50; dabbrev-expand regression due to message change


From: Dmitry Gutov
Subject: bug#38457: 27.0.50; dabbrev-expand regression due to message change
Date: Fri, 20 Dec 2019 16:29:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Hi Juri,

I like the new behavior quite a bit, and thanks for working on it.

Here's something that's a matter of taste, but:

On 20.12.2019 0:16, Juri Linkov wrote:
+      (setq message (if (string-match-p "\\` *\\[.+\\]\\'" message)
+                        ;; Make sure we can put-text-property.
+                        (copy-sequence message)
+                      (concat " [" message "]")))

I prefer how it looks without an extra space here. Meaning

  (concat "[" message "]")

instead of

  (concat " [" message "]")

. Apparently minibuffer contents always end with a space already?





reply via email to

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