From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: ELPA: New package: minibuffer-header Date: Mon, 8 Aug 2022 08:54:34 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9213"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ () (2022-06-11) Cc: emacs-devel@gnu.org To: "Nicolas P. Rougier (inria)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 08 22:41:23 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oL9Yw-0002Gv-Nn for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Aug 2022 22:41:22 +0200 Original-Received: from localhost ([::1]:49490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oL9Yv-0007es-1b for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Aug 2022 16:41:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL9WV-0006pw-DK for emacs-devel@gnu.org; Mon, 08 Aug 2022 16:38:51 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:38411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL9WE-00026m-77 for emacs-devel@gnu.org; Mon, 08 Aug 2022 16:38:50 -0400 Original-Received: from localhost ([::ffff:154.227.136.120]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000B5B14.0000000062F17421.00007BC1; Mon, 08 Aug 2022 13:37:52 -0700 Mail-Followup-To: "Nicolas P. Rougier (inria)" , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293283 Archived-At: * Nicolas P. Rougier (inria) [2022-08-07 18:58]: > > Jean Louis [2022-08-07 at 17:15] wrote: > > * Nicolas P. Rougier (inria) [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 ">")) I did git pull and cannot find that `minibufer-header-format' accepts option. And why would option need to be a function? -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/