From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#4417: 23.1.50; vc-hg is broken in non-English locales Date: Mon, 14 Dec 2009 09:12:18 -0800 (PST) Message-ID: <200912141712.nBEHCIS0026725@godzilla.ics.uci.edu> References: <87bplga8or.fsf@turtle.gmx.de> Reply-To: Dan Nicolaescu , 4417@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1260813773 10887 80.91.229.12 (14 Dec 2009 18:02:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2009 18:02:53 +0000 (UTC) Cc: 4417@emacsbugs.donarmstrong.com To: Sven Joachim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 14 19:02:46 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NKFFt-0008MU-Qc for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Dec 2009 19:02:46 +0100 Original-Received: from localhost ([127.0.0.1]:57280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKFFt-0007xQ-R5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Dec 2009 13:02:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKEht-0006WC-IM for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2009 12:27:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKEho-0006Qn-Pz for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2009 12:27:37 -0500 Original-Received: from [199.232.76.173] (port=45488 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKEho-0006QV-6R for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2009 12:27:32 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33432) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NKEhn-0001Wk-Ot for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2009 12:27:32 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBEHRTrG011786; Mon, 14 Dec 2009 09:27:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nBEHK3uc010844; Mon, 14 Dec 2009 09:20:03 -0800 Resent-Date: Mon, 14 Dec 2009 09:20:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 14 Dec 2009 17:20:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4417 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4417-submit@emacsbugs.donarmstrong.com id=B4417.12608107509736 (code B ref 4417); Mon, 14 Dec 2009 17:20:03 +0000 Original-Received: (at 4417) by emacsbugs.donarmstrong.com; 14 Dec 2009 17:12:30 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from colin-baker-v0.ics.uci.edu (colin-baker-v0.ics.uci.edu [128.195.1.153]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBEHCTsV009733 for <4417@emacsbugs.donarmstrong.com>; Mon, 14 Dec 2009 09:12:30 -0800 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nBEHCIAT020179 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Dec 2009 09:12:18 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nBEHCIS0026725; Mon, 14 Dec 2009 09:12:18 -0800 (PST) In-Reply-To: <87bplga8or.fsf@turtle.gmx.de> (Sven Joachim's message of "Sat, 12 Sep 2009 10:06:28 +0200") Original-Lines: 40 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nBEHCIAT020179 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 14 Dec 2009 12:27:36 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33571 Archived-At: Sven Joachim writes: > When opening a file in a mercurial-controlled directory, the modeline > shows "Hg-0" instead of the revision number in my de_DE.UTF-8 locale. > Moreover, after pressing "C-x v l", the *vc-change-log* buffer is > unfontified, and standard keys (d, f) do not work there, because hg's > output is in German: >=20 > ,---- > | =C3=84nderung: 1587:1cdfa7c5503e > | Vorg=C3=A4nger: 1585:ef75fa728cca > | Nutzer: Daniel Burrows > | Datum: Sun Jul 20 12:31:09 2008 -0700 > | Zusammenfassung: Document how aptitude handles double-quotes. > `---- >=20 > Setting LANG to C works around the problems. For the reference, this is > my mercurial version: >=20 > ,---- > | % hg --version > | Mercurial Distributed SCM (version 1.3.1) > `---- >=20 > In GNU Emacs 23.1.50.6 (i486-pc-linux-gnu, GTK+ Version 2.16.6) > of 2009-09-12 on turtle > Windowing system distributor `The X.Org Foundation', version 11.0.10603= 000 > configured using `configure '--build=3Di486-linux-gnu' 'build_alias=3D= i486-linux-gnu' 'CFLAGS=3D-DGTK_DISABLE_DEPRECATED -g -O2'' I still cannot reproduce this... but it's not unreasonable that it happens. The "Hg-0" problem happens because vc-hg parses the "hg log" output so that it can get the version number to display in the modeline (in `vc-hg-working-revision'). I'll check in a fix shortly. For the C-x v l problem, would it be acceptable for vc-hg to force the language to be C? If not, then someone would have to write regexps that match the "hg log" entries in any language.