all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#2583: DEL stops at field boundaries; M-DEL doesn't
@ 2009-03-05 19:30 Iain Dalton
  0 siblings, 0 replies; 2+ messages in thread
From: Iain Dalton @ 2009-03-05 19:30 UTC (permalink / raw
  To: bug-gnu-emacs

When in a mode with a prompt (eshell, rcirc, SLIME for me), M-DEL will
delete up to beginning-of-line, passing over the prompt even though it
can't delete it.  Wiser people than I have said this has to do with
the field property.







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

* bug#2583: DEL stops at field boundaries; M-DEL doesn't
       [not found] <mailman.2446.1236282226.31690.bug-gnu-emacs@gnu.org>
@ 2009-03-13  2:38 ` Miles Bader
  0 siblings, 0 replies; 2+ messages in thread
From: Miles Bader @ 2009-03-13  2:38 UTC (permalink / raw
  To: gnu-emacs-bug

Iain Dalton <iain.dalton@gmail.com> writes:
> When in a mode with a prompt (eshell, rcirc, SLIME for me), M-DEL will
> delete up to beginning-of-line, passing over the prompt even though it
> can't delete it.  Wiser people than I have said this has to do with
> the field property.

Can you provide a more precise recipe?

In the case of rcirc, or the minibuffer prompt, M-DEL seems to respect
field boundaries properly, and will only move past the prompt if that's
the only thing preceding the cursor.  Whether it should refuse to do
that is another question; in general, the behavior of text deletion
commands to react to read-only text by doing move+copy+beep is
considered a feature.

Eshell doesn't use field properties as far as I know, and has it's own
ersatz prompt-handling strategies.

I don't know about slime.

-Miles

-- 
Do not taunt Happy Fun Ball.







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

end of thread, other threads:[~2009-03-13  2:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2446.1236282226.31690.bug-gnu-emacs@gnu.org>
2009-03-13  2:38 ` bug#2583: DEL stops at field boundaries; M-DEL doesn't Miles Bader
2009-03-05 19:30 Iain Dalton

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.