I've just tried to do a cut&paste on a large backtrace in the sldb buffer. Unfortunately, that doesn't work too well, because when I mark the beginning and start going down in the backtrace, as soon as I pass the --more-- marker, the selection gets changed.
I've tried adding a save-excursion to sldb-fetch-more-frames, but for some reason that doesn't quite do the trick. The beginning of my region then stays untouched, but after passing the --more-- marker, the end of my region jumps to the end of the backtrace.
Which means, I find the current behavior annoying, but I don't know how to fix it :-(
--J.
Jan Rychter jan@rychter.com writes:
I've tried adding a save-excursion to sldb-fetch-more-frames, but for some reason that doesn't quite do the trick. The beginning of my region then stays untouched, but after passing the --more-- marker, the end of my region jumps to the end of the backtrace.
Which means, I find the current behavior annoying, but I don't know how to fix it :-(
I've committed a partial fix and end of the region should now stay in untouched. But for some reason Emacs deactivates the mark. Setting deactivate-mark to nil keeps the region active after sldb-fetch-more-frames but it gets deactivated on the next command. Perhaps some interaction with buffer-tick. Strange.
Helmut.
Jan Rychter jan@rychter.com writes:
I've just tried to do a cut&paste on a large backtrace in the sldb buffer. Unfortunately, that doesn't work too well, because when I mark the beginning and start going down in the backtrace, as soon as I pass the --more-- marker, the selection gets changed.
By the way, is it possible to also see the part of backtrace entries that don't horizontally fit within the sldb buffer (e.g. via horizontal scroll or by wrapping lines in some way)?
Paolo
* Paolo Amoroso amoroso@mclink.it [2004-02-25T17:35+0100]:
By the way, is it possible to also see the part of backtrace entries that don't horizontally fit within the sldb buffer (e.g. via horizontal scroll or by wrapping lines in some way)?
This may help:
(defvar slime-truncate-lines t "When true, set `truncate-lines' in certain popup buffers. This applies to buffers that present lines as rows of data, such as debugger backtraces and apropos listings.")
Cheers, M/
Michael Weber michaelw+slime@foldr.org writes:
- Paolo Amoroso amoroso@mclink.it [2004-02-25T17:35+0100]:
By the way, is it possible to also see the part of backtrace entries that don't horizontally fit within the sldb buffer (e.g. via horizontal scroll or by wrapping lines in some way)?
This may help:
(defvar slime-truncate-lines t "When true, set `truncate-lines' in certain popup buffers. This applies to buffers that present lines as rows of data, such as debugger backtraces and apropos listings.")
Setting swank:*sldb-pprint-frames* to t in your ~/.swank.lisp might also be useful.
AFAIK, Emacs21 and XEmacs scroll automatically when you reach the right border. For Emacs20 you can enable hscroll-mode, perhaps in the sldb-mode-hook.
Helmut.