all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Sven Joachim <svenjoac@gmx.de>
Cc: 4417@emacsbugs.donarmstrong.com
Subject: bug#4417: 23.1.50; vc-hg is broken in non-English locales
Date: Mon, 14 Dec 2009 09:12:18 -0800 (PST)	[thread overview]
Message-ID: <200912141712.nBEHCIS0026725@godzilla.ics.uci.edu> (raw)
In-Reply-To: <87bplga8or.fsf@turtle.gmx.de> (Sven Joachim's message of "Sat, 12 Sep 2009 10:06:28 +0200")

Sven Joachim <svenjoac@gmx.de> 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:
  > 
  > ,----
  > | Änderung:        1587:1cdfa7c5503e
  > | Vorgänger:       1585:ef75fa728cca
  > | Nutzer:          Daniel Burrows <dburrows@debian.org>
  > | Datum:           Sun Jul 20 12:31:09 2008 -0700
  > | Zusammenfassung: Document how aptitude handles double-quotes.
  > `----
  > 
  > Setting LANG to C works around the problems.  For the reference, this is
  > my mercurial version:
  > 
  > ,----
  > | % hg --version
  > | Mercurial Distributed SCM (version 1.3.1)
  > `----
  > 
  > 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.10603000
  > configured using `configure  '--build=i486-linux-gnu' 'build_alias=i486-linux-gnu' 'CFLAGS=-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.





  parent reply	other threads:[~2009-12-14 17:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-12  8:06 bug#4417: 23.1.50; vc-hg is broken in non-English locales Sven Joachim
2009-09-22 18:14 ` Dan Nicolaescu
2009-09-22 18:48   ` Sven Joachim
2009-12-14 17:12 ` Dan Nicolaescu [this message]
2009-12-14 17:52   ` Sven Joachim
2009-12-14 18:23     ` Dan Nicolaescu
2009-12-14 18:48       ` Sven Joachim
2010-01-27 18:38 ` bug#4417: " Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200912141712.nBEHCIS0026725@godzilla.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=4417@emacsbugs.donarmstrong.com \
    --cc=svenjoac@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.