[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: basic navigation
From: |
Samuel Wales |
Subject: |
Re: basic navigation |
Date: |
Tue, 4 Jul 2023 21:41:18 -0700 |
for purposes of this discussion, please assume utf-8 and english if necessary.
i've found syntax tables to be usually wrong for what i want in most
modes, and i don't think i could fix them to be right.
On 7/4/23, Platon Pronko <platon7pronko@gmail.com> wrote:
> On 2023-07-05 08:24, Samuel Wales wrote:
>> true, true, but i am really focusing on actually changing fundamental
>> navigation like backward-kill-word and similar commands to match
>> intuition more frequently, rather than find a different thing to do,
>> or specialize to a mode.
>
> forward-word docs mention that you can tweak how word boundaries are
> determined:
>
>> The word boundaries are normally determined by the buffer's syntax
>> table and character script (according to `char-script-table'), but
>> `find-word-boundary-function-table', such as set up by `subword-mode',
>> can change that. If a Lisp program needs to move by words determined
>> strictly by the syntax table, it should use `forward-word-strictly'
>> instead. See Info node `(elisp) Word Motion' for details.
> --
> Best regards,
> Platon Pronko
> PGP 2A62D77A7A2CB94E
>
>
--
The Kafka Pandemic
A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com