all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 46225@debbugs.gnu.org
Subject: bug#46225: 27.1; In Drafts cursor is on first article, backwards from other groups
Date: Wed, 03 Feb 2021 01:33:04 +0800	[thread overview]
Message-ID: <87y2g68je7.5.fsf@jidanni.org> (raw)
In-Reply-To: <87wnvse3sw.5.fsf@jidanni.org>

LI> all articles in the group are permanently unread.

Yes, but initial cursor position needs to be not hardwired to that!!

OK, so there are several workarounds:

Here is the effect I want to achieve:

It is just like, with the cursor on the drafts group, doing:

 g			 ;; gnus-group-get-new-news
 <return>		 ;; gnus-group-select-group
 <end>			 ;; end-of-buffer
 q			 ;; gnus-summary-exit
 <return>		 ;; gnus-group-select-group

Now our cursor is nicely centered on the last article, just like in all
our other groups.

OK, there is no drafts related hook. So using one of gnus-*-hook
we need to implant that last article number into gnus' concept of where
we were reading, but only after a gnus-group-get-new-news command, and
only for the drafts group.





  reply	other threads:[~2021-02-02 17:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01  5:48 bug#46225: 27.1; In Drafts cursor is on first article, backwards from other groups 積丹尼 Dan Jacobson
2021-02-01  9:03 ` Lars Ingebrigtsen
2021-02-02 17:33   ` 積丹尼 Dan Jacobson [this message]
2021-03-01  5:48 ` bug#46225: Workaround found 積丹尼 Dan Jacobson

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=87y2g68je7.5.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=46225@debbugs.gnu.org \
    --cc=larsi@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.