From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59008 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: [BUG]What does this mean:"Mention that multibyte characters Date: Wed, 27 Oct 2004 20:55:32 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098878242 14156 80.91.229.6 (27 Oct 2004 11:57:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2004 11:57:22 +0000 (UTC) Cc: Kenichi Handa Original-X-From: ding-owner+M7549@lists.math.uh.edu Wed Oct 27 13:57:05 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CMmQK-0004r4-00 for ; Wed, 27 Oct 2004 13:57:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CMmPC-0004Df-00; Wed, 27 Oct 2004 06:55:54 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CMmP3-0004DX-00 for ding@lists.math.uh.edu; Wed, 27 Oct 2004 06:55:45 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CMmOz-0000ig-QX for ding@lists.math.uh.edu; Wed, 27 Oct 2004 06:55:41 -0500 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id 035203A022B for ; Wed, 27 Oct 2004 06:55:39 -0500 (CDT) Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.42) id 1CMmOw-0002zn-5d; Wed, 27 Oct 2004 07:55:39 -0400 Original-To: ding@gnus.org 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.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:xsMnoarJ8CSENzJx3NAxwH6QgHk= X-Hashcash: 1:17:041027:ding@gnus.org::huySU8hOTGRjGoEs:000008TY X-Hashcash: 1:17:041027:handa@m17n.org::NJhHWQwAjs+n6aEC:00000000000000000000000000000000000000000000000079y X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.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-Source: X-Source-Args: X-Source-Dir: Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:59008 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59008 >>>>> In Katsumi Yamaoka wrote: >>>>>> In >>>>>> zrr wrote: >> I pressed 'E' to expire the artile, but the article still be >> regarded as not expired. There is no mark symbol appeared and no >> highlight on the current line. > I've fixed it in both the Gnus trunk and the v5-10 branch. It > will help not only Emacs 22 users but also Russian users, > Ukrainian users and much more. Kenichi Handa suggested there is potentially another problem. It existed, even before I modified gnus-sum.el. In order to know column positions of summary lines where marks should be inserted, Gnus makes a dummy summary line. There four characters which correspond to the data \200, \201, \202 and \203 are used as dummy marks, and Gnus look for them. See the gnus-update-summary-mark-positions function: (let ((gnus-replied-mark 129) (gnus-score-below-mark 130) (gnus-score-over-mark 130) (gnus-undownloaded-mark 131) Although those characters will never be printable in the Latin-1 language environment and so forth, they might be usually being used in the Russian language environment, for example. So, it is possible that gnus-summary-line-format contains them and gnus-user-format-function-* may return them. In those cases, Gnus will recognize incorrect mark positions. You can try it using the following way: (set-language-environment 'Russian) (setq gnus-summary-line-format (concat (string-make-multibyte "\200\201\202\203") "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n") (gnus-update-format-specifications t 'summary) He hinted using \0, \1, etc. instead. However, I'm not sure of whether they don't bring about damage. For the moment, I'm planning to replace \200, \201, etc. to just space, if gnus-summary-line-format contains them or gnus-user-format-function-* returns them. Is it unnecessary worries? ;-)