This even occurs with my most minimal config. The key sequence is translated into a command through the currently active keymaps. Reload to refresh your session. For this specific case, I didn't care about the errors and I wanted that function to work when conditions were valid. –Kaushal Modi Oct 10 '14 at 15:43 I have a peek here
I have stopped using lusty-buffer-explorer though because some interaction between lusty and Emacs 24.5 has stopped it seeing the buffer list. mattfidler reopened this Oct 29, 2015 mattfidler added the bug label Oct 29, 2015 ghost commented Nov 3, 2015 I see this error message appear once, when I first start emacs bricewge commented Dec 5, 2015 It still present. Malabarba added a commit that closed this issue Dec 5, 2015 Malabarba
Loading /Users/nico/.emacs.d/savefile/recentf...done Cleaning up the recentf list...done (0 removed) Entering debugger... As for the Eclim version, I do not know which version I installed via de Melpa repository. Reload to refresh your session. It gets called in my case because: (window-live-p root-window) Isn't true.
See Maintaining Undo. Reload to refresh your session. Terms Privacy Security Status Help You can't perform that action at this time. the error message appears briefly, but you can see it fully on buffer "Messages" I am using GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian.
The trick is from Johan Bockgård. It does not appear after the first time. On the other hand, despite been an "error" message, I did not notice any other problems. http://emacs.stackexchange.com/questions/1031/debug-why-a-function-is-removed-from-post-command-hook Terms Privacy Security Status Help You can't perform that action at this time.
Already have an account? Index(es): Date Thread Next: Defining Commands, Up: Command Loop [Contents][Index] 20.1 Command Loop Overview The first thing the command loop must do is read a key sequence, which is a Who created the Secret Stairs as a way into Mordor and for what purpose? For commands written in Lisp, the interactive specification says how to read the arguments.
Type M-x and run "ergoemacs-mode" 3. You signed in with another tab or window. Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. debug-on-error is mostly useless in > this case. > Can post-command-hook errors be more informative?
Prior to executing the command, Emacs runs undo-boundary to create an undo boundary. navigate here For example, the command find-file has an interactive specification which says to read a file name using the minibuffer. Reload to refresh your session. Leo Tassilo Horn-6 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Why post-command-hook so difficult to debug?
After you run that code and you inspect the contents of post-command-hook, is the command listed? –Dan♦ Oct 10 '14 at 14:41 @Dan I have updated the question will So it seems I'm >> the culprit although I cannot spot the problem... > > Are you sure that nrepl-send-string-sync returns all completions in > strings? After using Prelude and automatically (post-)installing some modes (i guess they were PHP and SCSS) through prelude, i re-opened Emacs and got the following issue.
But the Emacs Lisp documentation, presumably up-to-date, is more conservative: The root node of a window tree is called the root window. The solution proposed by @manuel-uberti in the comment's of your blog doesn't work for me. Leo <[hidden email]> writes: > On 2012-08-24 02:37 +0800, Tassilo Horn wrote: >> Anyway, could you please elaborate what was the 100 miles away function >> in your case? Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox.
Question: How can I find what's causing the removal of that function from the hook? A request coming into the Emacs server (see Emacs Server in The GNU Emacs Manual) runs these two hooks just as a keyboard command does. ErgoEmacs member mattfidler commented Nov 3, 2015 Still can't reproduce it with a clean environment. this contact form Browse other questions tagged elisp hooks or ask your own question.
I tried using when (and l r) ..) but that doesn't work as I think that the function errors out by the (beginning-of-defun ..) and (end-of-defun ..) calls. –Kaushal Modi Oct For what it's worth, I run GNU Emacs 184.108.40.206 and see no issues with lusty-buffer-explorer. debug-on-error is mostly useless in this case. Next: Defining Commands, Up: Command Loop [Contents][Index] current community chat Emacs Emacs Meta your communities Sign up or log in to customize your list.
As soon as you see the message "Started `ergoemacs-mode'. (...)" hit C-o (to open a file). It can be either a live window (if the frame has just one window), or an internal window. The less you have on post-command-hook, the better. Leo Tassilo Horn-6 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Why post-command-hook so difficult to debug?
This is done by the command execute-extended-command (see Interactive Call). The usual debugging facilities like `toggle-debug-on-error' and `edebug-function' are not triggered in there... Why is nuclear waste more dangerous than the original nuclear fuel? I have just installed a newer version of Emacs from source and the error message is gone!
I tried removing `tags-completion-at-point-function' from `completion-at-point-functions' but the error persists. Can morse code be called steganography?