unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* comint loses prompt boundary
@ 2006-09-06 20:32 Ilya N. Golubev
  2006-09-06 20:41 ` comint loses prompt boundary in cvs, too Ilya N. Golubev
       [not found] ` <E1GLRDD-0000mS-2D@fencepost.gnu.org>
  0 siblings, 2 replies; 24+ messages in thread
From: Ilya N. Golubev @ 2006-09-06 20:32 UTC (permalink / raw
  Cc: xemacs-beta

`comint.el' xemacs packages revision: 1.19.  emacs version - one
bundled with 21.4a.

`inhibit-field-text-motion' is `t', `comint-use-prompt-regexp' is
`nil', if it helps to reproduce.

In shell mode buffer with text already output and entered

user@host:~> COMMAND

(comint-bol nil)

does not skip past the prompt, as documented.  Instead, it goes to the
beginning of line.  `shell-backward-command' calls it, and goes to the
same location.  `shell-dynamic-complete-command' calls it to obtain
position of text already entered by user and incorrectly decides not
to try to complete it as command.

User may set up editor so that interactive generic text motion
commands (including `beginning-of-line', `forward-paragraph') notice
or not notice fields.  Regardless of this
(`inhibit-field-text-motion') setting, expecting commands explicitly
intended for comint mode buffers to distinguish between commands and
prompts properly.  Let alone always expecting command completion to
work.

It is always possible for comint to maintain, in addition to field
text properties, another ones of its own, specifically to distinguish
process outputs and user inputs.  After all, if it depends on text
fields that much, its commands can set `inhibit-field-text-motion'
temporarily (bind dynamically) to the value they expect.

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2006-12-20 20:59 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-06 20:32 comint loses prompt boundary Ilya N. Golubev
2006-09-06 20:41 ` comint loses prompt boundary in cvs, too Ilya N. Golubev
     [not found] ` <E1GLRDD-0000mS-2D@fencepost.gnu.org>
     [not found]   ` <59ejumjzz2.fsf@mo.msk.ru>
     [not found]     ` <E1GLjTm-0000cp-DO@fencepost.gnu.org>
     [not found]       ` <843bazvd1b.fsf@mo.msk.ru>
     [not found]         ` <comint_field_movement_fix@mo.msk.ru>
2006-12-12 18:07           ` shell completion documentation [Re: comint loses prompt boundary] Ilya N. Golubev
2006-12-12 18:08             ` field movement fix " Ilya N. Golubev
2006-12-15 16:11               ` field movement fix: `NEWS' change Ilya N. Golubev
2006-12-14  5:29             ` shell completion documentation [Re: comint loses prompt boundary] Richard Stallman
2006-12-14 17:51               ` shell completion documentation Ilya N. Golubev
2006-12-15 21:24                 ` Richard Stallman
2006-12-15 23:48                   ` bug reports vs manuals [Re: shell completion documentation] Ilya N. Golubev
2006-12-16 20:04                 ` shell completion documentation Richard Stallman
2006-12-18 19:06                   ` Ilya N. Golubev
2006-12-20 13:00                     ` Richard Stallman
2006-12-20 20:59                       ` what makes read it? [Re: shell completion documentation] Ilya N. Golubev
     [not found]           ` <mailman.1817.1166000505.2155.bug-gnu-emacs@gnu.org>
2006-12-13 15:39             ` shell completion documentation [Re: comint loses prompt boundary] Miles Bader
2006-12-13 18:07               ` Ilya N. Golubev
2006-12-14  3:49                 ` Miles Bader
2006-12-15 23:48                   ` comint loses prompt boundary Ilya N. Golubev
2006-08-24 17:15                     ` checking for fields Ilya N. Golubev
2006-08-25 20:25                       ` Richard Stallman
     [not found]                         ` <02473b3c6f4154-gin@mo.msk.ru>
     [not found]                           ` <02473b40868335-gin@mo.msk.ru>
2006-08-28 17:47                             ` Ilya N. Golubev
2006-08-29 11:47                               ` Richard Stallman
2006-08-29 20:30                                 ` pretest downloads [Re: checking for fields] Ilya N. Golubev
2006-08-30 17:58                                   ` Richard Stallman
2006-12-18 15:56                       ` customizing inhibit-field-text-motion [Re: comint loses prompt boundary] Ilya N. Golubev

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).