* clarification of deleting articles
@ 2002-07-08 14:05 Adrian Kubala
2002-07-09 9:41 ` Kai Großjohann
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Kubala @ 2002-07-08 14:05 UTC (permalink / raw)
This is for anybody who, like me, is confused by "B <del>" (aka
`gnus-summary-delete-article'). These comments apply to Oort 0.06.
1. Despite all outward indications, this does not delete articles, it
expires them.
2. It respects settings to nnmail-expiry-target, but does not respect
the group parameter expiry-target.
The following snippet does something I felt was more consistent and
understandable:
;;; start code
;; Make forced summary deletion and expiration work more intuitively.
(define-key gnus-summary-mode-map [(?B) (delete)]
'my-gnus-summary-delete-article)
(define-key gnus-summary-mode-map [(?B) (?E)]
'my-gnus-summary-expire-article)
(defun my-gnus-summary-expire-article (&optional n)
"Expire the N next (mail) articles.
If N is negative, delete backwards.
If N is nil and articles have been marked with the process mark,
expire these instead."
(interactive "P")
;; respect expiry-target!
(let ((nnmail-expiry-target
(or (gnus-group-find-parameter gnus-newsgroup-name
'expiry-target)
nnmail-expiry-target)))
(gnus-summary-delete-article n)))
(defun my-gnus-summary-delete-article (&optional n)
"Delete the N next (mail) articles.
If N is negative, delete backwards.
If N is nil and articles have been marked with the process mark,
delete these instead."
(interactive "P")
(let ((nnmail-expiry-target 'delete))
(gnus-summary-delete-article n)))
;;; end code
I filed a bug report about this, but since it's arguably not a bug I
don't know if it will ever be officially changed.
adrian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: clarification of deleting articles
2002-07-08 14:05 clarification of deleting articles Adrian Kubala
@ 2002-07-09 9:41 ` Kai Großjohann
0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2002-07-09 9:41 UTC (permalink / raw)
Adrian Kubala <adrian@sixfingeredman.net> writes:
> 1. Despite all outward indications, this does not delete articles, it
> expires them.
> 2. It respects settings to nnmail-expiry-target, but does not respect
> the group parameter expiry-target.
It appears that item 2 is definitely a bug, whereas it's possible to
argue about item 1.
So please make a bug report, at least about item 2.
kai
--
A large number of young women don't trust men with beards. (BFBS Radio)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-09 9:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-08 14:05 clarification of deleting articles Adrian Kubala
2002-07-09 9:41 ` Kai Großjohann
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).