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

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

delete-indentation - text.texi


From: Andreas Roehler
Subject: delete-indentation - text.texi
Date: Sun, 02 Jul 2006 19:53:23 +0200
User-agent: Thunderbird 1.5.0.4 (X11/20060516)


I'm afraid, `delete-indentation' is labeled from a side
affect of two other functions: join-lines and
fixup-whitespace, implemented in C however.

From a function `delete-indentation' I wouldn't expect
the behavior as it is now (and shown below)

         ---------- Buffer: foo ----------
         When in the course of human
         -!-    events, it becomes necessary
         ---------- Buffer: foo ----------

         (delete-indentation)
              => nil

         ---------- Buffer: foo ----------
         When in the course of human-!- events, it becomes necessary
         ---------- Buffer: foo ----------

rather

         ---------- Buffer: foo ----------
         When in the course of human
         -!-    events, it becomes necessary
         ---------- Buffer: foo ----------

         (delete-indentation)
              => nil

         ---------- Buffer: foo ----------
         When in the course of human
         -!-events, it becomes necessary
         ---------- Buffer: foo ----------


Deleting indentation has no inert connection with
deleting newline-chars, AFAIU.

Altogether the false `delete-indentation'-function
takes the place of the real one in this bad world!  :)

__
Andreas Roehler





reply via email to

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