[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34301: Unable to make underscore part of a word everywhere
From: |
Noam Postavsky |
Subject: |
bug#34301: Unable to make underscore part of a word everywhere |
Date: |
Tue, 09 Jul 2019 14:07:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Konstantin Kharlamov <hi-angel@yandex.ru> writes:
>
>> By default the underscore "_" symbol is not being counted as part of a
>> word, even though I have never met a language where it's a separate
>> entity.
>
> In natural languages it's usually not word-consistent.
>
>> This means e.g. that upon opening a file one is never being
>> able to "search for word_wth_underscores under cursor", unless they
>> modify current table.
>
> Any programming language mode sets _ to be part of words, surely? If
> not that's a bug in that mode? What modes do you see this in?
Most languages give '_' symbol, not word, syntax. Looking at the linked
SE thread, this sounds more like a problem with evil though, apparently
it's difficult to search for a symbol?