From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: man/kmacro.texi Date: Sat, 21 Aug 2004 19:37:59 -0500 (CDT) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <200408220037.i7M0bxx06453@raven.dms.auburn.edu> References: <200408210354.i7L3sig04866@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1093135142 26445 80.91.224.253 (22 Aug 2004 00:39:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Aug 2004 00:39:02 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 22 02:38:54 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BygNp-0004wU-00 for ; Sun, 22 Aug 2004 02:38:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BygSD-0005HU-5x for ged-emacs-devel@m.gmane.org; Sat, 21 Aug 2004 20:43:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BygS4-0005Ep-Re for emacs-devel@gnu.org; Sat, 21 Aug 2004 20:43:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BygS3-0005Bt-9q for emacs-devel@gnu.org; Sat, 21 Aug 2004 20:43:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BygS3-0005Bl-6t for emacs-devel@gnu.org; Sat, 21 Aug 2004 20:43:15 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BygNM-0007Qd-Q0; Sat, 21 Aug 2004 20:38:25 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i7M0cOuE016678; Sat, 21 Aug 2004 19:38:24 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i7M0bxx06453; Sat, 21 Aug 2004 19:37:59 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sat, 21 Aug 2004 17:46:21 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26386 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26386 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.