Gnus development mailing list
 help / color / mirror / Atom feed
From: Sudish Joseph <sudish@mindspring.com>
Subject: Re: Quote emphasis
Date: 30 Nov 1996 20:15:58 -0500	[thread overview]
Message-ID: <yvian2vzoyi9.fsf@atreides.mindspring.com> (raw)
In-Reply-To: Per Abrahamsen's message of 01 Dec 1996 01:16:40 +0100

In article <rjn2vzf79z.fsf@babbage.dina.kvl.dk>,
Per Abrahamsen <abraham@dina.kvl.dk> writes:
> Sudish Joseph <sudish@mindspring.com> writes:
>> I liked it, but I agree that it can cause havoc for certain messages.

> Which?  It works fine with the code snips I have seen.  The strings
> gets highlighted, as if the code was font-locked.  

Some messages with quotes spanning multiple lines.  A backtrace
buffer, for instance.  Not a big deal, it looks great for the common
case.  Smilies cause more problems, but they're sufferable, too.  

> But I agree it should be on a separate hook function.  What should it
> be called?  `highlight-quotes' would be "correct", but may be easy to
> confuse with `highlight-citation'.

highlight-quoted-strings?  Redundancy in the name might reduce the
confusion.

>> If all massagers provided two hook-safe functions, feature-foo-article
>> and un-feature-foo-article, we wouldn't need variables.  They could be
>> added to the appropriate hook and given bindings in the W keymap.

> Too difficult, not all display features can be undone.

I like the part I snipped out.  

Another thing we can do is to have all article buffer face
manipulation pass through one gnus-supplied function.  This function
(gnus-article-add-text-props?) could then add an extra property
alongside of the face proerty it's adding.  This property could be
used to unmassage the text back.

That's simplistic, there're all kinds of priority/sequencing
problems.  But it's still doable.

Not that it's useful for all article display features--face
manipulation is the most common case, and it's the easiest to handle.

-Sudish



  reply	other threads:[~1996-12-01  1:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-29 22:45 Per Abrahamsen
1996-11-30 13:12 ` Lars Magne Ingebrigtsen
1996-11-30 16:27   ` Per Abrahamsen
1996-11-30 16:51     ` Lars Magne Ingebrigtsen
1996-11-30 20:22       ` Steven L Baur
1996-11-30 23:14         ` Sudish Joseph
1996-12-01  0:16           ` Per Abrahamsen
1996-12-01  1:15             ` Sudish Joseph [this message]
1996-12-01  6:27               ` Lars Magne Ingebrigtsen
1996-12-02 20:21       ` Edward J. Sabol

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=yvian2vzoyi9.fsf@atreides.mindspring.com \
    --to=sudish@mindspring.com \
    /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).