Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Sebastian Tennant <sebyte@smolny.plus.com>
To: info-gnus-english@gnu.org
Subject: Unticking
Date: Wed, 31 Oct 2007 14:23:42 +0200	[thread overview]
Message-ID: <87k5p3fp69.fsf@moley.moleskin.org> (raw)

Hi list,

AFAIK the only way to untick an article in the Summary buffer is via
'clear-mark-*', which leaves an article marked 'unread' as well as no
longer 'ticked', so I've cobbled together this function to untick an
article in the Summary buffer but leave the article marked 'read':

 (defun gnus-summary-untick-forward ()
   (interactive)
   (let ((gnus-summary-goto-unread 'never))
     (gnus-summary-clear-mark-forward 1)
     (gnus-summary-prev-article)
     ;;this is affected by the value of gnus-summary-goto-unread
     (gnus-summary-mark-as-read-forward 1)))

It's a horrible kludge but it basically works, except when point is on
the last message in the Summary buffer.

I'm slightly surprised there's no such function already, but in the
meantime, how can I check to see if point is on the last message?

Sebastian

             reply	other threads:[~2007-10-31 12:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-31 12:23 Sebastian Tennant [this message]
     [not found] <mailman.2793.1193833450.18990.info-gnus-english@gnu.org>
2007-10-31 14:11 ` Unticking David Z Maze
2007-10-31 21:23   ` Unticking Sebastian Tennant

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=87k5p3fp69.fsf@moley.moleskin.org \
    --to=sebyte@smolny.plus.com \
    --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).