help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: matching parenthesis and guillemets


From: henry atts
Subject: Re: matching parenthesis and guillemets
Date: Thu, 13 Jun 2013 20:57:01 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> And in fact emacs treats the guillemets the wrong way up, the above
>> message is displayed on the opening guillemet (») and not on a single
>> closing one («) with a missing match.
>
> Right.  Frenchmen disagree.  How 'bout doing the following:
>
>    (modify-syntax-entry ?« ")»" (standard-syntax-table))
>    (modify-syntax-entry ?» "(«" (standard-syntax-table))

Great! Works fine.

> Emacs should probably not take sides in this historic battle and just
> give those chars a non-paren syntax by default.

+1

>         Stefan

Thanks,
henry

-- 
web: http://literaturlatenight.de
jabberID: atting@jabber.at


reply via email to

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