Discussion:
edit subject, messages, imap server
Uwe Brauer
2015-05-28 17:05:24 UTC
Permalink
Hi

I just learn about a useful thunderbird/seamonkey extension header tools
light which allows you to edit a subject of a message on an imap server.

Is there a similar functionality in gnus?
Google seems to suggest: no


Thanks

Uwe Brauer
Jason L Tibbitts III
2015-05-28 17:09:20 UTC
Permalink
UB> Is there a similar functionality in gnus?

Press 'e C-s subject RET' and edit?

- J<
Uwe Brauer
2015-05-28 18:40:45 UTC
Permalink
Post by Jason L Tibbitts III
UB> Is there a similar functionality in gnus?
Press 'e C-s subject RET' and edit?
- J<
yeah and then? how is this message saved on the imap server?
for me your proposal did not work on my imap server.
Adam Sjøgren
2015-05-28 18:45:43 UTC
Permalink
Post by Uwe Brauer
Post by Jason L Tibbitts III
UB> Is there a similar functionality in gnus?
Press 'e C-s subject RET' and edit?
yeah and then? how is this message saved on the imap server?
You end editing by pressing the ubiquitous "I'm done"-keys: C-c C-c.

I don't know if it works with IMAP, so let us know how it goes!


Best regards,

Adam
--
"the office is quiet now, i am at the desk, preparing Adam Sjøgren
to landscape for another day." ***@koldfront.dk
Jason L Tibbitts III
2015-05-28 18:50:50 UTC
Permalink
AS> I don't know if it works with IMAP, so let us know how it goes!

Works great for me. I edited the subject of the original message and my
edit is visible from other clients.

This may, of course, have some dependency on the IMAP server in use.
I'm running Cyrus.

