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

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

bug#2741: marked as done (Decoding of vc-annotate output affected by lan


From: Emacs bug Tracking System
Subject: bug#2741: marked as done (Decoding of vc-annotate output affected by language environment)
Date: Fri, 11 Sep 2009 11:10:09 +0000

Your message dated Fri, 11 Sep 2009 13:02:51 +0200
with message-id <address@hidden>
and subject line Re: bug#2741: Mixed UTF-8 and raw bytes in output of 
vc-annotate  after (set-language-environment "UTF-8")
has caused the Emacs bug report #2741,
regarding Decoding of vc-annotate output affected by language environment
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact address@hidden
immediately.)


-- 
2741: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2741
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Mixed UTF-8 and raw bytes in output of vc-annotate after (set-language-environment "UTF-8") Date: Sun, 22 Mar 2009 00:23:32 +0100
1) Create a Git repository and add a Latin-1 file with some non-ASCII
characters. In my example, the archive test.txt contains the following
text:

    A few Spanish characters: áéíóúüñ

2) Execute "emacs -Q test.txt -f vc-annotate". The resulting *Annotate
test.txt* buffer has buffer-file-coding-system `iso-latin-1-dos' and
shows:

    ^7fb00c1 (Juanma Barranquero 2009-03-22 00:01:39 +0100 1) A few
Spanish characters: áéíóúüñ

3) Set LANG to UTF-8 (for example, "set LANG=en_US.UTF-8"), and repeat
"emacs -Q test.txt -f vc-annotate". Now the *Annotate* buffer is in
`utf-8-dos', and shows:

    ^7fb00c1 (Juanma Barranquero 2009-03-22 00:01:39 +0100 1) A few
Spanish characters: áéíóúüñ

4) Finally, after unsetting LANG or not (it is irrelevant) do

    emacs -Q --eval "(set-language-environment \"UTF-8\")" test.txt -f
vc-annotate

  Now the *Annotate* buffer is in `utf-8-dos', but contains a mixture
of utf-8 and raw bytes:

    ^7fb00c1 (Juanma Barranquero 2009-03-22 00:01:39 +0100 1) A few
Spanish characters: \341\351\355\363\372\374\361

    Juanma



--- End Message ---
--- Begin Message --- Subject: Re: bug#2741: Mixed UTF-8 and raw bytes in output of vc-annotate after (set-language-environment "UTF-8") Date: Fri, 11 Sep 2009 13:02:51 +0200
On Thu, Sep 10, 2009 at 01:18, Juanma Barranquero <address@hidden> wrote:

>        * vc-annotate.el (vc-annotate): Use the main file's coding-system to
>        decode annotated text, regardless of language environment.  (Bug#2741)

I've installed this change.

    Juanma

--- End Message ---

reply via email to

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