[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to make `forward-sexp` handle other balanced character-pairs suc
From: |
Pierre Rouleau |
Subject: |
Re: How to make `forward-sexp` handle other balanced character-pairs such as < and > or << and >> in erlang-mode or others? |
Date: |
Tue, 28 Sep 2021 07:22:35 -0400 |
On Mon, Sep 27, 2021 at 11:45 PM Thibaut Verron <thibaut.verron@gmail.com>
wrote:
>
> On Mon, 27 Sep 2021, 23:48 Pierre Rouleau, <prouleau001@gmail.com> wrote:
>
>>
>>
>> On Mon, Sep 27, 2021 at 5:34 PM Thibaut Verron <thibaut.verron@gmail.com>
>> wrote:
>>
>>>
>>> How are you modifying the syntax table? Directly in the source code of
>>> the erlang mode, or in your user configuration?
>>>
>>>
>> I commented out the lines that identified ?< and ?> as "." and added
>> after
>> the following 2 lines:
>>
>> (modify-syntax-entry ?< "(>" table)
>> (modify-syntax-entry ?> "(<" table)
>>
>
> There is a typo there, the second one should be )<.
>
> Ahhhhh!!! That's it!! Thanks!!
--
/Pierre