GNU bug report logs -
#38282
26.3; goto-line should not share input history with other commands
Previous Next
Reported by: Federico Tedin <federicotedin <at> gmail.com>
Date: Tue, 19 Nov 2019 21:49:02 UTC
Severity: wishlist
Tags: fixed
Found in version 26.3
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #35 received at 38282 <at> debbugs.gnu.org (full text, mbox):
Federico Tedin <federicotedin <at> gmail.com> writes:
> + ;; It would be better to use `goto-line-history' as a HIST
> + ;; parameter to `read-from-minibuffer' (through
> + ;; `read-number'), but using buffer-local variables
> + ;; doesn't work for that purpose. (Bug#38317)
> + (minibuffer-history
> + (buffer-local-value 'goto-line-history (or buffer
> + (current-buffer)))))
I think a per-buffer history for goto-line makes sense, but I was also
wondering whether read-number should have its own separate history, too.
This would, I think, not interoperate well with that (that is, if
`read-number' passes a different variable to read-from-minibuffer than
nil).
So I think a better solution would be to fix the problem with
buffer-local variables not working in read-from-minibuffer first, and
then we could extend read-number with a history parameter instead of
hacking around the problem this way.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 144 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.