emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lisp-mode: how to disable parentheses matching on non-ASCII '[({]' '


From: Eric S Fraga
Subject: Re: lisp-mode: how to disable parentheses matching on non-ASCII '[({]' '[})]' UTF-8 parenthesis chars ?
Date: Tue, 08 Aug 2023 10:19:39 +0100
User-agent: gnus (Emacs 30.0.50)

On Tuesday,  8 Aug 2023 at 08:37, Jason Vas Dias wrote:
>    Please could some emacs guru let me know how the 'lisp-mode' based
>    source editing modes can be made to ignore / treat as normal
>    characters such not-ascii-'(' and not-ascii-')' characters and to
>    NOT attempt to balance them or to consider them parenthesis syntax
>    ? No LISP parser I am using considers them to be syntax.

You could try

    (modify-syntax-entry ?< ".")

where you replace < with each individual character you do not wish to be
treated as a paren.

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-08-07) on Debian 12.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]