Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 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 [debugging]

Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program.

Filter by
Sorted by
Tagged with
0 votes
2 answers
77 views

How to make a progn-like (i.e. with "(&rest body)") function?

How to pass BODY argument ? (defun with-test (&rest body) "Execute BODY in current buffer '*Test*', saving and restoring current context." (interactive) (let ((cb (current-buffer)) ...
STyx's user avatar
  • 1
2 votes
1 answer
126 views

Why is recentf-open-files emitting these messages

I'm moving from Emacs 24 on Windows to Emacs 30.1 in server mode on Ubuntu via Snap so I'm having to deal with a huge number of things changing all at once. The problem I'm bothering you with occurs ...
bielawski's user avatar
  • 171
0 votes
1 answer
106 views

--debug-init on Windows

I just installed GNU Emacs 30.1 on my computer at work that runs on Windows 11 but I'm getting this message ■ Warning (initialization): An error occurred while loading ‘c:/Users/jdioses/.emacs.d/...
JorgeXD's user avatar
0 votes
1 answer
90 views

cannot rebind `C-x C-r` to my own command

I'm trying to bind C-x C-r to my own command (FWIW, it's roughly the same as the recentf command for switching to some recently-used thing) but somehow it just is not working: no matter what I do, ...
Dan Drake's user avatar
  • 809
0 votes
0 answers
49 views

dap-mode: fail to create session

I'm trying to setup dap-mode with dap-lldb but when i select my defined configuration I got the error: dap--create-session: Wrong type argument: stringp, nil. Below the code for registration of ...
MirkoBanchi's user avatar
0 votes
1 answer
91 views

How to follow elisp code

I'm trying to read an emacs lisp file and figure out what it's doing and how. Is there some way to turn on some sort of tracing? The file in question is this and I can't figure out where it starts, ...
147pm's user avatar
  • 3,085
1 vote
1 answer
143 views

How can I find out which line in my config file is causing a problem?

I often get error in my config file and sometimes it displays the char number or line number, but sometimes it doesn't, like now: *Backtrace* Debugger entered--Lisp error: (invalid-read-syntax ")&...
Jason Hunter's user avatar
  • 1,246
0 votes
0 answers
38 views

How can I debug auto-compression inside EasyPG not working?

https://www.masteringemacs.org/article/keeping-secrets-in-emacs-gnupg-auth-sources says: And, of course, you can nest the file extensions: open a .py.gpg file and it is first decrypted and then the ...
user570286's user avatar
1 vote
1 answer
49 views

Get backtrace for timer error

For an error in a timer there is Error running timer: (text-read-only "Attempt to change text outside editable field") Sadly it does not give a hint which function in which buffer has the ...
Harald's user avatar
  • 404
2 votes
1 answer
444 views

debugging python code

I've mostly used R with ESS before, but now I'm using python for a data sciency project. My general workflow is having a split screen with code on one side and the shell on the other (I generally don'...
swhalemwo's user avatar
0 votes
1 answer
74 views

print-level, print-length variables not working? [duplicate]

Why is my eval-expression output being truncated despite setting all the print-level and print-length variables to a very high value? (setf print-level 99999999999999 print-length ...
erjoalgo's user avatar
  • 895
0 votes
1 answer
86 views

Help understanding elisp debugger error

I am writing a function to set a BLOCKER property on tasks under certain conditions. The logic is working fine, but I am getting an error I cannot make sense of. When executing the function on a org ...
lyndhurst's user avatar
  • 123
0 votes
1 answer
80 views

How to debug emacs with the -q flag if using emacsclient (exwm)?

I start my desktop using .xinitrc: emacs --daemon -f exwm-enable exec emacsclient -c Now I'm required to run emacs -q in order to debug image display issues How should I achieve that since ...
jjk's user avatar
  • 796
0 votes
0 answers
78 views

Removing emacs broke my system

I uninstalled emacs using sudo apt remove emacs*. As it was busy my screen suddenly turned black with just the top left flashing cursor. After a restart, no desktop environment loads, I can only use ...
Joram's user avatar
  • 101
0 votes
1 answer
138 views

mu4e: getting error message "Sending...failed" even though the email was sent

Actually, sending mails works fine. But the error is annoying because it causes mu4e to keep the compose buffer open. Normally, it would close the buffer and save the mail to the sent folder. So I ...
durgaBahadur's user avatar

15 30 50 per page
1
2 3 4 5
38
Morty Proxy This is a proxified and sanitized view of the page, visit original site.