Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
wanderlust configuration
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Edgar Brown  
View profile  
 More options Mar 6 2011, 6:48 pm
Newsgroups: comp.emacs
From: Edgar Brown <edgar.br...@ovi.com>
Date: Sun, 06 Mar 2011 18:48:19 -0500
Local: Sun, Mar 6 2011 6:48 pm
Subject: wanderlust configuration

Hello,

I am trying to setup email client in emacs.
I decided to use "Wanderlust" to use with Gmail.

below is my config for "Wanderlust" and the .folder file

I have the following problem:
for some reason notifications for new arriving emails are
not working. When new mail arrives, I want to see a message
saying that new mail arrived and also I want that the
summary of emails in the summary buffer to be updated.
Notification for new emails depends on the following 3 lines

(setq wl-biff-check-folder-list '("%INBOX"))
(setq wl-biff-check-interval 60)
(add-hook 'wl-biff-notify-hook 'my-mail-notify)

but for some reason this does not work.
I use the latest version of "Wanderlust" 2.14.0(Africa)

;;==============================================================
;;==============================================================
;;==============================================================
;;==============================================================

(require 'wl)

(autoload 'wl "wl" "Wanderlust" t)
(autoload 'wl-other-frame "wl" "Wanderlust on new frame." t)
(autoload 'wl-draft "wl-draft" "Write draft with Wanderlust." t)
(autoload 'wl-user-agent-compose "wl-draft" "Compose with Wanderlust." t)

(setq mime-edit-split-message nil)

;; In order to handle text/html part with emacs-w3m
;; see http://emacs-w3m.namazu.org/.
(require 'mime-w3m)

(setq wl-from "John Dough <john.do...@gmail.com>")
(setq elmo-imap4-default-user "john.dough"
                wl-demo-display-logo nil
                wl-folder-desktop-name "GMAIL"
      wl-stay-folder-window t
      wl-folder-window-width 25
                wl-folder-use-frame nil
                my-maildir-path "~/Mail"

                wl-temporary-file-directory (concat my-maildir-path "/tmp")
      elmo-localdir-folder-path my-maildir-path
      elmo-maildir-folder-path my-maildir-path
      elmo-search-namazu-default-index-path my-maildir-path
      elmo-archive-folder-path my-maildir-path

      elmo-imap4-default-server "imap.gmail.com"
      elmo-imap4-default-port 993
      elmo-imap4-default-authenticate-type 'clear
      elmo-imap4-default-stream-type 'ssl
      elmo-imap4-use-modified-utf7 t
      wl-message-id-domain "john.do...@gmail.com"
      wl-from "John Dough <john.do...@gmail.com>"
      wl-smtp-posting-server "smtp.gmail.com"
      wl-smtp-connection-type 'starttls
      wl-smtp-posting-port 587
      wl-smtp-authenticate-type "plain"
      wl-smtp-posting-user "john.dough"
      wl-local-domain "gmail.com"
      elmo-pop3-debug t
      ssl-certificate-verification-policy 1
      wl-thread-indent-level 4
      wl-thread-have-younger-brother-str "+"
      wl-thread-youngest-child-str       "+"
      wl-thread-vertical-str             "|"
      wl-thread-horizontal-str           "-"
      wl-thread-space-str                " "
      wl-summary-width                   nil
                wl-auto-select-first                 t
      wl-summary-line-format "%T%P %W %D-%M-%Y %t%[%c %f% %] %s"
      wl-message-buffer-prefetch-folder-type-list nil
      mime-transfer-level 8
      mime-edit-split-message nil
      mime-edit-message-max-length 32768
      mime-header-accept-quoted-encoded-words t
      mime-browse-url-function 'browse-url-conkeror
      pgg-passphrase-cache-expiry 300
      pgg-decrypt-automatically t
      wl-message-ignored-field-list '("^.*")
      wl-message-visible-field-list '("^From:" "^To:" "^Cc:"
      "^Date:" "^Subject:")
      wl-message-sort-field-list wl-message-visible-field-list
                wl-summary-default-sort-spec 'date
      wl-message-window-size '(1 . 3)
      wl-draft-preview-attributes-buffer-lines 7
      wl-draft-config-alist
      '(
        ((string-match "john.dough" wl-draft-parent-folder)
         (wl-message-id-domain . "john.do...@gmail.com")
         (wl-from . "John Dough <john.do...@gmail.com>")
         ("From" . "john.do...@gmail.com")
         ;; ("Fcc" . "%Sent:john.do...@imap.gmail.com:993")
         (wl-smtp-posting-server . "smtp.gmail.com")
         (wl-smtp-connection-type . 'starttls)
         (wl-smtp-posting-port . 587)
         (wl-smtp-authenticate-type . "plain")
         (wl-smtp-posting-user . "john.dough")
         (wl-local-domain . "gmail.com")
         )
        )
      )

(autoload 'wl-user-agent-compose "wl-draft" nil t)
(if (boundp 'mail-user-agent)
    (setq mail-user-agent 'wl-user-agent))
(if (fboundp 'define-mail-user-agent)
    (define-mail-user-agent
      'wl-user-agent
      'wl-user-agent-compose
      'wl-draft-send
      'wl-draft-kill
      'mail-send-hook))

;; set up folders
(setq wl-default-folder "%INBOX")
(setq wl-batch-prefetch-folder-list "%INBOX")
(setq wl-auto-check-folder-name "%INBOX")
(setq wl-default-spec "%")
(setq wl-draft-folder "%[Gmail]/Drafts") ; Gmail IMAP
(setq wl-trash-folder "%[Gmail]/Trash")
(setq wl-folder-check-async t)

;;;; Biff

(setq wl-biff-check-folder-list '("%INBOX"))
(setq wl-biff-check-interval 60)

(defun popup (title msg &optional icon sound)
  "Show a popup if we're on X, or echo it otherwise;
   TITLE is the title of the message, MSG is the context.
   Optionally, you can provide an ICON and a sound"

  (interactive)
  (when sound (shell-command
  (concat "mplayer -really-quiet " sound " 2>  /dev/null")))
  (if (eq window-system 'x)
                (shell-command (concat "notify-send "
                                                                          (if icon (concat "-i " icon) "")
                                                                          " '" title "' '" msg "'"))
    ;; text only version
    (message (concat title ": " msg))))

(defun my-mail-notify ()
  "Notify through that new mail has arrived."
  (popup "Attention! New Mail." "You have new mail!")
  (wl-summsry-sync-update))

(add-hook 'wl-biff-notify-hook 'my-mail-notify)

;(wl-biff-start)

(defalias 'gmail 'wl)

;;==============================================================
;;==============================================================
;;==============================================================
;;==============================================================

Also my .folders file is as follows

%INBOX ".INBOX "
%[Gmail]/Important "~Important "
%[Gmail]/Starred "~Starred "
%[Gmail]/Drafts "~Drafts "
%[Gmail]/All Mail "~All Mail "
%[Gmail]/Sent Mail "~Sent Mail "
%[Gmail]/Trash "~Trash "
%[Gmail]/Spam "~Spam "


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ed brown  
View profile  
 More options Mar 6 2011, 6:58 pm
Newsgroups: comp.emacs
From: ed brown <edgar.br...@ovi.com>
Date: Sun, 6 Mar 2011 15:58:41 -0800 (PST)
Local: Sun, Mar 6 2011 6:58 pm
Subject: Re: wanderlust configuration
Sorry, typo in the post
(wl-summsry-sync-update) should be (wl-summary-sync-update).

But the code still does not work.
(wl-summary-sync-update) should update summary of emails in the inbox,
but this does not happen for some reason.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Maus  
View profile  
 More options Mar 15 2011, 1:40 am
Newsgroups: comp.emacs
From: David Maus <dm...@ictsoc.de>
Date: Tue, 15 Mar 2011 06:40:32 +0100
Local: Tues, Mar 15 2011 1:40 am
Subject: Re: wanderlust configuration

At Sun, 06 Mar 2011 18:48:19 -0500,

Edgar Brown wrote:

> I have the following problem:
> for some reason notifications for new arriving emails are
> not working. When new mail arrives, I want to see a message
> saying that new mail arrived and also I want that the
> summary of emails in the summary buffer to be updated.
> Notification for new emails depends on the following 3 lines

> (setq wl-biff-check-folder-list '("%INBOX"))
> (setq wl-biff-check-interval 60)
> (add-hook 'wl-biff-notify-hook 'my-mail-notify)

> but for some reason this does not work.

This is a known problem with currently no workaround or fix. The
problem can be summarized as follows.

Normally new messages in an IMAP mailbox are marked by the IMAP server
with a special flag ('Recent') to indicate messages that have not been
seen by the client.

WL biff relies on this flag to check if new messages have been arrived
in a IMAP mailbox but for some reason Google does not mark new
messages with the 'Recent' flag.

> I use the latest version of "Wanderlust" 2.14.0(Africa)

I would recommend you to update to CVS snapshot (currently at 2.15.9)
as there have been major bug fixes and improvements since 2.14.0.

If you are running Debian the CVS snapshot package is named 'wl-beta'.

If you need to install from source you could checkout using CVS as
described here

http://www.gohome.org/wl/#CVS

or (because it seems the cvs main repository cvs.m17n.org is currently
down) use a semi-official mirror of WL at github.com:

https://github.com/wanderlust/wanderlust

HTH,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmj...@jabber.org
Email..... dm...@ictsoc.de

  application_pgp-signature_part
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »