unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* How about making `set-minibuffer-window' obsolete?
@ 2021-03-16 18:16 Alan Mackenzie
  2021-03-16 18:42 ` Eli Zaretskii
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Alan Mackenzie @ 2021-03-16 18:16 UTC (permalink / raw)
  To: emacs-devel

Hello, Emacs.

Does anybody have any objection to me making set-minibuffer-window
obsolete?

It's defined in src/minibuf.c, but not used by any C function, and it's
not used by any Lisp in Emacs itself - the nearest to a use is a
commented out occurrence in lisp/textmodes/ispell.el.

This function just sets the C variable minibuf_window.  This variable is
defined (by comment) to be the minibuffer window of the selected frame.
So setting it to a random mini-window will cause nasty problems.

Actually, I'd prefer just to remove the function entirely - but there's
always the chance it's being used by some external library.

So, any objections?

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-03-18 12:01 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 18:16 How about making `set-minibuffer-window' obsolete? Alan Mackenzie
2021-03-16 18:42 ` Eli Zaretskii
2021-03-16 20:50   ` Alan Mackenzie
2021-03-17 12:57     ` Eli Zaretskii
2021-03-18 11:46       ` Alan Mackenzie
2021-03-18 12:01         ` Eli Zaretskii
2021-03-16 19:42 ` [External] : " Drew Adams
2021-03-16 23:04   ` Alan Mackenzie
2021-03-16 23:00 ` Stefan Monnier
2021-03-16 23:24   ` Alan Mackenzie
2021-03-17  3:31   ` Eli Zaretskii
2021-03-17  8:44     ` martin rudalics
2021-03-16 23:17 ` Dmitry Gutov
2021-03-16 23:28 ` Stefan Monnier
2021-03-17  8:44 ` martin rudalics
2021-03-17 13:17   ` Eli Zaretskii
2021-03-17 15:36     ` martin rudalics
2021-03-17 15:45       ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).