unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* \201 back again
@ 2002-09-07  9:00 Karl Eichwalder
  2002-09-20 16:22 ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Karl Eichwalder @ 2002-09-07  9:00 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 143 bytes --]

Please check why the insidious \201 markers did appear in this mail.  I
guess, some mail client forgot to provide proper MIME header entries:


[-- Attachment #2: Type: message/rfc822, Size: 693 bytes --]

From: Richard Stallman <rms@gnu.org>
To: miles@gnu.org
Cc: monnier+gnu/emacs@rum.cs.yale.edu, handa@etl.go.jp, emacs-devel@gnu.org
Subject: Re: re-search-forward seems to be broken
Date: Fri, 06 Sep 2002 16:03:04 -0400
Message-ID: <E17nPJo-0007UF-00@fencepost.gnu.org>

      (re-search-forward "[«»{}()]" nil t)

    I get:

      Lisp error: (wrong-type-argument arrayp nil)

I fixed this.  Thanks.


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


[-- Attachment #3: Type: text/plain, Size: 273 bytes --]



-- 
ke@suse.de (work) / keichwa@gmx.net (home):              |
http://www.suse.de/~ke/                                  |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)

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

* Re: \201 back again
  2002-09-07  9:00 \201 back again Karl Eichwalder
@ 2002-09-20 16:22 ` Eli Zaretskii
  2002-09-20 17:04   ` Karl Eichwalder
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2002-09-20 16:22 UTC (permalink / raw)
  Cc: emacs-devel

> From: Karl Eichwalder <keichwa@gmx.net>
> Date: Sat, 07 Sep 2002 11:00:34 +0200
> 
> Please check why the insidious \201 markers did appear in this mail.

I don't see any \201 characters on my system in that mail message.
RMAIL correctly decodes it as Latin-9.

> I guess, some mail client forgot to provide proper MIME header
> entries:

Here's the header I see on my system:

  Content-Type: text/plain; charset=iso-8859-15

This is perfectly valid, AFAICS.

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

* Re: \201 back again
  2002-09-20 16:22 ` Eli Zaretskii
@ 2002-09-20 17:04   ` Karl Eichwalder
  2002-09-20 21:47     ` ShengHuo ZHU
  2002-09-20 21:54     ` Eli Zaretskii
  0 siblings, 2 replies; 12+ messages in thread
From: Karl Eichwalder @ 2002-09-20 17:04 UTC (permalink / raw)
  Cc: emacs-devel

"Eli Zaretskii" <eliz@is.elta.co.il> writes:

> I don't see any \201 characters on my system in that mail message.
> RMAIL correctly decodes it as Latin-9.

Gnus does not.

>> I guess, some mail client forgot to provide proper MIME header
>> entries:
>
> Here's the header I see on my system:
>
>   Content-Type: text/plain; charset=iso-8859-15
>
> This is perfectly valid, AFAICS.

Maybe, some mail gateway did add those lines for you.

But these lines were missing from the original posting -- RMS never
ever bothers to add such stuff, I guess ;) :

From rms@gnu.org  Fri Sep  6 21:03:04 2002
From: rms@gnu.org (Richard Stallman)
Date: Fri, 06 Sep 2002 16:03:04 -0400
Subject: re-search-forward seems to be broken
In-Reply-To: <buo8z2g3paa.fsf_-_@mcspd15.ucom.lsi.nec.co.jp> (message from
 Miles Bader on 06 Sep 2002 10:00:45 +0900)
References: <200208230625.PAA23426@etlken.m17n.org>
 [...]
Message-ID: <E17nPJo-0007UF-00@fencepost.gnu.org>

Cf. http://mail.gnu.org/pipermail/emacs-devel/2002-September.txt (I
just verified it).

-- 
ke@suse.de (work) / keichwa@gmx.net (home):              |
http://www.suse.de/~ke/                                  |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)

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

* Re: \201 back again
  2002-09-20 17:04   ` Karl Eichwalder
@ 2002-09-20 21:47     ` ShengHuo ZHU
  2002-09-20 21:54     ` Eli Zaretskii
  1 sibling, 0 replies; 12+ messages in thread
From: ShengHuo ZHU @ 2002-09-20 21:47 UTC (permalink / raw)


Karl Eichwalder <keichwa@gmx.net> writes:

> "Eli Zaretskii" <eliz@is.elta.co.il> writes:
>
>> I don't see any \201 characters on my system in that mail message.
>> RMAIL correctly decodes it as Latin-9.
>
> Gnus does not.
>
>>> I guess, some mail client forgot to provide proper MIME header
>>> entries:
>>
>> Here's the header I see on my system:
>>
>>   Content-Type: text/plain; charset=iso-8859-15
>>
>> This is perfectly valid, AFAICS.
>
> Maybe, some mail gateway did add those lines for you.
>
> But these lines were missing from the original posting -- RMS never
> ever bothers to add such stuff, I guess ;) :

Don't panic. The original email is emacs-mule encoded without the
content-type header. You can type `0 g emacs-mule RET' to fix it.

