unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: buffer-substring-filter
Date: Mon, 14 Mar 2005 18:44:05 -0500	[thread overview]
Message-ID: <E1DAzED-0003HP-Bs@fencepost.gnu.org> (raw)
In-Reply-To: <lcsm2yjsj2.fsf@physics.stanford.edu> (cyd@stupidchicken.com)

This is a clean implementation of the feature I had in mind.
Using mapcar is a little wasteful, since it makes a list of the results
only to throw them all away.  Better to use dolist.

It would be good to move point to BEG, temporarily,
so that the functions can tell where the text came from
in case they care.

However, the real question is whether this is the right feature
for doing the job.  Have you changed longlines.el to use it?
Does it do what longlines needs?

I think that some other functions would need to use this feature.
One is append-to-buffer.  Also the rectangle functions should use it.
Maybe other places too.

  reply	other threads:[~2005-03-14 23:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-14 12:55 buffer-substring-filter Chong Yidong
2005-03-14 23:44 ` Richard Stallman [this message]
2005-03-15  0:29   ` buffer-substring-filter Chong Yidong
2005-03-16 16:22     ` buffer-substring-filter Richard Stallman
2005-03-16 22:49       ` buffer-substring-filter Chong Yidong

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=E1DAzED-0003HP-Bs@fencepost.gnu.org \
    --to=rms@gnu.org \
    --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).