[Top][All Lists]
[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
- Re: python-mode (python.el): python-backspace, (continued)
- Re: python-mode (python.el): python-backspace, Richard Stallman, 2004/05/17
- Re: python-mode (python.el): python-backspace, Stefan Monnier, 2004/05/18
- Re: python-mode (python.el): python-backspace, Karl Chen, 2004/05/18
- Re: python-mode (python.el): python-backspace, Dave Love, 2004/05/18
- Re: python-mode (python.el): python-backspace,
Stefan Monnier <=
- Re: python-mode (python.el): python-backspace, Dave Love, 2004/05/27
- Re: python-mode (python.el): python-backspace, Stefan Monnier, 2004/05/27
- Re: python-mode (python.el): python-backspace, Richard Stallman, 2004/05/28
- Re: python-mode (python.el): python-backspace, Kai Grossjohann, 2004/05/29
- Re: python-mode (python.el): python-backspace, Richard Stallman, 2004/05/30
- Re: python-mode (python.el): python-backspace, Stefan Monnier, 2004/05/30
- Re: python-mode (python.el): python-backspace, Richard Stallman, 2004/05/18
- Re: python-mode (python.el): python-backspace, Richard Stallman, 2004/05/18
Re: python-mode (python.el): python-backspace, Dave Love, 2004/05/18