From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86373 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: groups with non-ASCII names Date: Thu, 03 Dec 2015 11:01:58 +0900 Organization: Emacsen advocacy group Message-ID: References: <874mgete9f.fsf@tullinup.koldfront.dk> <87fuzwegrc.fsf@tullinup.koldfront.dk> <87wpt79l94.fsf@free.fr> <87lh9ccxv8.fsf_-_@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1449108211 7771 80.91.229.3 (3 Dec 2015 02:03:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2015 02:03:31 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34605@lists.math.uh.edu Thu Dec 03 03:03:16 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a4JEn-0003KU-3U for ding-account@gmane.org; Thu, 03 Dec 2015 03:03:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1a4JE2-0001aZ-LS; Wed, 02 Dec 2015 20:02:26 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1a4JDz-0001a1-2B for ding@lists.math.uh.edu; Wed, 02 Dec 2015 20:02:23 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1a4JDt-0004EM-5b for ding@lists.math.uh.edu; Wed, 02 Dec 2015 20:02:22 -0600 Original-Received: from [216.246.47.56] (helo=memphis.hostforweb.net) by quimby.gnus.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1a4JDr-0005jM-Ei for ding@gnus.org; Thu, 03 Dec 2015 03:02:15 +0100 Original-Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:62108 helo=localhost) by memphis.hostforweb.net with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1a4JDj-00092P-4D for ding@gnus.org; Wed, 02 Dec 2015 20:02:08 -0600 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130014 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.14) Emacs/25.1.50 (i686-pc-cygwin) Cancel-Lock: sha1:izK+d4UFd9RBtIgNOp3wVpz1B7c= X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - memphis.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: memphis.hostforweb.net: authenticated_id: yamaokac/only user confirmed/virtual account not confirmed X-Authenticated-Sender: memphis.hostforweb.net: yamaokac X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.8 (/) X-Spam-Report: SpamAssassin (3.4.1 2015-04-28) analysis follows Bayesian score: 0.2520 Ham tokens: 0.000-111--4856h-0s--0d--buffer, 0.000-64--2803h-0s--0d--nil, 0.000-39--1670h-0s--0d--coding, 0.000-25--1061h-0s--0d--H*M:fsf, 0.000-24--1050h-0s--0d--H*UA:Emacs Spam tokens: 0.995-12826--331h-9045s--0d--H*r:quimby.gnus.org, 0.994-11706--411h-8330s--0d--H*Ad:D*gnus.org, 0.993-13845--522h-9877s--0d--H*RU:quimby.gnus.org, 0.993-13845--522h-9877s--0d--Hx-spam-relays-external:quimby.gnus.org, 0.993-13073--510h-9338s--0d--HTo:D*gnus.org Autolearn status: no autolearn_force=no -0.0 BAYES_40 BODY: Bayes spam probability is 20 to 40% [score: 0.2520] 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86373 Archived-At: On Wed, 02 Dec 2015 23:02:51 +0100, Peter M=C3=BCnster wrote: > Now I do: tab-completion does not work in message-mode on the "Gcc:" > line, when the group name has non-ASCII characters. > What could be done, to get tab-completion for such groups please? Only the non-ASCII group doesn't appear in the candidates list for the completion, whereas that group appears in the Group buffer, doesn't it? If so, unfortunately I have no idea how it happens. Does this form return a non-nil value? (intern-soft (encode-coding-string "nnml:=E3=83=86=E3=82=B9=E3=83=88" 'utf-8) gnus-active-hashtb) ;; Replace "nnml:=E3=83=86=E3=82=B9=E3=83=88" with your group name in quest= ion. If this returns nil but the next one returns non-nil, (intern-soft (string-as-multibyte (encode-coding-string "nnml:=E3=83=86=E3=82=B9=E3=83=88" 'utf-8)) gnus-active-hashtb) there would still be something wrong in the Gnus code (or your customization). Even so, `message-tab' should work. FYI: By default, `message-tab' runs `message-expand-group'[1] that extracts group names for the candidates from `gnus-active-hashtb'. If all goes well, a non-ASCII group name in it is encoded by the utf-8 coding system[2] in the unibyte mode. [1] The completion function may be customized by `message-completion-alist'. [2] `gnus-group-name-charset-group-alist' specifies it.