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: Andrii Kolomoiets
Subject: Re: [PATCH] Support "\n" in icomplete-separator
Date: Tue, 10 Nov 2020 19:18:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

Eli Zaretskii <eliz@gnu.org> writes:

>> While preparing receipt, I've found that the bug with the prompt is
>> still exists.
>
> Does this mean I no longer need to answer your question?

Yes.  But no :)

In 'emacs -Q', evaluate buffer with the following code:

(defvar o (make-overlay 0 0 nil t t))
(minibuffer-with-setup-hook
    (lambda ()
      (set (make-local-variable 'face-remapping-alist)
           '((default :height 1.3)))
      (move-overlay o (point) (point) (current-buffer))
      (let ((text (mapconcat
                   #'identity
                   '("Some" "text" "that" "will" "not" "fit"
                     "the" "minibuffer" "window")
                   "\n")))
        (put-text-property 0 1 'cursor t text)
        (overlay-put o 'after-string text)))
  (read-string "Multiline\nprompt: "))

Is it possible to make the prompt visible?  Should I file bug report for this?

TIA!



reply via email to

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