Questions tagged [logging]
34 questions
13
votes
4 answers
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/init.el (source)...
No outline structure…

gsl
- 1,742
- 17
- 34
13
votes
3 answers
Is there a decent log viewing mode for large log files?
Some of the log files I'm working with are fairly large (>200Mb) but it would be nice to browse them in Emacs. At the moment by default Emacs attempts to enable log4j mode which just slows everything down. What I really need is a lightweight viewer…

stsquad
- 4,626
- 28
- 45
12
votes
2 answers
Is there a function for logging to *Messages* buffer without displaying in the echo-area?
Is there a function for logging to Messages buffer without displaying in the echo-area? Or maybe another build in log mechanism?
I'm after a kind of console.log("string") kind of functionality.

Peter
- 235
- 1
- 6
9
votes
1 answer
Using Tramp for logs
I am trying to use Tramp with auto-revert-tail-mode to perform a tail of a remote log. Every time the log updates (which is often), the screen briefly jumps to the bottom of the file and then back to my current location in the file. Is there a way…

ChaimKut
- 187
- 8
6
votes
1 answer
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 ()
"message me"
(interactive)
(message…

Suzanne Soy
- 163
- 4
6
votes
1 answer
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 useful. Basically, I want my *Messages* buffer to…

modulitos
- 2,432
- 1
- 18
- 36
5
votes
0 answers
recording cross-buffer cut-and-paste
I'm interested in trying to track where my ideas come from.
Suppose I open files f1,f2,f3
and cut-and-paste lines from these files into f4.
I'd like to record this information in a log file (say f4.meta)
(at copied data from f1 to f4)
Is there a…

joearms
- 51
- 1
5
votes
1 answer
log keystrokes with timestamp and other metadata?
If I evaluate this form:
(open-dribble-file "/home/joe/keys.log")
then type something, Emacs saves what I type to the keys.log file:
hellow keylogging…

Joe Corneli
- 1,786
- 1
- 14
- 27
4
votes
2 answers
Display keybindings typed in a buffer
On this video stream, the window on right displays the keybindings typed with its corresponding command bound.
Is there any package that does that, or a way to achieve it?

nephewtom
- 2,219
- 17
- 29
4
votes
3 answers
Inconsistent point when inserting into a buffer that is visible in another frame
While working on a sort of "background processing" function, I noticed that my logs would print backwards if the buffer was in another frame. I cannot seem to figure out why it is happening.
I am not looking for a solution to make the log print…

Jordon Biondo
- 12,332
- 2
- 41
- 62
4
votes
1 answer
Are there TRAMP mode log files? If so, how to access them?
Having here some troubles with TRAMP mode and already set (customize-set-variable 'tramp-verbose 6 "Enable remote command traces") in .emacs file.
But main problem is that Emacs is stuck in TRAMP mode, and debug buffer can't be accessed.
Hangs while…

Renan41
- 65
- 5
4
votes
2 answers
How can I get :LOGBOOK: into Column View?
The items in my org-mode file will have a number of properties relating to data points that I need to capture. In conjunction with this, I'd like to continue using C-c C-z to log notes tracking progress against each item.
The end goal is to get…

xeijin
- 101
- 8
3
votes
1 answer
org-agenda-custom-commands: how to show only the log
I'm trying to get the agenda to show a list of everything I have worked on the past week, and only that.
This is close, but it still shows the items that are scheduled, every day since their scheduled dateb:
(add-to-list…

elyuku
- 67
- 7
3
votes
1 answer
How to get immediate visual feedback of keys I type?
I would like to get some immediate strong visual feedback for the commands I enter in emacs. For example, I would be happy if any key sequence (beginning with a modifier key) that I type appeared in large red letters in the centre of the current…

Communicative Algebra
- 173
- 6
3
votes
0 answers
Continuously redirect debugging information (e.g. *Messages*) to file
My Emacs configuration (Emacs 27, Doom-Emacs config with lots of user-specific tweaks, running on MacOS) sometimes hangs at seemingly random times, and the kill -SIGUSR2 has no effect. Debugging this would be a lot easier if there was a…

Alexey Shiklomanov
- 205
- 1
- 6