From unknown Sat Aug 09 15:55:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19877: 24.4; highlight-regexp displays nonsense options for faces Resent-From: Boruch Baum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Feb 2015 18:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19877 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 19877@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.142402520925484 (code B ref -1); Sun, 15 Feb 2015 18:34:03 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2015 18:33:29 +0000 Received: from localhost ([127.0.0.1]:44908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YN40W-0006cx-A5 for submit@debbugs.gnu.org; Sun, 15 Feb 2015 13:33:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33927) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YN40T-0006cY-TC for submit@debbugs.gnu.org; Sun, 15 Feb 2015 13:33:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YN40H-00036S-F1 for submit@debbugs.gnu.org; Sun, 15 Feb 2015 13:33:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN40H-00036M-Cr for submit@debbugs.gnu.org; Sun, 15 Feb 2015 13:33:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN40B-00015j-Le for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 13:33:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YN402-00034H-2l for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 13:33:07 -0500 Received: from mout.gmx.com ([74.208.4.201]:62589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN401-00034D-Sq for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 13:32:58 -0500 Received: from [10.206.181.34] ([47.21.4.242]) by mail.gmx.com (mrgmxus002) with ESMTPSA (Nemesis) id 0MNqKz-1YUVqU0Fad-007Yi4 for ; Sun, 15 Feb 2015 19:32:57 +0100 Message-ID: <54E0E63C.8010907@gmx.com> Date: Sun, 15 Feb 2015 13:32:28 -0500 From: Boruch Baum User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 OpenPGP: url=hkp://keys.gnupg.net Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eMEm4GDHInOkJtVaD3nCkwxtQbq1N2mg1" X-Provags-ID: V03:K0:2iyL6nmoj4tAMy6c8D3V9q2SmnIAHl4+4aqmiXzx0sgdvicdEoN Rx4EuABNdyY1aLwkAv6n4bBXd/i7Vs9+bNrL9+BWDyKjCeXZM3nuthMheMONdMvUFNEkYeM CER1/gYGTbWof0bpT64jAeEEo7lbhno3i/UTwQBvXDmvLNCcLah529iuuLi1tjVQQgFreNf CsQJ0bljiVJuHZkHg0rnA== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --eMEm4GDHInOkJtVaD3nCkwxtQbq1N2mg1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable WHAT HAPPENS: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The documentation for `highlight-regexp' ( info:emacs#Highlight Interactively]] ) says, "While being prompted for a face use =E2=80=98M-n= =E2=80=99 and =E2=80=98M-p=E2=80=99 to cycle through them." However, repeatedly keying = =E2=80=98M-n=E2=80=99 will toggle through the entries in `hi-lock-face-defaults' *twice*, and then will start displaying _other items_, presumably from some other history ring, but not necessarily faces. In my case, some of the _other items_ that appear when I =E2=80=98M-n=E2=80=99 cycle, were: apropos-vari= able-button, org-target, bookmark-menu-bookmark, org-agenda-date-today, and ido-incomplete-regexp. Furthermore, if one of those _other items_ is selected, `highlight-regexp' exits, without indicating an error, and without highlighting the requested regexp in *any* face. Furthermore, `highlight-regexp', as an alias for function `hi-lock-face-buffer', hard codes face `hi-yellow' as a default, but that default isn't used when one of those non-face _other items_ are selected. Finally, it seems inconsistent with the emacs spirit of flexibility to have `hi-yellow' be hard-coded as a default in function `hi-lock-face-buffer'. Post-finally, courtesy of the indentation police: in function `hi-lock-read-face-name', the `then` and `else` elements of the function's only `if` form, are out-dented. WHAT I EXPECTED: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1] There are a few ways I expected `M-n` could toggle - either through only the entries in `hi-lock-face-defaults'; through the entries in `hi-lock-face-defaults' plus faces the user had previously entered for hi-lock purposes; or through the entries in `hi-lock-face-defaults' plus faces the user had previously entered for any purpose. It should never *offer* the user an invalid option. Also, it should never accept an entry that isn't a face. 2] If, somehow, something other than a valid face is entered, the user should be notified, and sent back to the prompt, with the same option of `M-n` cycling. 3] If, somehow, something other than a valid face is accepted, the default should be used. 4] The default should not be hard-coded as `hi-yellow`, or as anything else. It should be set to user-definable variable, say `hi-lock-default-face', which could have a default value of `hi-yellow'. 5] Indentation readability / inconsistency quibble. PARTIAL SOLUTION =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1] Why `M-n` cycled twice through legitimate defaults before offering up garbage. For the following, paste function `hi-lock-read-face-name' into a scratch buffer in order to follow my line number references The value of `defaults', when `hi-lock-interactive-patterns' is *nil*, because of line 7, hi-lock--unused-faces =3D hi-lock-face-defaults because of line 9, last-used-face =3D nil so at line 12, (defaults (append hi-lock-face-defaults (cdr (member nil hi-lock-face-defaults)) hi-lock-face-defaults)) which simplifies to (defaults (append hi-lock-face-defaults nil hi-lock-face-defaults)) OTOH, when `hi-lock-interactive-patterns' is not *nil*, because of line 7, hi-lock--unused-faces =3D nil so at line 12, (defaults (append nil (cdr (member last-used-face hi-lock-face-defaults)) hi-lock-face-defaults)) CONSEQUENTLY, line 12 should be (defaults (if hi-lock-interactive-patterns (let ((index (position last-used-face hi-lock-face-defaults)= )) (append (last hi-lock-face-defaults (1+ index)) (butlast hi-lock-face-defaults (1+ index)))) hi-lock-face-defaults)) 2] on the issue of the strange entries in the history, I've only traced the lisp code as far as `read-from-minibuffer' in minibuf.c In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu) of 2014-12-09 on gaia, modified by Debian System Description: Debian 7.0 GNU/Linux wheezy/testing Configured using: `configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/= 24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/sit= e-lisp:/usr/share/emacs/s\ ite-lisp --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/= 24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/sit= e-lisp:/usr/share/emacs/s\ ite-lisp --with-x=3Dno --without-gconf --without-gsettings 'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat -Werror=3Dformat-security -Wall' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 LDFLAGS=3D-Wl,-z,relro' Important settings: value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: IBuffer Minor modes in effect: highlight-current-line-minor-mode: t desktop-save-mode: t savehist-mode: t winner-mode: t global-hi-lock-mode: t hi-lock-mode: t delete-selection-mode: t shell-dirtrack-mode: t tooltip-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-favicon hides /usr/share/emacs24/site-lisp/w3m/w3m-favicon /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-symbol hides /usr/share/emacs24/site-lisp/w3m/w3m-symbol /home/boruch/.emacs.d/elpa/w3m-20140107.1708/bookmark-w3m hides /usr/share/emacs24/site-lisp/w3m/bookmark-w3m /home/boruch/.emacs.d/elpa/w3m-20140107.1708/mime-w3m hides /usr/share/emacs24/site-lisp/w3m/mime-w3m /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-filter hides /usr/share/emacs24/site-lisp/w3m/w3m-filter /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-ccl hides /usr/share/emacs24/site-lisp/w3m/w3m-ccl /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-namazu hides /usr/share/emacs24/site-lisp/w3m/w3m-namazu /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-ems hides /usr/share/emacs24/site-lisp/w3m/w3m-ems /home/boruch/.emacs.d/elpa/w3m-20140107.1708/octet hides /usr/share/emacs24/site-lisp/w3m/octet /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-bookmark hides /usr/share/emacs24/site-lisp/w3m/w3m-bookmark /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-perldoc hides /usr/share/emacs24/site-lisp/w3m/w3m-perldoc /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-dtree hides /usr/share/emacs24/site-lisp/w3m/w3m-dtree /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-session hides /usr/share/emacs24/site-lisp/w3m/w3m-session /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-mail hides /usr/share/emacs24/site-lisp/w3m/w3m-mail /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-search hides /usr/share/emacs24/site-lisp/w3m/w3m-search /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3mhack hides /usr/share/emacs24/site-lisp/w3m/w3mhack /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-proc hides /usr/share/emacs24/site-lisp/w3m/w3m-proc /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-tabmenu hides /usr/share/emacs24/site-lisp/w3m/w3m-tabmenu /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-rss hides /usr/share/emacs24/site-lisp/w3m/w3m-rss /home/boruch/.emacs.d/elpa/w3m-20140107.1708/mew-w3m hides /usr/share/emacs24/site-lisp/w3m/mew-w3m /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m hides /usr/share/emacs24/site-lisp/w3m/w3m /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m hides /usr/share/emacs24/site-lisp/w3m/w3m /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-image hides /usr/share/emacs24/site-lisp/w3m/w3m-image /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-hist hides /usr/share/emacs24/site-lisp/w3m/w3m-hist /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-lnum hides /usr/share/emacs24/site-lisp/w3m/w3m-lnum /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-form hides /usr/share/emacs24/site-lisp/w3m/w3m-form /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-cookie hides /usr/share/emacs24/site-lisp/w3m/w3m-cookie /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-weather hides /usr/share/emacs24/site-lisp/w3m/w3m-weather /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-bug hides /usr/share/emacs24/site-lisp/w3m/w3m-bug /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-fb hides /usr/share/emacs24/site-lisp/w3m/w3m-fb /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-antenna hides /usr/share/emacs24/site-lisp/w3m/w3m-antenna /home/boruch/.emacs.d/elpa/w3m-20140107.1708/w3m-util hides /usr/share/emacs24/site-lisp/w3m/w3m-util /home/boruch/.emacs.d/elpa/csv-mode-1.2/csv-mode hides /usr/share/emacs24/site-lisp/emacs-goodies-el/csv-mode /usr/share/emacs/24.4/site-lisp/cdargs hides /usr/share/emacs/site-lisp/cdargs /usr/share/emacs/24.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs24/site-lisp/flim/md4 hides /usr/share/emacs/24.4/lisp/md= 4 /usr/share/emacs24/site-lisp/flim/hex-util hides /usr/share/emacs/24.4/lisp/hex-util /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.4/lisp/textmodes/flyspell /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.4/lisp/textmodes/ispell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.4/lisp/textmodes/rst /usr/share/emacs24/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.4/lisp/net/sasl-ntlm /usr/share/emacs24/site-lisp/flim/hmac-def hides /usr/share/emacs/24.4/lisp/net/hmac-def /usr/share/emacs24/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.4/lisp/net/hmac-md5 /usr/share/emacs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.4/lisp/net/sasl-cram /usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/emacs/24.4/lisp/net/ntlm /usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.4/lisp/net/sasl /usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.4/lisp/net/sasl-digest /usr/share/emacs/24.4/lisp/emacs-lisp/ert-x hides /usr/share/emacs/24.4/site-lisp/slime/lib/ert-x /usr/share/emacs/24.4/lisp/emacs-lisp/cl-lib hides /usr/share/emacs/24.4/site-lisp/slime/lib/cl-lib /usr/share/emacs/24.4/lisp/emacs-lisp/ert hides /usr/share/emacs/24.4/site-lisp/slime/lib/ert Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev ...) Memory information: ((conses 16 459100 69911) (symbols 48 42873 0) (miscs 40 2286 3515) (strings 32 125530 18155) (string-bytes 1 3397524) (vectors 16 43381) (vector-slots 8 1545011 166125) (floats 8 374 644) (intervals 56 10688 1329) (buffers 960 72) (heap 1024 42235 1854)) --=20 hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 --eMEm4GDHInOkJtVaD3nCkwxtQbq1N2mg1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJU4OZIAAoJEDvrUfDmCx9LyPkP/iufBHphEcp8H5S7YVnUHWnM IIuP6CA+TLd9dpcvaqFH8N4vkLfVlUMmy1VivP64d409T0AvaEuZRJ42lyvBnm8n 5zNyAF5jD4tm5xaadBicLNqRf4PozwnIZKsn5kx2eRQEFuymYzz5rEycTA7tCfHr gN1ZCzNUb0v7bIzjDYBrb8LL7fBUBXd5Xovw4CxPbRFP4I5humLBDFTXEaASB8Zu FzNddfCxGIqTg/TkkxhDXCClVPBFNtU4wrAxYm/U/Q5kI40i1L3OnijcNTzYi0qj Mt+MBmFYNpI1nYMYgbu+1fOthdVzUyVJSsrjkxDCppw+VsGtNsQgdc/QQYUCICZh KfOK5giEdUWnVCxSCehSUW5bk9wbbSSTyYFHfksAXX8Pfmzk3D8eSzvEaEgXu7Yi JlSsPhXONC1bRjbzxJAbKuFkEncDTTHuQ3OTH7xeX1mnqRLKKGx9paoaPNdZbf7q U+5/9fU/g1q5gGc2EpFinrI28PpuaJBeSxu8lOKUPaRRzxDmMAHlbi+WBTk4UQRX Bx3Hv25+x2q0BzRbpRZt9BGkl5QpVtv7tUYbG3sSSnDVTQjeZjK6PxSdhXm9D6we A2xYVETuhxF+9Tsq04Z7aJG9BPc9+6mo/cDiPwTcQVnjfs3+u5mCCtcFl3cgCv4+ 8YQnNLymmXISu8hdELi2 =AJ+X -----END PGP SIGNATURE----- --eMEm4GDHInOkJtVaD3nCkwxtQbq1N2mg1-- From unknown Sat Aug 09 15:55:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19877: 24.4; highlight-regexp displays nonsense options for faces Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Feb 2015 19:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19877 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Boruch Baum Cc: 19877@debbugs.gnu.org Received: via spool by 19877-submit@debbugs.gnu.org id=B19877.142411388731781 (code B ref 19877); Mon, 16 Feb 2015 19:12:01 +0000 Received: (at 19877) by debbugs.gnu.org; 16 Feb 2015 19:11:27 +0000 Received: from localhost ([127.0.0.1]:45595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNR4p-0008GX-F9 for submit@debbugs.gnu.org; Mon, 16 Feb 2015 14:11:27 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:48233 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNR4o-0008GP-53 for 19877@debbugs.gnu.org; Mon, 16 Feb 2015 14:11:26 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YNR4n-0007RC-RP; Mon, 16 Feb 2015 14:11:25 -0500 From: Glenn Morris References: <54E0E63C.8010907@gmx.com> X-Spook: PGP SAFE argus Zachawi top secret Aladdin Rubin Saudi X-Ran: ,axb*fzLN\?vVd{0/KK`O-5AMZ(`duIhv_Cvg>]^\vkC}1@~/Y!ETcC=\cmx@4$vrd"[mg X-Hue: green X-Attribution: GM Date: Mon, 16 Feb 2015 14:11:25 -0500 In-Reply-To: <54E0E63C.8010907@gmx.com> (Boruch Baum's message of "Sun, 15 Feb 2015 13:32:28 -0500") Message-ID: <443865acyq.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) This report is a literal duplicate of http://debbugs.gnu.org/19876 and will be removed. Please direct any future mails on this matter to 19876 at debbugs.gnu.org. From unknown Sat Aug 09 15:55:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19877: 24.4; highlight-regexp displays nonsense options for faces Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Feb 2015 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19877 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Boruch Baum Cc: 19877@debbugs.gnu.org Received: via spool by 19877-submit@debbugs.gnu.org id=B19877.142419220325423 (code B ref 19877); Tue, 17 Feb 2015 16:57:02 +0000 Received: (at 19877) by debbugs.gnu.org; 17 Feb 2015 16:56:43 +0000 Received: from localhost ([127.0.0.1]:46501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNlRz-0006by-7J for submit@debbugs.gnu.org; Tue, 17 Feb 2015 11:56:43 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:41060 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNlRx-0006bq-Gn for 19877@debbugs.gnu.org; Tue, 17 Feb 2015 11:56:41 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YNlRw-0007av-Pw; Tue, 17 Feb 2015 11:56:40 -0500 From: Glenn Morris References: <54E0E63C.8010907@gmx.com> <443865acyq.fsf@fencepost.gnu.org> <54E35D56.1060902@gmx.com> X-Spook: Pine Gap clones Zachawi LLNL PLO BROMURE CDMA ANC X-Ran: wjk7E*f7*y$?/*+!:y]o}u{S+8JeJu%X`DcA0GE2H_"L5!9X+82PoMqe+.jW|:10n*!CQ' X-Hue: black X-Attribution: GM Date: Tue, 17 Feb 2015 11:56:40 -0500 In-Reply-To: <54E35D56.1060902@gmx.com> (Boruch Baum's message of "Tue, 17 Feb 2015 10:25:10 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Boruch Baum wrote: > I had mistakenly posted two emails, and it was the second one, which > became bug#19877, that has a proposed patch that solves part of the problem. > > Better to close or remove 19876 and keep 19877. done From unknown Sat Aug 09 15:55:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19877: 24.4; highlight-regexp displays nonsense options for faces Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Feb 2015 18:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19877 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Boruch Baum Cc: 19877@debbugs.gnu.org Received: via spool by 19877-submit@debbugs.gnu.org id=B19877.142428390619709 (code B ref 19877); Wed, 18 Feb 2015 18:26:03 +0000 Received: (at 19877) by debbugs.gnu.org; 18 Feb 2015 18:25:06 +0000 Received: from localhost ([127.0.0.1]:47994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YO9J4-00057k-AA for submit@debbugs.gnu.org; Wed, 18 Feb 2015 13:25:06 -0500 Received: from ps18281.dreamhost.com ([69.163.222.226]:35379 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YO9J1-00057Z-JT for 19877@debbugs.gnu.org; Wed, 18 Feb 2015 13:25:03 -0500 Received: from localhost.linkov.net (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 66CB131D3DB8A1; Wed, 18 Feb 2015 10:25:02 -0800 (PST) From: Juri Linkov Organization: LINKOV.NET References: <54E0E63C.8010907@gmx.com> Date: Wed, 18 Feb 2015 20:23:29 +0200 In-Reply-To: <54E0E63C.8010907@gmx.com> (Boruch Baum's message of "Sun, 15 Feb 2015 13:32:28 -0500") Message-ID: <87zj8baxjy.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > 2] on the issue of the strange entries in the history, I've only traced > the lisp code as far as `read-from-minibuffer' in minibuf.c These additional entries in the history are all faces that you can select if you want instead of the small set of default faces at the beginning of the list. Maybe the list of all faces (that come after the default faces) should be better sorted somehow, e.g. alphabetically or by use frequency. PS: Regarding the default faces used twice, I don't know the reason why it was implemented this way, so it seems your patch will improve it. From unknown Sat Aug 09 15:55:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19877: 24.4; highlight-regexp displays nonsense options for faces Resent-From: Boruch Baum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Feb 2015 00:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19877 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 19877@debbugs.gnu.org Received: via spool by 19877-submit@debbugs.gnu.org id=B19877.142430548919741 (code B ref 19877); Thu, 19 Feb 2015 00:25:02 +0000 Received: (at 19877) by debbugs.gnu.org; 19 Feb 2015 00:24:49 +0000 Received: from localhost ([127.0.0.1]:48215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOEvA-00058K-HH for submit@debbugs.gnu.org; Wed, 18 Feb 2015 19:24:48 -0500 Received: from mout.gmx.com ([74.208.4.200]:55281) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOEv8-00058C-AA for 19877@debbugs.gnu.org; Wed, 18 Feb 2015 19:24:46 -0500 Received: from [10.150.171.67] ([47.21.4.242]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0Lh7fV-1Xjw2F3VLz-00oXVk; Thu, 19 Feb 2015 01:24:45 +0100 Message-ID: <54E52D3F.6090703@gmx.com> Date: Wed, 18 Feb 2015 19:24:31 -0500 From: Boruch Baum User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 References: <54E0E63C.8010907@gmx.com> <87zj8baxjy.fsf@mail.linkov.net> In-Reply-To: <87zj8baxjy.fsf@mail.linkov.net> OpenPGP: url=hkp://keys.gnupg.net Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="erl1sFaLb9j814L4D0qGIfjxenlCW9GPl" X-Provags-ID: V03:K0:HwlpH9No0GbYSZ5fQ6nVrZI8PUrmvWhEZBZk9TvX7+lQa9BWtIA WzsNBZeQgjxDe5lj8nZ48V/hT66zcXCIPtjtRohtdT1cAz+dGcWm1wJYhuwZYD3K2r0az5I Vh3l+WBv4q+vK/EDMzimN2fdO83aX0MA8UWuU3ZbszQhiTpR2NlgYwppH+fRvO/aQU9UToK KhM0qpgcLEPFe20+h15CA== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --erl1sFaLb9j814L4D0qGIfjxenlCW9GPl Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/18/2015 01:23 PM, Juri Linkov wrote: > These additional entries in the history are all faces that you can sele= ct > if you want instead of the small set of default faces at the beginning > of the list. Since you said so, I double-checked the items that I thought were not faces, and you're correct: apropos-variable-button, org-target, bookmark-menu-bookmark, org-agenda-date-today, and ido-incomplete-regexp are all faces. (would be nice if there were a standard labeling convention identifying faces, eg. foo-face). > Maybe the list of all faces (that come after the default faces) > should be better sorted somehow, e.g. alphabetically or by use frequenc= y. My vote is to just restrict the options to those specified in hi-lock-face-defaults. The value can be easily modified, and its a simple way to keep unusual and unexpected faces from appearing. Also, how many hi-lock faces is anyone going to ever need? > =20 > PS: Regarding the default faces used twice, I don't know the reason > why it was implemented this way, so it seems your patch will improve it= =2E Glad to be of some help. --=20 hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 --erl1sFaLb9j814L4D0qGIfjxenlCW9GPl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJU5S1MAAoJEDvrUfDmCx9LBaEQAJ6++ADnLW6UJAwdU0tagvsu Cpx5l3JfYdhWDF4EUxXz+nNgGGASGqc3TW2PSqcdwxXtiLTkVt9IXe+xrz4RK3AM YpWqi4/WQEQZOydvKclg634iaFeEvdgXf6zfhQKW7ssL7uzFK+7AE9rPf5bfu1fL XZFbXLK9TxeghjZpad3eTBvc0mygzYcgsYramVRdRhlhSI2cUmR0ag1bhVpmMd/o zY3MxBmJVhiAUcFCCMGzx7UblxBgwv4X73aMNe4j9fp1oF7VYC7JMXrbEj4Ry+xR 2+x/Z2kVzvWpen1a9sbIEQbXvM5Z+UMfWkYrxjjqN5ktIBZvxVf5R83so+NIFvYD 5+bVhYpcu+4YE2U0UaCNvNk19Ag7z8DPyKetQ5pr2p9oQSELq0xp3L1r6jGbEooN 6hcdeY8khhN70qOL0ugVZXzZywy61rhZrV9jCPbPyQ9FOf1crjBbgYU6YrCo8jK4 B+MkNpbN2k4SkYZH6lMzLiejvIJwYSRz6ZcMdK6r08uoXOmcUVpJzSNow9Qp+yBt FMM4QZ7d2LYYfAx87YmXdpAZx3ORlKLv+l9uq2QQuL2wKvYcRCbIOF43/YrfJu7Z /uq0SXTvd5YgfRt5nU0tkYhqVszmFlewN1ALkhoUlMM8whOvGMDHXWVGJAPdHsS6 vT5L4kWy06XnFZLk2qyz =8SoN -----END PGP SIGNATURE----- --erl1sFaLb9j814L4D0qGIfjxenlCW9GPl-- From unknown Sat Aug 09 15:55:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19877: 24.4; highlight-regexp displays nonsense options for faces Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Feb 2015 19:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19877 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Boruch Baum Cc: 19877@debbugs.gnu.org Received: via spool by 19877-submit@debbugs.gnu.org id=B19877.142437354929472 (code B ref 19877); Thu, 19 Feb 2015 19:20:03 +0000 Received: (at 19877) by debbugs.gnu.org; 19 Feb 2015 19:19:09 +0000 Received: from localhost ([127.0.0.1]:48938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOWcv-0007fH-18 for submit@debbugs.gnu.org; Thu, 19 Feb 2015 14:19:09 -0500 Received: from ps18281.dreamhost.com ([69.163.222.226]:39772 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOWcr-0007f0-Jw for 19877@debbugs.gnu.org; Thu, 19 Feb 2015 14:19:06 -0500 Received: from localhost.linkov.net (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 6F97A303F31818; Thu, 19 Feb 2015 11:19:04 -0800 (PST) From: Juri Linkov Organization: LINKOV.NET References: <54E0E63C.8010907@gmx.com> <87zj8baxjy.fsf@mail.linkov.net> <54E52D3F.6090703@gmx.com> Date: Thu, 19 Feb 2015 21:14:40 +0200 In-Reply-To: <54E52D3F.6090703@gmx.com> (Boruch Baum's message of "Wed, 18 Feb 2015 19:24:31 -0500") Message-ID: <873861u31b.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> Maybe the list of all faces (that come after the default faces) >> should be better sorted somehow, e.g. alphabetically or by use frequency. > My vote is to just restrict the options to those specified in > hi-lock-face-defaults. The value can be easily modified, and its a > simple way to keep unusual and unexpected faces from appearing. Currently it's not too easy to modify since hi-lock-face-defaults is defined with defvar, but not defcustom. > Also, how many hi-lock faces is anyone going to ever need? I'd say that in average 8 faces are needed, but the problem is that hi-lock-face-defaults provides only 4 usable default faces ("hi-yellow" "hi-pink" "hi-green" "hi-blue"). The rest of default faces with the prefix "-b" are highlighting with bold weight, so they are less usable. This is why often is necessary to find more faces in the list of all faces that come after default faces. From unknown Sat Aug 09 15:55:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19877: 24.4; highlight-regexp displays nonsense options for faces Resent-From: Boruch Baum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Feb 2015 21:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19877 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 19877@debbugs.gnu.org Received: via spool by 19877-submit@debbugs.gnu.org id=B19877.14243821119550 (code B ref 19877); Thu, 19 Feb 2015 21:42:02 +0000 Received: (at 19877) by debbugs.gnu.org; 19 Feb 2015 21:41:51 +0000 Received: from localhost ([127.0.0.1]:49001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOYr0-0002Tx-8n for submit@debbugs.gnu.org; Thu, 19 Feb 2015 16:41:50 -0500 Received: from mout.gmx.com ([74.208.4.200]:56375) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOYqx-0002To-6F for 19877@debbugs.gnu.org; Thu, 19 Feb 2015 16:41:47 -0500 Received: from [10.175.103.17] ([47.21.4.242]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0MDhX6-1YKj6U14HO-00H7Ku; Thu, 19 Feb 2015 22:41:44 +0100 Message-ID: <54E6588D.2030207@gmx.com> Date: Thu, 19 Feb 2015 16:41:33 -0500 From: Boruch Baum User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 References: <54E0E63C.8010907@gmx.com> <87zj8baxjy.fsf@mail.linkov.net> <54E52D3F.6090703@gmx.com> <873861u31b.fsf@mail.linkov.net> In-Reply-To: <873861u31b.fsf@mail.linkov.net> OpenPGP: url=hkp://keys.gnupg.net Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AAPtt10hopwKnu9BcHle14cxDR3OtduJ0" X-Provags-ID: V03:K0:4tvwCPuD4seRhtZZRzyoVpgSaR1/Lr/rBMK/Ts4LQfX3VO7Llh/ Wk6WdjS3v2xJjh0Jfdj3PXxkrm0n/3NilHGb0OwUxd/60k3c9qHcmmNrOENYLWt0RpO4l6a rxI8DARts01wwqxKvIJbYBMDcndwUiU90kjULT32A0gCQxboCnBb94GChJaDEbpGX9xI7vL niBC681WUqagJe6CL3shg== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --AAPtt10hopwKnu9BcHle14cxDR3OtduJ0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/19/2015 02:14 PM, Juri Linkov wrote: >>> Maybe the list of all faces (that come after the default faces) >>> should be better sorted somehow, e.g. alphabetically or by use freque= ncy. >> My vote is to just restrict the options to those specified in >> hi-lock-face-defaults. The value can be easily modified, and its a >> simple way to keep unusual and unexpected faces from appearing. >=20 > Currently it's not too easy to modify since hi-lock-face-defaults > is defined with defvar, but not defcustom. >=20 >> Also, how many hi-lock faces is anyone going to ever need? >=20 > I'd say that in average 8 faces are needed, but the problem is > that hi-lock-face-defaults provides only 4 usable default faces > ("hi-yellow" "hi-pink" "hi-green" "hi-blue"). The rest of > default faces with the prefix "-b" are highlighting with bold weight, > so they are less usable. This is why often is necessary to find > more faces in the list of all faces that come after default faces. >=20 What works for me to define faces and add them to hi-lock-face-defaults, are the following two snippets in my .emacs: (defface hi-test '((((background dark)) (:background "white" :foreground "red")) (t (:background "white"))) "Face for hi-lock mode." :group 'hi-lock-faces) (add-hook 'hi-lock-mode-hook (lambda () (setq hi-lock-face-defaults '("hi-green" "hi-blue" "hi-red" "hi-cyan" "hi-magenta" "hi-yellow" "hi-test")))) --=20 hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 --AAPtt10hopwKnu9BcHle14cxDR3OtduJ0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJU5liYAAoJEDvrUfDmCx9LaWIP/RSgaaz0sbZB0OjmvHICmc9r DQ3Jc8QhkQBIAkWnSRpP3mgIWu3MgyB+wly6AGEunJVa2WryCMygyEtMwmszjdox wmK4Ll81InoxxOe6rGsW8JLVYr23qGlRvrRNLyjBaeHa7A2jyTw7nDFS3HOArbj8 NzsEJksD8d2LWwYQq6Hd6STpxDxSYafZPOTFMQoiGoQKtYevse8VqTwoF9KMv0JJ FSV0Ix/MnAE9ot+qKtL/HC9vI7DSDMAXwHanoONzFdbQOsmNiq9RWmUSRWlFEbts razfRNz59kaydfSOMiwOXeoaD7Qq/W60EhNRtDQdaWnMRCUOIcdsIFjWdH0GYAeW dId/IcYjwAa7z48EzHB4KtlOvLvgb0iGe0GAtr01TtQRqCNjk0X3Zb5GORzMJGCX 9cWewkmpu5/NUz3ryBd78s4sSM8zowQbixMglBLdyWx6LdDVXURTOMZl7t8avpuv /NRai1wMCVZl4sC3fq07eAHFRnCsUflDuQ6pf3Z4wWjKxUmpED4VzecxUMIKwiKw 4hvkKKIZxDV1MNwNp83rz3yk96XnU+9jK/z3e5Mf4KgYWxIYJJIfJH3Q3bAR1kjr NIFyXy4ELcqX4bF07agk3fg3Meg0XndV+leAQtQucV7Flke+8winoe1bItxXIhKY JSjfZmdAeP9HYkIFiekr =L9jL -----END PGP SIGNATURE----- --AAPtt10hopwKnu9BcHle14cxDR3OtduJ0-- From unknown Sat Aug 09 15:55:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19877: 24.4; highlight-regexp displays nonsense options for faces Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jan 2022 18:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19877 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Boruch Baum Cc: Juri Linkov , 19877@debbugs.gnu.org Received: via spool by 19877-submit@debbugs.gnu.org id=B19877.164305033626822 (code B ref 19877); Mon, 24 Jan 2022 18:53:02 +0000 Received: (at 19877) by debbugs.gnu.org; 24 Jan 2022 18:52:16 +0000 Received: from localhost ([127.0.0.1]:45854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4Rs-0006yX-A5 for submit@debbugs.gnu.org; Mon, 24 Jan 2022 13:52:16 -0500 Received: from quimby.gnus.org ([95.216.78.240]:54434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4Rr-0006yI-3p for 19877@debbugs.gnu.org; Mon, 24 Jan 2022 13:52:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=kxmNekrPb5wPQfrWoOGobCYb6iL61gq/+xAwtuLVMfg=; b=E1KFIE1gqmzqAGkyG8NqxLPld9 RpKGhS0IPqKA3xkxCTSxZlWMbW238KS9MKNLZYGhAEikgPoJWWXIohwBRUhVcfyZtxwILh7uDjHdF 60mN7o+L/w8IPmvKPUM8wRPYUbdMLiuS0XbHnGkM4fzmmNuR6l4ZXvW0uPtM7zvPJ2Xo=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nC4Rh-0002Wq-JO; Mon, 24 Jan 2022 19:52:08 +0100 From: Lars Ingebrigtsen References: <54E0E63C.8010907@gmx.com> X-Now-Playing: Joe Jackson's _Big World_: "(It's a) Big World" Date: Mon, 24 Jan 2022 19:52:04 +0100 In-Reply-To: <54E0E63C.8010907@gmx.com> (Boruch Baum's message of "Sun, 15 Feb 2015 13:32:28 -0500") Message-ID: <87bl012ch7.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Boruch Baum writes: > The documentation for `highlight-regexp' ( info:emacs#Highlight > Interactively]] ) says, "While being prompted for a face use =?UTF-8?Q?=E2=80=98M-n=E2=80=99?= and > =?UTF-8?Q?=E2=80=98M-p=E2=80=99?= to cycle through them." However, repeatedly k [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Boruch Baum writes: > The documentation for `highlight-regexp' ( info:emacs#Highlight > Interactively]] ) says, "While being prompted for a face use =E2=80=98M-n= =E2=80=99 and > =E2=80=98M-p=E2=80=99 to cycle through them." However, repeatedly keying = =E2=80=98M-n=E2=80=99 will > toggle through the entries in `hi-lock-face-defaults' *twice*, This behaviour is still present in Emacs 29 (after Juri fixed it so that it works better again) -- the hi-lock defaults appear twice. I've now fixed this in Emacs 29. > and then will start displaying _other items_, presumably from some > other history ring, but not necessarily faces. In my case, some of the > _other items_ that appear when I =E2=80=98M-n=E2=80=99 cycle, were: > apropos-variable-button, org-target, bookmark-menu-bookmark, > org-agenda-date-today, and ido-incomplete-regexp. (Others answered this bit -- it the other faces.) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 24 13:52:21 2022 Received: (at control) by debbugs.gnu.org; 24 Jan 2022 18:52:21 +0000 Received: from localhost ([127.0.0.1]:45857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4Rx-0006yp-Iz for submit@debbugs.gnu.org; Mon, 24 Jan 2022 13:52:21 -0500 Received: from quimby.gnus.org ([95.216.78.240]:54448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4Rv-0006yQ-VH for control@debbugs.gnu.org; Mon, 24 Jan 2022 13:52:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4jjjDhg+LvIoqVLaIe+M0cfih2YpI3NvyyBQVYjTovY=; b=XxO0mazWLA+8TeU/HWQLVNnq+u F++bGCa5ePborcnq5SYVvP0fY/+7N7zsw2tCzpN8unEfHS2simLixi43MFqm8h4ejoslzEGbA0dVa r7hHX3z51yPK2aCpXUZUvsY6b7ZIB+w2dq546lz3ZHg7h68IijyvIHMt5fWMD7OP4zX4=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nC4Ro-0002X3-1j for control@debbugs.gnu.org; Mon, 24 Jan 2022 19:52:14 +0100 Date: Mon, 24 Jan 2022 19:52:11 +0100 Message-Id: <87a6fl2ch0.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #19877 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 19877 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 19877 29.1 quit From unknown Sat Aug 09 15:55:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19877: 24.4; highlight-regexp displays nonsense options for faces Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jan 2022 19:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19877 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Boruch Baum , 19877@debbugs.gnu.org Received: via spool by 19877-submit@debbugs.gnu.org id=B19877.16430513724820 (code B ref 19877); Mon, 24 Jan 2022 19:10:02 +0000 Received: (at 19877) by debbugs.gnu.org; 24 Jan 2022 19:09:32 +0000 Received: from localhost ([127.0.0.1]:45902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4iZ-0001Fg-SM for submit@debbugs.gnu.org; Mon, 24 Jan 2022 14:09:32 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:52941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4iY-0001FQ-Rd for 19877@debbugs.gnu.org; Mon, 24 Jan 2022 14:09:31 -0500 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 4AAA7240005; Mon, 24 Jan 2022 19:09:21 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <54E0E63C.8010907@gmx.com> <87bl012ch7.fsf@gnus.org> Date: Mon, 24 Jan 2022 21:08:56 +0200 In-Reply-To: <87bl012ch7.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 24 Jan 2022 19:52:04 +0100") Message-ID: <86wnipx86v.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> The documentation for `highlight-regexp' ( info:emacs#Highlight >> Interactively]] ) says, "While being prompted for a face use ‘M-n’ and >> ‘M-p’ to cycle through them." However, repeatedly keying ‘M-n’ will >> toggle through the entries in `hi-lock-face-defaults' *twice*, > > This behaviour is still present in Emacs 29 (after Juri fixed it so that > it works better again) -- the hi-lock defaults appear twice. > > I've now fixed this in Emacs 29. I thought it was a feature. 😯 I don't use these duplicate faces, but it seems someone intentionally created a copy at the end of the face list. OTOH, we could wait until someone will protest this change. From unknown Sat Aug 09 15:55:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19877: 24.4; highlight-regexp displays nonsense options for faces Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jan 2022 19:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19877 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: Boruch Baum , 19877@debbugs.gnu.org Received: via spool by 19877-submit@debbugs.gnu.org id=B19877.16430515265104 (code B ref 19877); Mon, 24 Jan 2022 19:13:02 +0000 Received: (at 19877) by debbugs.gnu.org; 24 Jan 2022 19:12:06 +0000 Received: from localhost ([127.0.0.1]:45909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4l4-0001KG-7s for submit@debbugs.gnu.org; Mon, 24 Jan 2022 14:12:06 -0500 Received: from quimby.gnus.org ([95.216.78.240]:54680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4l2-0001Jj-L5 for 19877@debbugs.gnu.org; Mon, 24 Jan 2022 14:12:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=XU0KxBsrZnskYg3ueMiNIHWnZaLBeLeKqu1lbQSedxg=; b=fnS4Wrt7bikLm+Ni7OLbgJqYpQ Rd60jpot0IQIwQN+qNLdZoIy2mF3tEtKEOVvIIbB4pRLTapDP0ONClo47iB7t7AEbx3ANj9KX8JK3 SLu07bdKBc7V++KE9fWiyz6Qu2edzo+1f5Y33sqY2RURvWQpbd6e7r1JRkYRrP3pIqHk=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nC4kt-0002k9-NR; Mon, 24 Jan 2022 20:11:58 +0100 From: Lars Ingebrigtsen References: <54E0E63C.8010907@gmx.com> <87bl012ch7.fsf@gnus.org> <86wnipx86v.fsf@mail.linkov.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXEaDflmFTJxsRW dKVaa4////95E3pLAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YBGBIkKQj8CisAAAGdSURBVDjLnZPr dcMgDIXhnAyAcQcIkhcwMEBPYP+ZeiVhGzfpnyqOE/NZ6HVxzi1qDubx1T+fTEBMRG/rMCIq5QPA an4HzmNdbDzJDgGXc4+u1u5g8Y9eW++lzx7CDofZA1X44EtpEqGW82U1v5bDRt1LXJaEHy69dly1 DRAGZuzSDAjxXjPS2s6tbsZ/AWSECLWe6R7WW2tVwv8CUl0Vr9avrXQOZYohjbMxBL9Q4pyp5Fx4 gBiXFHxMaQWA7evsgZHunIlL5rKaBLCLvMBzDDcUotn2VrXnkq4/gXfIsh4MM7Aow6Nfg1JgervH wEIkei5TD9GZooIh6i8CWaEn1isLiAKIUgAgYqmPM5uDGgo0gBppBmkA+QiIdLr4EduymoB7pLjq mKSOG9gZoFjlspQHcJnWquqFB00e/qgbEj3Aph4qhtZUcJG2l4CN7HRU7eQVvNt5ZEi0WVaexAG3 5EwoeXR3agkeAvEubWRr+gVwGmIhqMG6i822px2tAMnzGJS6bDpgH2xetdkEN4q3s74dov66BPEt t+D+YT/qaHW8auKAUgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wMS0yNFQxODozNjo0MSswMDow MITu0nkAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDEtMjRUMTg6MzY6NDErMDA6MDD1s2rFAAAA AElFTkSuQmCC X-Now-Playing: Joe Jackson's _Big World_: "Survival" Date: Mon, 24 Jan 2022 20:11:54 +0100 In-Reply-To: <86wnipx86v.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 24 Jan 2022 21:08:56 +0200") Message-ID: <87y2350wzp.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: > I thought it was a feature. =?UTF-8?Q?=F0=9F=98=AF?= I don't use these duplicate faces, but > it seems someone intentionally created a copy at the end of the face list. > OTOH, we could wait until someone will protest [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Juri Linkov writes: > I thought it was a feature. =F0=9F=98=AF I don't use these duplicate fac= es, but > it seems someone intentionally created a copy at the end of the face list. > OTOH, we could wait until someone will protest this change. Hm, it was (append hi-lock--unused-faces (cdr (member last-used-face hi-lock-face-defaults)) hi-lock-face-defaults) And I guess that makes a weird kind of sense (if you want to avoid all the other non-hi faces). But... It's pretty weird. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no