Erik Hetzner | 21 Jun 07:49 2016
Gravatar

Re: Lots of used disk space below ~/.elmo

On Mon, 20 Jun 2016 11:48:28 -0700,
Juliusz Chroboczek <jch <at> pps.univ-paris-diderot.fr> wrote:
>
> >> The value is for the whole ~/.elmo/cache folder. The items are
> >> deleted in order
> >> of age until the size of ~/.elmo/cache is 30MB (or whatever you specify).
>
> > Well, the trouble is that my problem is located below ~/.elmo/imap/.
>
> I think that's the msgdb.  You say you have 200 thousand messages and 6GB
> data, so that's 30kB for each message, which seems like a lot to me.
>
> Erik will know better, but I believe that if you delete these files and
> enter the folder, the msgdb will be created anew.  Perhaps that will make
> the msgdb more compact.

Ah, thank you Juliusz. Though I doubt I know better. :)

I’m sorry I didn’t read your email carefully enough, Michael. You do seem to be
in a unique situation. I don’t know a lot about the ELMO msgdb, but it stores a
cache of headers for your mail, including the headers in
`elmo-msgdb-extra-fields' as well as other standard headers. The ~/.elmo/cache
directory caches the messages themselves.

Going back to Michael’s original message:

> I have an IMAP folder that holds about 200k emails. That folder has a
> huge fluctuation: about 2k new emails per day and also about 2k
> deleted emails. Below ~/.elmo/imap/xxx/xxx/zzz, zzz is the name of the
> IMAP folder, exist about 600 files named entity-[0-9]+, they consume
(Continue reading)

Erik Hetzner | 20 Jun 18:47 2016
Gravatar

Re: Lots of used disk space below ~/.elmo

Hi Michael,

On Sun, 19 Jun 2016 22:47:30 -0700,
Michael Welle <welle <at> c0t0d0s0.de> wrote:
> 
> Hello Erik,
> 
> hmmm, do I have to delete the existing cache manually?
> 
> The default expire method is 'size' and the default size is 30MB. Is
> that value per folder?

Yes, as far as I know the cache must be expired manually.

I forgot about `elmo-cache-expire'. That is also a good solution.

The value is for the whole ~/.elmo/cache folder. The items are deleted in order
of age until the size of ~/.elmo/cache is 30MB (or whatever you specify).

best, Erik
--
Sent from my free software system <http://fsf.org/>.

Michael Welle | 19 Jun 22:05 2016
Picon
Picon

Lots of used disk space below ~/.elmo

Hello,

I have an IMAP folder that holds about 200k emails. That folder has a
huge fluctuation: about 2k new emails per day and also about 2k
deleted emails. Below ~/.elmo/imap/xxx/xxx/zzz, zzz is the name of the
IMAP folder, exist about 600 files named entity-[0-9]+, they consume
about 6GB of disk space. Sometimes (not always) starting wl took
several minutes, the status line indicates that wl is processing the
zzz folder.

Is there anything I can do about that?

Regards
hmw

Pascal Haakmat | 22 May 14:07 2016
Picon

[PATCH] Add variable wl-biff-check-idle-delay, because with wl-biff-use-idle-timer Wanderlust checks mail only once

Hi,

When `wl-biff-use-idle-timer' is set, Wanderlust checks for new mail
only once and does not keep checking for new mail in the
background. If `wl-biff-use-idle-timer' is nil, Wanderlust does keep
checking for new mail, but it does not wait for Emacs to become idle,
so that checking for mail may interrupt the user while busy.

It would be ideal to wait for Emacs to become idle, and then
periodically check email until the user returns. Below patch adds a
variable `wl-biff-check-idle-delay' which specifies the number of
seconds to wait for Emacs to become idle, after which mail will be
checked every `wl-biff-check-interval' seconds.

