* gnus-summary-save-article: xemacs better than GNU emacs?
@ 2016-03-24 9:48 Uwe Brauer
2016-03-25 1:08 ` Eric Abrahamsen
0 siblings, 1 reply; 5+ messages in thread
From: Uwe Brauer @ 2016-03-24 9:48 UTC (permalink / raw)
To: ding
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
Hello
I am using GNU emacs 25.1.50.1
and mua-gnus 0.16.
Using GNU emacs
I have set
(setq gnus-default-article-saver 'gnus-summary-save-in-file)
and saved a message,
Now when I opened the file with GNU emacs it looked terrible a lot of
chars such as (not printable)
\342\200\213 ....
now when I opened it with Xemacs (21.5.34 Mule) it looked ok
I attach both screenshots I am not sure who is here the culprit, because
I had difficulties to open UTF8 files in GNU emacs which contains such
chars. Maybe GNU emacs is stricter with respect to UTF* than Xemacs?
Uwe Brauer
[-- Attachment #2: emacs-gnus-utf8.png --]
[-- Type: image/png, Size: 19216 bytes --]
[-- Attachment #3: xemacs-gnus-utf8.png --]
[-- Type: image/png, Size: 4953 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gnus-summary-save-article: xemacs better than GNU emacs?
2016-03-24 9:48 gnus-summary-save-article: xemacs better than GNU emacs? Uwe Brauer
@ 2016-03-25 1:08 ` Eric Abrahamsen
2016-03-25 9:01 ` Uwe Brauer
0 siblings, 1 reply; 5+ messages in thread
From: Eric Abrahamsen @ 2016-03-25 1:08 UTC (permalink / raw)
To: ding
Uwe Brauer <oub@mat.ucm.es> writes:
> Hello
>
> I am using GNU emacs 25.1.50.1
> and mua-gnus 0.16.
>
> Using GNU emacs
> I have set
> (setq gnus-default-article-saver 'gnus-summary-save-in-file)
>
> and saved a message,
> Now when I opened the file with GNU emacs it looked terrible a lot of
> chars such as (not printable)
> \342\200\213 ....
>
> now when I opened it with Xemacs (21.5.34 Mule) it looked ok
>
> I attach both screenshots I am not sure who is here the culprit, because
> I had difficulties to open UTF8 files in GNU emacs which contains such
> chars. Maybe GNU emacs is stricter with respect to UTF* than Xemacs?
Check the docstring of `gnus-default-article-saver'. It mentions that
the function symbols that that option points to can have properties, one
of which is :decode. I'm guessing this is the source of your issue.
(get 'gnus-summary-save-in-file :decode)-->t
Maybe play with that and see if it fixes the issue?
E
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gnus-summary-save-article: xemacs better than GNU emacs?
2016-03-25 1:08 ` Eric Abrahamsen
@ 2016-03-25 9:01 ` Uwe Brauer
2016-03-25 9:21 ` Eric Abrahamsen
0 siblings, 1 reply; 5+ messages in thread
From: Uwe Brauer @ 2016-03-25 9:01 UTC (permalink / raw)
To: ding
> Uwe Brauer <oub@mat.ucm.es> writes:
> Check the docstring of `gnus-default-article-saver'. It mentions
> that the function symbols that that option points to can have
> properties, one of which is :decode. I'm guessing this is the
> source of your issue.
That sounds reasonable, thanks for pointing it out, however, at least
for me, the docstring does not really explain how to include the :decode
property.
> (get 'gnus-summary-save-in-file :decode)-->t
I tried that out: (for me this was not obvious,) and saved again the
message
> Maybe play with that and see if it fixes the issue?
It does, thanks a lot
Uwe
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gnus-summary-save-article: xemacs better than GNU emacs?
2016-03-25 9:01 ` Uwe Brauer
@ 2016-03-25 9:21 ` Eric Abrahamsen
0 siblings, 0 replies; 5+ messages in thread
From: Eric Abrahamsen @ 2016-03-25 9:21 UTC (permalink / raw)
To: ding
Uwe Brauer <oub@mat.ucm.es> writes:
> > Uwe Brauer <oub@mat.ucm.es> writes:
>
> > Check the docstring of `gnus-default-article-saver'. It mentions
> > that the function symbols that that option points to can have
> > properties, one of which is :decode. I'm guessing this is the
> > source of your issue.
>
> That sounds reasonable, thanks for pointing it out, however, at least
> for me, the docstring does not really explain how to include the :decode
> property.
>
>> (get 'gnus-summary-save-in-file :decode)-->t
>
> I tried that out: (for me this was not obvious,) and saved again the
> message
>
>> Maybe play with that and see if it fixes the issue?
>
> It does, thanks a lot
Glad that worked! Using symbol properties is definitely an unusual way of
providing customization -- properties like that are usually reserved for
package-internal stuff. Anyway, glad the problem's resolved.
^ permalink raw reply [flat|nested] 5+ messages in thread
* gnus-summary-save-article: Xemacs better than GNU emacs?
@ 2016-03-24 13:20 Uwe Brauer
0 siblings, 0 replies; 5+ messages in thread
From: Uwe Brauer @ 2016-03-24 13:20 UTC (permalink / raw)
To: ding
Hello
I am using GNU emacs 25.1.50.1
and mua-gnus 0.16.
Using GNU emacs
I have set
(setq gnus-default-article-saver 'gnus-summary-save-in-file)
and saved a message,
Now when I opened the file with GNU emacs it looked terrible a lot of
chars such as (not printable)
\342\200\213 ....
now when I opened it with Xemacs (21.5.34 Mule) it looked ok
I attach both screenshots, in the next message, since I am not sure
whether otherwise the message gets trapped by the SPAM filter.
I am not sure who is here the culprit, because
I had difficulties to open UTF8 files in GNU emacs which contains such
chars. Maybe GNU emacs is stricter with respect to UTF* than Xemacs?
Uwe Brauer
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-03-25 9:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-24 9:48 gnus-summary-save-article: xemacs better than GNU emacs? Uwe Brauer
2016-03-25 1:08 ` Eric Abrahamsen
2016-03-25 9:01 ` Uwe Brauer
2016-03-25 9:21 ` Eric Abrahamsen
2016-03-24 13:20 gnus-summary-save-article: Xemacs " Uwe Brauer
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 NNTP newsgroup(s).