From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: henry atts Newsgroups: gmane.emacs.help Subject: Re: matching parenthesis and guillemets Date: Thu, 13 Jun 2013 20:57:01 +0200 Organization: LiteraturLateNight Message-ID: <87a9mton42.fsf@bye.fritz.box> References: <87k3lyw5nt.fsf@bye.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1371150339 392 80.91.229.3 (13 Jun 2013 19:05:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Jun 2013 19:05:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 13 21:05:41 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UnCq4-00059y-7o for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jun 2013 21:05:40 +0200 Original-Received: from localhost ([::1]:35970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnCq3-0007HA-R9 for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jun 2013 15:05:39 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news.unit0.net!news.uni-stuttgart.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: port-92-195-97-174.dynamic.qsc.de Original-X-Trace: online.de 1371149829 32552 92.195.97.174 (13 Jun 2013 18:57:09 GMT) Original-X-Complaints-To: abuse@einsundeins.com Original-NNTP-Posting-Date: Thu, 13 Jun 2013 18:57:09 +0000 (UTC) User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:s2NWqultkpYF7DeJP7mCNA2cd9w= Original-Xref: usenet.stanford.edu gnu.emacs.help:199263 X-Mailman-Approved-At: Thu, 13 Jun 2013 15:05:08 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91527 Archived-At: Stefan Monnier 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