all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <snogglethorpe@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Todays exercise of sanity (or does "see" really match "not"?)
Date: Tue, 22 Mar 2005 13:57:52 +0900	[thread overview]
Message-ID: <fc339e4a05032120577717378e@mail.gmail.com> (raw)
In-Reply-To: <MEEKKIABFKKDFJMPIOEBEEDLCKAA.drew.adams@oracle.com>

On Mon, 21 Mar 2005 15:20:34 -0800, Drew Adams <drew.adams@oracle.com> wrote:
> In reply to David's point about preview-latex needing to search and find the
> meta-text: I agree that programs need to be able to find meta-text. The
> point is to separate such meta-text from the content - or at least be _able_
> to separate/distinguish it. In most modes, at least, Info-search should not
> find strings that are in meta-text (if this is not to difficult to fix).

How about a text/overlay property that says what text to use for
i-searching instead of the underlying text?  Then the mode itself (or
whoever added the corresponding display/invisible property) could make
exactly the right decision -- e.g. David would add the underlying
text, but info mode could add the text shown by the display property.

Something like:

   (overlay-put ov 'isearch-text "This is the search text")
   (overlay-put ov 'display (some-bit-map))

[I assume an implementation of this would be rather inefficient,
because the text wouldn't be in the buffer and the regexp search
primitives work directly on the buffer-gap data structures -- but I
assume these cases are relatively rare, and doesn't the
isearch-invisible hack have to deal with similar cases anyway?]

-Miles
-- 
Do not taunt Happy Fun Ball.

  reply	other threads:[~2005-03-22  4:57 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-21 13:20 Todays exercise of sanity (or does "see" really match "not"?) Lennart Borgman
2005-03-21 13:49 ` Luc Teirlinck
2005-03-21 14:00   ` Lennart Borgman
2005-03-21 19:27     ` Juri Linkov
2005-03-21 20:18       ` David Kastrup
2005-03-22 13:57       ` Richard Stallman
2005-03-22 14:46         ` David Kastrup
2005-03-22 17:29           ` Juri Linkov
2005-03-22 22:22             ` David Kastrup
2005-03-23  6:21             ` Richard Stallman
2005-03-23 13:08               ` Juri Linkov
2005-03-23 14:19                 ` Luc Teirlinck
2005-03-23 15:19                   ` Juri Linkov
2005-03-23 17:03                     ` Luc Teirlinck
2005-03-23 20:21                       ` Juri Linkov
2005-03-23 20:33                         ` Stefan Monnier
2005-03-23 21:16                         ` Luc Teirlinck
2005-03-23 21:42                           ` Luc Teirlinck
2005-03-23 22:54                             ` Kim F. Storm
2005-03-24  1:18                               ` Luc Teirlinck
2005-03-25  6:42                               ` Richard Stallman
2005-03-23 21:44                           ` Drew Adams
2005-03-24  0:21                           ` Juri Linkov
2005-03-24  1:12                             ` Luc Teirlinck
2005-03-25  6:41                           ` Richard Stallman
2005-03-23 21:30                         ` Luc Teirlinck
2005-03-24  5:18                       ` Richard Stallman
2005-03-23 20:26                 ` Richard Stallman
2005-03-24  0:19                   ` Juri Linkov
2005-03-25  6:42                     ` Richard Stallman
2005-03-23  0:59           ` Richard Stallman
2005-03-23  1:10             ` David Kastrup
2005-03-23 10:07               ` Kim F. Storm
2005-03-23 11:01                 ` David Kastrup
2005-03-23 22:57                   ` Kim F. Storm
2005-03-23 23:00                   ` Kim F. Storm
2005-03-23 23:57                     ` David Kastrup
2005-03-25  6:42                     ` Richard Stallman
2005-03-23 12:59                 ` Juri Linkov
2005-08-10  0:19       ` Drew Adams
2005-08-10  3:42         ` Eli Zaretskii
2005-08-10  4:19           ` Drew Adams
2005-08-10  4:03         ` Juri Linkov
2005-03-21 23:20   ` Drew Adams
2005-03-22  4:57     ` Miles Bader [this message]
2005-03-22 10:51       ` David Kastrup

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

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

  git send-email \
    --in-reply-to=fc339e4a05032120577717378e@mail.gmail.com \
    --to=snogglethorpe@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=miles@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.