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

Markus Huber | 1 Apr 02:36 2016
Picon

markus.huber <at> b-tu.de has been added to <wl-en <at> ml.gentei.org>

To: wl-en-ctl <at> ml.gentei.org
Message-Id: <8737r6xjdx.wl-markus.huber <at> b-tu.de>
In-Reply-To: <201604010924.FMLAAA59482.wl-en <at> ml.gentei.org>
References: <e616deb4e61998cc1f6857e156426b79 <at> webmail.uni-augsburg.de>
 <201604010924.FMLAAA59482.wl-en <at> ml.gentei.org>
X-ML-Name: Wanderlust English
X-Mail-Count: 06098
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: Roundcube Webmail/1.1.3
X-Sender: markus.huber <at> b-tu.de
X-uaux-clamav: dbcd079922cc1cf708a53346b8022bd6
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Precedence: bulk
Lines: 5
List-Subscribe: <mailto:wl-en-ctl <at> ml.gentei.org?body=subscribe>

I have added the following address as a new member
     Email address: <markus.huber <at> b-tu.de>

confirm 2016040109241659482725912555 markus.huber b-tu.de

wl-en-ctl <at> ml.gentei.org

confirm 2016040109241659482725912555 markus.huber b-tu.de
(Continue reading)

Herbert J. Skuhra | 27 Mar 10:32 2016

IMAP slowness after commit de320319d0f657eba86176de4f1e6029fa118820

Hi,

after commit de320319d0f657eba86176de4f1e6029fa118820 opening a folder
in Wanderlust takes several seconds. It feels almost like Gnus
now (well, maybe I don't know how to setup Gnus correctly). :-(
If I revert to ba1c6caf4d460a12fc11340d0dc049b8f5998394 IMAP folders
open almost instantly.

Cheers,
Herbert

Michael Welle | 23 Mar 09:34 2016
Picon
Picon

links, browser function

Hello,

can you give me a few pointers on how wl opens links embedded in
emails? I want it to obey browse-url-browser-function and friends.

Regards
hmw


Gmane