unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#33179: 26; Doc string of `filter-buffer-substring'
@ 2018-10-27 17:24 Drew Adams
  2018-10-27 18:53 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Drew Adams @ 2018-10-27 17:24 UTC (permalink / raw)
  To: 33179

IIUC, the meaning of "extract" in this sentence is to exclude the chars
from the result.  If so, please consider using "exclude" or "remove"
(preferably the former, as nothing is removed from the buffer) instead.
"Extract" can give the impression that those chars are extracted as the
result, rather than being excluded from the result.

  "For example, major or minor modes can use
   'filter-buffer-substring-function' to extract characters that are
                                         ^^^^^^^
   special to a buffer, and should not be copied into other buffers."

Yes, if read carefully one can guess what was really meant here, because
of the "and should not..." part.  Still, the text can be misleading as
it is now.

In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32)
 of 2018-05-30
Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea
Windowing system distributor `Microsoft Corp.', version 10.0.16299
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-10-27 21:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <<08b6c241-7972-48e3-b354-95b6cb50fe52@default>
     [not found] ` <<83in1nmdae.fsf@gnu.org>
2018-10-27 19:10   ` bug#33179: 26; Doc string of `filter-buffer-substring' Drew Adams
2018-10-27 19:25     ` Eli Zaretskii
2018-10-27 19:32     ` Noam Postavsky
2018-10-27 19:38       ` Eli Zaretskii
2018-10-27 17:24 Drew Adams
2018-10-27 18:53 ` Eli Zaretskii
     [not found]   ` <<8c1ed257-be78-4355-84a1-572cfa1d3af6@default>
     [not found]     ` <<87h8h7jicd.fsf@gmail.com>
     [not found]       ` <<83d0rvmb7r.fsf@gnu.org>
2018-10-27 21:35         ` Drew Adams
2018-10-27 21:59           ` Noam Postavsky

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).