unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: no-spam@cua.dk (Kim F. Storm)
Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org
Subject: Re: [ortmann@isl.net: asymmetries and contradictions in shell navigation using C-a and C-e on a prompt line]
Date: 18 Mar 2002 17:59:07 +0100	[thread overview]
Message-ID: <5x8z8pak2s.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <873cyxanrn.fsf@tc-1-100.kawasaki.gol.ne.jp>

Miles Bader <miles@gnu.org> writes:

> storm@cua.dk (Kim F. Storm) writes:
> > What happens if you have two fields next to each other -- in that
> > case, the inside of one field is the outside the other field - and
> > vice versa.
> 
> This is not a problem.  The only important case is where one of these
> commands would from `outside' to `inside' in a way that's counter-intuitive.

I don't understand.  How does emacs know when it's currently in an important
case...

> 
> > > Unfortunately, the most common use of fields currently is in the
> > > minibuffer, and it uses a `nil' field property as the `inside'
> > > (and puts a non-nil field property on the prompt, to distinguish it).
> > 
> > Which indicates to me that your proposed solutions isn't the right one.
> 
> Why?

I said 'indicates' -- as the major example of using this feature doesn't
work, and need to be reworked using more machinery (rather than less).

> 
> > But we already handle the minibuffer correctly, so this
> > will continue to work
> 
> No, the minibuffer suffers from the same `problem' that comint does.
> It's just not commonly enountered by users, because they usually don't
> move into the prompt.

Ok, but it sometimes does make sense to navigate inside the prompt.
C-e -> goto end of prompt (= start of input), another C-e -> go to
end of input.  Isn't that how it's working now?

> 
> > if we don't start messing up the existing movement & killing
> > functions!!!
> 
> What are you talking about?

I thought you were proposing to change, end-of-line and other
commands to behave differently if point is "inside" a field.  I
referred to that as "messy" (compared to doing it through
command remapping).


-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  reply	other threads:[~2002-03-18 16:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200201210941.g0L9f9s14343@aztec.santafe.edu>
2002-03-18  2:39 ` [ortmann@isl.net: asymmetries and contradictions in shell navigation using C-a and C-e on a prompt line] Miles Bader
2002-03-18 15:17   ` Kim F. Storm
2002-03-18 15:39     ` Miles Bader
2002-03-18 16:59       ` Kim F. Storm [this message]
2002-03-19  0:02         ` Miles Bader
2002-03-19  9:07           ` Kim F. Storm
2002-03-19  9:24             ` Miles Bader
2002-03-19  8:44     ` Richard Stallman
2002-03-18 20:07   ` Richard Stallman
2002-03-19  0:18     ` Miles Bader
2002-03-20  5:11       ` Richard Stallman
2002-03-20  5:41         ` Miles Bader
2002-03-20  6:30           ` Eli Zaretskii
2002-03-20  6:38             ` Miles Bader

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5x8z8pak2s.fsf@kfs2.cua.dk \
    --to=no-spam@cua.dk \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@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.
Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).