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: Eli Zaretskii
Subject: Re: [PATCH] Support "\n" in icomplete-separator
Date: Tue, 10 Nov 2020 20:23:42 +0200

> From: Andrii Kolomoiets <andreyk.mad@gmail.com>
> Cc: spacibba@aol.com,  emacs-devel@gnu.org,  monnier@iro.umontreal.ca
> Date: Tue, 10 Nov 2020 19:18:18 +0200
> 
> (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?

What is the bug here?



reply via email to

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