all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#3247: 23.0.93; Gnus 5.13 sends corrupted messages with Cyrillic
@ 2009-05-09 12:09 Dmitri Paduchikh
  2011-06-29 23:23 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitri Paduchikh @ 2009-05-09 12:09 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: rfrancoise

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

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






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#3247: 23.0.93; Gnus 5.13 sends corrupted messages with Cyrillic
  2009-05-09 12:09 bug#3247: 23.0.93; Gnus 5.13 sends corrupted messages with Cyrillic Dmitri Paduchikh
@ 2011-06-29 23:23 ` Lars Magne Ingebrigtsen
  2011-07-02 13:12   ` Dmitri Paduchikh
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-06-29 23:23 UTC (permalink / raw)
  To: Dmitri Paduchikh; +Cc: emacs-pretest-bug, rfrancoise, 3247-close

Dmitri Paduchikh <dpaduch@k66.ru> writes:

> (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.

I've tried this in Emacs 24, and things seem to work there (as this
message will hopefully show :-), so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#3247: 23.0.93; Gnus 5.13 sends corrupted messages with Cyrillic
  2011-06-29 23:23 ` Lars Magne Ingebrigtsen
@ 2011-07-02 13:12   ` Dmitri Paduchikh
  2011-07-03  3:52     ` Dmitri Paduchikh
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitri Paduchikh @ 2011-07-02 13:12 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: rfrancoise, 3247

Hello,

Lars Magne Ingebrigtsen:

LI> Dmitri Paduchikh <dpaduch@k66.ru> writes:

>> (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.

LI> I've tried this in Emacs 24, and things seem to work there (as this
LI> message will hopefully show :-), so I'm closing this bug report.

No, it doesn't work for me.  I tried this in freshly built Emacs 24 and
the result is the same: the string "всё ещё" turns into "в  е ".
I am including the text of my test message below with all headers.
Sorry, but I couldn't send it as message/rfc822, because forwarding with
C-3 C-c C-f (gnus-summary-mail-forward) changes the
Content-Transfer-Encoding header of the enclosed message to base64, and
C-2 C-c C-f complains about non-printable characters.

Please note that message-send-mail-function in my configuration is set
to message-send-mail-with-sendmail.  Whereas judging from recent
discussions in emacs-devel you might be using smtpmail-send-it.

,----
| Return-Path: <dima@ait.home-net>
| X-Original-To: dima
| Delivered-To: dima@ait.home-net
| Received: from paduch.telenet.ru (localhost [127.0.0.1])
| 	by ait.home-net (Postfix) with ESMTP id 327C7120428
| 	for <dima>; Sat,  2 Jul 2011 18:17:43 +0600 (YEKST)
| From: dima@ait.home-net
| To: dima@ait.home-net
| Subject: тест
| Date: Sat, 02 Jul 2011 18:17:43 +0600
| X-Gnus-Mail-Source: maildir:~/Maildir/new
| Message-ID: <87ei28q3ko.fsf@paduch.telenet.ru>
| User-Agent: Gnus/5.13 (Gnus v5.13)
| MIME-Version: 1.0
| Content-Type: text/plain; charset=koi8-r
| Content-Transfer-Encoding: 8bit
| Lines: 2
| Xref: ait.home-net mail.other:44238
| 
| Это в  е  тест для    GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+
| Version 2.24.4) of 2011-07-02 on ait
`----

-- 
Dmitri Paduchikh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#3247: 23.0.93; Gnus 5.13 sends corrupted messages with Cyrillic
  2011-07-02 13:12   ` Dmitri Paduchikh
@ 2011-07-03  3:52     ` Dmitri Paduchikh
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitri Paduchikh @ 2011-07-03  3:52 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: rfrancoise, 3247

Hello,

It appears that my problem was caused by the following setting in the
~/.gnus:

(setq message-send-coding-system 'koi8-r)

After resetting this variable to its default value 'binary the problem
is gone. Sorry for noise.

-- 
Dmitri Paduchikh





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-03  3:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-09 12:09 bug#3247: 23.0.93; Gnus 5.13 sends corrupted messages with Cyrillic Dmitri Paduchikh
2011-06-29 23:23 ` Lars Magne Ingebrigtsen
2011-07-02 13:12   ` Dmitri Paduchikh
2011-07-03  3:52     ` Dmitri Paduchikh

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.