ShengHuo

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

* Re: \201 back again
  2002-09-20 17:04   ` Karl Eichwalder
  2002-09-20 21:47     ` ShengHuo ZHU
@ 2002-09-20 21:54     ` Eli Zaretskii
  2002-09-21 12:47       ` Karl Eichwalder
  2002-09-21 19:39       ` Richard Stallman
  1 sibling, 2 replies; 12+ messages in thread
From: Eli Zaretskii @ 2002-09-20 21:54 UTC (permalink / raw)
  Cc: emacs-devel

> From: Karl Eichwalder <keichwa@gmx.net>
> Date: Fri, 20 Sep 2002 19:04:47 +0200
> 
> > Here's the header I see on my system:
> >
> >   Content-Type: text/plain; charset=iso-8859-15
> >
> > This is perfectly valid, AFAICS.
> 
> Maybe, some mail gateway did add those lines for you.
> 
> But these lines were missing from the original posting -- RMS never
> ever bothers to add such stuff, I guess ;) :

Sorry,  I now see that I looked at a wrong message, not the one you
had in mind.

Richard's message indeed shows \201 characters, but that's only
because they were present in the message itself:

      (re-search-forward "[=C2=81=C2=AB=C2=81=C2=BB{}()]" nil t)

See those 0xC2 characters before each 8-bit Latin-9 code?

As for the encoding, it says this:

   Content-Type: text/plain; charset=utf-8

So the question now is how come Richard's Emacs sent such a badly
encoded message, and why did it think it was in UTF-8 when in fact it
was in emacs-mule?

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

* Re: \201 back again
  2002-09-20 21:54     ` Eli Zaretskii
@ 2002-09-21 12:47       ` Karl Eichwalder
  2002-09-21 15:00         ` Eli Zaretskii
  2002-09-21 19:39       ` Richard Stallman
  1 sibling, 1 reply; 12+ messages in thread
From: Karl Eichwalder @ 2002-09-21 12:47 UTC (permalink / raw)
  Cc: emacs-devel

"Eli Zaretskii" <eliz@is.elta.co.il> writes:

> Richard's message indeed shows \201 characters, but that's only
> because they were present in the message itself:
>
>       (re-search-forward "[=C2=81=C2=AB=C2=81=C2=BB{}()]" nil t)
>
> See those 0xC2 characters before each 8-bit Latin-9 code?
>
> As for the encoding, it says this:
>
>    Content-Type: text/plain; charset=utf-8

The archived message lacks this line.  Rmail must learn to add proper
MIME header lines.

> So the question now is how come Richard's Emacs sent such a badly
> encoded message, and why did it think it was in UTF-8 when in fact it
> was in emacs-mule?

Maybe, Emacs asked whether the user wanted to use this "secure
encoding" -- the problem might go away automatically with 21.3 where
unification is enabled.


ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> Don't panic. The original email is emacs-mule encoded without the
> content-type header. You can type `0 g emacs-mule RET' to fix it.

Thanks for tracking down the problem and telling a work around.

-- 
ke@suse.de (work) / keichwa@gmx.net (home):              |
http://www.suse.de/~ke/                                  |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)

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

* Re: \201 back again
  2002-09-21 12:47       ` Karl Eichwalder
@ 2002-09-21 15:00         ` Eli Zaretskii
  2002-09-21 15:16           ` Karl Eichwalder
  2002-09-22 22:44           ` Stefan Monnier
  0 siblings, 2 replies; 12+ messages in thread
From: Eli Zaretskii @ 2002-09-21 15:00 UTC (permalink / raw)
  Cc: emacs-devel

> From: Karl Eichwalder <keichwa@gmx.net>
> Date: Sat, 21 Sep 2002 14:47:16 +0200
> 
> > As for the encoding, it says this:
> >
> >    Content-Type: text/plain; charset=utf-8
> 
> The archived message lacks this line.

I think the archiving scripts remove that line.

> Rmail must learn to add proper MIME header lines.

??? RMAIL should not add such headers, they should be present in the
original message.  In this case, the header is in the message, RMAIL
conceals it by default, but you can toggle that with the `t' RMAIL
command.

> > Don't panic. The original email is emacs-mule encoded without the
> > content-type header. You can type `0 g emacs-mule RET' to fix it.
> 
> Thanks for tracking down the problem and telling a work around.

The same effect can be achieved with RMAIL: see rmail-redecode-body.

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

