From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58895 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: Fri, 15 Oct 2004 23:12:51 +0900 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 1097849700 3265 80.91.229.6 (15 Oct 2004 14:15:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Oct 2004 14:15:00 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M7433@lists.math.uh.edu Fri Oct 15 16:14:44 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 1CISqx-0001VL-00 for ; Fri, 15 Oct 2004 16:14:43 +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 1CISpQ-0001nD-00; Fri, 15 Oct 2004 09:13:08 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CISpI-0001n5-00 for ding@lists.math.uh.edu; Fri, 15 Oct 2004 09:13:00 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CISpG-0004YH-5M for ding@lists.math.uh.edu; Fri, 15 Oct 2004 09:12:58 -0500 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id 766713A0061 for ; Fri, 15 Oct 2004 09:12:57 -0500 (CDT) Original-Received: from yahoobb218118002059.bbtec.net ([218.118.2.59] helo=) by washington.hostforweb.net with esmtpsa (TLSv1:DES-CBC3-SHA:168) (Exim 4.42) id 1CISpF-0006L1-HQ; Fri, 15 Oct 2004 10:12:57 -0400 Original-To: Juri Linkov 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:4Hslb9rOTKyjalFdcplVv9YKmdk= 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:58895 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58895 >>>>> In >>>>> Katsumi Yamaoka wrote: > I realized Gnus searches the unibyte strings "\200", "\201", > "\202" and "\203" in the multibyte buffer named " *gnus work*" > when entering into the summary mode. Your change made Gnus > search multibyte strings and it fails. OTOH, Emacs 21.3.50 > doesn't fail it as follows: > (with-temp-buffer > (set-buffer-multibyte t) > (insert (string-as-unibyte "\200")) > (goto-char (point-min)) > (search-forward (string-as-multibyte "\200") nil t)) > => 2 (02, 0x2) = ?\C-b I learned why the form returns nil for Emacs 22 and non-nil for Emacs 21.3.50 from Kenichi Handa. I also learned that behavior changes by the LANG environments. Next week, I'll look for the right way Gnus should take. I wish you withdraw the change to gnus-sum.el as a emergency measure.