all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Frank Schmitt <ich@frank-schmitt.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: schwab@suse.de, bug-gnu-emacs@gnu.org,
	1174@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org
Subject: bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23
Date: Fri, 17 Oct 2008 12:08:15 +0200	[thread overview]
Message-ID: <m33aivfsa8.fsf@mid.gehheimdienst.de> (raw)
In-Reply-To: <umyh3mttj.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 17 Oct 2008 11:53:12 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> > It was acatually the right hint.  ISTR there was a problem in Gnus with
>> > 8-bit encoded articles, but all I could find is
>> > <http://permalink.gmane.org/gmane.emacs.gnus.general/67112>.
>> 
>> Yes, this seems to be the same problem I am seeing. Any idea on how I
>> could further debug this? It is a real show-stopper for me.

Got it!

In lisp/gnus/nnimap.el there is 

(defun nnimap-demule (string)
  ;; BEWARE: we used to use string-as-multibyte here which is braindead
  ;; because it will turn accidental emacs-mule-valid byte sequences
  ;; into multibyte chars.  --Stef
  ;; Reverted, braindead got 7.5 out of 10 on imdb, so it can't be
  ;; that bad. --Simon
  (funcall (if (and (fboundp 'string-as-multibyte)
		    (subrp (symbol-function 'string-as-multibyte)))
	       'string-as-multibyte
	     'identity)
	   (or string "")))

which is called at several places. And this breaks it. If I change this
function so that string is not changed, my mails are displayed correctly.

-- 
Have you ever considered how much text can fit in eighty columns?  Given that a
signature typically contains up to four lines of text, this space allows you to
attach a tremendous amount of valuable information to your messages.  Seize the
opportunity and don't waste your signature on bullshit that nobody cares about.







  parent reply	other threads:[~2008-10-17 10:08 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jwviqpz1u4o.fsf-monnier+emacsbugreports@gnu.org>
2008-10-15 20:21 ` bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23 Frank Schmitt
2008-10-16  7:32   ` Andreas Schwab
2008-10-16  8:36     ` Frank Schmitt
2008-10-16 17:39       ` Eli Zaretskii
2008-10-16 18:00         ` Frank Schmitt
2008-10-16 18:15           ` Eli Zaretskii
2008-10-16 20:05             ` Frank Schmitt
2008-10-17  8:28         ` Andreas Schwab
2008-10-17  8:52           ` Frank Schmitt
2008-10-17  9:53             ` Eli Zaretskii
2008-10-17 10:02               ` Frank Schmitt
2008-10-17 10:08               ` Frank Schmitt [this message]
2008-10-17 15:39                 ` Stefan Monnier
2008-10-17 18:19                   ` Reiner Steib
     [not found]                   ` <871vyf6q40.fsf@marauder.physik.uni-ulm.de>
2008-10-17 18:36                     ` Frank Schmitt
     [not found]                     ` <m3ej2fdq5x.fsf@mid.gehheimdienst.de>
2008-11-29 12:08                       ` Reiner Steib
     [not found]                       ` <87k5ampwej.fsf@marauder.physik.uni-ulm.de>
2008-11-29 12:18                         ` Simon Josefsson
     [not found]                         ` <878wr2ohde.fsf@mocca.josefsson.org>
2008-11-29 15:30                           ` Reiner Steib
     [not found]                           ` <87d4geim7p.fsf@marauder.physik.uni-ulm.de>
2008-11-29 21:30                             ` Stefan Monnier
2008-11-29 22:14                             ` James Cloos
     [not found]                             ` <jwvfxlaz0ov.fsf-monnier+emacsbugreports@gnu.org>
2008-11-30 13:12                               ` Reiner Steib
2009-01-12 10:54                           ` Simon Josefsson
2009-01-12 11:03                             ` Frank Schmitt
     [not found]                             ` <m3d4es3hxu.fsf@mid.gehheimdienst.de>
2009-01-12 11:10                               ` Simon Josefsson
     [not found]                               ` <873afoixtr.fsf@mocca.josefsson.org>
     [not found]                                 ` <x6ab9u2kxr@gzp>
2009-01-14 20:12                                   ` Reiner Steib
     [not found]                                   ` <877i4xlk97.fsf@marauder.physik.uni-ulm.de>
2009-01-14 20:20                                     ` Processed: " Emacs bug Tracking System
2009-01-14 22:08                                     ` Stefan Monnier
2008-12-01 21:04                         ` Stefan Monnier
     [not found]                         ` <jwv7i6j393g.fsf-monnier+emacsbugreports@gnu.org>
2008-12-01 22:48                           ` Reiner Steib
     [not found]                           ` <87y6yzbjgf.fsf@marauder.physik.uni-ulm.de>
2008-12-02  7:36                             ` Stefan Monnier
     [not found]                             ` <jwv3ah7av77.fsf-monnier+emacsbugreports@gnu.org>
2008-12-04 19:43                               ` Reiner Steib
     [not found]                               ` <87iqpz4tg2.fsf@marauder.physik.uni-ulm.de>
2008-12-04 21:43                                 ` Frank Schmitt
2008-10-23  7:24                   ` Frank Schmitt
2008-10-23 13:58                     ` Stefan Monnier
2008-10-17  9:12           ` Frank Schmitt
2008-10-17  5:15       ` Richard M. Stallman
2008-10-28 22:54       ` James Cloos
2008-12-04 22:05   ` bug#1174: marked as done (23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23) Emacs bug Tracking System
2009-02-18  8:55   ` Emacs bug Tracking System

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=m33aivfsa8.fsf@mid.gehheimdienst.de \
    --to=ich@frank-schmitt.net \
    --cc=1174@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=eliz@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=schwab@suse.de \
    /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.
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.