[Top][All Lists]

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

bug#19495: 25.0.50; `message` -- optional argument to suppress echo area

From: Lars Ingebrigtsen
Subject: bug#19495: 25.0.50; `message` -- optional argument to suppress echo area display
Date: Fri, 02 Aug 2019 22:17:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Keith David Bershatsky <address@hidden> writes:

> As a feature request, the Emacs team may wish to consider adding an
> optional argument to the `message` function to permit suppression of
> the message being displayed in the echo area.
> In my particular use case, there are certain process output strings
> that I prefer having printed to the `*Messages*` buffer -- instead of
> a dedicated process output buffer.


> The following is my workaround:
> (defun rsync-process-filter (proc string)
>   (let ((inhibit-read-only t))
>     (when (not (or
>         (string-match "files...\r" string)
>         (string-match "files to consider\n" string)))
>       (with-current-buffer (get-buffer-create "*Messages*")
>         (goto-char (point-max))
>         (insert string)))))

(I'm going through old bug reports that unfortunately have not received
any responses yet.)

I kinda don't think extending `message' in this way would be ideal.
Currently, `message' is pretty simple to understand, and to change it to
not actually message anything (in some circumstances) would be
confusing.  Doing this in the way you've done in the workaround seems
like a better idea.

So I'm closing this as a "wontfix".

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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