Gnus development mailing list
 help / color / mirror / Atom feed
From: Zlatko Calusic <zlatko.calusic@iskon.hr>
To: Greg Troxel <gdt@work.lexort.com>
Cc: ding@gnus.org
Subject: Re: Deleting Messages from an IMAP Folder
Date: Thu, 17 Apr 2008 21:25:42 +0200	[thread overview]
Message-ID: <87zlrsxozt.fsf@magla.zg.iskon.hr> (raw)
In-Reply-To: <smuskxlfkqg.fsf@linuxpal.mit.edu> (Greg Troxel's message of "Wed, 16 Apr 2008 19:22:47 -0400")

Greg Troxel <gdt@work.lexort.com> writes:

>   How do I delete a read message from an IMAP folder?  if I press the DEL
>   key, the 'R' becomes an 'r' but the message does not actually get
>   deleted when I exit the folder.
>
> I read mail in IMAP, and want to use for my inbox the explicit delete
> approach, as opposed to the auto-expirable approach.  And, I want things
> to go away immediately, not be marked expirable, since the point of
> deleting is to stop seeing them.  I also use thunderbird against the
> same server.
>
> So I have the following in my .emacs, more or less (plus scoring
> functions that you or someone might find useful, but aren't relevant to
> your question):
>
>
> (setq gdt-trash-newsgroup "nnimap+my.server.name:Trash")
>
> (defun gdt-gnus-move-to-trash ()
>   (interactive)
>   (gnus-summary-move-article nil gdt-trash-newsgroup))
>
> (defalias 'score-subject-fuzzy-lower-next
>   (read-kbd-macro "Lsft RET n"))
> (defalias 'score-subject-fuzzy-lower-nextscore
>   (read-kbd-macro "Lsft RET ,"))
>
> (add-hook
>  'gnus-summary-mode-hook
>  (lambda ()
>    (local-set-key "k" 'score-subject-fuzzy-lower-next)
>    (local-set-key "\v" 'score-subject-fuzzy-lower-nextscore)
>    (local-set-key "d" 'gdt-gnus-move-to-trash)))
>

Thank you Greg, I was looking for some simple solution like this, too.
-- 
Zlatko



      parent reply	other threads:[~2008-04-17 19:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-11 12:37 Jake Colman
2008-04-11 12:50 ` Elias Oltmanns
2008-04-16 19:12   ` Ted Zlatanov
2008-04-16 23:22 ` Greg Troxel
2008-04-17 18:06   ` Jake Colman
2008-04-17 19:25   ` Zlatko Calusic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zlrsxozt.fsf@magla.zg.iskon.hr \
    --to=zlatko.calusic@iskon.hr \
    --cc=ding@gnus.org \
    --cc=gdt@work.lexort.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).