Re: encoding problem with Emacs notmuch.el (æøå)
authorPetter Reinholdtsen <pre@usit.uio.no>
Mon, 26 Sep 2011 13:06:28 +0000 (15:06 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:29 +0000 (09:39 -0800)
a8/6547c2b14bd945decd426182012f83e48bfcb1 [new file with mode: 0644]

diff --git a/a8/6547c2b14bd945decd426182012f83e48bfcb1 b/a8/6547c2b14bd945decd426182012f83e48bfcb1
new file mode 100644 (file)
index 0000000..35d2f24
--- /dev/null
@@ -0,0 +1,81 @@
+Return-Path: <gmn-notmuch@m.gmane.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id EA434431FD0\r
+       for <notmuch@notmuchmail.org>; Mon, 26 Sep 2011 07:56:46 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 36EXKOH1iHHC for <notmuch@notmuchmail.org>;\r
+       Mon, 26 Sep 2011 07:56:46 -0700 (PDT)\r
+Received: from lo.gmane.org (lo.gmane.org [80.91.229.12])\r
+       by olra.theworths.org (Postfix) with ESMTP id 8D15B431FB6\r
+       for <notmuch@notmuchmail.org>; Mon, 26 Sep 2011 07:56:46 -0700 (PDT)\r
+Received: from list by lo.gmane.org with local (Exim 4.69)\r
+       (envelope-from <gmn-notmuch@m.gmane.org>) id 1R8BPi-0001dv-G5\r
+       for notmuch@notmuchmail.org; Mon, 26 Sep 2011 15:40:06 +0200\r
+Received: from login2.uio.no ([129.240.12.28])\r
+       by main.gmane.org with esmtp (Gmexim 0.1 (Debian))\r
+       id 1AlnuQ-0007hv-00\r
+       for <notmuch@notmuchmail.org>; Mon, 26 Sep 2011 15:40:06 +0200\r
+Received: from pre by login2.uio.no with local (Gmexim 0.1 (Debian))\r
+       id 1AlnuQ-0007hv-00\r
+       for <notmuch@notmuchmail.org>; Mon, 26 Sep 2011 15:40:06 +0200\r
+X-Injected-Via-Gmane: http://gmane.org/\r
+To: notmuch@notmuchmail.org\r
+From: Petter Reinholdtsen <pre@usit.uio.no>\r
+Subject: Re: encoding problem with Emacs notmuch.el =?iso-8859-1?Q?=28=E6?=\r
+       =?iso-8859-1?Q?=F8=E5=29?=\r
+Date: Mon, 26 Sep 2011 15:06:28 +0200\r
+Organization: University of Oslo, Norway\r
+Lines: 20\r
+Message-ID: <2fl7h4vfo6j.fsf@login2.uio.no>\r
+References: <m2k4gmyjer.fsf@ecocode.net> <8739nakeb5.fsf@zancas.localnet>\r
+       <2flipomf3vc.fsf_-_@login2.uio.no>\r
+Mime-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Complaints-To: usenet@dough.gmane.org\r
+X-Gmane-NNTP-Posting-Host: login2.uio.no\r
+User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)\r
+Cancel-Lock: sha1:AbVAvYSr2yXhS44SmWTwgzz/mUM=\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 26 Sep 2011 14:56:47 -0000\r
+\r
+\r
+[Petter Reinholdtsen]\r
+> (Hm, now I hope the characters are encoded as UTF-8.  Time will\r
+> tell. :)\r
+\r
+Hm, it ended up as ISO-8859-1.  Anwway, I was able to get around the\r
+problem by commenting out this block from my .emacs file and start\r
+emacs using LC_CTYPE=nb_NO.UTF-8:\r
+\r
+  (set-language-environment "Latin-1")\r
+  (if (featurep 'mule)\r
+      (set-language-environment "Latin-1")\r
+    (set-input-mode (car (current-input-mode))\r
+                   (nth 1 (current-input-mode))\r
+                   0)    \r
+    (standard-display-european t))\r
+\r
+Happy hacking,\r
+-- \r
+Petter Reinholdtsen\r
+\r