From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#45925: 27.1; *Summary* buffer vs. raw utf-8 headers Date: Fri, 22 Jan 2021 19:06:00 +0100 Message-ID: <87h7n826ev.fsf@gnus.org> References: <87ft30azwi.5.fsf@jidanni.org> <874kjdpk6z.fsf@gnus.org> <87zh14f8un.5.fsf@jidanni.org> <878s8nr2m9.fsf@gnus.org> <87k0s6vzcv.5.fsf@jidanni.org> <83v9bq59b3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29463"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45925@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 22 19:07:34 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l30qL-0007Xd-TV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jan 2021 19:07:33 +0100 Original-Received: from localhost ([::1]:52314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l30qK-0002mM-SK for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jan 2021 13:07:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l30pq-0002PW-Si for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 13:07:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l30pq-0002ZC-L5 for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 13:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l30pq-0003HQ-G3; Fri, 22 Jan 2021 13:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 22 Jan 2021 18:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45925 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 45925-submit@debbugs.gnu.org id=B45925.161133877712551 (code B ref 45925); Fri, 22 Jan 2021 18:07:02 +0000 Original-Received: (at 45925) by debbugs.gnu.org; 22 Jan 2021 18:06:17 +0000 Original-Received: from localhost ([127.0.0.1]:32982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l30p6-0003GN-Oo for submit@debbugs.gnu.org; Fri, 22 Jan 2021 13:06:16 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:43416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l30p4-0003Fx-5F for 45925@debbugs.gnu.org; Fri, 22 Jan 2021 13:06:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/5KbGv9EptUF+oN0cnYb8eS1CJOLuKtnk91CrpRj08c=; b=OwuQjCpHkAT/xHJUG62+gWDg+X XWo05MQjVmARUWSNunvZzfjK1FuyimHAf9uKRGSZzYw0T7k9M+c5ruGQ13XUagOXLubc4xfiC2+6W TjyrJQEC7CT0Zzm0BjKUJvwjl+ahQQBxiFwx6EUx/MnoaUsJXDc8C0a8z8ymuUeYZzX8=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l30or-0003Xy-Dc; Fri, 22 Jan 2021 19:06:07 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUoFB5VNjS8dIK7 qqP39fS8RTfcsUX///99SiQ5AAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UBFhICKNpuvAQAAAGlSURB VDjLnZPPbsIwDMaTSdztSOXeVN2dpuMBtj4AAbnnMZa8/yPMdv/QVuUySyDhX/x9thOM2Q1E8yKs +X9sRGcpCy+AQ9gHpQfYAxacOy3yMAE+XZ1KOYCaAnwWOt8gvp0qNYNFk1g1pXOfbXnarMS6sqxc UMU1KBAr8q5RFzt7WyIsPCGfXYOCiG6RAegWcNoHCrjyJ8JidVyHhWQltsulaLWCYL0rJLB0o2iK 9c7Umw2ixV2gUi/B+tIEpLECp0uzqKCqbxMYNwU63zVwtlZgBx/+trGg25mBFw+cxzaHeGCQ3umn JlaetXjlUpHqfgY41jDIWdb4BJxN2tV5GCNOUtZgzhfe1VnHSBEEyM3ZPudsiKVYq/+4SMXxLhch 4Lvofx9tyDlJt8csAAXcuU6BZhgAuyowh5yDz0mV+nzHQVwO9jlRjVLAgBuNFPx7f9d3FYeBuc3E zUKJ7hhX/x3xNPz+iirB8LjGu3mIh3XoeMBlcDcMQmjDOtqu676C6ebQ7PxrAZrGB78BejQMYKwa QBOadqpQj5VUCH7fowvdM9/9AQYijYD1OMnmAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAxLTIy VDE4OjAyOjQwKzAwOjAw2HnbEgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMS0yMlQxODowMjo0 MCswMDowMKkkY64AAAAASUVORK5CYII= X-Now-Playing: Earwig's _Past_: "You Don't Even Come Close" In-Reply-To: <83v9bq59b3.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 21 Jan 2021 22:22:56 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198383 Archived-At: Eli Zaretskii writes: > Why do you expect a mixed-encoding stuff to work in Emacs? Emacs only > supports a single encoding of any chunk of text it gets, be it a file > or an email message. > > Files such as this one are simply not supported. Sure they are. It's not a text file; it's an octet stream. But as Dan points out, Gnus doesn't handle these invalid mails optimally, and doing some RFC2047-encoding to the headers before writing the .overview file will help a bit here, so I've now done that in Emacs 28. (Gnus will still display some of these headers "wrong" in the summary buffer, and display them "right" in the article buffer, because Gnus has to guess at what the charset is, and it does further guessing in the article buffer than in the summary buffer, for reasons of efficiency.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no