unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: man/kmacro.texi
Date: Sat, 21 Aug 2004 19:37:59 -0500 (CDT)	[thread overview]
Message-ID: <200408220037.i7M0bxx06453@raven.dms.auburn.edu> (raw)
In-Reply-To: <E1Bydgr-0004h2-C6@fencepost.gnu.org> (message from Richard Stallman on Sat, 21 Aug 2004 17:46:21 -0400)

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.

  reply	other threads:[~2004-08-22  0:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-21  3:54 man/kmacro.texi Luc Teirlinck
2004-08-21 21:46 ` man/kmacro.texi Richard Stallman
2004-08-22  0:37   ` Luc Teirlinck [this message]
2004-08-22 23:39     ` man/kmacro.texi Richard Stallman
2004-08-26  0:48       ` man/kmacro.texi Luc Teirlinck
  -- strict thread matches above, loose matches on Subject: below --
2004-08-21  2:46 man/kmacro.texi Luc Teirlinck
2004-08-21 21:46 ` man/kmacro.texi Richard Stallman
2004-08-22  4:37   ` man/kmacro.texi Luc Teirlinck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200408220037.i7M0bxx06453@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).