Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [message]

The tag has no usage guidance.

1
vote
0answers
24 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: ...
2
votes
2answers
52 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 ...
0
votes
1answer
34 views

Why is the result of evaluating this function not being displayed in minibuffer?

I wrote an interactive function to get the contents of a line from the current position of point to the last non-blank character on a line. However, when after evaluating the function with C-x C-e, ...
2
votes
1answer
67 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 ...
0
votes
1answer
21 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.)
3
votes
1answer
89 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 ...
0
votes
2answers
116 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 ...
1
vote
1answer
71 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 ...
4
votes
1answer
114 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 ...
11
votes
3answers
676 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/...
0
votes
1answer
61 views

wanderlust: hook for modifying buffer *WL:Message* as it is being accessed

I want to optionally perform some functions on the data in buffer *WL:Message* right after I access and view it. For example, when first viewing a new message in the *WL:Message* buffer via wl-...
4
votes
1answer
68 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
311 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 ...
3
votes
1answer
196 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 "...
2
votes
1answer
81 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 ...
6
votes
0answers
99 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 ...
0
votes
1answer
59 views

How to open a message/mime digest (within Gnus?), like ~/mail/Incoming<code>

Recently I did some shit within Gnus: I deleted a lot (thousands) of mails, trying to respool them in another group and rename it to the first group after having deleted it (i.e. to prepend an old ...
6
votes
1answer
265 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 () "...
4
votes
2answers
187 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) (...
0
votes
1answer
1k views

How to load self package with use-package?

I use Prelude, and I want to use use-package for loading and configuring my personal config files. In ~/.emacs.d/personal/load-private-config.el, my code is below: (like https://github.com/jwiegley/...
4
votes
1answer
606 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 ...
0
votes
0answers
246 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 ...
6
votes
5answers
1k 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, ...
9
votes
2answers
1k 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,...
4
votes
1answer
61 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, ...
2
votes
1answer
50 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 ...
12
votes
2answers
403 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 ...
6
votes
3answers
822 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 ...
1
vote
1answer
333 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 ...
4
votes
2answers
262 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....
1
vote
1answer
53 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
1answer
427 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 ...
7
votes
2answers
2k 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 ...
4
votes
1answer
39 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 ...
11
votes
2answers
243 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*?