[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35062: [PATCH v3 2/3] constify a bit of xterm.c
From: |
Eli Zaretskii |
Subject: |
bug#35062: [PATCH v3 2/3] constify a bit of xterm.c |
Date: |
Sat, 20 Apr 2019 14:01:55 +0300 |
> Date: Sat, 20 Apr 2019 13:31:44 +0300
> From: Konstantin Kharlamov <hi-angel@yandex.ru>
> Cc: eggert@cs.ucla.edu, 35062@debbugs.gnu.org
>
> On Сб, Apr 20, 2019 at 09:53, Eli Zaretskii <eliz@gnu.org> wrote:
> >> Date: Sat, 20 Apr 2019 04:09:19 +0300
> >> From: Konstantin Kharlamov <hi-angel@yandex.ru>
> >> Cc: Eli Zaretskii <eliz@gnu.org>, 35062@debbugs.gnu.org
> >>
> > I don't think I follow: Emacs's search commands do highlight the
> > matches, and we also have symbol-search commands ("M-s _" etc.), so
> > what exactly is missing?
>
> See: to any search a word in Emacs you have to either type it manually
> or copy-paste it. And then if you get unlucky to have next match
> offscreen, the search gonna carry currently visible portion of text
> away.
>
> In other editors and IDEs it's implemented instead by selecting a word,
> which makes the editor to highlight matches.
"M-s ." will highlight matches for the symbol at point, without even
requiring you to select that symbol.
> That's similar to what highlight-symbol.el is doing: you put a caret
> over a text, and after a short timeout (IIRC you can't set timeout
> to 0 as it introduces lags to Emacs) it highlights visible matches
> of the symbol under the caret. And then, if you want to, you can
> press a hotkey to lock the highlight.
So you want to avoid typing "M-s .", is that right? But selecting a
symbol will need more keystrokes (except for very short symbols), so
where's the gain in that?
- bug#35062: [PATCH v3 3/3] don't compare unsigned to less-than-zero, (continued)
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/06
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Eli Zaretskii, 2019/04/13
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Paul Eggert, 2019/04/19
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/19
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/19
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Eli Zaretskii, 2019/04/20
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/20
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c,
Eli Zaretskii <=
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/20
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/20
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/20
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/20
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Eli Zaretskii, 2019/04/20
bug#35062: [PATCH v3 1/3] Remove redundant comparison, Eli Zaretskii, 2019/04/13