emacs-devel
[Top][All Lists]
Advanced

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

Re: python-mode (python.el): python-backspace


From: Stefan Monnier
Subject: Re: python-mode (python.el): python-backspace
Date: 18 May 2004 14:28:13 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> I'd suggest that if we start fiddling with such code, we introduce a
>> generic way to electrify backspace.  Otherwise people who want it
>> need to enable it separately (and differently) for each and every
>> major mode they use.

> But in general the `electric' behaviour will be different between
> modes, e.g. Python v. Lisp.

Then it's not what I have in mind.  What I have in mind is the kind of
"electric backspace" seen in python-mode or in cc-mode.  It can do
things like:
- delete hungrily all whitespace.
- delete to previous level of indentation.
Both of those are conceptually mode-independent (although the
implementation might be mode-dependent), just like M-; and others.
There is already the "untabify" version of backspace and I think we should
make it easier for people to change such things globally.


        Stefan




reply via email to

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