From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58942 Path: main.gmane.org!not-for-mail From: zrr Newsgroups: gmane.emacs.gnus.general Subject: Re: [BUG]What does this mean:"Mention that multibyte characters Date: Tue, 19 Oct 2004 16:41:48 +0800 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 1098175433 24524 80.91.229.6 (19 Oct 2004 08:43:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Oct 2004 08:43:53 +0000 (UTC) Original-X-From: ding-owner+M7480@lists.math.uh.edu Tue Oct 19 10:43:39 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 1CJpak-0000Vv-00 for ; Tue, 19 Oct 2004 10:43:39 +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 1CJpZa-0007ih-00; Tue, 19 Oct 2004 03:42:26 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CJpZR-0007ib-00 for ding@lists.math.uh.edu; Tue, 19 Oct 2004 03:42:17 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CJpZM-00031C-KE for ding@lists.math.uh.edu; Tue, 19 Oct 2004 03:42:12 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id B40373A0039 for ; Tue, 19 Oct 2004 03:42:10 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1CJpZJ-0005a2-00 for ; Tue, 19 Oct 2004 10:42:09 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 68 Original-NNTP-Posting-Host: 222.163.19.198 Original-X-Trace: quimby.gnus.org 1098175329 20578 222.163.19.198 (19 Oct 2004 08:42:09 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Tue, 19 Oct 2004 08:42:09 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.0 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEWDZjH83KsOHBfvtX3i jlUDAQNnhjxmNhb6ff7eAAACeUlEQVR4nFWUQYvbMBCFh6xYn03CnlOB4mtciT0r1dBci0HdazdL 5aswSfT3+0bypu1AwMyneSM9jUIppVkjTNTGxKgPH33/giStYJqMmeIU43R4f4C06CnquIZOkm/A TCK15kE+waWqP0IfPoH+u34Va+Bi0OK/QMkBYPlMl7KURT5+Qh1Ar03fiInohu8JSYKSfJZSrmyZ fdcAekixLop9sL21zkv5+yuAFnEVrB37vt9ad6vgQrOBOPJ9C+s2AF9eEl1i/MGhLm/gbOp+6XeM e7afBdDyywMM/CgA4M5UcBMQHsBaPut/wJp2OCF7g6MngmJmZtmt6/SQKfCtAuwq+0Xr4Wk8LqVk DjjJIS0AkzrDvuFqPSnUouL6DJBiVB7SXQ6OuYLCz2mmZKJCR/gXnKfi2VJ2Xky8xUzkiXncsVKy gk5HARc097mwOzkr2wvslRMwL/AcbrnTLjix3nkWcP9V9oy24Thun5rxbGtFymKi7R38aP7SuJsF qMySwW87VhfVuBNLDj5zTVQIJX8dRQpFWa2rezuiwD/1L/NdpM64WWQgHkTJK5xcwMcRTcbtOXfl VMFzG9Hlw8mQbM8lw3oAbtM+6yt38Kq3LEIQXEEa9u5MODmCqwN+BZcDlXoRMp/QZG+XBvA8suIO joXQy/ja9AD7VlE7sepf7/eZirzlAd3RNdTzqfGbjI+OeJlaprdZyKRajwFPdlkwNW1Kne9Cf7lL BcCwDPCrmuUxFP339L1KmX3Rhbi2weZqKQD+LPYb81ZIAi8Oho72VROU4v42vZU1rjCAaBNJ9pSN 1l3LZ9jpaWMiyTGybLgUHQe55e3XqcT4B53DG3QGASewAAAAAElFTkSuQmCC Cancel-Lock: sha1:YOq+is53Pu57M4q8+M+J47M1gAo= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58942 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58942 Katsumi Yamaoka writes: Thank you for your hard work. I will try it soon. Best Regards! Tang >>>>>> 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. > >>>>>> In Katsumi Yamaoka wrote: > >> I'll fix it within a couple of days and, if possible,... > > 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. > > There are two ways that gnus-update-summary-mark-positions > inserts a dummy mark in a multibyte buffer. Which of them is > used depends on the value of gnus-summary-line-format. > > (insert ?\200) > (insert (format "%c" ?\200)) > > In order to look for the position of a line where it is inserted, > the recent gnus-update-summary-mark-positions searched for the > string: > > (mm-string-as-multibyte "\200") > > I noticed those three strings will differ by the language > environment and the version of Emacs. The following form shows > how they are different. > > (with-temp-buffer > (set-buffer-multibyte t) > (insert ?\200 > (format "%c" ?\200)) > (list > (car (split-char (char-after (point-min)))) > (car (split-char (char-after (1+ (point-min))))) > (car (split-char (string-to-char (string-as-multibyte "\200")))))) > > In the Russian language environment, it returns as follows: > > ;; Emacs 21.3.50 > (eight-bit-control mule-unicode-2500-33ff eight-bit-control) > ;; Emacs 22.0.0 > (iso-8859-1 iso-8859-1 eight-bit) > > Even in the English language environment, Emacs 22.0.0 returns: > > (iso-8859-1 iso-8859-1 eight-bit) > > Those are the cause of the problem which troubled Tang and Derek. > >> I'll also summarize how string-(as|make|to)-multibyte works. > > I'll try translation of Kenichi Handa's advice next time. > > By the way, I'm not sure whether Juri Linkov's similar changes > for the other places don't cause similar problems.