Gnus development mailing list
 help / color / mirror / Atom feed
From: Bob Newell <bobnewell@bobnewell.net>
To: ding <ding@gnus.org>
Subject: Re: Moving mail generates 'quit' signal
Date: Thu, 19 Mar 2020 08:34:27 -1000	[thread overview]
Message-ID: <871rpotcr0.fsf@emailmessageidheader.nil> (raw)
In-Reply-To: <871rpoubi8.fsf@emailmessageidheader.nil> (Bob Newell's message of "Wed, 18 Mar 2020 20:03:43 -1000")

Aloha again,

Following up on my question: I spent (too) much time in
edebug, and note that in the function gnus-select-newsgroup
(in gnus-sum.el) there is this snippet:

    (cond
     ((null articles)
      ;;(gnus-message 3 "Couldn't select newsgroup -- no articles to display")
      'quit)

This is where my quit condition is being generated.

It seems that the code above is intended to be applicable in
calls that (at least at the outer level) are interactive. My
call is non-interactive, and the quit condition results in a
total abort all the way back to the highest calling level.

Now we won't argue whether the way I've coded my move mail
function is the best (it certainly is far from it, and I'd
welcome ideas on improvement). The issue is, should a quit be
generated as above, making non-interactive use problematic (at
least as I read things)?

Mahalo

-- 
Bob Newell
Honolulu, Hawai`i
- Via Gnus/BBDB/Org/Emacs/Linux


      parent reply	other threads:[~2020-03-19 18:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-19  6:03 Bob Newell
2020-03-19  7:03 ` Eric Abrahamsen
2020-03-19 18:34 ` Bob Newell [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=871rpotcr0.fsf@emailmessageidheader.nil \
    --to=bobnewell@bobnewell.net \
    --cc=ding@gnus.org \
    /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).