From: Michael Welsh Duggan <md5i@cs.cmu.edu>
Subject: Re: article highlighting in pgnus-0.13
Date: Wed, 02 Sep 1998 17:42:45 GMT [thread overview]
Message-ID: <v1t1zpuwgvh.fsf@peoria.mt.cs.cmu.edu> (raw)
In-Reply-To: <m3ww7mo58o.fsf@sparky.gnus.org>
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> 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'? :-)
I'll give it a whack. Of course, in 20.4, if we are lucky,
decode-coding-region will be fixed w/respect to text properties.
Hm... Maybe I will take a look at the code in that and see what it
looks like.
--
Michael Duggan
(md5i@cs.cmu.edu)
.
next prev parent reply other threads:[~1998-09-02 17:42 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
1998-09-02 17:42 ` Michael Welsh Duggan [this message]
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=v1t1zpuwgvh.fsf@peoria.mt.cs.cmu.edu \
--to=md5i@cs.cmu.edu \
/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).