GNU bug report logs - #2583
DEL stops at field boundaries; M-DEL doesn't

Previous Next

Package: emacs;

Reported by: Iain Dalton <iain.dalton <at> gmail.com>

Date: Thu, 5 Mar 2009 19:40:05 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2583 in the body.
You can then email your comments to 2583 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2583; Package emacs. (Thu, 05 Mar 2009 19:40:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Iain Dalton <iain.dalton <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 05 Mar 2009 19:40:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Iain Dalton <iain.dalton <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: DEL stops at field boundaries; M-DEL doesn't
Date: Thu, 5 Mar 2009 12:30:51 -0700
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.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2583; Package emacs. (Fri, 13 Mar 2009 02:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Miles Bader <miles <at> gnu.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 13 Mar 2009 02:45:04 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Miles Bader <miles <at> gnu.org>
To: gnu-emacs-bug <at> moderators.individual.net
Subject: Re: bug#2583: DEL stops at field boundaries; M-DEL doesn't
Date: Fri, 13 Mar 2009 11:38:45 +0900
Iain Dalton <iain.dalton <at> 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.





bug closed, send any further explanations to Iain Dalton <iain.dalton <at> gmail.com> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Thu, 24 Jun 2010 18:24:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 23 Jul 2010 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.