* bug#20566: perl-mode: maybe have the parentheses of s{a}{b} also blink
@ 2015-05-13 16:05 積丹尼 Dan Jacobson
2019-07-06 3:07 ` Stefan Kangas
2019-07-06 13:19 ` 積丹尼 Dan Jacobson
0 siblings, 2 replies; 4+ messages in thread
From: 積丹尼 Dan Jacobson @ 2015-05-13 16:05 UTC (permalink / raw)
To: 20566
Just like the matching parentheses if(1){$k++;} blink,
also maybe do the same for s{a}{b} etc.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#20566: perl-mode: maybe have the parentheses of s{a}{b} also blink
2015-05-13 16:05 bug#20566: perl-mode: maybe have the parentheses of s{a}{b} also blink 積丹尼 Dan Jacobson
@ 2019-07-06 3:07 ` Stefan Kangas
2019-07-06 13:19 ` 積丹尼 Dan Jacobson
1 sibling, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2019-07-06 3:07 UTC (permalink / raw)
To: 積丹尼 Dan Jacobson; +Cc: 20566
積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
> Just like the matching parentheses if(1){$k++;} blink,
> also maybe do the same for s{a}{b} etc.
Trying this on the most recent version of Emacs, 26.2:
0. emacs -Q
1. C-x b foo <RET>
2. M-x perl-mode <RET>
3. s{a}{b}
I do get a blinking effect, i.e. that when I type the "}" after "a"
and "b", Emacs briefly highlights the "{" character.
If this is indeed the issue, could you please test this on the most
recent version of Emacs (26.2) and see if you can reproduce it?
Also, could you clarify what "s{a}{b} etc." means above -- are there
any other expressions which you think should exhibit this behaviour
but do not?
If I don't get a response in a couple of weeks, I will close this as
unreproducible.
Thanks,
Stefan Kangas
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#20566: perl-mode: maybe have the parentheses of s{a}{b} also blink
2015-05-13 16:05 bug#20566: perl-mode: maybe have the parentheses of s{a}{b} also blink 積丹尼 Dan Jacobson
2019-07-06 3:07 ` Stefan Kangas
@ 2019-07-06 13:19 ` 積丹尼 Dan Jacobson
2021-07-13 17:53 ` Lars Ingebrigtsen
1 sibling, 1 reply; 4+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-07-06 13:19 UTC (permalink / raw)
To: Stefan Kangas; +Cc: 20566
I think I am saying that when one types in
if(1),
even here in a non-perl mode as I type this email message,
emacs makes the ( and ) very bright, indeed as long as I don't move the
cursor more.
So I'm saying that something just the same should be done
on s/a/b/ s{a}{b}
where all three /'s or all four brackets light up.
>>>>> "SK" == Stefan Kangas <stefan@marxist.se> writes:
SK> I do get a blinking effect, i.e. that when I type the "}" after "a"
SK> and "b", Emacs briefly highlights the "{" character.
Well not only briefly, but it should stay lit, until the cursor moves
away, All four of {}{} too.
Same for [][], !!!, etc.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#20566: perl-mode: maybe have the parentheses of s{a}{b} also blink
2019-07-06 13:19 ` 積丹尼 Dan Jacobson
@ 2021-07-13 17:53 ` Lars Ingebrigtsen
0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-13 17:53 UTC (permalink / raw)
To: 積丹尼 Dan Jacobson; +Cc: 20566, Stefan Kangas
積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
> I think I am saying that when one types in
> if(1),
> even here in a non-perl mode as I type this email message,
> emacs makes the ( and ) very bright, indeed as long as I don't move the
> cursor more.
>
> So I'm saying that something just the same should be done
> on s/a/b/ s{a}{b}
> where all three /'s or all four brackets light up.
I don't think that sounds very useful -- the blinking stuff is supposed
to match the matching brace, not wider language constructs. So I'm
closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-07-13 17:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-13 16:05 bug#20566: perl-mode: maybe have the parentheses of s{a}{b} also blink 積丹尼 Dan Jacobson
2019-07-06 3:07 ` Stefan Kangas
2019-07-06 13:19 ` 積丹尼 Dan Jacobson
2021-07-13 17:53 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.