GNU bug report logs -
#50935
minibuffer-electric-default-mode interface
Previous Next
Reported by: Stefan Kangas <stefan <at> marxist.se>
Date: Fri, 1 Oct 2021 11:45:02 UTC
Severity: minor
Tags: patch
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
> A third option is to add 'minibuffer-default-prompt-format' on emacs-28,
> but make the suggested deletion on master -- which give us more time to
> get `minibuffer-default-prompt-format' up to scrap.
>
> Thoughts?
Thanks for adding format-prompt to many more prompts. I noticed
that when minibuffer-default-prompt-format is customized to the
recommended format " [%s]", then the prompt of proced-send-signal
is confusing with two pairs of the same brackets:
Send signal [3 processes] [TERM]:
The following patch makes the prompt more readable:
Send signal to 3 processes [TERM]:
[proced-send-signal.patch (text/x-diff, inline)]
diff --git a/lisp/proced.el b/lisp/proced.el
index 29996068f9..cb66d68302 100644
--- a/lisp/proced.el
+++ b/lisp/proced.el
@@ -1773,7 +1773,7 @@ proced-send-signal
`(:annotation-function
,(lambda (s) (cdr (assoc s proced-signal-list))))))
(proced-with-processes-buffer process-alist
- (list (completing-read (format-prompt "Send signal [%s]"
+ (list (completing-read (format-prompt "Send signal to %s"
"TERM" pnum)
proced-signal-list
nil nil nil nil "TERM")
@@ -1798,7 +1798,7 @@ proced-send-signal
`(:annotation-function
,(lambda (s) (cdr (assoc s proced-signal-list))))))
(proced-with-processes-buffer process-alist
- (setq signal (completing-read (format-prompt "Send signal [%s]"
+ (setq signal (completing-read (format-prompt "Send signal to %s"
"TERM" pnum)
proced-signal-list
nil nil nil nil "TERM"))))))
This bug report was last modified 2 years and 348 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.