all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Another "Rmail" problem I ran into
@ 2024-06-09 16:19 Dr Rainer Woitok
  2024-06-09 16:47 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Dr Rainer Woitok @ 2024-06-09 16:19 UTC (permalink / raw)
  To: Help-Gnu-Emacs

Greetings,

because sometimes  Google sends  some reply mail  to my inbox  before it
sends the corresponding original mail, I added the following lines to my
"Rmail" configuration file:

   (defun Sort-Date ()
    "Sort incoming mail by date."
    (rmail-summary-sort-by-date nil))

   (add-hook 'rmail-get-new-mail-hook 'Sort-Date)

But this leads  to either  the summary  or the message buffer  not being
displayed, and in buffer "*Messages*" I find

   Getting mail from /home/rainer/mail/.HAM...
   Counting new messages...done (1)
   Finding sort keys...30
   Reordering messages...30
   Counting messages...done
   Computing summary lines...done
   rmail-show-message: Wrong type argument: stringp, nil

Just in case it matters: including the one new message there are 39 mes-
sages in the summary buffer,  so why does "Rmail" only process 30 messa-
ges?

When I again comment out the "add-hook" line above and restart "Rmail",
everything works again (well, except for the sorting of course).

What's going wrong here?

Sincerely,
  Rainer



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

end of thread, other threads:[~2024-06-10 16:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-09 16:19 Another "Rmail" problem I ran into Dr Rainer Woitok
2024-06-09 16:47 ` Eli Zaretskii
2024-06-10 15:32   ` Dr Rainer Woitok
2024-06-10 16:10     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.