Subject: bug#3247: 23.0.93; Gnus 5.13 sends corrupted messages with Cyrillic

From: Dmitri Paduchikh <[email-masked]>
Date: Sat, 09 May 2009 18:09:16 +0600

Hi,

Gnus 5.13 eats Cyrillic small letter io (1105, #o2121, #x451) in sent
messages. It gets replaced together with preceding Cyrillic character by
a space. This happens only for messages which have been actually sent
using encoding koi8-r, 8bit, and only if preceding character was
Cyrillic one. Messages stored in a file or in a group by Fcc or Gcc
headers are displayed normally. To reproduce:

(push 'koi8-r mm-coding-system-priorities)
(push '(koi8-r . 8bit) mm-body-charset-encoding-alist)

Then insert in the body part of message buffer (using message-mode) the
string "всё ещё" and send it to yourself. Observe the result in your
inbox.

In GNU Emacs 23.0.93.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1)
 of 2009-05-02 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20090501-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10601000
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.93/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.93/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: C
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: C
  value of $LANG: ru_RU.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  savehist-mode: t
  iswitchb-mode: t
  desktop-save-mode: t
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  gpm-mouse-mode: t
  yas/minor-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Recent input:
f a u l t <return> <S-down> <down> <down> <down> <down> 
<down> <up> <up> <up> <down> <down> <down> <down> <down> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> s-c s-t s-i s-c s-t C-e m <f8> 
<return> <S-down> <end> <C-left> <C-left> <end> <left> 
C-x C-e C-M-b <end> <left> <left> <left> <C-left> <C-right> 
<S-up> C-x C-e <f2> <S-down> M-m <S-up> <right> <right> 
<right> <right> <right> <right> <right> <S-up> <right> 
<S-right> <up> <down> <down> <up> <home> <S-up> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<S-up> <S-right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <S-up> <S-right> s-c 
s-t <S-f4> <left> <left> <C-left> <end> s-c s-t <down> 
M-p M-p M-p M-p <return> <up> <home> <C-delete> <f4> 
o u p <return> j n n m l : o u t . g o <tab> <return> 
1 <return> j C-y <return> <S-down> <down> <down> <up> 
<up> g g h <down> <down> <down> e <S-down> <down> <down> 
<down> M-< <down> <down> <down> <home> <C-right> <C-right> 
<C-right> <C-right> C-SPC <C-left> <C-left> <C-left> 
M-w M-< <S-f5> C-y <return> <up> <end> <backspace> 
3 <return> <S-down> <up> <C-up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <down> <down> <right> 
<S-up> C-SPC <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<down> <down> <down> <up> <up> <up> <end> <C-left> 
<C-left> <C-left> <C-left> <C-left> <down> <down> <down> 
<up> <up> <down> C-x C-x M-w <S-up> C-x C-x <up> <down> 
C-x C-x M-w <S-up> C-e m C-c C-k y e s <return> <S-down> 
M-! C-g <S-down> M-U <down> <up> <up> <up> <S-down> 
<S-down> <down> <down> <down> q <menu> r <backspace> 
<backspace> r e p o r t - e m <tab> b u f <backspace> 
g <return>

Recent messages:
Auto-saving...done
Region of 8 lines  copied to kill ring [2 times]
Quit
No more articles [2 times]
signal: Beginning of buffer [2 times]
signal: End of buffer
Expiring articles...done
No more unread newsgroups
delete-backward-char: Text is read-only
Column 61

-- 
Дмитрий Падучих