Questions tagged [message]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
14
votes
4answers
902 views

Disabling the "Auto-saving...done" message

I want my documents to be auto-saved, but I don't want to be interrupted with the message "Auto-saving...done" every few minutes. Is there a way to just disable this message, but not the auto-saving ...
12
votes
4answers
2k views

How to add a timestamp to each entry in Emacs' *Messages* buffer?

I depend on the *Messages* buffer a lot, but entries are not timestamped. How can one add a timestamp to each entry in Emacs' Messages buffer? So that something like this: Loading /Users/gsl/lisp.d/...
12
votes
2answers
348 views

How to display a message in echo-area only

Is it possible to display a message in the echo area without logging it in buffer *Messages*?
11
votes
2answers
2k views

How to attach multiple files in `message-mode`?

To attach one file when in message-mode (e.g. when posting from Gnus), one does C-c C-a. What's the recommended way for attaching multiple files ? Repeating C-c C-a can become tiresome after a while,...
8
votes
2answers
3k views

Flush all output in shell buffer (and *Messages* too)

Is there any easy way to flush all output in the shell buffer? Since recently (I believe Emacs 24.4 already has this) *shell* buffers aren't editable, they behave similar to how typical terminal would ...
7
votes
4answers
2k views

Suppress message in minibuffer when a buffer is saved?

Whenever a buffer is saved, a message is displayed in minibuffer. Wrote foo.bar I use real-auto-save to save modified buffers every 5 seconds. Due to this minibuffer is getting spammed. Sometimes, ...
7
votes
3answers
2k views

Print message in echo area with no "quotes"?

Q: how do I print a message in the echo area without surrounding quotes? Here's a simple command: (defun test-fn () (interactive) (message "Test message")) When I call it as an interactive ...
6
votes
1answer
419 views

How to preserve color in *Messages* buffer?

