From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Fixing Gnus, and string encoding question Date: Sat, 06 Apr 2019 10:26:29 +0200 Message-ID: References: <87d0m0qivv.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="52300"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: emacs-devel@gnu.org To: Eric Abrahamsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 06 10:27:25 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hCgfd-000DLQ-JZ for ged-emacs-devel@m.gmane.org; Sat, 06 Apr 2019 10:27:25 +0200 Original-Received: from localhost ([127.0.0.1]:52166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCgfc-0004R1-Cv for ged-emacs-devel@m.gmane.org; Sat, 06 Apr 2019 04:27:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCgf4-0004Qv-9L for emacs-devel@gnu.org; Sat, 06 Apr 2019 04:26:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCgf3-0002el-78 for emacs-devel@gnu.org; Sat, 06 Apr 2019 04:26:50 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:40624) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hCgeq-0002Np-B2 for emacs-devel@gnu.org; Sat, 06 Apr 2019 04:26:49 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 44bqXS4kgBz1rBnb; Sat, 6 Apr 2019 10:26:32 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 44bqXS4GLPz1r4tX; Sat, 6 Apr 2019 10:26:32 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id kCeXSF2j2YRL; Sat, 6 Apr 2019 10:26:31 +0200 (CEST) X-Auth-Info: Waz57Y3ZiRJLdpbzvCRGrMMpa6PYw8d3WE9QXClyUR001841BCcZbbWL9NklkZm1 Original-Received: from linux.local (ppp-46-244-169-156.dynamic.mnet-online.de [46.244.169.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 6 Apr 2019 10:26:31 +0200 (CEST) Original-Received: by linux.local (Postfix, from userid 501) id 2BA581E53F9; Sat, 6 Apr 2019 10:26:30 +0200 (CEST) X-Yow: Is it FUN to be a MIDGET? In-Reply-To: <87d0m0qivv.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 05 Apr 2019 13:47:32 -0700") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:235023 Archived-At: On Apr 05 2019, Eric Abrahamsen wrote: > The problem is that non-ASCII group names are now strings, and are > coming into the system in two different ways: written into .newsrc.eld > with `print-escape-nonascii' set to t, Why do you need to use the escaped representation? > The group name is read from file with `set-buffer-multibyte' nil, Why can't you decode the file contents first, before passing it to read? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."