GNU bug report logs -
#33871
27.0.50; Revert Dired window saved in window configuration
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Tue, 25 Dec 2018 21:43:01 UTC
Severity: minor
Found in version 27.0.50
Fixed in version 30.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #158 received at 33871 <at> debbugs.gnu.org (full text, mbox):
> So now here is the final patch:
For 'window-point-context-set' I'd rather write something like:
Call function specified by `window-point-context-set-function' for every
live window on the selected frame with that window as sole argument and
that window's buffer current. The function called is supposed to return
a context of the window's point that can be later used as argument for
`window-point-context-use'. Remember the returned context in the window
parameter `context'.
+function is called with two agreements: the window and the context data
^^^^^^^^^^
I still don't get why you use 'with-current-buffer' here. IIUC usually
a buffer does not have 'window-point-context-set-function' set and so a
simple
(buffer-local-value 'window-point-context-set-function (window-buffer w))
should suffice.
martin
This bug report was last modified 1 year and 102 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.