Gnus development mailing list
 help / color / mirror / Atom feed
From: zrr <beijing_2008_gold@yahoo.com.cn>
Subject: Re: [BUG]What does this mean:"Mention that multibyte characters
Date: Fri, 15 Oct 2004 02:33:02 +0800	[thread overview]
Message-ID: <m2655dywtd.fsf@yahoo.com.cn> (raw)
In-Reply-To: <v9brf5dxgf.fsf@marauder.physik.uni-ulm.de>

Reiner Steib <reinersteib+gmane@imap.cc> writes:

>
> Could you please be more specific, which change you mean and which
> version worked.  And please tell us the Gnus+Emacs for each.
>
> I don't know if your problems are related to my "FIXME" comment.
>
  Sorry, my statement is not clearly.  At first, I doubted that this
  problem relates to the comment, but after I compared the newest
  'gnus-sum.el' with the 'gnus-sum.el' in the 9/21/2004 Emacs trunk
  I realized that the bug is caused by some changes made on
  'gnus-update-summary-mark-positions'.  

  I made an experiment again. Just eval (C-x C-e)
  'gnus-update-summary-mark-positions' function in the old version
  instead of loading entire 'gnus-sum.el'.  It works fine. :-)

  Because there is no version number in the file. I give you a
  portion of diff output:

  

  diff -c /usr/local/stow/emacs-unicode/share/emacs/22.0.0/lisp/gnus/gnus-sum.el /usr/local/stow/emacs-cvs-20040921/share/emacs/21.3.50/lisp/gnus/gnus-sum.el
*** /usr/local/stow/emacs-unicode/share/emacs/22.0.0/lisp/gnus/gnus-sum.el	2004-10-14 17:44:38.000000000 +0800
--- /usr/local/stow/emacs-cvs-20040921/share/emacs/21.3.50/lisp/gnus/gnus-sum.el	2004-09-20 20:03:05.000000000 +0800
***************
*** 3234,3257 ****
  	   [0 "" "" "05 Apr 2001 23:33:09 +0400" "" "" 0 0 "" nil]
  	   0 nil t 128 t nil "" nil 1)
  	  (goto-char (point-min))
! 	  (setq pos (list (cons 'unread
! 				(and (search-forward
! 				      (mm-string-as-multibyte "\200") nil t)
! 				     (- (point) (point-min) 1)))))
  	  (goto-char (point-min))
! 	  (push (cons 'replied (and (search-forward
! 				     (mm-string-as-multibyte "\201") nil t)
  				    (- (point) (point-min) 1)))
  		pos)
  	  (goto-char (point-min))
! 	  (push (cons 'score (and (search-forward
! 				   (mm-string-as-multibyte "\202") nil t)
  				  (- (point) (point-min) 1)))
  		pos)
  	  (goto-char (point-min))
! 	  (push (cons 'download (and (search-forward
! 				      (mm-string-as-multibyte "\203") nil t)
! 				     (- (point) (point-min) 1)))
  		pos)))
        (setq gnus-summary-mark-positions pos))))
  
--- 3231,3250 ----
  	   [0 "" "" "05 Apr 2001 23:33:09 +0400" "" "" 0 0 "" nil]
  	   0 nil t 128 t nil "" nil 1)
  	  (goto-char (point-min))
! 	  (setq pos (list (cons 'unread (and (search-forward "\200" nil t)
! 					     (- (point) (point-min) 1)))))
  	  (goto-char (point-min))
! 	  (push (cons 'replied (and (search-forward "\201" nil t)
  				    (- (point) (point-min) 1)))
  		pos)
  	  (goto-char (point-min))
! 	  (push (cons 'score (and (search-forward "\202" nil t)
  				  (- (point) (point-min) 1)))
  		pos)
  	  (goto-char (point-min))
! 	  (push (cons 'download
! 		      (and (search-forward "\203" nil t)
! 			   (- (point) (point-min) 1)))
  		pos)))
        (setq gnus-summary-mark-positions pos))))



    Maybe the "mm-string-as-multibyte" caused this problem?


> Okay, I checked you previous report
> (http://thread.gmane.org/m2pt3ryt2b.fsf@yahoo.com.cn).  The screenshot
> <URL:http://ftp.cdaan.com/sy/light/gnus-1.png> suggest that you have
> some non-ASCII character as `gnus-WhatEver-mark' (in the first two
> lines), `gnus-no-mark' probably.

  Thank you for your responsibility.  That is not mark. I use some
  unicode chars to beautify the thread display. See

  http://my.gnus.org/node/view/22

>
> ,----[ C-h v gnus-no-mark RET ]
> | gnus-no-mark's value is 32
> | 
> | *Mark used for articles that have no other secondary mark.
> `----
>
> Show us the output of `C-h v gnus-no-mark RET', please.

  Ok, the output is as follows:
  
        gnus-no-mark's value is 32

        *Mark used for articles that have no other secondary mark.

        You can customize this variable.

        Defined in `gnus-sum'.

>>     Although there are very few people use unicode-2 branch now,  I
>>     think this bug should be solved sooner or later.
>
> Of course it should.  If it only happens in the Unicode branch, it
> would be better to report the problem on emacs-devel, too (or the
> Emacs Unicode List?  I dunno if this list still exists).

  If it can't be fixed in a moment, I will report to emacs-devel.

Best Regards!
Tang

>
> Bye, Reiner.
> -- 
>        ,,,
>       (o o)
> ---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



  reply	other threads:[~2004-10-14 18:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-14 15:51 [BUG]What does this mean:"Mention that multibyte characters don't work as marks."? zrr
2004-10-14 17:24 ` [BUG]What does this mean:"Mention that multibyte characters Reiner Steib
2004-10-14 18:33   ` zrr [this message]
2004-10-14 17:44 ` [BUG]What does this mean:"Mention that multibyte characters don't work as marks."? Xavier Maillard
2004-10-14 18:41   ` [BUG]What does this mean:"Mention that multibyte characters zrr
2004-10-14 21:33     ` Xavier Maillard
2004-10-15  5:43       ` Katsumi Yamaoka
2004-10-15 14:12         ` Katsumi Yamaoka
2004-10-15 14:45           ` zrr
2004-10-15 14:51           ` Reiner Steib
2004-10-15 18:49             ` Derek
2004-10-17 23:18               ` Katsumi Yamaoka
2004-10-19  5:41                 ` Katsumi Yamaoka
2004-10-19  8:41                   ` zrr
2004-10-20  5:36                   ` Katsumi Yamaoka
2004-10-27 11:55                   ` Katsumi Yamaoka
2004-10-27 23:56                     ` Katsumi Yamaoka
2004-10-15 16:19           ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2655dywtd.fsf@yahoo.com.cn \
    --to=beijing_2008_gold@yahoo.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).