emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Support "\n" in icomplete-separator


From: martin rudalics
Subject: Re: [PATCH] Support "\n" in icomplete-separator
Date: Wed, 11 Nov 2020 16:49:54 +0100

> The exceptions are however orthogonal to the request to give
> applications the control on how the contents of the minibuffer should
> preferably be displayed: should it preferably start at the beginning
> of buffer (point-min), or should it preferably start at the beginning
> of the line on which the cursor is?  ATM the latter behavior is the
> only possibility (except with the code I sent to Andrii yesterday).

The application has to make sure that when it asks for user input, the
entire prompt can be seen in the minibuffer window without truncating
lines.  Emacs has to provide some reasonable minimum space for the
minibuffer window - usually one canonical frame line.  If an application
asks for more than can be displayed in the minibuffer window, that
application has a bug.  In the worst case, it's responsible when users
lose files or changes made to their buffers.

Exemptions can be made in emergency situations, for example, when Emacs
gets stuck with a frame that cannot be re-enlarged to some reasonable
size and some user input _is_ necessary to terminate the Emacs process
cleanly.  But the "normal" case is as stated above.

martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]