emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: improvement for `delete-indentation'


From: Richard Stallman
Subject: Re: improvement for `delete-indentation'
Date: Wed, 07 Jan 2004 10:05:33 -0500

    >               (delete-region (point) (+ (point) (length fill-prefix))))
    > +         (if (eq ?\\ (char-syntax (preceding-char))) ; assume continued 
line
    > +             (delete-backward-char))
    >           (fixup-whitespace))))

    It might not be a bad idea but I think it deserve more care.  The above
    code can lead to surprises with cases such as

I think it should be controlled by a variable that can be set by the
major mode, because not all languages have this kind of continuation.
The variable might specify which character is the continuation character.




reply via email to

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