From: Uday S Reddy <u.s.reddy@cs.bham.ac.uk>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Uday S Reddy <u.s.reddy@cs.bham.ac.uk>,
user.emacs@gmail.com, emacs-devel@gnu.org
Subject: Re: bug#7517: 24.0.50; repeated crash under Mac OS X
Date: Mon, 3 Jan 2011 04:50:45 +0000 [thread overview]
Message-ID: <19745.21925.247000.562416@gargle.gargle.HOWL> (raw)
In-Reply-To: <83sjxbnekt.fsf@gnu.org>
Eli Zaretskii writes:
> Why, doesn't
>
> (coding-system-get FOO :mime-charset)
>
> work for you, or isn't TRT in this case?
The FOO in this case is a coding-system? But VM doesn't know what
coding-system to use. It has to find the coding-system based on the
mime-charset.
It received a string that is encoded in the MIME charset
"iso-8859-8-i". It tried to find an Emacs coding system that had this
mime-charset property. But there wasn't any. So it gave up. That
was the problem the OP ran into orignally.
Note that (coding-system "iso-8859-8-i" :mime-charset) returns
"iso-8859-8".
What I am doing now is to see if there is a coding-system with the
same name as the mime-charset. That works. So, as long as you
continue to define aliases for coding-systems that correspond to
mime-charset names, we will be fine.
When I don't find a coding-system with the given name, I am using
'undecided, which is what I think you reocmmended. This at least gets
us out of the unibyte string problem, even though what is produced is
normally gibberish.
> > However, OP reports that the frame title says "bad coding" or some
> > such incantation, even though the buffer name shows up correctly
> > inside Emacs. Perhaps it is a problem in the interface between Emacs
> > and the OS?
>
> No, that's our way to defend ourselves against buffer names that are
> unibyte strings, to avoid a crash that was the trigger for this bug.
> If the unibyte buffer name is now solved, the "bad coding" text will
> never show up.
That is what I thought. But the OP is getting the "bad coding" text
even if a multibyte string is used as the buffer name. So, perhaps
there is a still problem there.
The problem should show up if you do
(generate-new-buffer "שולח דואר אלקטרוני")
and switch to that buffer Emacs.
(I hope my string makes it through VM + mail-mode without corruption!)
Cheers,
Uday
next prev parent reply other threads:[~2011-01-03 4:50 UTC|newest]
Thread overview: 95+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-29 14:22 bug#7517: 24.0.50; repeated crash under Mac OS X emacs user
2010-12-17 11:47 ` Chong Yidong
2010-12-17 23:07 ` emacs user
2010-12-17 23:42 ` emacs user
[not found] ` <AANLkTinQHfFXazEbf+qxtz5+MfKcaXQLN18nPnyQMj8X@mail.gmail.com>
2010-12-26 18:43 ` emacs user
2010-12-29 4:29 ` Chong Yidong
2010-12-29 11:59 ` Jan Djärv
2010-12-29 12:21 ` Jan Djärv
2010-12-29 12:21 ` Jan Djärv
2010-12-29 15:41 ` Stefan Monnier
2010-12-29 16:06 ` emacs user
2010-12-30 11:35 ` Jan Djärv
2010-12-30 11:35 ` Jan Djärv
2010-12-30 14:20 ` emacs user
2010-12-30 22:02 ` Jan Djärv
2010-12-30 22:02 ` Jan Djärv
2010-12-31 6:11 ` emacs user
2010-12-31 6:12 ` emacs user
2010-12-31 8:18 ` Eli Zaretskii
2010-12-31 11:16 ` emacs user
2010-12-31 8:18 ` Eli Zaretskii
2010-12-31 10:49 ` Jan Djärv
2010-12-31 11:23 ` Jan Djärv
2010-12-31 11:26 ` emacs user
2010-12-31 12:53 ` Eli Zaretskii
2010-12-31 13:06 ` emacs user
2010-12-31 13:18 ` Jan Djärv
2010-12-31 13:18 ` Jan Djärv
2010-12-31 13:10 ` Jan Djärv
2010-12-31 13:19 ` Eli Zaretskii
2010-12-31 13:19 ` Eli Zaretskii
2010-12-31 14:22 ` Jan Djärv
2010-12-31 14:22 ` Jan Djärv
2010-12-31 16:07 ` Eli Zaretskii
2010-12-31 16:07 ` Eli Zaretskii
2010-12-31 16:09 ` emacs user
2010-12-31 16:09 ` emacs user
2010-12-31 18:57 ` Jan Djärv
2011-01-01 3:55 ` Stephen J. Turnbull
2011-01-01 3:55 ` Stephen J. Turnbull
2010-12-31 18:57 ` Jan Djärv
2010-12-31 16:56 ` Stefan Monnier
2010-12-31 17:42 ` emacs user
2010-12-31 22:30 ` Jan Djärv
2010-12-31 22:30 ` Jan Djärv
2010-12-31 23:07 ` Stefan Monnier
2011-01-01 11:57 ` Eli Zaretskii
2011-01-01 12:46 ` emacs user
2011-01-01 12:46 ` emacs user
2011-01-01 15:40 ` Eli Zaretskii
2011-01-01 15:40 ` Eli Zaretskii
2011-01-01 17:02 ` Uday S Reddy
2011-01-01 17:02 ` Uday S Reddy
2011-01-01 18:08 ` Eli Zaretskii
2011-01-01 18:08 ` Eli Zaretskii
2011-01-01 18:34 ` Jan D.
2011-01-02 14:02 ` Chong Yidong
2011-01-02 14:02 ` Chong Yidong
2011-01-03 21:34 ` Jan Djärv
2011-01-03 21:34 ` Jan Djärv
2011-01-01 17:22 ` Stefan Monnier
2011-01-01 17:22 ` Stefan Monnier
2011-01-01 18:07 ` Eli Zaretskii
2011-01-01 18:07 ` Eli Zaretskii
2011-01-01 11:57 ` Eli Zaretskii
2010-12-31 23:07 ` Stefan Monnier
2011-01-01 12:00 ` Eli Zaretskii
2011-01-01 17:11 ` Stefan Monnier
2011-01-01 17:11 ` Stefan Monnier
2011-01-01 18:06 ` Eli Zaretskii
2011-01-01 18:06 ` Eli Zaretskii
2011-01-01 22:43 ` Uday S Reddy
2011-01-02 4:03 ` Eli Zaretskii
2011-01-02 20:43 ` Uday S Reddy
2011-01-02 22:06 ` Jan Djärv
2011-01-03 4:59 ` Uday S Reddy
2011-01-03 8:10 ` emacs user
2011-01-02 22:08 ` Eli Zaretskii
2011-01-03 4:50 ` Uday S Reddy [this message]
2011-01-03 13:10 ` Eli Zaretskii
2011-01-03 21:07 ` Jan Djärv
2011-01-03 0:27 ` Stefan Monnier
2011-01-01 12:00 ` Eli Zaretskii
2010-12-31 16:56 ` Stefan Monnier
2010-12-31 13:10 ` Jan Djärv
2010-12-31 12:53 ` Eli Zaretskii
2010-12-31 11:23 ` Jan Djärv
2010-12-31 12:52 ` Eli Zaretskii
2010-12-31 12:52 ` Eli Zaretskii
2010-12-31 13:16 ` Eli Zaretskii
2010-12-31 13:16 ` Eli Zaretskii
2010-12-31 10:49 ` Jan Djärv
2010-12-29 15:41 ` Stefan Monnier
2010-12-29 11:59 ` Jan Djärv
2010-12-29 4:29 ` Chong Yidong
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=19745.21925.247000.562416@gargle.gargle.HOWL \
--to=u.s.reddy@cs.bham.ac.uk \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=user.emacs@gmail.com \
/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.