unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* labels of RMAIL not inherited
       [not found] <E1LRPcu-00052Y-8Q@etlken>
@ 2009-01-27 22:00 ` Stefan Monnier
  2009-01-27 22:40   ` Chong Yidong
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Stefan Monnier @ 2009-01-27 22:00 UTC (permalink / raw)
  To: emacs-devel

> I just started to use the new rmail (i.e. pmail).  When I
> first do M-x rmail, the babyl format of RMAIL is converted
> to mbox format automatically.  But, it seems that labels are
> lost.  At least, they are not shown in RMAIL nor
> RMAIL-summary buffers.

The simple fact that the buffer is automatically converted
is worrisome.  I think we should prompt the user before doing it.


        Stefan


PS: What's the plan for people who use both Emacs-22 and Emacs-23 to
access their rmail mail?




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

* Re: labels of RMAIL not inherited
  2009-01-27 22:00 ` labels of RMAIL not inherited Stefan Monnier
@ 2009-01-27 22:40   ` Chong Yidong
  2009-01-27 23:03   ` Chong Yidong
  2009-01-28  4:48   ` Richard M Stallman
  2 siblings, 0 replies; 5+ messages in thread
From: Chong Yidong @ 2009-01-27 22:40 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> I just started to use the new rmail (i.e. pmail).  When I
>> first do M-x rmail, the babyl format of RMAIL is converted
>> to mbox format automatically.  But, it seems that labels are
>> lost.  At least, they are not shown in RMAIL nor
>> RMAIL-summary buffers.

I checked in a fix for this.

> The simple fact that the buffer is automatically converted is
> worrisome.  I think we should prompt the user before doing it.

Yes.




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

* Re: labels of RMAIL not inherited
  2009-01-27 22:00 ` labels of RMAIL not inherited Stefan Monnier
  2009-01-27 22:40   ` Chong Yidong
@ 2009-01-27 23:03   ` Chong Yidong
  2009-01-28  4:48   ` Richard M Stallman
  2 siblings, 0 replies; 5+ messages in thread
From: Chong Yidong @ 2009-01-27 23:03 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> The simple fact that the buffer is automatically converted is
> worrisome.  I think we should prompt the user before doing it.

I just added a prompt for this.




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

* Re: labels of RMAIL not inherited
  2009-01-27 22:00 ` labels of RMAIL not inherited Stefan Monnier
  2009-01-27 22:40   ` Chong Yidong
  2009-01-27 23:03   ` Chong Yidong
@ 2009-01-28  4:48   ` Richard M Stallman
  2009-01-28  5:54     ` Kenichi Handa
  2 siblings, 1 reply; 5+ messages in thread
From: Richard M Stallman @ 2009-01-28  4:48 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

    > I just started to use the new rmail (i.e. pmail).  When I
    > first do M-x rmail, the babyl format of RMAIL is converted
    > to mbox format automatically.  But, it seems that labels are
    > lost.  At least, they are not shown in RMAIL nor
    > RMAIL-summary buffers.

unrmail needs to be fixed to transfer the labels.
When I wrote it, there was no way to record labels in an mbox file
so discarding them was inevitable.

    The simple fact that the buffer is automatically converted
    is worrisome.  I think we should prompt the user before doing it.

Maybe, but given that both the old and new versions of Rmail can
convert the format automatically, I am not convinced the prompting
is necessary.

    PS: What's the plan for people who use both Emacs-22 and Emacs-23 to
    access their rmail mail?

Each version can convert the file, so it does work.

Making it prompt each time will make that somewhat more annoying.





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

* Re: labels of RMAIL not inherited
  2009-01-28  4:48   ` Richard M Stallman
@ 2009-01-28  5:54     ` Kenichi Handa
  0 siblings, 0 replies; 5+ messages in thread
From: Kenichi Handa @ 2009-01-28  5:54 UTC (permalink / raw)
  To: rms; +Cc: monnier, emacs-devel

In article <E1LS2Lg-0003tu-6c@fencepost.gnu.org>, Richard M Stallman <rms@gnu.org> writes:

> I just started to use the new rmail (i.e. pmail).  When I
> first do M-x rmail, the babyl format of RMAIL is converted
> to mbox format automatically.  But, it seems that labels are
> lost.  At least, they are not shown in RMAIL nor
> RMAIL-summary buffers.

> unrmail needs to be fixed to transfer the labels.
> When I wrote it, there was no way to record labels in an mbox file
> so discarding them was inevitable.

I found that the labels are not lost but preserved as these
headers:

X-BABYL-V6-ATTRIBUTES:
X-BABYL-V6-KEYWORDS:

and newly added ones are recorded as these headers:

X-RMAIL-ATTRIBUTES:
X-RMAIL-KEYWORDS:

Just recently, Chong fixed it:

	* mail/unrmail.el (unrmail): Record labels in X-RMAIL-* fields,
	which are recognized by the new Rmail, instead of X-BABYL-V6-*.

So, it seems that the already converted RMAIL file can be
fixed just by replacing X-BABYL-V6 to X-RMAIL.

But the problem of keywords not shown in RMAIL-summary is
not yet fixed.

---
Kenichi Handa
handa@m17n.org




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

end of thread, other threads:[~2009-01-28  5:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1LRPcu-00052Y-8Q@etlken>
2009-01-27 22:00 ` labels of RMAIL not inherited Stefan Monnier
2009-01-27 22:40   ` Chong Yidong
2009-01-27 23:03   ` Chong Yidong
2009-01-28  4:48   ` Richard M Stallman
2009-01-28  5:54     ` Kenichi Handa

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