GNU bug report logs -
#49690
28.0.50; ERC makes a button of `let' but not `let*'
Previous Next
Reported by: Emanuel Berg <moasenwood <at> zoho.eu>
Date: Wed, 21 Jul 2021 22:43:01 UTC
Severity: minor
Tags: moreinfo, patch
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49690 in the body.
You can then email your comments to 49690 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49690
; Package
emacs
.
(Wed, 21 Jul 2021 22:43:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Emanuel Berg <moasenwood <at> zoho.eu>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 21 Jul 2021 22:43:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
ERC makes a button of `let' (and fontifies accordingly to
(erc-button erc-input-face)) but not of `let*'
(erc-input-face).
Maybe has something to do with asterisk? :)
In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0)
of 2020-10-23 built on ebih
Repository revision: 558065531beaaae78810508f267415c6953e8e47
Repository branch: master
System Description: Debian GNU/Linux 11 (bullseye)
Configured features:
XPM JPEG TIFF GIF PNG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY
INOTIFY LIBSELINUX GNUTLS FREETYPE HARFBUZZ ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Group
Minor modes in effect:
erc-list-mode: t
erc-menu-mode: t
erc-networks-mode: t
erc-track-mode: t
erc-track-minor-mode: t
erc-netsplit-mode: t
cursor-sensor-mode: t
show-paren-mode: t
erc-match-mode: t
erc-button-mode: t
erc-ring-mode: t
erc-pcomplete-mode: t
erc-autojoin-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-irccontrols-mode: t
erc-noncommands-mode: t
erc-move-to-prompt-mode: t
erc-readonly-mode: t
erc-scrolltobottom-mode: t
gnus-undo-mode: t
shell-dirtrack-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-compression-mode: t
buffer-read-only: t
transient-mark-mode: t
Load-path shadows:
/home/incal/quicklisp/dists/quicklisp/software/slime-v2.26.1/slime hides /usr/share/emacs/site-lisp/elpa-src/slime-2.26.1/slime
/home/incal/quicklisp/dists/quicklisp/software/slime-v2.26.1/slime-autoloads hides /usr/share/emacs/site-lisp/elpa-src/slime-2.26.1/slime-autoloads
/home/incal/quicklisp/dists/quicklisp/software/slime-v2.26.1/slime-tests hides /usr/share/emacs/site-lisp/elpa-src/slime-2.26.1/slime-tests
~/.emacs.d/emacs-init/isbn-verify hides /home/incal/.emacs.d/elpa/isbn-verify-2.0.0/isbn-verify
~/.emacs.d/emacs-init/signal hides /home/incal/.emacs.d/elpa/signal-20160816.1438/signal
~/.emacs.d/lisp/abbrev hides /usr/local/share/emacs/28.0.50/lisp/abbrev
~/.emacs.d/emacs-init/misc hides /usr/local/share/emacs/28.0.50/lisp/misc
Features:
(shadow emacsbug w3m-save erc-list erc-menu erc-networks
erc-track erc-netsplit eieio-opt speedbar ezimage dframe ...)
Memory information:
((conses 16 503773 102880)
(symbols 48 116129 5)
(strings 32 213243 14204)
(string-bytes 1 7404404)
(vectors 16 54254)
(vector-slots 8 1383807 214374)
(floats 8 511 680)
(intervals 56 4498 1632)
(buffers 992 61))
--
underground experts united
https://dataswamp.org/~incal
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49690
; Package
emacs
.
(Thu, 22 Jul 2021 12:25:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 49690 <at> debbugs.gnu.org (full text, mbox):
Emanuel Berg <moasenwood <at> zoho.eu> writes:
> ERC makes a button of `let' (and fontifies accordingly to
> (erc-button erc-input-face)) but not of `let*'
> (erc-input-face).
>
> Maybe has something to do with asterisk? :)
Do you mean it fontifies "let" and "let*" if those are nicks? Or in
some other context?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 22 Jul 2021 12:26:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49690
; Package
emacs
.
(Thu, 22 Jul 2021 12:29:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 49690 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Emanuel Berg <moasenwood <at> zoho.eu> writes:
> Maybe has something to do with asterisk? :)
Sounds reasonable to me.
As a quick experiment, adding the rest of the symbol constituents (of
the visible ASCII complement from `lisp-data-mode-syntax-table') to the
relevant `erc-button-alist' member's regexp appears to open things up.
At least it makes `let*' and `ring-insert+extend' light up, as well as
`-->' and `dash-expand:&hash?'. But who knows? Maybe folks more familiar
with this module will have brighter ideas.
(Also, it looks like this stuff touches every message, so we should
probably be somewhat careful.)
[0001-Expand-erc-button-list-regexp-for-lisp-symbols.patch (text/x-patch, attachment)]
Added tag(s) patch.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 22 Jul 2021 12:33:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49690
; Package
emacs
.
(Thu, 22 Jul 2021 14:01:01 GMT)
Full text and
rfc822 format available.
Message #18 received at 49690 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Do you mean it fontifies "let" and "let*" if those are nicks? Or in
> some other context?
I think he's referring to the buttonizing of function and variable names
in IRC message text, specifically spans containing valid Emacs lisp
symbols surrounded by `quotes', much like they appear in doc strings.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49690
; Package
emacs
.
(Thu, 22 Jul 2021 14:40:02 GMT)
Full text and
rfc822 format available.
Message #21 received at submit <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen wrote:
>> Maybe has something to do with asterisk? :)
>
> Do you mean it fontifies "let" and "let*" if those are
> nicks? Or in some other context?
When you use `this' syntax it becomes a fontified button and
if it has a docstring somewhere, e.g., `if', hitting that
button takes you to the docstring, same as C-h f if RET.
--
underground experts united
https://dataswamp.org/~incal
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49690
; Package
emacs
.
(Fri, 23 Jul 2021 11:18:01 GMT)
Full text and
rfc822 format available.
Message #24 received at 49690 <at> debbugs.gnu.org (full text, mbox):
"J.P." <jp <at> neverwas.me> writes:
> (Also, it looks like this stuff touches every message, so we should
> probably be somewhat careful.)
[...]
> + ("[`]\\([-a-zA-Z!$%&*+./:<=>?@^_{|}~][-a-zA-Z_0-9!$%&*+./:<=>?@^_{|}~]+\\)[']"
> + 1 t erc-button-describe-symbol 1)
Thanks. I think this will potentially lead to too many false positives,
though, so I've just added a few of those characters to the second [] in
Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug marked as fixed in version 28.1, send any further explanations to
49690 <at> debbugs.gnu.org and Emanuel Berg <moasenwood <at> zoho.eu>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Fri, 23 Jul 2021 11:18:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49690
; Package
emacs
.
(Fri, 23 Jul 2021 11:33:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 49690 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Thanks. I think this will potentially lead to too many false positives,
> though, so I've just added a few of those characters to the second [] in
> Emacs 28.
Fantastic, thanks.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 21 Aug 2021 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 242 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.