From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [PATCHES] Minor patches for Remember, Minibuffer and Tab Bar Date: Sat, 5 Dec 2020 08:03:09 -0800 (PST) Message-ID: <17529736-2baa-440e-8d5f-948a2ed5284e@default> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5767"; mail-complaints-to="usenet@ciao.gmane.io" To: Gabriel do Nascimento Ribeiro , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 05 17:06:30 2020 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 1kla4r-0001OS-VK for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Dec 2020 17:06:29 +0100 Original-Received: from localhost ([::1]:58110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kla4r-0006XQ-13 for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Dec 2020 11:06:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kla3i-0005Zk-Qm for emacs-devel@gnu.org; Sat, 05 Dec 2020 11:05:18 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:36704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kla3e-0004ur-Fw for emacs-devel@gnu.org; Sat, 05 Dec 2020 11:05:18 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B5G0Bjq175006; Sat, 5 Dec 2020 16:05:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=C11v6ixTWvV6x4hPmdD9Ki3m6BJHjGfIZXjBVsbbvAQ=; b=WBfVx8T79Jg9ibw5J5iw3dz2FnDMEnOBuK3r335qJecIMQ27H1VBxRfoZfW+xqUC4MUU uk+BR0YgQg1UYFYdfK+E7H7v2lojTdVSVPoDPosxKREK1lyDdnCufIH3UZycoiTuFQiO 2im1Z30c4MhBccwknlIPpvmMzXtEe1D06FI8bOIYkLYqb088MXZHeG/itsiQrG/kWKP+ Rk3j1WxRPPF1f2Bb8JNYGVIupffCQYdZNbE/WcLbNhnI+SyywkCTViTQzPHtR1VkOixQ 1AbP+DSg1V+WTWFrXZooFDOme+HtVAXbBR8krkhFf37SQij5E+6Odv1I0ePlu8LXO5hk dg== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 3581mqh0sf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 05 Dec 2020 16:05:11 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B5G0KNC163469; Sat, 5 Dec 2020 16:03:11 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 35820yn24r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 05 Dec 2020 16:03:10 +0000 Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0B5G3A4v012707; Sat, 5 Dec 2020 16:03:10 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5071.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9826 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 bulkscore=0 mlxscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012050106 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9826 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=999 clxscore=1011 malwarescore=0 priorityscore=1501 adultscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 impostorscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012050106 Received-SPF: pass client-ip=156.151.31.86; envelope-from=drew.adams@oracle.com; helo=userp2130.oracle.com 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, DKIMWL_WL_HIGH=-0.001, 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:260379 Archived-At: > This patch: > - adds a trailing space to minibuffer depth indicator, so > it has some distance from minibuffer prompt > - adds a new face 'minibuffer-depth-indicator' Time travel...2006... https://www.emacswiki.org/emacs/download/mb-depth%2b.el And here's (all of) the code: (defface minibuffer-depth-indicator '((t (:inherit default))) "Face used to indicate minibuffer depth." :group 'convenience :group 'faces) (defcustom minibuffer-depth-indicator-format "%d) " "Format string for minibuffer depth indicator." :type 'string :group 'convenience) ;; REPLACE original defined in `mb-depth.el'. ;; Use face `minibuffer-depth-indicator' and option ;; `minibuffer-depth-indicator-format'. ;; ;; This function goes on `minibuffer-setup-hook'. ;; (defun minibuffer-depth-setup () "Set up a minibuffer for `minibuffer-depth-indicate-mode'. The prompt should already have been inserted." (when (> (minibuffer-depth) 1) (setq minibuffer-depth-overlay (make-overlay (point-min) (1+ (point-min)))) (overlay-put minibuffer-depth-overlay 'before-string (if minibuffer-depth-indicator-function (funcall minibuffer-depth-indicator-function (minibuffer-depth)) (propertize (format minibuffer-depth-indicator-format (minibuffer-depth)) 'face 'minibuffer-depth-indicator))) (overlay-put minibuffer-depth-overlay 'evaporate t)))