From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: French quotes treated as parentheses Date: Fri, 28 Jul 2006 22:22:02 +0200 Message-ID: <85odv9eaz9.fsf@lola.goethe.zz> References: <44C9A1D5.5090001@gmx.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1154118192 26746 80.91.229.2 (28 Jul 2006 20:23:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Jul 2006 20:23:12 +0000 (UTC) Cc: emacs-devel@gnu.org, Sven Joachim , handa@m17n.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 28 22:23:09 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G6Yqq-0004AT-8G for ged-emacs-devel@m.gmane.org; Fri, 28 Jul 2006 22:22:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G6Yqp-0000gH-NR for ged-emacs-devel@m.gmane.org; Fri, 28 Jul 2006 16:22:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G6Yqd-0000gC-I8 for emacs-devel@gnu.org; Fri, 28 Jul 2006 16:22:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G6Yqc-0000g0-GY for emacs-devel@gnu.org; Fri, 28 Jul 2006 16:22:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G6Yqc-0000fx-DQ for emacs-devel@gnu.org; Fri, 28 Jul 2006 16:22:14 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G6Ysg-0000VY-67 for emacs-devel@gnu.org; Fri, 28 Jul 2006 16:24:22 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1G6YqV-0007cb-0z; Fri, 28 Jul 2006 16:22:07 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id BB70B1C000B3; Fri, 28 Jul 2006 22:22:02 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Fri, 28 Jul 2006 15:42:09 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:57753 Archived-At: Richard Stallman writes: > The result is that they are wrongly highlighted with show-paren-mode = on, > and "Mismatched parentheses" error messages appearing in the echo > area. I finally managed to work around that by putting > > (modify-syntax-entry (string-to-char "=BB") "(") > (modify-syntax-entry (string-to-char "=AB") ")") > > into my .emacs, but would it not be better to give the French quotes a > more neutral syntax (say punctuation), to not discriminate German > against French users? > > I think it would be better to set up a minor mode to switch to German > syntax, and connect this with a language environment. That's pretty tough, given that the German speaking Swiss tend to use a different direction from the Germans themselves. It is really pretty messy. --=20 David Kastrup, Kriemhildstr. 15, 44793 Bochum