- J<
Steinar Bang
2015-05-28 20:42:10 UTC
Permalink
Post by Jason L Tibbitts III
This may, of course, have some dependency on the IMAP server in use.
I'm running Cyrus.
I don't think so. I think it actually deletes the original message and
saves a new one (with a new UUID or whatever it's called).
Dan Christensen
2015-05-29 00:11:11 UTC
Permalink
Post by Steinar Bang
Post by Jason L Tibbitts III
This may, of course, have some dependency on the IMAP server in use.
I'm running Cyrus.
I don't think so. I think it actually deletes the original message and
saves a new one (with a new UUID or whatever it's called).
Steinar is right, this is how it works, since IMAP messages are
immutable.

I edit IMAP messages a lot using `C-o' on an attachment button to
save an attachment and leave a pointer to the file, but this usually
messes up the summary buffer, so I often have to reenter. It also
doesn't reliably delete the old version of the message, so I sometimes
have to do this manually.

Dan
Uwe Brauer
2015-05-29 08:05:03 UTC
Permalink
Post by Adam Sjøgren
You end editing by pressing the ubiquitous "I'm done"-keys: C-c C-c.
I don't know if it works with IMAP, so let us know how it goes!
When I hit[1] C-c C-c I finally receive an error I attach.
An error about a missing
signal(error ("FQM: Can't find message-header-separator or alternate"))

The reason seems to be the old feedmail package which is loaded via
(add-hook 'message-mail-send-hook 'feedmail-mail-send-hook-splitter)

When I remove it, C-c C-c

Works. The funny thing is.

I can see the new edited subject in thunderbird, but *not* in gnus. It
seems that the summary buffer is not updated. Could it be a cache issue?


(I am using gmail's imap server)

thanks

Uwe Brauer
Post by Adam Sjøgren
Best regards,
Adam
Footnotes:
[1] and I have a couple of hooks in the send function.
Adam Sjøgren
2015-05-29 08:45:49 UTC
Permalink
Post by Uwe Brauer
I can see the new edited subject in thunderbird, but *not* in gnus. It
seems that the summary buffer is not updated. Could it be a cache issue?
It doesn't update if you exit the group and enter it again?

(Just asking the obvious to get that out of the way; I don't use the
agent O:-))


Best regards,

Adam
--
"Jeg skal også videre i mit Bob Dylan-pensum, så det Adam Sjøgren
kan godt være det..." ***@koldfront.dk
Uwe Brauer
2015-05-29 13:03:08 UTC
Permalink
Post by Adam Sjøgren
Post by Uwe Brauer
I can see the new edited subject in thunderbird, but *not* in gnus. It
seems that the summary buffer is not updated. Could it be a cache issue?
It doesn't update if you exit the group and enter it again?
No it does not neither in Xemacs 21.5.33 Mule nor in GNU Emacs 24.

However there is another gmail account for which this procedure works.

What puzzles me that I can see the changed subject in other mail client,
such as thunderbird or the iPhone.
Post by Adam Sjøgren
(Just asking the obvious to get that out of the way; I don't use the
agent O:-))
I through out the agent but it does not help neither.

Uwe
Dan Christensen
2015-05-29 14:27:04 UTC
Permalink
Post by Uwe Brauer
Post by Adam Sjøgren
Post by Uwe Brauer
I can see the new edited subject in thunderbird, but *not* in gnus. It
seems that the summary buffer is not updated. Could it be a cache issue?
It doesn't update if you exit the group and enter it again?
No it does not neither in Xemacs 21.5.33 Mule nor in GNU Emacs 24.
Does `M-g' on the group help?

Dan
Uwe Brauer
2015-05-29 14:56:30 UTC
Permalink
Post by Dan Christensen
Post by Uwe Brauer
Post by Adam Sjøgren
Post by Uwe Brauer
I can see the new edited subject in thunderbird, but *not* in gnus. It
seems that the summary buffer is not updated. Could it be a cache issue?
It doesn't update if you exit the group and enter it again?
No it does not neither in Xemacs 21.5.33 Mule nor in GNU Emacs 24.
Does `M-g' on the group help?
No,

gnus-summary-insert-new-articles seems to help, the message appears but
then it disappears again, the odd thing is I can see the message with
thunderbird/or the iphone.
Post by Dan Christensen
Dan
Uwe Brauer
2015-05-29 21:16:42 UTC
Permalink
Post by Dan Christensen
Does `M-g' on the group help?
I tested, it makes things worse! When I run
gnus-summary-insert-new-articles
then the article with the modified subject is displayed, however when I
run M-g the article appears. So it seems that rescanning is the culprit,
strange.

Uwe
Dan Christensen
2015-05-30 01:31:35 UTC
Permalink
Post by Uwe Brauer
Post by Dan Christensen
Does `M-g' on the group help?
I tested, it makes things worse!
Just to be clear: I meant to run `M-g' in the *Group* buffer with
point on the group. If you run it within the *Summary* buffer, it
does something different.

Dan
Uwe Brauer
2015-05-30 08:13:50 UTC
Permalink
Post by Dan Christensen
Post by Uwe Brauer
Post by Dan Christensen
Does `M-g' on the group help?
I tested, it makes things worse!
Just to be clear: I meant to run `M-g' in the *Group* buffer with
point on the group. If you run it within the *Summary* buffer, it
does something different.
Indeed I misunderstood it. Now that is interesting: when I run M-g in
the Group buffer, it is indicated that there is a *new* message, which I
can see in thunderbird, however when I enter the group, the *new*
message (in fact the old one with the new subject) is *not* displayed.
Very odd.
Post by Dan Christensen
Dan
Uwe Brauer
2015-05-30 08:27:36 UTC
Permalink
Post by Dan Christensen
Post by Uwe Brauer
Post by Dan Christensen
Does `M-g' on the group help?
I tested, it makes things worse!
Just to be clear: I meant to run `M-g' in the *Group* buffer with
point on the group. If you run it within the *Summary* buffer, it
does something different.
I found out: if in the customisation buffer of the group I set:

* Display: [Value Menu] Integer: 0
Which articles to display on entering the group. *

Then the new message is shown, however when I enter the group with
C-u 100, the article is not shown, very odd

Loading...