emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hungry-delete in other modes


From: Christoph
Subject: Re: hungry-delete in other modes
Date: Wed, 23 Feb 2011 22:58:56 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

Stefan Monnier <address@hidden> writes:

> For DEL at least, you can
>
>   (global-set-key [?\^?] 'backward-delete-char-untabify)
>
> and even control it via buffer-local settings of
> backward-delete-char-untabify-method.

I didnt know about backward-delete-char-untabify-method. I will have a
look at that.

> Because the CC-mode author wanted to provide the feature to all CC-mode
> users and/or did not make the effort to try and submit this feature for
> separate inclusion in Emacs.

So no technical or historical reason.

> Of course it's possible.  As a matter of fact we do have subword-mode,
> as well as electric-layout-mode.

It looks like subword-mode was created from cc-subword.el.It looks like
the hungry delete functions are pretty self contained and could be
factored out into a separate mode pretty easily. Maybe something to look
into for a future project.

Thanks,
Christoph



reply via email to

[Prev in Thread] Current Thread [Next in Thread]