unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Nicolas P. Rougier (inria)" <nicolas.rougier@inria.fr>
To: Jean Louis <bugs@gnu.support>
Cc: emacs-devel@gnu.org
Subject: Re: ELPA: New package: minibuffer-header
Date: Sun, 07 Aug 2022 17:55:52 +0200	[thread overview]
Message-ID: <m1wnbkjbc0.fsf@inria.fr> (raw)
In-Reply-To: <Yu/I/9zQChQehOR7@protected.localdomain>


Jean Louis [2022-08-07 at 17:15] wrote:
> * Nicolas P. Rougier (inria) <nicolas.rougier@inria.fr> 
> [2022-08-07 11:17]:
> > While I understand your arguments for other minibuffer related 
> > function, I
> > don't understand how this one makes use of minibuffer.
> 
> It is mistake, I was meaning `read-string`:

Ok. Then with latest version, here is one way to do it:

#+begin_src emacs-lisp
(defun help () "Help\n > ")

(let ((minibuffer-header-format #'help))
  (read-string ">"))
#+end_src

Nicolas




  reply	other threads:[~2022-08-07 15:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-06 15:59 ELPA: New package: minibuffer-header Nicolas P. Rougier (inria)
2022-08-06 16:51 ` Jean Louis
2022-08-06 19:20   ` Nicolas P. Rougier (inria)
2022-08-06 21:21     ` Jean Louis
2022-08-07  8:12       ` Nicolas P. Rougier (inria)
2022-08-07 14:15         ` Jean Louis
2022-08-07 15:55           ` Nicolas P. Rougier (inria) [this message]
2022-08-08  5:54             ` Jean Louis
2022-08-08 21:02               ` Nicolas P. Rougier (inria)
2022-08-06 22:03 ` Stefan Monnier
2022-08-07  8:10   ` Nicolas P. Rougier (inria)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1wnbkjbc0.fsf@inria.fr \
    --to=nicolas.rougier@inria.fr \
    --cc=bugs@gnu.support \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).