问题描述:

When debug-on-error is enabled, I have trouble with corrupted text in Backtrace buffer.

like this.

example

it says maybe in Japanese. However, I can't understand the message.

Does anyone know workaround? it will be ok for me to display the message in English.

Any help would be appreciated. Thanks in advance.

conditions

OS: Ubuntu 14.10

emacs version: 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2)

网友答案:

Yes, it is bytecode. No, it should not be shown in backtraces. Or at least there should be a user option not to show it in backtraces.

This is Emacs bug #6991, which was reported 4 years ago.

Sadly, it has not been fixed, and was simply moved to "Wishlist" (effectively aka /dev/null).

(Bug #15789 also complained about byte-code in backtraces.)

网友答案:

As the other answers say, this is bytecode. You see this because emacs hasn't evaluated the source code. This utility of this might be debatable; sometimes the byte code can give hints about what is going on, though.

To remedy this problem, you should got to the helm source code (just click on one of the functions, like helm-update and then M-x eval-buffer). After that, you should see a more meaningful backtrace. (I couldn't test this though: I installed helm via package-install and after debug-on-entry helm-apropos and helm-apropos, I didn't see any byte code. How did you install helm?)

网友答案:

That's not text in any human language, but Emacs byte code, compiled from Emacs Lisp. (I'm not sure why this is displayed in the backtrace buffer — it might as well be hidden by default, since it's unlikely to help in resolving any problems.)

What you can read from the above is that the function helm-mp-highlight-region is calling re-search-forward with a nil argument, but re-search-forward expects a string instead. This might be a bug in Helm.

相关阅读:
Top