[Top][All Lists]

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

Re: completing-read depricated initial-input

From: Christopher Dimech
Subject: Re: completing-read depricated initial-input
Date: Tue, 21 Jun 2022 14:39:47 +0200

Jun 21, 2022, 11:19 by

    carlmarcos--- via Users list for the GNU Emacs text editor
    <> writes:

        I differ with the plan to depricate `INITIAL-INPUT`.

    I often miss it, too. I don't recall why it had been deprecated. But
    you still can get the same thing using `minibuffer-setup-hook', e.g.

    #+begin_src emacs-lisp
    (minibuffer-with-setup-hook (lambda () (insert "b"))
    (completing-read "Input: " (list "a" "b")))


Eli and Stefan, those working with `completing-read` can see the value of
having the functionality of INITIAL-INPUT in completing-read.  Could you
contemplate not deprecating the functionality INITIAL-INPUT.  Because the
argument does have usefulness, which will be possible to do if deprecated.

reply via email to

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