Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Wrong date for delayed articles?

8 views
Skip to first unread message

Angel de Vicente

unread,
Oct 11, 2012, 4:33:16 AM10/11/12
to info-gnu...@gnu.org
Hi,

I was trying the "Delayed Articles" feature (section 3.6 of the
manual). The mail get me properly in the delayed date, but the "Date"
field in the message itself is the date when I wrote the message, not
when it was sent. I don't see an option in the manual to change this
behaviour, is it possible?

Thanks,
--
Ángel de Vicente
http://angel-de-vicente.blogspot.com/


Peter Münster

unread,
Oct 11, 2012, 6:26:36 AM10/11/12
to info-gnu...@gnu.org
On Thu, Oct 11 2012, Angel de Vicente wrote:

> The mail get me properly in the delayed date, but the "Date" field in
> the message itself is the date when I wrote the message, not when it
> was sent. I don't see an option in the manual to change this
> behaviour, is it possible?

You could try this: (setq message-draft-headers '(References From))

--
Peter


Angel de Vicente

unread,
Oct 11, 2012, 4:57:41 PM10/11/12
to info-gnu...@gnu.org
Hi,

Peter Münster <pml...@free.fr> writes:
>> The mail get me properly in the delayed date, but the "Date" field in
>> the message itself is the date when I wrote the message, not when it
>> was sent. I don't see an option in the manual to change this
>> behaviour, is it possible?
>
> You could try this: (setq message-draft-headers '(References From))

great, thanks, thar worked perfectly. I think that this should be the
default, rather than keeping the date when the mail was started?

Angel de Vicente

unread,
Oct 15, 2012, 4:30:55 AM10/15/12
to info-gnu...@gnu.org
Hi,

Angel de Vicente <ang...@iac.es> writes:
> Peter Münster <pml...@free.fr> writes:
>>> The mail get me properly in the delayed date, but the "Date" field in
>>> the message itself is the date when I wrote the message, not when it
>>> was sent. I don't see an option in the manual to change this
>>> behaviour, is it possible?
>>
>> You could try this: (setq message-draft-headers '(References From))
>
> great, thanks, thar worked perfectly. I think that this should be the
> default, rather than keeping the date when the mail was started?

well, not so perfect after all. The problem now is that spell-checking is
not performed when I do C-c C-j to put the mail in the delayed
list. Rather, it is performed on the delayed date, when it is actually
sent. This, obviously, is not very convenient. Any way to perform the
spell-checking right now, so that on the future date I have to do
nothing and the mail will be sent automatically whether I'm around the
computer or not?

Thanks a lot,

Lars Ingebrigtsen

unread,
Dec 24, 2012, 12:23:53 PM12/24/12
to Angel de Vicente, info-gnu...@gnu.org
I'm not sure I understand. The draft headers have nothing to do with
spell-checking. Do you have a separate spell-checking function running
from a hook somewhere?

--
(domestic pets only, the antidote for overdose, milk.)
http://lars.ingebrigtsen.no * Lars Magne Ingebrigtsen

Angel de Vicente

unread,
Dec 29, 2012, 5:14:35 PM12/29/12
to Lars Ingebrigtsen, info-gnu...@gnu.org
Hi,
> I'm not sure I understand. The draft headers have nothing to do with
> spell-checking. Do you have a separate spell-checking function running
> from a hook somewhere?

well, I haven't used this in a long time, but as far as I can remember
the problem was that I created a mail to be sent at a delayed date, this
was correctly stored in a temporary folder, but when it was about to be
sent, then the spell-checker would kick in, expecting an interactive
session on my side. I was hoping that the spell-checking stuff would be
done before it was put in the temporary folder, so that when it was
finally time to really send the message the spell-checking step would
have been already performed.

In terms of spell-checking hooks, my .gnus.el has

(add-hook 'message-send-hook 'ispell-message)

Perhaps it is just a matter of adding the ispell-message to a different
hook, but I'm not sure which one.

Thanks,
--
Ángel de Vicente
http://www.iac.es/galeria/angelv/
---------------------------------------------------------------------------------------------
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protección de Datos, acceda a http://www.iac.es/disclaimer.php
WARNING: For more information on privacy and fulfilment of the Law concerning the Protection of Data, consult http://www.iac.es/disclaimer.php?lang=en


Lars Magne Ingebrigtsen

unread,
Dec 31, 2012, 9:40:54 AM12/31/12
to Angel de Vicente, info-gnu...@gnu.org
Angel de Vicente <ang...@iac.es> writes:

> In terms of spell-checking hooks, my .gnus.el has
>
> (add-hook 'message-send-hook 'ispell-message)
>
> Perhaps it is just a matter of adding the ispell-message to a different
> hook, but I'm not sure which one.

`gnus-draft-send' binds `message-send-hook' to nil before sending from
the nndrafts:queue group. Is that how you send your delayed messages?

--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/

Angel de Vicente

unread,
Jan 28, 2013, 8:08:35 PM1/28/13
to Lars Magne Ingebrigtsen, info-gnu...@gnu.org
Hi,

Lars Magne Ingebrigtsen <la...@gnus.org> writes:
>> In terms of spell-checking hooks, my .gnus.el has
>>
>> (add-hook 'message-send-hook 'ispell-message)
>>
>> Perhaps it is just a matter of adding the ispell-message to a different
>> hook, but I'm not sure which one.
>
> `gnus-draft-send' binds `message-send-hook' to nil before sending from
> the nndrafts:queue group. Is that how you send your delayed messages?

I just followed the info node on delayed articles, so basically I did
call gnus-delay-initialize in my .emacs
http://www.gnus.org/manual/gnus_75.html#SEC75

According to that,

"And whenever you get new news, Gnus looks through the group for
articles which are due and sends them. It uses the gnus-delay-send-queue
function for this. By default, this function is added to the hook
gnus-get-new-news-hook. But of course, you can change this. Maybe you
want to use the demon to send drafts? Just tell the demon to execute the
gnus-delay-send-queue function."

but I have no idea how to set Gnus so that spell-checking will be done
when I hit C-c C-j, before it is put in the delayed folder, and not at
the time of being sent, which is not useful.

Any help appreciated (and I promise not to take so long next time to
reply :-)

Thanks,
--
Ángel de Vicente
http://www.iac.es/galeria/angelv/
---------------------------------------------------------------------------------------------
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protecci�n de Datos, acceda a http://www.iac.es/disclaimer.php

Lars Magne Ingebrigtsen

unread,
Aug 1, 2013, 8:55:05 AM8/1/13
to Angel de Vicente, info-gnu...@gnu.org
Angel de Vicente <ang...@iac.es> writes:

>> `gnus-draft-send' binds `message-send-hook' to nil before sending from
>> the nndrafts:queue group. Is that how you send your delayed messages?
>
> I just followed the info node on delayed articles, so basically I did
> call gnus-delay-initialize in my .emacs
> http://www.gnus.org/manual/gnus_75.html#SEC75

[...]

> but I have no idea how to set Gnus so that spell-checking will be done
> when I hit C-c C-j, before it is put in the delayed folder, and not at
> the time of being sent, which is not useful.

`C-c C-j'? What does that command do?

--
(domestic pets only, the antidote for overdose, milk.)
No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php

Adam Sjøgren

unread,
Aug 2, 2013, 6:31:33 AM8/2/13
to info-gnu...@gnu.org
Lars Magne Ingebrigtsen <la...@gnus.org> writes:

> `C-c C-j'? What does that command do?

C-c C-j runs the command gnus-delay-article - it saves the article for
sending later.


Best regards,

Adam

--
"I myself have spent many an enjoyable hour in my Adam Sj�gren
spare time not collecting stamps." as...@koldfront.dk


Lars Magne Ingebrigtsen

unread,
Aug 2, 2013, 8:38:28 AM8/2/13
to Adam Sjøgren, info-gnu...@gnu.org
as...@koldfront.dk (Adam Sjøgren) writes:

>> `C-c C-j'? What does that command do?
>
> C-c C-j runs the command gnus-delay-article - it saves the article for
> sending later.

I see. I've now made that command run `message-send-hook', too. I
think that possibly makes sense, but if it leads to problems, I can
change it and add a separate hook.

Angel de Vicente

unread,
Aug 5, 2013, 7:58:36 AM8/5/13
to Lars Magne Ingebrigtsen, info-gnu...@gnu.org
Hi,


Lars Magne Ingebrigtsen <la...@gnus.org> writes:

> Angel de Vicente <ang...@iac.es> writes:
>
>>> `gnus-draft-send' binds `message-send-hook' to nil before sending from
>>> the nndrafts:queue group. Is that how you send your delayed messages?
>>
>> I just followed the info node on delayed articles, so basically I did
>> call gnus-delay-initialize in my .emacs
>> http://www.gnus.org/manual/gnus_75.html#SEC75
>
> [...]
>
>> but I have no idea how to set Gnus so that spell-checking will be done
>> when I hit C-c C-j, before it is put in the delayed folder, and not at
>> the time of being sent, which is not useful.
>
> `C-c C-j'? What does that command do?

In my version: Gnus v5.13:

C-c C-j runs the command gnus-delay-article, which is an interactive compiled
Lisp function.

It is bound to C-c C-j, <menu-bar> <Message> <Send at Specific Time...>.

(gnus-delay-article DELAY)

Delay this article by some time.
DELAY is a string, giving the length of the time. Possible values are:

* <digits><units> for <units> in minutes (`m'), hours (`h'), days (`d'),
weeks (`w'), months (`M'), or years (`Y');

* YYYY-MM-DD for a specific date. The time of day is given by the
variable `gnus-delay-default-hour', minute and second are zero.

* hh:mm for a specific time. Use 24h format. If it is later than this
time, then the deadline is tomorrow, else today.


Thanks,
--
Ángel de Vicente
http://www.iac.es/galeria/angelv/
---------------------------------------------------------------------------------------------
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protección de Datos, acceda a http://www.iac.es/disclaimer.php
0 new messages