Subject: bug#50935: minibuffer-electric-default-mode interface

From: Stefan Kangas <[email-masked]>
Date: Tue, 5 Oct 2021 10:11:11 -0400

Juri Linkov <[email-masked]> writes:

> The following patch makes the prompt more readable:
>
>   Send signal to 3 processes [TERM]:

Sounds good to me.

BTW, did you send the right patch?  I can't see the word "processes"
below.

> 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"))))))