erc-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Erc-discuss] Invoking `erc-log-save-all-buffers' periodically


From: Ludovic Courtès
Subject: [Erc-discuss] Invoking `erc-log-save-all-buffers' periodically
Date: Thu, 23 Apr 2009 15:51:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)

Hello,

I wanted to have something like that:

  ;; Save IRC logs periodically when we're idle.
  (run-with-idle-timer 180 t 'erc-log-save-all-buffers)

However, it turns out that `erc-current-logfile', called indirectly by
`erc-log-save-all-buffers', uses nil as the SERVER value, which makes
`erc-generate-log-file-name-long' return a bogus file name.

This is with ERC Version 5.3 (GNU Emacs 23.0.90.1).  Any idea?

Thanks,
Ludo'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]