Gnus development mailing list
 help / color / mirror / Atom feed
From: "Matt Armstrong" <matt+dated+1007876070.52bd2b@lickey.com>
Cc: ding@gnus.org
Subject: Re: header-sensitive beginning-of-line?
Date: Thu, 08 Nov 2001 22:34:27 -0700	[thread overview]
Message-ID: <87g07otsm4.fsf@squeaker.lickey.com> (raw)
In-Reply-To: <wc3zo5w7osi.fsf@eta.cis.ohio-state.edu> (Benjamin Rutt's message of "Thu, 08 Nov 2001 19:47:57 -0500")

Benjamin Rutt <rutt+news@cis.ohio-state.edu> writes:

> It might be nice if message-mode had a way to allow you to navigate
> point to the beginning of the header value.  This would make it easier
> to trim out values if you typed in the wrong email address, or
> newsgroup, or subject line.  For example:
>
> Subject: C-a currently moves point to beginning of line
> ^
> ^
> ^
>
> Subject: WIBNI the cursor could end up after the ': '?
>          ^
>          ^
>          ^
>
> Maybe message-mode could have a function named message-bol which would
> place point just after the ': '.  (Similar to how C-c C-a
> (comint-bol-or-process-mark) operates in shell-mode.)  Maybe we could
> define C-a in message-mode to run a new function `message-bol' which,
> if point was in the header, would navigate to just past the ': '.  Two
> consecutive invocations of `message-bol' could navigate point to the
> true BOL.
>
> Any thoughts?

I like the idea.  I'm not sure if it should be the default -- people
expect C-a to behave a certain way.  Unfortunately C-c C-a is already
taken by mml-attach-file.

But I am frequently doing C-a M-f M-f M-b to do what your message-bol
does.

Of course, if point is already at the sweet spot, message-bol should
then go to the real beginning of line.


-- 
matt



  reply	other threads:[~2001-11-09  5:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-09  0:47 Benjamin Rutt
2001-11-09  5:34 ` Matt Armstrong [this message]
2001-11-09 11:08   ` Andreas Fuchs
2001-11-09 12:20     ` Colin Marquardt
2001-11-09  8:48 ` Kai Großjohann
2001-11-11  9:17   ` Karl Eichwalder
2001-11-11 18:12     ` Benjamin Rutt
2001-11-11 19:28       ` Kai Großjohann
2001-11-09 14:31 ` Kai Großjohann
2001-11-09 14:43   ` Kai Großjohann
2001-11-09 15:23     ` Benjamin Rutt
2001-11-09 16:08       ` Kai Großjohann

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=87g07otsm4.fsf@squeaker.lickey.com \
    --to=matt+dated+1007876070.52bd2b@lickey.com \
    --cc=ding@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.
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).