Many times when I check the backtrace buffer, I can't copy the text out because of the embedded binary data (perhaps it's the internal null characters making the copy function think the string is shorter than it is?) so that when I try to copy the buffer with C-x h M-w (don't remember if those are standard bindings), only a portion of the buffer gets copied (presumably up until the internal null character).

Is there a way to escape the binary data so that I may copy the buffer in its entirety? Or is there a way to omit the binary data?


Nope. There is no simple solution ready-to-hand. As far as I know, users just manually remove the bytecode from backtraces they report. That's what I do, at least.

This has been requested more than once, including with Emacs bug #6991.

The bug was summarily closed immediately -- no reason given. Eventually it was reopened and relegated to the "wishlist".

(You can always try again -- M-x report-emacs-bug, now that there is a new GNU Emacs maintainer. Dunno whether that will make a difference.)

  • Wow, that's surprising. Hopefully the response does change with the new maintainer. Thanks for giving me the context/history on this! – Jorge Israel Peña Dec 15 '15 at 6:13
  • Try again. Maybe you'll have better luck. You can also try raising the issue in emacs-devel@gnu.org. If there is no interest you will know that right away. If there is some interest, maybe something will come of it. You never know, unless you try. – Drew Dec 15 '15 at 6:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.