Gnus development mailing list
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <jec@dcs.ed.ac.uk>
Subject: Re: How *not* to highlight
Date: 09 Oct 1996 19:14:35 +0100	[thread overview]
Message-ID: <dh34tk4dmyc.fsf@calvay.dcs.ed.ac.uk> (raw)
In-Reply-To: Per Abrahamsen's message of 09 Oct 1996 00:23:05 +0200

In article <rjenj9ksdy.fsf@kolmogorov.dina.kvl.dk>,
  Per Abrahamsen <abraham@dina.kvl.dk> writes:

PA> You could use overlays instead of text properties.  That way, you
PA> could have both highlighting and native characters simultaneously.  

Well...  The whole point is that I need to pass multi-language text in
strings (TM expects to be able to do so -- it was designed for Mule).
I can do this with text properties (or extents), but not, as far as I
know, with overlays.

Right now, I've simply overridden the defalias in gnus-vis.el with

(defun gnus-put-text-property (start end property value &optional object)
  (if (and (eq 'face property)
           (text-property-not-all start end 'face nil))
      nil
    (put-text-property start end property value object)))

and everything seems to work.  Or is this evil in any way (except
insofar as mucking around with L.I.'s code is blasphemy, of course)?

                                        J. Chroboczek

P.S. So I'm reading this message by NNTP from Denmark, replying
through SMTP to Norway...  I have some problems grasping this Internet
thing, somehow.



  reply	other threads:[~1996-10-09 18:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-08 19:51 Juliusz Chroboczek
1996-10-08 22:23 ` Per Abrahamsen
1996-10-09 18:14   ` Juliusz Chroboczek [this message]
1996-10-10 22:30 ` Lars Magne Ingebrigtsen

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=dh34tk4dmyc.fsf@calvay.dcs.ed.ac.uk \
    --to=jec@dcs.ed.ac.uk \
    /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).