Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: info-gnus-english@gnu.org
Subject: Re: binding a summary key to *two* commands
Date: Tue, 20 Jan 2015 19:08:57 +0100	[thread overview]
Message-ID: <871tmpcojq.fsf@topper.koldfront.dk> (raw)
In-Reply-To: <8xx7fwhwd6u.fsf@village.keycorner.org>

Hikaru writes:

> (defun delete-then-read-next ()
>   (interactive)
>   (gnus-summary-mark-as-expirable)

Have you tried giving this function an argument (say 1)?

Just a guess from reading the documentation of it:

,----[ C-h f gnus-summary-mark-as-expirable RET ]
| gnus-summary-mark-as-expirable is an interactive compiled Lisp
| function in `gnus-sum.el'.
| 
| (gnus-summary-mark-as-expirable N)
| 
| Mark N articles forward as expirable.
| If N is negative, mark backward instead.  The difference between N and
| the actual number of articles marked is returned.
`----



  Best regards,

    Adam

-- 
 "My brain always rejects attitude transplants."              Adam Sjøgren
                                                         asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

  reply	other threads:[~2015-01-20 18:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-20 17:54 Hikaru Ichijyo
2015-01-20 18:08 ` Adam Sjøgren [this message]
     [not found] ` <mailman.18212.1421777358.1147.info-gnus-english@gnu.org>
2015-01-20 22:11   ` Hikaru Ichijyo
2015-01-21  3:43   ` Hikaru Ichijyo
2015-01-22 22:53     ` Emanuel Berg

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=871tmpcojq.fsf@topper.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=info-gnus-english@gnu.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).