Gnus development mailing list
 help / color / mirror / Atom feed
* Can't delete last article in an nnml group
@ 1997-05-27 12:08 Paul Stodghill
  1997-05-27 17:40 ` Lars Magne Ingebrigtsen
  1997-05-27 19:12 ` Steven L Baur
  0 siblings, 2 replies; 6+ messages in thread
From: Paul Stodghill @ 1997-05-27 12:08 UTC (permalink / raw)


Gnus v5.4.55 won't let me delete or move the last article in an nnml
folder. This happens even when the last article is not the only article in
the folder.
-- 
Paul Stodghill <stodghil@cs.cornell.edu>
http://www.cs.cornell.edu/home/stodghil/home.html


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Can't delete last article in an nnml group
  1997-05-27 12:08 Can't delete last article in an nnml group Paul Stodghill
@ 1997-05-27 17:40 ` Lars Magne Ingebrigtsen
  1997-05-27 19:17   ` Paul Stodghill
  1997-05-27 19:12 ` Steven L Baur
  1 sibling, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-05-27 17:40 UTC (permalink / raw)


Paul Stodghill <stodghil@CS.Cornell.EDU> writes:

> Gnus v5.4.55 won't let me delete or move the last article in an nnml
> folder. 

Do you have `nnmail-keep-last-article' set?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Can't delete last article in an nnml group
  1997-05-27 12:08 Can't delete last article in an nnml group Paul Stodghill
  1997-05-27 17:40 ` Lars Magne Ingebrigtsen
@ 1997-05-27 19:12 ` Steven L Baur
  1 sibling, 0 replies; 6+ messages in thread
From: Steven L Baur @ 1997-05-27 19:12 UTC (permalink / raw)


Paul Stodghill <stodghil@CS.Cornell.EDU> writes:

> Gnus v5.4.55 won't let me delete or move the last article in an nnml
> folder. This happens even when the last article is not the only article in
> the folder.

What is the value of `nnmail-keep-last-article'?

nnmail-keep-last-article's value is nil
  -- a variable declared in Lisp.

Documentation:
If non-nil, nnmail will never delete the last expired article in a directory.
You may need to set this variable if other programs are putting
new mail into folder numbers that Gnus has marked as expired.
-- 
steve@calag.com baur
Unsolicited commercial e-mail will be billed at $250/message.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Can't delete last article in an nnml group
  1997-05-27 17:40 ` Lars Magne Ingebrigtsen
@ 1997-05-27 19:17   ` Paul Stodghill
  1997-05-27 23:06     ` Paul Franklin
       [not found]     ` <x7k9kksfxi.fsf@peorth.gweep.net>
  0 siblings, 2 replies; 6+ messages in thread
From: Paul Stodghill @ 1997-05-27 19:17 UTC (permalink / raw)


>>>>> "Lars" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

    Lars> Paul Stodghill <stodghil@CS.Cornell.EDU> writes:
    >> Gnus v5.4.55 won't let me delete or move the last article in an nnml
    >> folder.

    Lars> Do you have `nnmail-keep-last-article' set?


Yes. To `t'. Reading the documentation for this variable, I'm not sure that
this should matter.

  nnmail-keep-last-article's value is t
    -- a variable declared in Lisp.

  Documentation:
  If non-nil, nnmail will never delete the last expired article in a directory.
  You may need to set this variable if other programs are putting
  new mail into folder numbers that Gnus has marked as expired.

The articles are not expired. It's simply the last (ie, highest numbered)
article in the folder that I want to `B DEL', make go bye-bye. Also, Gnus
is the only program writing messages to these folders.

-- 
Paul Stodghill <stodghil@cs.cornell.edu>
http://www.cs.cornell.edu/home/stodghil/home.html


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Can't delete last article in an nnml group
  1997-05-27 19:17   ` Paul Stodghill
@ 1997-05-27 23:06     ` Paul Franklin
       [not found]     ` <x7k9kksfxi.fsf@peorth.gweep.net>
  1 sibling, 0 replies; 6+ messages in thread
From: Paul Franklin @ 1997-05-27 23:06 UTC (permalink / raw)


Paul Stodghill isn't the first to be confused by this docstring.
Hopefully, the attached clarifies things.

(Is this really worth a changelog entry?  Lars, you're welcome to
discard it.)

Tue May 27 16:03:12 1997  Paul Franklin  <paul@cs.washington.edu>

	* nnmail.el (nnmail-keep-last-article): clarify docstring

--Paul

--- nnmail.el	1997/05/27 22:58:57	1.2
+++ nnmail.el	1997/05/27 23:02:59
@@ -112,7 +112,9 @@
 
 ;; Added by gord@enci.ucalgary.ca (Gordon Matzigkeit).
 (defcustom nnmail-keep-last-article nil
-  "If non-nil, nnmail will never delete the last expired article in a directory.
+  "If non-nil, nnmail will never delete/move a group's last article.
+It can be marked expirable, so it will be deleted when it is no longer last.
+
 You may need to set this variable if other programs are putting
 new mail into folder numbers that Gnus has marked as expired."
   :group 'nnmail-procmail


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Can't delete last article in an nnml group
       [not found]     ` <x7k9kksfxi.fsf@peorth.gweep.net>
@ 1997-05-28 11:45       ` Paul Stodghill
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Stodghill @ 1997-05-28 11:45 UTC (permalink / raw)


>>>>> "Rat" == Stainless Steel Rat <ratinox@peorth.gweep.net> writes:

>>>>> "PS" == Paul Stodghill <stodghil@CS.Cornell.EDU> writes:

    Lars> Do you have `nnmail-keep-last-article' set?

    PS> Yes. To `t'. Reading the documentation for this variable, I'm not
    PS> sure that this should matter.

    Rat> Yes, it does. If nnmail-keep-last-article is non-nil you
    Rat> absolutely cannot delete the last message in an nnml folder, no
    Rat> matter what. This is to keep procmail (or similar filters) happy.

Ah! I have been enlightened. Thanks to everyone who responded.

-- 
Paul Stodghill <stodghil@cs.cornell.edu>
http://www.cs.cornell.edu/home/stodghil/home.html


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1997-05-28 11:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-05-27 12:08 Can't delete last article in an nnml group Paul Stodghill
1997-05-27 17:40 ` Lars Magne Ingebrigtsen
1997-05-27 19:17   ` Paul Stodghill
1997-05-27 23:06     ` Paul Franklin
     [not found]     ` <x7k9kksfxi.fsf@peorth.gweep.net>
1997-05-28 11:45       ` Paul Stodghill
1997-05-27 19:12 ` Steven L Baur

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).