diff --git a/wl/wl-util.el b/wl/wl-util.el
index a63be18..a58e803 100644
--- a/wl/wl-util.el
+++ b/wl/wl-util.el
 <at>  <at>  -826,39 +826,43  <at>  <at>  This function is imported from Emacs 20.7."
 		0)))))

   (defun wl-biff-event-handler ()
-    ;; PAKURing from FSF:time.el
-    (wl-biff-check-folders)
-    ;; Do redisplay right now, if no input pending.
-    (sit-for 0)
-    (let ((timer (get 'wl-biff 'timer))
-	  (access-functions (eval-when-compile (fboundp 'timer--time))))
-      ;; Only normal timer should be checked for skipping.
-      (unless (if access-functions
(Continue reading)

Pascal Haakmat | 19 May 19:31 2016
Picon

[PATCH] Add wl-biff-new-mail-functions hook to wl-biff-notify

Hi,

The mail notification system in `wl-biff-notify' (wl-util.el) has two
hooks: `wl-biff-notify-hook' and `wl-biff-unnotify-hook', for when the
new mail indicator is set and when it is removed.

The hooks are only called when the state changes:
`wl-biff-notify-hook' gets called the first time new mail arrives, but
then it is not called again until the state changes to "no new mail".

This makes it impossible to perform functions on the most recent
arrival of new mail, for example updating the Summary buffer.

I think it is perhaps useful to add a new hook
`wl-biff-new-mail-functions', that gets run whenever new-mail > 0 with
the number of `new-mails' as argument. This number can be used by the
hook function to conditionally perform some action, e.g. update the
Summary buffer if the number of new mails changes.

Patch:

diff --git a/wl/wl-util.el b/wl/wl-util.el
index 9d912e9..21af9c1 100644
--- a/wl/wl-util.el
+++ b/wl/wl-util.el
 <at>  <at>  -865,6 +865,8  <at>  <at>  This function is imported from Emacs 20.7."
     (run-hooks 'wl-biff-notify-hook))
   (when (and wl-modeline-biff-status (eq new-mails 0))
     (run-hooks 'wl-biff-unnotify-hook))
+  (when (> new-mails 0)
(Continue reading)

Pascal Haakmat | 17 May 16:13 2016
Picon

Gmail and new mail notification

Hi,

I noticed that the new mail notification in Wanderlust does not work
with Gmail over IMAP in the standard configuration, but that it does
seem to work when specifying `wl-strict-diff-folders', like:

  (setq wl-strict-diff-folders wl-biff-check-folder-list)

With this I get the new mail notification in the modeline, which is
nice. But the counts in the Folder buffer do not show this. Is it
possible to automatically update the counts in the Folder buffer after
checking for new mail?

Thanks,
Pascal

Pascal Haakmat | 17 May 11:21 2016
Picon

wl-draft-use-frame and compose mail

Hi,

I have started using Wanderlust. Thanks for creating this wonderful
email client.

I noticed a possible issue with `compose-mail' and
`wl-draft-use-frame'. If I have:

  ;; New frame when composing drafts
  (setq wl-draft-use-frame t)

Then the first time I type C-x m, a new frame opens as expected. The
second time I type C-x m, however, the draft composer opens in the
curent window.

The problem occurs because after the first C-x m, `wl-draft-use-frame'
is nil. The problem does not occur when I comment line 2601 in
wl-draft.el:

    ;; protect these -- to and subject get bound at some point, so it looks
    ;; to be necessary to protect the values used w/in
    (let ((wl-user-agent-headers-and-body-alist other-headers)
  ;;	(wl-draft-use-frame (eq switch-function 'switch-to-buffer-other-frame))
          (wl-draft-buffer-style switch-function)
          tem)

Maybe it is not a real issue but I set `wl-draft-use-frame t' because
I always want a new frame, regardless of `switch-function'. It does
not seem right that the user setting gets overwritten.

(Continue reading)

Pascal Haakmat | 17 May 11:00 2016
Picon

pascalh <at> gmail.com has been added to <wl-en <at> ml.gentei.org>

To: wl-en-ctl <at> ml.gentei.org
Cc: pascalh <at> gmail.com
Message-Id: <87vb2d2h4r.wl-pascalh <at> gmail.com>
In-Reply-To: <201605171756.FMLAAA6440.wl-en <at> ml.gentei.org>
References: <877fet2hbm.wl-pascalh <at> gmail.com>
	<201605171756.FMLAAA6440.wl-en <at> ml.gentei.org>
X-ML-Name: Wanderlust English
X-Mail-Count: 06102
X-MLServer: fml [fml 4.0 STABLE (20040215/4.0.4_BETA)]; post only (only members can post)
X-ML-Info: If you have a question,
	please contact wl-en-admin <at> ml.gentei.org;
	<mailto:wl-en-admin <at> ml.gentei.org>
User-Agent: User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.3 Mule/6.0 (HANACHIRUSATO)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:message-id:from:to:cc:subject:in-reply-to:references
         :user-agent:mime-version;
        bh=LvmZv+5DDRIkHxnD3qgc5XRMjQ0vEe2U5w15U8JXR0o=;
        b=nkij4d1F99KkkRIG8z0uJIFKMMs7rpGHzkyx7Pvw2uWIoF7owZJRfWa7Q1tDDXiikD
         Hj8bLRJxMvE4+aF7N0h0h4wjGrhOhvFmiMwYyB5k4bXSe0YWLQDt01aIsE/YSwt6ycL3
         8DTG4n42tNh78k21PYdvHNiYZV16TyLpD54IAexp3kPjkWFq9+nr8Xh8Yze3uuNyxF4G
         yQNwCE1TP8PPDkCO1LiEoXTgDSuuFsenkpE5+krcsBxECSmDLhex38bd+B1qtu9ZKiXi
         4Y3u12/tqu30w4DhgVvBMeejpXvxPWWA+lhzX7N2tRCWxWKygWpihunw99tc2SoG9u/y
         kXMw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:message-id:from:to:cc:subject:in-reply-to
         :references:user-agent:mime-version;
        bh=LvmZv+5DDRIkHxnD3qgc5XRMjQ0vEe2U5w15U8JXR0o=;
        b=VMid5JVo0VTN3Y/XDgwANGXzV6mf8ugCVFHxSGcxSd8Y9I/KsKR6nYLf9F7bij1jSL
(Continue reading)

Kazuhiro Ito | 27 Apr 11:00 2016
Picon

Re: [mule-ja:63] Re: Can't open some folders in Wanderlust

伊藤です。

> 先端の Emacs は APEL/poe.el の、関数の docstring にある `\N' と
> いうものを解釈しようとしてエラーになり、APEL を使う他のモジュー
> ルを含めインストールできません。これは string の中にあるので \
> が 2個必要ですよね(?)。

手元の trunk ではエラーにはなりませんでしたが、docstring がおかしいのは
その通りなので、 https://github.com/wanderlust/apel については
修正しておきました (*1)。
おしらせありがとうございます。

(*1) https://github.com/wanderlust/apel/commit/74e1e49626a4bc7b1e9b87d844d3852e976d1df2

--

-- 
伊藤 和博(Kazuhiro Ito)

Masaru Nomiya | 12 Apr 12:30 2016
Picon

Re: Emacs hangs when checking a folder

Hello,

In the Message; 

  Subject    : Re: Emacs hangs when checking a folder
  Message-ID : <87egacqet5.fsf <at> fastmail.fm>
  Date & Time: Mon, 11 Apr 2016 11:40:38 -0500

Andrés Ramírez <sunshavi <at> fastmail.fm> has written:

> Hi Masaru.

> My suggestion below
> On Sun, 10 Apr 2016 21:47:55 -0500,
> Masaru Nomiya wrote:
> > When i start wl, then check a folder emacs starts to use 100% CPU, and
> > becomes unresponsive. I've got this problem since 05-Mar-2016 built
> > Emacs.
> > 
> > Is there some way I can do to avoid this?
> > 
> > I'm using 04-Mar-2016 built Emacs, and the very latest wl, at the
> > moment.
> > 
> > Thanks,
> > 
> > ---
> >  Masaru Nomiya             mail-to: nomiya  <at>  galaxy.dti.ne.jp
> > 
> >
(Continue reading)

Masaru Nomiya | 11 Apr 04:47 2016
Picon

Emacs hangs when checking a folder

Hello,

When i start wl, then check a folder emacs starts to use 100% CPU, and
becomes unresponsive. I've got this problem since 05-Mar-2016 built
Emacs.

Is there some way I can do to avoid this?

I'm using 04-Mar-2016 built Emacs, and the very latest wl, at the
moment.

Thanks,

---
 Masaru Nomiya             mail-to: nomiya  <at>  galaxy.dti.ne.jp


Gmane