Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: article highlighting in pgnus-0.13
Date: 02 Sep 1998 18:21:11 +0200	[thread overview]
Message-ID: <m3ww7mo58o.fsf@sparky.gnus.org> (raw)
In-Reply-To: Michael Welsh Duggan's message of "Wed, 02 Sep 1998 15:52:11 GMT"

Michael Welsh Duggan <md5i@cs.cmu.edu> writes:

> Maybe.  You would have to use markers, since you don't know how many
> characters the text is going to expand into.  I can have a go at
> writing something.  (It will be a good opportunity to see if markers
> survive `decode-coding-region', since text properties don't.)

I would be surprised if markers survived.  If they are, that could be
exploited.

A different approach would be to save all the text in the region (in a
string or a temp buffer), encode the region, and then compare the
saved region with what you have, and copy the text props over where
matches are made.

Or something.

Do you want to take a whack at either approaches?  I'd be muchu
grateful.  In fact, if something like this were available, I'd submit
it to RMS for inclusion in Emacs 20.4.
`save-text-properties-encode-coding-region'?  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


  reply	other threads:[~1998-09-02 16:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-01 22:07 John H Palmieri
1998-09-01 22:19 ` Karl Kleinpaste
1998-09-02  1:06 ` Michael Welsh Duggan
1998-09-02 12:23   ` Lars Magne Ingebrigtsen
1998-09-02 13:31     ` Michael Welsh Duggan
1998-09-02 14:37       ` Lars Magne Ingebrigtsen
1998-09-02 15:52         ` Michael Welsh Duggan
1998-09-02 16:21           ` Lars Magne Ingebrigtsen [this message]
1998-09-02 17:42             ` Michael Welsh Duggan
1998-09-02 19:46               ` Lars Magne Ingebrigtsen
1998-09-02 14:33     ` Hrvoje Niksic
1998-09-02 16:17       ` Lars Magne Ingebrigtsen
1998-09-02 16:56         ` Hrvoje Niksic
1998-09-02 19:44           ` Lars Magne Ingebrigtsen
1998-09-03  5:29             ` Michael Welsh Duggan

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=m3ww7mo58o.fsf@sparky.gnus.org \
    --to=larsi@gnus.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.
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 NNTP newsgroup(s).