When running (C-x C-e) the following snippet and doing M-x mes, I see text written in red in the minibuffer area, but the text in the *Messages* buffer is stripped of all formatting. (defun mes () "...
6
votes
1answer
2k views

how to increase the debugging message level

I believe that there is a way to increase the debug level, but I don't recall how. Perhaps I am using the wrong terms, but web searches and looking on StackExchange are not providing me anything ...
5
votes
2answers
346 views

gnus "fancy" hyperlinks, bullet points, etc

Is there a way to get more formatting options from a gnus message buffer when composing a mail? I'd like to do hyperlinks of the style common in markdown or org-mode, viz: [[example link][http://www....
5
votes
0answers
150 views

How to stop background processes interrupting minibuffer

I have a couple of background processes that I regularly run, such as mu4e and jabber-mode. These, and other, processes provide updates to the minibuffer. Unfortunately, they do so when I'm already ...
4
votes
1answer
120 views

Is it possible suppress save message for undo-tree?

When I save my any file I am working on I always see following message, I believe this is related to my unto-tree configuration. Wrote /home/alper/.emacs.d/undo/.!home!alper!current_folder!__init__.py....
4
votes
1answer
151 views

how to read messages which appear after `C-x C-c`?

When I exit emacs via C-x C-c (save-buffers-kill-terminal) it prints a message in minibuffer. I can't read the message because the frame gets destroyed too fast. I'd like to read the message(s), how ...
4
votes
1answer
360 views

How to show a message in the echo area not immediately but after a certain delay and to disappear it after a certain delay

The following show the message "something" in the echo area immediately, and this message remains there unless I do a second action (e.g. moving the cursor, executing anther command etc) (message "...
4
votes
1answer
120 views

Hook that fires when `*Messages*` is updated

Emacs manual §31.28 says this about before-change-functions and after-change-functions: These hook variables let you arrange to take notice of all changes in all buffers (or in a particular buffer, ...
4
votes
1answer
44 views

message-mode: delete recipient easily

When I'm composing a message in message-mode I sometimes want to remove a recipient from a long list of recipients on the To: line. It seems that there is no semantic kill command that would delete a ...
3
votes
2answers
104 views

How do I suppress messages in the echo area (e.g. `Fill column set to 80 (was 80)`)?

When I open a Python file I keep seeing Fill column set to 80 (was 80) message in the echo area. I know I have set it this limit , but I don't want to be keep reminded about it. Is it possible to ...
3
votes
2answers
213 views

Elisp code execution order?

I cannot understand the behavior of this simple code: (defun foo (str bool) (interactive (list (read-string "Some text: ") (y-or-n-p "Yes or no? "))) (message "%s is first" str) (...
3
votes
1answer
277 views

Prevent Emacs from messaging when it writes recentf

I've configured Emacs to save recentf every five minutes by using this code: (run-at-time nil (* 5 60) 'recentf-save-list) It works great, but after writing recentf Emacs feels it has to tell me ...
3
votes
1answer
138 views

Inspect message output

When I save my file, I can see output of some commands in the echo area. The thing is, that it's very fast and the next message will overwrite the previous one. So I just see the message Wrote FILE. ...
3
votes
1answer
95 views

Is there a way to read the current displayed message?

Ignoring the *Messages* buffer which is used for logging messages, and which can be disabled, is there a way to get the current message displayed using Elisp? Asking because there are times when it's ...
3
votes
1answer
48 views

How to suppress `Wrote /home/user/.emacs.d/recentf` message in minibuffer

In the minibuffer I keep seeing: Wrote /home/user/.emacs.d/recentf Would it be possible to suppress this message? (Only for file name recentf file) my minimal.el: (setq recentf-max-saved-items 50) (...
3
votes
1answer
153 views

How to add a locally override the message function?

I would like to add a suffix to a message reported by a function called in some source I don't maintain. Is there a way to locally override the message function so I can manipulate it before it's ...
3
votes
1answer
108 views

messages buffer is spammed with tramp

I am connecting regularly to servers via tramp. Sometimes everything works fine but often times my messages buffer gets spammed full of Tramp: Waiting for prompts from remote shell...done Tramp: ...
3
votes
1answer
154 views

Unfill `mu4e` message before sending

I would like to unfill all paragraphs before sending a message with mu4e. This is because format=flowed is not respected by all platforms (particularly Gmail). I figure that message-send-hook is the ...
3
votes
1answer
649 views

Error running timer "show-paren-function" when displaying matching line in message/mini buffer

I want to display the line contains matching bracket in the message/mini buffer at the bottom of emacs. I found some code on emacs Wiki, after put it in init file, emacs do show the maching line in ...
2
votes
1answer
669 views

How to debug the "message" function on entry ?

While debugging a minor mode (separate issue), I wanted to generate a stack trace of the message function so I thought I would just enter M-x debug-on-entry RET message I was quite surprised to see ...
2
votes
1answer
67 views

When working on elisp where to show intermediate values?

I've only recently started diving deeper into elisp. I've been using message a lot in the past, much like println or print when in other languages. The trouble I have is that I'm writing elisp to ...
2
votes
2answers
136 views

Prevent showing buffer reversion message while working in the minibuffer

Problem When the file underlying buffer foo is changed, Emacs shows Reverting buffer 'foo'. in the echo area. The problem is that it will do this even when I'm working in the minibuffer, and the ...
2
votes
2answers
373 views

Persistent message in the echo area?

I'm using emacs 25.1. I know that I can send a message to the echo area via (message "Message text"). However, that message disappears whenever buffers are switched or other similar changes take ...
2
votes
1answer
91 views

Taking action depending on the presence of particular message in the echo area

I have my proper function to run latex, say my-tex. Sometimes one should run latex two times to get references right. A message like below in the echo area appears to tell this. How to identify ...
2
votes
1answer
1k views

"Marker does not point anywhere" error when using (message)

I'm running into the error "Marker does not point anywhere" when I try to print a message both in after-change-functions and buffer-list-update-hook. Curiously if only one hook or the other is active ...
2
votes
1answer
62 views

Invoke function on message

The debug-on-message variable tells Emacs to start the debugger when a matching message is displayed. How can I get Emacs to invoke my own function when a matching message is displayed? My motivation ...
2
votes
1answer
331 views

Possible to supress the: "Blocking call to accept-process-output with quit inhibited!!" message?

When running a process from a timer, this message is printed a lot. Is there a way to suppress the message entirely? For reference see: https://emacs.stackexchange.com/a/50681/2418
2
votes
2answers
71 views

changing display function in define-word package

How to replace the displayfn from message to a function which displays the result in a temporary window? (I have limited knowledge of elisp.)
2
votes
0answers
385 views

Is there a way to suppress errors in the *Messages* buffer?

I have a persistent problem with some jit-lock-function somewhere whenever I compile. I'm actually invoking the visual studio compiler, and I assume some of the output is somehow abhorrent to emacs. I ...
1
vote
1answer
180 views

Percentage sign in `print` and `message`

I am trying to output Humidity: 42% using both functions print and message. While print has no problem with the literal percentage sign, message throws a "Format string ends in middle of format ...
1
vote
1answer
170 views

How to suppress `When done with a buffer, type C-x #` warning message?

When I open a buffer I keep seeing following message: When done with a buffer, type C-x # in the minibuffer. => Is it possible completely to suppress this message? I am using emacsclient -t -q to ...
1
vote
1answer
59 views

eval-expression that shows the current character

What is the correct eval expression which shows the current character in the message area? I tried the following but they don't work. (message (char-after)) (message '(char-after)) (message 'char-...
1
vote
2answers
240 views

Don't replace my buffers with *warnings* or *message* buffers?

Current behavior: Emacs replaces one of my buffers with *warnings* or *messages* if I have multiple buffers open. However Emacs creates a new buffer and displays *warnings* or *messages* if I have ...
1
vote
1answer
68 views

How can I suppress the message `When done with this frame, type C-x 5 0`?

I am running emacs v26 daemon on the background and using a single terminal. Usually I open files using emacsclient -qt and close them using C-x C-s and C-x C-c to get back to terminal run the script ...
1
vote
2answers
205 views

Inhibiting `finished:` message from `async-shell-command`

Running (async-shell-command "echo test") prints echo test: finished to the echo area upon completion. I am running a function in the background on a loop with a special handler, and the message is ...
1
vote
1answer
41 views

Why does the prompt remain even if I quit my command?

I'm trying to write a function that should allow me to conditionally choose how to replace a regexp. E.g. if I have the string "A. Z" I'd like to choose if replace it with "A@. Z" ...
1
vote
1answer
866 views

Org-mode calendar notifications on Windows 10

I'm looking for a way to have emacs send me desktop notifications (on Windows 10) for appointments in my org file. I did find a way to be notified within emacs (https://sachachua.com/blog/2007/11/...
1
vote
1answer
58 views

How to block output of a command run with via `run-with-idle-timer`?

I use (run-with-idle-timer 45 t 'org-save-all-org-buffers) to automatically save all org-mode buffers when I am idling for 45 seconds. What I don't like about this is that it prints "All org-mode ...
1
vote
1answer
142 views

How to display Complete Evaluation Result in Echo Area itself in addition to new frame: Buffer > Message?

I am new to Emacs and Emacs-Lisp. I have the following code: (message "Her age is: %d" 10) (message "Her name is: %s" "Nancy") (message "My list is: %S" (list 7 4 2)) When I evaluate, it displays ...
1
vote
0answers
201 views

Is this a normal behavior for *Flycheck error message*’s display?

The following is an example of how my flycheck errors show up on emacs: Method name "createQATask" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern [...
0
votes
1answer
68 views

How to display the currently running function in the echo area?

I have this function: (defun foo () (interactive) (call-interactively 'bar) (call-interactively 'baz) (call-interactively 'qux) (call-interactively 'quux) (call-interactively 'fred)) ...
0
votes
1answer
15 views

How to show recent directories on separate lines in echo area?

Linux Mint 20, Emacs 27.2 Install package dired, dired+ I want to show recent directories visited in the minibuffer. Something like this: I tried this: (defun my-recent-dir () (interactive) ...
0
votes
1answer
71 views

Is it possible to suppress `LSP :: Connected to [pyls:N].` message on minibuffer?

When I open a Python file I keep seeing LSP :: Connected to [pyls:N]. message on the minibuffer. Is it possible to suppress it? Since I know I have enabled lsp, I don't want to see that message always ...