Questions tagged [message]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
73 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.)
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
0answers
22 views

How can I keep result of pyimport more than a second?

I am using https://github.com/Wilfred/pyimport to insert missing imports using M-x pyimport-insert-missing. Example: Path() where its import is missing. When I bring cursor on top of Path and apply ...
2
votes
1answer
335 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
0
votes
1answer
179 views

Suppress "Ignoring <ruby gem>" messages on emacs startup

When I start emacs, I get a bunch of messages Ignoring charlock_holmes-0.7.7 because its extensions are not built. Try: gem pristine charlock_holmes --version 0.7.7 Ignoring escape_utils-1.2.1 ...
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) ...
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 ...
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, ...
0
votes
0answers
29 views

Messages in the minibuffer (or echo area) waiting for user RETURN

What ways can I display a message in the minibuffer (or echo area) waiting for the user RETURN. I mean I want to display a message and be sure that a script waits for the user to read it. I usually ...
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" ...
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 ...
3
votes
1answer
50 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) (...
1
vote
1answer
181 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
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 ...
3
votes
1answer
111 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: ...
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/...
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 ...
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 ...
0
votes
1answer
68 views

resize-temp-buffer doesn't work in my code when 2 windows are diplayed into the frame

I'm searching for a way to display messages while replacements are proposed to the users of a script. I tried to write a macro but I'm in trouble with this code: (defmacro with-user-explanation (...
1
vote
1answer
172 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 ...
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 ...
4
votes
1answer
121 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....
1
vote
0answers
203 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 &quot;createQATask&quot; doesn&#x27;t conform to &#x27;[a-z_][a-z0-9_]{2,30}$&#x27; pattern [...
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 ...
1
vote
1answer
879 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/...
14
votes
4answers
907 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 ...
0
votes
0answers
233 views

How to disable loading message, when I use emacs to open a easycrypt *.ec file

I use Emacs GUI in Ubuntu, when I use Emacs to open a easycrypt file, for example a.ec, Emacs will show a loading message at the bottom of the window, I guess it is in the minibuffer, but I am not ...
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....
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 ...
1
vote
1answer
59 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
2answers
206 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 ...
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 ...
2
votes
2answers
378 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 ...
3
votes
2answers
138 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
67 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, ...
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
155 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 ...
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, ...
1
vote
1answer
145 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
152 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 ...
0
votes
1answer
77 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-...
3
votes
1answer
139 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
653 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 ...
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 ...
4
votes
1answer
361 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
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 ...
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 ...
3
votes
2answers
217 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
112 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
422 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 () "...