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.devel Subject: Re: Gnus; Restore multi encoding support for NNTP Date: Tue, 28 Dec 2021 15:31:07 +0100 Message-ID: <87ilv8ajis.fsf@gnus.org> References: <87wnjqb62b.fsf@gnus.org> <87sfueb3y1.fsf@gnus.org> <87r19x2zar.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19086"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Emacs Devel To: Eric Abrahamsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 28 15:33:22 2021 Return-path: Envelope-to: ged-emacs-devel@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 1n2DXU-0004ej-55 for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Dec 2021 15:33:20 +0100 Original-Received: from localhost ([::1]:34514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2DXS-0001e7-QJ for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Dec 2021 09:33:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2DVY-0007o4-Qb for emacs-devel@gnu.org; Tue, 28 Dec 2021 09:31:20 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=40930 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2DVX-0002sR-3l for emacs-devel@gnu.org; Tue, 28 Dec 2021 09:31:20 -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=293OhIkd8OMJnW+tA7BJiQWmfmF9rD6aBDNC+995dPc=; b=kqklf1R0Ut1AvcHI6+5pU/7Fow GeSJXPB/Q+JX4SoltDg90CaxYWe6E3IN/lnwvpIYdOFHmUDCqobFhmWRKoGDr4YO53Fz6WqYMcIDc Tn39RH9X4e/vtpId8qZWs5XYmM0BqYklcujFrgnpSl5Tqf+AWAy54e10V9xpTrXf08tU=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n2DVS-0007Fk-FL; Tue, 28 Dec 2021 15:31:17 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEX7+vbb1s/Fvret opySg3yKdnFrWlX///+5nBMEAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UMHA4VHHxIsuYAAAGYSURB VDjLxVNRktsgDJV7AsQJCnTyb4lcoNh7AawcYLP4/keowIQ4mdmZTn/67A9bTxJIegL4r7BoTn8T wmQmY/4x2d8ifEfQcbL3+AajD1ZC4Y73zA6i4cSAP+Nbwp0JemMa6RCCD1zR+Wp33jqnqaj7Wqxv c8e5E+QDUaih/ohmBn5Bu5nVeAf9gKOolsk7bUj/rk7VIa6iyFSp/iOyLXlJI6cDtTAvyypbStyJ eh1YF9niykuOaqi3ClQrI8jqtWlE5muikYkYUpQo+y5SpDAHppg0hn8Di/rue5E1R7kt23oV0YQE mkFupcWnj02NN5F6T0i3/Ql12UiP/pUIhrF8lY+9bInIaRvNkxD55NYZMERaebPloO2znrGJGXCq xF2rclZnYEO+/JwQ46GrWIh6IwNdZjNhVz/f3VMCAcdygJ1733W2niyObTlmbNvUXZ3fg7CzfRVV m50Sl/tDWZ1Q34zZah0PTbkeoEL/MWOt4yXVWJPrPZwJM5b3qc4jYmpBqLoi5rcdMLUuuJbXiLEG I9Pb5vwBnmqG4gFQXfsAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMTItMjhUMTQ6MjE6MjgrMDA6 MDA2miAIAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTEyLTI4VDE0OjIxOjI4KzAwOjAwR8eYtAAA AABJRU5ErkJggg== X-Now-Playing: Static's _Eject Your Mind_: "Northrop" In-Reply-To: <87r19x2zar.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 27 Dec 2021 19:17:32 -0800") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:283509 Archived-At: Eric Abrahamsen writes: >> What's worse is when there are two group names having different coding >> systems decoded to the same UTF-8 string for the same server, if gnus >> doesn't correctly record which one uses which, well... (This is the >> reason for using charset string property for that) > > Gnus does not handle this situation correctly, and I can't imagine it > ever did. I think it did, since we just kept the unencoded data in the newsrc alist, and then decoded before displaying. So you could have any number of groups with names that decoded to the same displayed string. > But probably it should. How does this per-group encoding > information arrive from the server? It doesn't -- you just have to know (and put that knowledge in `gnus-group-name-charset-group-alist'). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no