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: 30 May 2004 17:17:09 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>     If point is currently at column N, search backward for a line with
>     indentation M < N.  Then delete characters to the left until column M
>     is reached.

> I suppose that could be useful in many modes.  Not, I think, in modes
> that compute the exact indentation, such as Lisp mode and C mode.  But
> there are many modes which don't have such careful
> indentation computations.

Yes, it would obviously need a hook so that modes like Lisp, Python, C, ...
can provide a more precise definition.  But I think as a first
approximation for those mode authors who don't have the time/energy to fine
tune every little detail, it's a pretty good default.


        Stefan




reply via email to

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