Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Unticking
@ 2007-10-31 12:23 Sebastian Tennant
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Tennant @ 2007-10-31 12:23 UTC (permalink / raw)
  To: info-gnus-english

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

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <mailman.2793.1193833450.18990.info-gnus-english@gnu.org>]

end of thread, other threads:[~2007-10-31 21:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-31 12:23 Unticking Sebastian Tennant
     [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

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