[slime-devel] Re: [slime-cvs] CVS slime
Tobias C. Rittweiler
tcr at freebits.de
Wed Aug 15 23:39:33 UTC 2007
Helmut Eller <heller at common-lisp.net> writes:
> * trittweiler [2007-08-15 15:45+0200] writes:
>
> > Make `M-.' work on definitions outside the current restriction.
> > `M-,' will also properly restore the narrowing as of before the
> > jump. Similiarly for quiting from the compilation notes buffer and
> > the Xref buffers.
> >
> > * slime.el (slime-narrowing-configuration, slime-emacs-snapshot),
> > (current-slime-narrowing-configuration),
> > (set-slime-narrowing-configuration),
> > (current-slime-emacs-snapshot),
> > (set-slime-emacs-snapshot),
> > (current-slime-emacs-snapshot-fingerprint): New. Emacs' window
> > configurations do not restore narrowing, so introduce a
> > snapshot facility that contains the necessary information.
>
> This is quite a heavy abstraction. Can we at least agree to use
> "slime" as prefix in ELisp code please?
It's based upon `current-window-configuration' and
`set-window-configuration' --- I wasn't quite sure if I should name them
this way or the way you suggest (actually I'd have liked to drop the
slime part alltogether.)
> May I also point out that "slime-emacs-snapshot" is a rather
> unspecific term? Perhaps something like "slime-window-config" would
> be more suggestive. Or at least drop the "emacs" part.
It represents a snapshot of current Emacs' state. So I wouldn't say it's
rather unspecific. Further suggestions besides your
"slime-window-config" would be "slime-emacs-state" or
"slime-state-snapshot." Anything else? Any favorite?
-T.
More information about the slime-devel
mailing list