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: Karl Chen
Subject: Re: python-mode (python.el): python-backspace
Date: Wed, 19 May 2004 09:28:40 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

>>>>> "Richard" == Richard Stallman <address@hidden> writes:
    Richard>     Programming modes typically use
    Richard>     `backward-delete-char-untabify', not
    Richard>     `delete-backward-char', though some bind it to
    Richard>     something different.
    Richard> 
    Richard> This redefinition is ok because it fits with the
    Richard> description that DEL deletes one character backwards.
    Richard> It reinterprets "one character" in a legitimate way.
    Richard> 
    Richard> However, to describe the current Python mode
    Richard> definition as "deleting one character backwards" is
    Richard> clearly untrue.  That redefinition does not
    Richard> reinterpret the description.  This command does a
    Richard> different job, not the same job.

If you were willing to interpret tabs as single characters in some
modes, one could argue that in Python, <python-indent number of
spaces> at the beginning of lines is really a substitute for a
TAB.  People think of indenting as pressing TAB (not 4 spaces),
and actual tabs are discouraged from use because of their
ambiguity.

-- 
Karl 2004-05-19 09:24





reply via email to

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