[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: C-k must be repeated in shell to kill a line that ha
From: |
Miles Bader |
Subject: |
Re: address@hidden: C-k must be repeated in shell to kill a line that has a prompt] |
Date: |
02 Nov 2001 11:55:04 +0900 |
Karl Fogel <address@hidden> writes:
> > That seems like one possible solution.
> > But what do people think of my proposal
> > that beginning-of-line and end-of-line should do what
> > line-move does, and ignore the fields used in M-x shell?
>
> I like it.
I think we should be more precise about what's being suggested.
`beginning-of-line' and `end-of-line' should continue to obey fields
when invoked within an input field (though this only matters for
`beginning-of-line', since input fields always end at the end of a line
in comint anyway). To suggest that they should simply ignore fields
entirely is quite clearly wrong.
The question is -- what should they do when invoked within an _output_
field (and more specifically, within the prompt, which is an output field).
Currently `end-of-line' (and consequently `kill-line'), when invoked
inside a prompt, stops at the end of the prompt, not a the end of the
line, and this can be confusing. Changing things so that `end-of-line'
only stops when it hits the end of a `real' field (e.g., the comint
input field) seems to be a reasonable fix for this problem.
-Miles
--
80% of success is just showing up. --Woody Allen
- Re: address@hidden: C-k must be repeated in shell to kill a line that has a prompt], Stefan Monnier, 2001/11/01
- Re: address@hidden: C-k must be repeated in shell to kill a line that has a prompt], Richard Stallman, 2001/11/01
- Re: address@hidden: C-k must be repeated in shell to kill a line that has a prompt], Miles Bader, 2001/11/01
- Re: address@hidden: C-k must be repeated in shell to kill a line that has a prompt], Samuel Padgett, 2001/11/01
- Re: address@hidden: C-k must be repeated in shell to kill a line that has a prompt], Karl Fogel, 2001/11/01
- Re: address@hidden: C-k must be repeated in shell to kill a line that has a prompt], Richard Stallman, 2001/11/02
- Re: address@hidden: C-k must be repeated in shell to kill a line that has a prompt], Colin Walters, 2001/11/03
- Re: address@hidden: C-k must be repeated in shell to kill a line that has a prompt], Richard Stallman, 2001/11/04