[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: man/kmacro.texi
From: |
Luc Teirlinck |
Subject: |
Re: man/kmacro.texi |
Date: |
Sat, 21 Aug 2004 19:37:59 -0500 (CDT) |
Richard Stallman wrote:
What is a complete line? I would say, a line terminated by a newline
_or_ the end of the buffer. For `apply-macro-to-region-lines' it
means "terminated by a newline" with no "or". This is ambiguous and
should be mentioned _if_ this is intended. But _is_ it intentional?
It must be intentional, but whether the person realized it was
different from the usual Emacs behavior is a separate question.
In any case, it seems to me that being compatible with the usual
Emacs handling of repeating for each line would be an improvement.
Would you like to change the code, and remove the word "complete"
in the manual here?
Do you mean that the macro should be executed for every line
containing at least one character in the region? That would actually be
bigger departure from the current behavior than what I was proposing.
I was just saying that if you do, say `C-x h' in a buffer that does
not end in a newline, then the last line _is_ completely contained in the
region, even though it does not end in a newline, and hence
`apply-macro-to-region-lines' should operate on it. (It does not.)
Sincerely,
Luc.