* About selecting text with slash
@ 2019-11-16 20:13 Angelo Graziosi
2019-11-16 20:18 ` Eli Zaretskii
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Angelo Graziosi @ 2019-11-16 20:13 UTC (permalink / raw)
To: emacs-devel
When one double clicks the underscore in this text
$(B)/def_ghij
also the slash is selected... while if the text does not contain the underscore,
$(B)/defghij
double clicking the word, does not select the slash...
Other cases would be
$(B)/def_ghij/ # Both slashes selected
$(B)/defghij/ # No slash selected
Is this intentional? Really, I do not see the need to have also the slash selected...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: About selecting text with slash
2019-11-16 20:13 About selecting text with slash Angelo Graziosi
@ 2019-11-16 20:18 ` Eli Zaretskii
2019-11-16 20:44 ` Angelo Graziosi
2019-11-16 20:25 ` Andreas Schwab
2019-11-16 20:27 ` Stefan Monnier
2 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2019-11-16 20:18 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: emacs-devel
> Date: Sat, 16 Nov 2019 21:13:48 +0100 (CET)
> From: Angelo Graziosi <angelo.g0@libero.it>
>
> When one double clicks the underscore in this text
>
> $(B)/def_ghij
>
> also the slash is selected... while if the text does not contain the underscore,
>
> $(B)/defghij
>
> double clicking the word, does not select the slash...
>
> Other cases would be
>
> $(B)/def_ghij/ # Both slashes selected
> $(B)/defghij/ # No slash selected
In what major mode do you see that? I don't think I can reproduce
what you describe, but maybe that's specific to some mode?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: About selecting text with slash
2019-11-16 20:18 ` Eli Zaretskii
@ 2019-11-16 20:44 ` Angelo Graziosi
0 siblings, 0 replies; 5+ messages in thread
From: Angelo Graziosi @ 2019-11-16 20:44 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
> Il 16 novembre 2019 alle 21.18 Eli Zaretskii ha scritto:
>
> In what major mode do you see that? I don't think I can reproduce
> what you describe, but maybe that's specific to some mode?
I discovered this editing a Makefile (GNUmakefile) but it occurs also in Fundamental, Text, Shell-Script[bash], Markdown.. not in F90, Python, for example.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: About selecting text with slash
2019-11-16 20:13 About selecting text with slash Angelo Graziosi
2019-11-16 20:18 ` Eli Zaretskii
@ 2019-11-16 20:25 ` Andreas Schwab
2019-11-16 20:27 ` Stefan Monnier
2 siblings, 0 replies; 5+ messages in thread
From: Andreas Schwab @ 2019-11-16 20:25 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: emacs-devel
On Nov 16 2019, Angelo Graziosi wrote:
> Other cases would be
>
> $(B)/def_ghij/ # Both slashes selected
> $(B)/defghij/ # No slash selected
>
>
> Is this intentional? Really, I do not see the need to have also the slash selected...
Both have symbol syntax, so for the purpose of selection there is no
difference between ?_ and ?/.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: About selecting text with slash
2019-11-16 20:13 About selecting text with slash Angelo Graziosi
2019-11-16 20:18 ` Eli Zaretskii
2019-11-16 20:25 ` Andreas Schwab
@ 2019-11-16 20:27 ` Stefan Monnier
2 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2019-11-16 20:27 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: emacs-devel
> When one double clicks the underscore in this text
If you double click on a word-char you select a word
If you double click on a symbol-char you select a symbol
If you double click on a paren-char you select the sexp
So yes, it's probably expected, tho exactly which chars are considered
word-chars vs symbol-chars vs punctuation ... depends on the major modes
and other such details.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-11-16 20:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-16 20:13 About selecting text with slash Angelo Graziosi
2019-11-16 20:18 ` Eli Zaretskii
2019-11-16 20:44 ` Angelo Graziosi
2019-11-16 20:25 ` Andreas Schwab
2019-11-16 20:27 ` Stefan Monnier
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.