Package: wl-beta
Version: 2.15.9+0.20110420-1
Severity: minor

I find that wanderlust regularly queries with "There's hidden deleted messages,
expunge anyway? (y or n)". To facilitate smoother interaction with
IMAP for those using multiple clients (which may handle delete/expunge
in varying ways), why not permit setting a default answer to the
query? 

Perhaps something like

(defvar elmo-always-expunge-deleted t)

(luna-define-method elmo-folder-delete-messages-plugged
  ((folder elmo-imap4-folder) numbers)
  (let ((session (elmo-imap4-get-session folder))
        (expunge
         (or (null (elmo-imap4-list folder "deleted"))
             ;; check if default is set
             elmo-always-expunge-deleted 
             (y-or-n-p
              ;; polish grammar
              "There is a hidden deleted message; expunge anyway?")
             )))
    (elmo-imap4-session-select-mailbox
     session
     (elmo-imap4-folder-mailbox-internal folder))
    (unless (elmo-imap4-set-flag folder numbers "\\Deleted")
      (error "Failed to set deleted flag"))
    (when expunge
      (elmo-imap4-send-command session "expunge"))
    t))



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wl-beta depends on:
ii  apel               10.8-2                portable library for emacsen
ii  dpkg               1.16.0.3              Debian package management system
ii  emacs [emacsen]    23.3+1-1              The GNU Emacs editor (metapackage)
ii  emacs21 [emacsen]  21.4a+1-5.7           The GNU Emacs editor
ii  emacs22 [emacsen]  22.3+1-1.2            The GNU Emacs editor
ii  emacs23 [emacsen]  23.3+1-1              The GNU Emacs editor (with GTK+ us
ii  flim               1:1.14.9+0.20110516-1 library about internet message for
ii  install-info       4.13a.dfsg.1-6        Manage installed documentation in 
ii  semi               1.14.6+0.20101114-1   library to provide MIME feature fo

wl-beta recommends no packages.

Versions of packages wl-beta suggests:
ii  bbdb              2.36-2                 The Insidious Big Brother Database
ii  bitmap-mule       8.5+0.20030825.0433-10 bitmap handler for GNU Emacs
pn  bogofilter | bsfi <none>                 (no description available)
ii  easypg            0.0.16-2.1             yet another GnuPG interface for Em
ii  gnupg             1.4.11-3               GNU privacy guard - a free PGP rep
ii  gnutls-bin        2.12.7-6               GNU TLS library - commandline util
pn  im                <none>                 (no description available)
ii  mhc               0.25.1+20090531-2      schedule management tool for emacs
pn  mu-cite           <none>                 (no description available)
pn  mule-ucs          <none>                 (no description available)
pn  namazu2           <none>                 (no description available)
ii  openssl           1.0.0d-3               Secure Socket Layer (SSL) binary a
pn  starttls          <none>                 (no description available)
ii  w3m-el            1.4.4-10               simple Emacs interface of w3m
pn  x-face-el         <none>                 (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to