Gnus development mailing list
 help / color / mirror / Atom feed
* Re: Underlines -- WIBNI
       [not found] <m33dxa2enb.fsf@peorth.gweep.net>
@ 1999-08-24 11:29 ` Toni Drabik
  1999-08-24 12:40   ` Karl Kleinpaste
  0 siblings, 1 reply; 3+ messages in thread
From: Toni Drabik @ 1999-08-24 11:29 UTC (permalink / raw)


Stainless Steel Rat <ratinox@peorth.gweep.net> writes:

> Wouldn't it be nice if underlining in Gnus articles did not underline
> whitespace used for indenting and such, _like
>         this?_

Yes, but...

_You mean, you actually see this sentence as
        underlined_?

My Gnus (Pterodactyl 0.95, XEmacs 20.4) underlines only if `_'
delimiters are on the same line, _like this_.

Is that a bug, or I just need to change some variable(s) to get it
work?


-- 
Toni Drabik <tdrabik@public.srce.hr>
Warning: This article may be fatal if swallowed.


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

* Re: Underlines -- WIBNI
  1999-08-24 11:29 ` Underlines -- WIBNI Toni Drabik
@ 1999-08-24 12:40   ` Karl Kleinpaste
  1999-09-24 19:08     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Karl Kleinpaste @ 1999-08-24 12:40 UTC (permalink / raw)


There appear to be inconsistent conditions (regexps need work?) in
which emphasis is carried out.  For example, the following are all
underlined:

_like this_.
_like this._
_like
     this_.
_like
     this._

Note especially the placement of `_' and `.'.  By comparison,
sentences ending in `?' and `!' are not similarly graced:

_like this_?
_like this?_
_like
     this_?
_like
     this?_

Of these, only the 1st and 3rd should underline, because `?' isn't
part of the acceptable punctuation.

Neither is `,' which is why the following is not underlined:

_You mean, you actually see this sentence as
        underlined_?

But remove the `,' and it's fine:

_You mean you actually see this sentence as
        underlined_?

--karl


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

* Re: Underlines -- WIBNI
  1999-08-24 12:40   ` Karl Kleinpaste
@ 1999-09-24 19:08     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-09-24 19:08 UTC (permalink / raw)


Karl Kleinpaste <karl@justresearch.com> writes:

> There appear to be inconsistent conditions (regexps need work?) in
> which emphasis is carried out.

The regexp needing work is this:

"\\(\\s-\\|^\\|[-\"]\\|\\s(\\|\\s)\\)\\(%s\\(\\w+\\(\\s-+\\w+\\)*[.,]?\\)%s\\)\\(\\s-\\|[-?!.,;:\"]\\|\\s(\\|\\s)\\)"

And just looking at it makes me want to look at something else.  Which 
I think I will do.

But if anybody want to fix this, please do.

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


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

end of thread, other threads:[~1999-09-24 19:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m33dxa2enb.fsf@peorth.gweep.net>
1999-08-24 11:29 ` Underlines -- WIBNI Toni Drabik
1999-08-24 12:40   ` Karl Kleinpaste
1999-09-24 19:08     ` 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).