Gnus development mailing list
 help / color / mirror / Atom feed
* New message-mode fontification: problem with continuation header lines
@ 1997-03-21 15:16 Kai Grossjohann
  1997-03-21 22:11 ` Steven L Baur
  1997-03-22  0:07 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 7+ messages in thread
From: Kai Grossjohann @ 1997-03-21 15:16 UTC (permalink / raw)


Hi,

message-mode doesn't fontify continuation header lines, i.e. the first
line is fontified, the second isn't:

    Subject: This is a long subject,
             the second line of which isn't fontified

kai
-- 
Life is hard and then you die.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New message-mode fontification:          problem with continuation header lines
  1997-03-21 15:16 New message-mode fontification: problem with continuation header lines Kai Grossjohann
@ 1997-03-21 22:11 ` Steven L Baur
  1997-03-21 23:49   ` Michael Welsh Duggan
  1997-03-22  0:31   ` David Moore
  1997-03-22  0:07 ` Lars Magne Ingebrigtsen
  1 sibling, 2 replies; 7+ messages in thread
From: Steven L Baur @ 1997-03-21 22:11 UTC (permalink / raw)


Kai Grossjohann writes:

> Hi,
> message-mode doesn't fontify continuation header lines, i.e. the first
> line is fontified, the second isn't:

Looked fine to me.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New message-mode fontification:           problem with continuation header lines
  1997-03-21 22:11 ` Steven L Baur
@ 1997-03-21 23:49   ` Michael Welsh Duggan
  1997-03-22  0:31   ` David Moore
  1 sibling, 0 replies; 7+ messages in thread
From: Michael Welsh Duggan @ 1997-03-21 23:49 UTC (permalink / raw)


Steven L Baur <steve@miranova.com> writes:

> Kai Grossjohann writes:
> 
> > Hi,
> > message-mode doesn't fontify continuation header lines, i.e. the first
> > line is fontified, the second isn't:
> 
> Looked fine to me.

Try constructing one.  Note: message-mode.

-- 
Michael Duggan
(md5i@schenley.com)


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New message-mode fontification: problem with continuation header lines
  1997-03-21 15:16 New message-mode fontification: problem with continuation header lines Kai Grossjohann
  1997-03-21 22:11 ` Steven L Baur
@ 1997-03-22  0:07 ` Lars Magne Ingebrigtsen
  1997-03-24 14:06   ` Kai Grossjohann
  1 sibling, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-03-22  0:07 UTC (permalink / raw)


Kai Grossjohann <grossjohann@ls6.informatik.uni-dortmund.de> writes:

> message-mode doesn't fontify continuation header lines, i.e. the first
> line is fontified, the second isn't:
> 
>     Subject: This is a long subject,
>              the second line of which isn't fontified

Hm, yes...  I'm not at all familiar with font-lock, but shouldn't the
following regexp match both lines?

"^\\(Subject:\\)[ \t]*\\(.+\\(\n[ \t].*\\)*\\)"

Looks like it to me...  unless font-lock is a one-line kinda thing?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@ifi.uio.no * Lars Ingebrigtsen


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New message-mode fontification:          problem with continuation header lines
  1997-03-21 22:11 ` Steven L Baur
  1997-03-21 23:49   ` Michael Welsh Duggan
@ 1997-03-22  0:31   ` David Moore
  1 sibling, 0 replies; 7+ messages in thread
From: David Moore @ 1997-03-22  0:31 UTC (permalink / raw)


Steven L Baur <steve@miranova.com> writes:

> Kai Grossjohann writes:
> 
> > Hi,
> > message-mode doesn't fontify continuation header lines, i.e. the first
> > line is fontified, the second isn't:
> 
> Looked fine to me.

In _message-mode_?

Gif of lossage at: <URL:http://oj.egbt.org/ding/message.gif>

-- 
David Moore <dmoore@ucsd.edu>       | Computer Systems Lab      __o
UCSD Dept. Computer Science - 0114  | Work: (619) 534-8604    _ \<,_
La Jolla, CA 92093-0114             | Fax:  (619) 534-1445   (_)/ (_)
<URL:http://oj.egbt.org/dmoore/>    | In a cloud bones of steel.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New message-mode fontification:        problem with continuation header lines
  1997-03-22  0:07 ` Lars Magne Ingebrigtsen
@ 1997-03-24 14:06   ` Kai Grossjohann
  1997-03-30  8:43     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Kai Grossjohann @ 1997-03-24 14:06 UTC (permalink / raw)


>>>>> Lars Magne Ingebrigtsen writes:

  Lars> Looks like it to me...  unless font-lock is a one-line kinda
  Lars> thing?

>From the documentation of font-lock-keywords:

,-----
| These regular expressions should not match text which spans lines.
| While M-x font-lock-fontify-buffer handles multi-line patterns
| correctly, updating when you edit the buffer does not, since it
| considers text one line at a time.
`-----

Too bad, you need to do something more complicated.  Simon explained
how to do it once, but I immediately forgot :-(

kai
-- 
Life is hard and then you die.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New message-mode fontification:        problem with continuation header lines
  1997-03-24 14:06   ` Kai Grossjohann
@ 1997-03-30  8:43     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-03-30  8:43 UTC (permalink / raw)


Kai Grossjohann <grossjohann@ls6.informatik.uni-dortmund.de> writes:

> >From the documentation of font-lock-keywords:
> 
> ,-----
> | These regular expressions should not match text which spans lines.
> | While M-x font-lock-fontify-buffer handles multi-line patterns
> | correctly, updating when you edit the buffer does not, since it
> | considers text one line at a time.
> `-----

Drat.

> Too bad, you need to do something more complicated.  Simon explained
> how to do it once, but I immediately forgot :-(

Anybody else remember?

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1997-03-30  8:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-03-21 15:16 New message-mode fontification: problem with continuation header lines Kai Grossjohann
1997-03-21 22:11 ` Steven L Baur
1997-03-21 23:49   ` Michael Welsh Duggan
1997-03-22  0:31   ` David Moore
1997-03-22  0:07 ` Lars Magne Ingebrigtsen
1997-03-24 14:06   ` Kai Grossjohann
1997-03-30  8:43     ` Lars Magne Ingebrigtsen

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).