bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in regexp matching in data readed in binary mode


From: Alex Ott
Subject: Bug in regexp matching in data readed in binary mode
Date: Tue, 14 Jan 2003 17:42:13 +0300
User-agent: Gnus/5.090012 (Oort Gnus v0.12) Emacs/21.2 (i686-pc-linux-gnu)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i686-pc-linux-gnu, GNU/LessTif Version 1.2 Release 0.92.32)
 of 2002-03-19 on seal.service.jet.msk.su
configured using `configure  --prefix=/usr --with-x-toolkit=motif'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: ru_RU.koi8r
  value of $LC_CTYPE: ru_RU.koi8r
  value of $LC_MESSAGES: ru_RU.koi8r
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: C
  value of $LC_TIME: C
  value of $LANG: ru_RU.koi8r
  locale-coding-system: cyrillic-koi8
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I got this error many times when i read my mail with gnus via
pop3. Gnus read data from pop3 server in binary mode and some time
this bug lead to loss my letters.

to reproduce this i write test case (in attachment). To reproduce you
need open test.el in emacs and eval it twice (i can't understand why
it not worked in first pass). file emacs-test-mail.txt must be in one
dir with test.el - it is my test mail letter. after eval you got two
buffers -- *test-case* with results of command output, and
*test-result* with results of regexp match (buggy). 

This error arise only when exists small russian char 'r', and also
exists char '.' in end of string. so "^\\.\r\r" will match full
string. 


Recent input:
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> t e 
s <tab> <return> <down-mouse-1> <mouse-1> <menu-bar> 
<emacs-lisp> <eval-buffer> <down-mouse-1> <mouse-1> 
C-x b * t <tab> <tab> c <tab> <return> C-x k <return> 
C-x b * t e <tab> <return> C-x k <return> <menu-bar> 
<emacs-lisp> <eval-buffer> C-x b * t e <tab> r e <tab> 
<return> C-x k <return> C-x b * t e <tab> <return> 
C-x k <return> C-x k <return> <up> <down> <left> <down> 
<left> <left> M-g m e m <backspace> <backspace> C-x 
k <return> y <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <report-emacs-bug>

Recent messages:
No more unread newsgroups
nnml: Reading incoming mail from pop... [3 times]
nnml: Reading incoming mail (no new mail)...done
nnml: Reading incoming mail from pop... [3 times]
nnml: Reading incoming mail (no new mail)...done
Making completion list...
nnml: Reading incoming mail from pop... [3 times]
nnml: Reading incoming mail (no new mail)...done
Parsing /home/ott/.mailrc... done
Loading emacsbug...done

Attachment: emacs-error.tar.gz
Description: GNU Zip compressed data


-- 
With best wishes, Alex Ott
                                        Jet Infosystems


reply via email to

[Prev in Thread] Current Thread [Next in Thread]