Gnus development mailing list
 help / color / mirror / Atom feed
From: Ivan Kanis <ivan@kanis.fr>
To: Igor Sosa Mayor <joseleopoldo1792@gmail.com>
Cc: ding@gnus.org
Subject: Re: How to position summary cursor on beginning of subject
Date: Tue, 30 Sep 2014 22:02:14 +0200	[thread overview]
Message-ID: <87sij8op15.fsf@kanis.fr> (raw)
In-Reply-To: <87bnpx0z1d.fsf@gmail.com> (Igor Sosa Mayor's message of "Tue, 30 Sep 2014 19:59:58 +0200")

September, 30 at 19:59 Igor Sosa Mayor wrote:

> Ivan Kanis <ivan@kanis.fr> writes:
>
>> Hi,
>>
>> By default the cursor jumps to the first colon:
>>
>> (defalias 'gnus-summary-position-point 'gnus-goto-colon)
>>
>> I have disabled the motion for some years. I thought it jumped to the
>> beginning of the subject before.
>>
>> Anyway, how do I do that?
>
> take a look at
>
> ,----[ C-h v gnus-summary-line-format RET ]

Thanks. I have changed that variable. Moving to a fix spot does what I
want.

(defun ivan-gnus-forward ()
  (move-beginning-of-line 1)
  (forward-char 34))

;; moving cursor to subject in summary
(defalias 'gnus-summary-position-point 'ivan-gnus-forward)

Ivan
-- 
You need to install an RTFM interface..
    -- BOFH excuse #57



  reply	other threads:[~2014-09-30 20:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-30 17:39 Ivan Kanis
2014-09-30 17:59 ` Igor Sosa Mayor
2014-09-30 20:02   ` Ivan Kanis [this message]
2014-10-01 13:41     ` Mark Simpson
2014-10-02  6:32       ` Ivan Kanis

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=87sij8op15.fsf@kanis.fr \
    --to=ivan@kanis.fr \
    --cc=ding@gnus.org \
    --cc=joseleopoldo1792@gmail.com \
    /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).