* Re: \201 back again
  2002-09-21 15:00         ` Eli Zaretskii
@ 2002-09-21 15:16           ` Karl Eichwalder
  2002-09-22  4:42             ` Eli Zaretskii
  2002-09-22 22:44           ` Stefan Monnier
  1 sibling, 1 reply; 12+ messages in thread
From: Karl Eichwalder @ 2002-09-21 15:16 UTC (permalink / raw)
  Cc: emacs-devel

"Eli Zaretskii" <eliz@is.elta.co.il> writes:

> I think the archiving scripts remove that line.

The message I received also didn't contain it.  You said it were tagged
as "utf-8" -- but according to ShengHuo ZHU it was emacs-mule, not
UTF-8.

Also, please use uppercase letters for UTF-8 inside the MIME headers.

> ??? RMAIL should not add such headers, they should be present in the
> original message.

Sure.  I meant the mail composing/sending function.  I forgot, RMAIL is
for receiving messages only :-(

> The same effect can be achieved with RMAIL: see rmail-redecode-body.

Good.

-- 
ke@suse.de (work) / keichwa@gmx.net (home):              |
http://www.suse.de/~ke/                                  |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)

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

* Re: \201 back again
  2002-09-20 21:54     ` Eli Zaretskii
  2002-09-21 12:47       ` Karl Eichwalder
@ 2002-09-21 19:39       ` Richard Stallman
  1 sibling, 0 replies; 12+ messages in thread
From: Richard Stallman @ 2002-09-21 19:39 UTC (permalink / raw)
  Cc: keichwa, emacs-devel

    As for the encoding, it says this:

       Content-Type: text/plain; charset=utf-8

    So the question now is how come Richard's Emacs sent such a badly
    encoded message, and why did it think it was in UTF-8 when in fact it
    was in emacs-mule?

I don't know where the Content-Type field came from, but certainly not
from Emacs.  sendmail.el doesn't know about them.

As for the strangeness of the encoding, I think that is coming from
the Emacs on fencepost that I am using to finally send my mail.
I should build the latest Emacs and use that instead.

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

* Re: \201 back again
  2002-09-21 15:16           ` Karl Eichwalder
@ 2002-09-22  4:42             ` Eli Zaretskii
  0 siblings, 0 replies; 12+ messages in thread
From: Eli Zaretskii @ 2002-09-22  4:42 UTC (permalink / raw)
  Cc: emacs-devel


On Sat, 21 Sep 2002, Karl Eichwalder wrote:

> "Eli Zaretskii" <eliz@is.elta.co.il> writes:
> 
> > I think the archiving scripts remove that line.
> 
> The message I received also didn't contain it.  You said it were tagged
> as "utf-8" -- but according to ShengHuo ZHU it was emacs-mule, not
> UTF-8.

It was tagged as utf-8, but actually was encoded in emacs-mule.

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

* Re: \201 back again
  2002-09-21 15:00         ` Eli Zaretskii
  2002-09-21 15:16           ` Karl Eichwalder
@ 2002-09-22 22:44           ` Stefan Monnier
  2002-09-23  9:33             ` Andreas Schwab
  1 sibling, 1 reply; 12+ messages in thread
From: Stefan Monnier @ 2002-09-22 22:44 UTC (permalink / raw)
  Cc: keichwa, emacs-devel

> > > As for the encoding, it says this:
> > >    Content-Type: text/plain; charset=utf-8
> > The archived message lacks this line.
> I think the archiving scripts remove that line.

Bug alert!!


	Stefan

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

* Re: \201 back again
  2002-09-22 22:44           ` Stefan Monnier
@ 2002-09-23  9:33             ` Andreas Schwab
  0 siblings, 0 replies; 12+ messages in thread
From: Andreas Schwab @ 2002-09-23  9:33 UTC (permalink / raw)
  Cc: Eli Zaretskii, keichwa, emacs-devel

"Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu> writes:

|> > > > As for the encoding, it says this:
|> > > >    Content-Type: text/plain; charset=utf-8
|> > > The archived message lacks this line.
|> > I think the archiving scripts remove that line.
|> 
|> Bug alert!!

The message as I received it did not contain any MIME headers.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

end of thread, other threads:[~2002-09-23  9:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-07  9:00 \201 back again Karl Eichwalder
2002-09-20 16:22 ` Eli Zaretskii
2002-09-20 17:04   ` Karl Eichwalder
2002-09-20 21:47     ` ShengHuo ZHU
2002-09-20 21:54     ` Eli Zaretskii
2002-09-21 12:47       ` Karl Eichwalder
2002-09-21 15:00         ` Eli Zaretskii
2002-09-21 15:16           ` Karl Eichwalder
2002-09-22  4:42             ` Eli Zaretskii
2002-09-22 22:44           ` Stefan Monnier
2002-09-23  9:33             ` Andreas Schwab
2002-09-21 19:39       ` Richard Stallman

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).