From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Nicolas P. Rougier (inria)" Newsgroups: gmane.emacs.devel Subject: Re: ELPA: New package: minibuffer-header Date: Mon, 08 Aug 2022 23:02:21 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27168"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.7; emacs 28.1 Cc: emacs-devel@gnu.org To: Jean Louis Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 08 23:10:09 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 1oLA0l-0006pN-8B for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Aug 2022 23:10:07 +0200 Original-Received: from localhost ([::1]:60706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLA0g-00009W-Dw for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Aug 2022 17:10:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL9wk-0006qF-Ha for emacs-devel@gnu.org; Mon, 08 Aug 2022 17:05:59 -0400 Original-Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:63019) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL9wc-00066a-DP for emacs-devel@gnu.org; Mon, 08 Aug 2022 17:05:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=references:from:to:cc:subject:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=xJ3mNimdl5z7kxOmM9RkRZ+CStX6Rn0pXzcy1k8NUhc=; b=s2H1oWcbxkOuRSw2tR0jPRX1aeKW67zv2vuftyJYAP155QDg/xHnxnz7 pW9mF0R2u7Xg8QoEnnNDR9je5/0xpqfhn+tL9o604qGjVJX20TFKxQppc 8Dq7qYQFFdqLy/zapYJr2FoS5WZAIgYYym6kYLxzTIyTszENzrwilfTwg g=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=nicolas.rougier@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.93,222,1654552800"; d="scan'208";a="48291236" Original-Received: from 91-160-114-139.subs.proxad.net (HELO M-E7-NPR) ([91.160.114.139]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Aug 2022 23:05:46 +0200 In-reply-to: Received-SPF: pass client-ip=192.134.164.83; envelope-from=nicolas.rougier@inria.fr; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:293284 Archived-At: Jean Louis [2022-08-08 at 08:54] wrote: > I did git pull and cannot find that `minibufer-header-format'=20 > accepts > option. >=20 > And why would option need to be a function? Maybe I forgot to push. It's here:=20 https://github.com/rougier/minibuffer-header/blob/master/minibuffer-header.= el#L58 The format can be a string or a function if you want a dynamic=20 header line. For example, you can hide the regular prompt and=20 display it in the header line. You can also prefix the header line=20 with minibuffer depth in case of recursive minibuffers, etc. Nicolas --=20 Nicolas P. Rougier =E2=80=94=E2=80=94 www.labri.fr/perso/nrougier Institute of Neurodegenerative Diseases, Bordeaux