From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#2741: marked as done (Decoding of vc-annotate output affected by language environment) Date: Fri, 11 Sep 2009 11:10:09 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1252667409-26938-0" X-Trace: ger.gmane.org 1252670822 30243 80.91.229.12 (11 Sep 2009 12:07:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Sep 2009 12:07:02 +0000 (UTC) To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 11 14:06:55 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 1Mm4tw-0003CJ-CC for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Sep 2009 14:06:52 +0200 Original-Received: from localhost ([127.0.0.1]:40295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mm4tu-00063s-1r for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Sep 2009 08:06:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mm4HV-0004tL-AM for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 07:27:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mm4HQ-0004pR-IK for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 07:27:08 -0400 Original-Received: from [199.232.76.173] (port=45371 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mm4HP-0004pD-Lq for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 07:27:04 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39219) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mm4HP-0007OB-5b for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 07:27:03 -0400 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 n8BBQxc0030104; Fri, 11 Sep 2009 04:27:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8BBA9bC026983; Fri, 11 Sep 2009 04:10:09 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 2741 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:30955 Archived-At: This is a multi-part message in MIME format... ------------=_1252667409-26938-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 11 Sep 2009 13:02:51 +0200 with message-id and subject line Re: bug#2741: Mixed UTF-8 and raw bytes in output of vc-an= notate 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 owner@emacsbugs.donarmstrong.com immediately.) --=20 2741: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D2741 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1252667409-26938-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 21 Mar 2009 23:23:57 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,IMPRONONCABLE_2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f178.google.com (mail-ew0-f178.google.com [209.85.219.178]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2LNNr3F029568 for ; Sat, 21 Mar 2009 16:23:55 -0700 Received: by ewy26 with SMTP id 26so1525623ewy.1 for ; Sat, 21 Mar 2009 16:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:received:message-id:subject :from:to:content-type:content-transfer-encoding; bh=UhrTQXE13rcFhkFIncPIpW1kSu8lGAE69D6pwUCmH9c=; b=fmLUIez8A3+jcpFfM18oBV3jsI+wL3ZFemFGEZPaQuB8zAdbOuqaRbm9IuAaqihGbO 6+isU9p+bI/b8Is/PRe9txekr8L499wRAFAcizHZdfsbOw5MmD2dEatJhHNcx3JJ+LZo CWF3fIIVZCwvTJtGqonZR5Zbjk/HYLcfXoS4g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=mG3B3ikjUMxbsEsFb5EyxB/9bgzEslq8HacyFdznZEwjCzw8gV1CVi2Jgkp312BceV 2hjluJBCNaVFN4wBkocNg+uWN7uu5OO4Ml2SzoGYSdCM54QP9F2YnDf90gzk1cln/l6Y 64Ld9Z9W0yNjFSc8pAY7EdtMXStW1NFenZIak= MIME-Version: 1.0 Date: Sun, 22 Mar 2009 00:23:32 +0100 Received: by 10.210.129.19 with SMTP id b19mr979969ebd.34.1237677827917; Sat, 21 Mar 2009 16:23:47 -0700 (PDT) Message-ID: Subject: Mixed UTF-8 and raw bytes in output of vc-annotate after (set-language-environment "UTF-8") From: Juanma Barranquero To: Emacs Bug Tracker Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: =C3=A1=C3=A9=C3=AD=C3=B3=C3=BA=C3=BC=C3=B1 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: =C3=A1=C3=A9=C3=AD=C3=B3=C3=BA=C3=BC=C3=B1 3) Set LANG to UTF-8 (for example, "set LANG=3Den_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: =C3=A1=C3=A9=C3=AD=C3=B3=C3=BA=C3=BC=C3=B1 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 ------------=_1252667409-26938-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2741-done) by emacsbugs.donarmstrong.com; 11 Sep 2009 11:03:14 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.4 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER, SARE_SUB_ENC_UTF8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8BB3BgI024997 for <2741-done@emacsbugs.donarmstrong.com>; Fri, 11 Sep 2009 04:03:13 -0700 Received: by fg-out-1718.google.com with SMTP id e21so1690166fga.13 for <2741-done@emacsbugs.donarmstrong.com>; Fri, 11 Sep 2009 04:03:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=vgvli+WRAiW991BZw8BKuEUqTVR0AycR/6ywQ7cM7kk=; b=GyifdC7RbVyd5Fa38UYbuD/60G87TQ51wEa0Jop3ChXu1sEwwgqqnK5bG3Y+8wODLf VABkkxzZpkQCWClSyC4Hgm0RtzkQUtseFKUykdSb2gHHXdVZmEN3c6t7Api70MtBwt4L bdWgbPTDp9s5g5XHxKS2U7HgMnggejoETaeXw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=qp5PfoqL/yO4hI47W5/Z+2uRXejLsaCy8GanqCZz/G18w3Ot+67C3uMb04dp/5Mf09 4U4KLYldCMVpLgxBNzQfLW/Xk6AAh3am4MM1w61VOFNyNbqKh8tVuYFaaj+JKzUVzDrJ +o885+BtfcutwkVz6LhhIrEhKf3GWoYmw6NcI= MIME-Version: 1.0 Received: by 10.239.145.142 with SMTP id s14mr263532hba.144.1252666991140; Fri, 11 Sep 2009 04:03:11 -0700 (PDT) In-Reply-To: References: From: Juanma Barranquero Date: Fri, 11 Sep 2009 13:02:51 +0200 Message-ID: Subject: Re: bug#2741: Mixed UTF-8 and raw bytes in output of vc-annotate after (set-language-environment "UTF-8") To: Stefan Monnier Cc: 2741-done@emacsbugs.donarmstrong.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Sep 10, 2009 at 01:18, Juanma Barranquero wrote: > =C2=A0 =C2=A0 =C2=A0 =C2=A0* vc-annotate.el (vc-annotate): Use the main f= ile's coding-system to > =C2=A0 =C2=A0 =C2=A0 =C2=A0decode annotated text, regardless of language = environment. =C2=A0(Bug#2741) I've installed this change. Juanma ------------=_1252667409-26938-0--