Gnus development mailing list
 help / color / mirror / Atom feed
* Improved (non-annoying) underlining
@ 2000-05-16 21:19 Karl Kleinpaste
  2000-05-16 22:03 ` Shenghuo ZHU
  2000-05-17 11:41 ` Bill White
  0 siblings, 2 replies; 33+ messages in thread
From: Karl Kleinpaste @ 2000-05-16 21:19 UTC (permalink / raw)


        _If you leave emphasization enabled then as you read this
        message you are seeing the annoying artifact that the empty
        whitespace at the beginning of lines is underlined when
        there is no good reason for it._

When the following patch is applied, Gnus will stop underlining (or
emphasizing, generally) whitespace.  I would appreciate it if some
kind write-enabled soul would commit this to CVS.

--karl

--- gnus-util.el.~1~	Sat Apr 29 23:44:17 2000
+++ gnus-util.el	Tue May 16 16:51:21 2000
@@ -568,7 +568,7 @@
     (save-excursion
       (save-restriction
 	(goto-char beg)
-	(while (re-search-forward "[ \t]*\n" end 'move)
+	(while (re-search-forward "[ \t]+\\|[ \t]*\n" end 'move)
 	  (gnus-put-text-property beg (match-beginning 0) prop val)
 	  (setq beg (point)))
 	(gnus-put-text-property beg (point) prop val)))))



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

* Re: Improved (non-annoying) underlining
  2000-05-16 21:19 Improved (non-annoying) underlining Karl Kleinpaste
@ 2000-05-16 22:03 ` Shenghuo ZHU
  2000-05-17 11:41 ` Bill White
  1 sibling, 0 replies; 33+ messages in thread
From: Shenghuo ZHU @ 2000-05-16 22:03 UTC (permalink / raw)


>>>>> "KK" == Karl Kleinpaste <karl@charcoal.com> writes:

KK>         _If you leave emphasization enabled then as you read this
KK>         message you are seeing the annoying artifact that the empty
KK>         whitespace at the beginning of lines is underlined when
KK>         there is no good reason for it._

KK> When the following patch is applied, Gnus will stop underlining
KK> (or emphasizing, generally) whitespace.  I would appreciate it if
KK> some kind write-enabled soul would commit this to CVS.

[...]

Looks nice. Applied. Thank you.

Shenghuo



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

* Re: Improved (non-annoying) underlining
  2000-05-16 21:19 Improved (non-annoying) underlining Karl Kleinpaste
  2000-05-16 22:03 ` Shenghuo ZHU
@ 2000-05-17 11:41 ` Bill White
  2000-05-17 12:09   ` Per Abrahamsen
                     ` (2 more replies)
  1 sibling, 3 replies; 33+ messages in thread
From: Bill White @ 2000-05-17 11:41 UTC (permalink / raw)


On Tue May 16 2000 at 16:19, Karl Kleinpaste <karl@charcoal.com> said:

[...]

  > When the following patch is applied, Gnus will stop underlining
  > (or emphasizing, generally) whitespace.  I would appreciate it if
  > some kind write-enabled soul would commit this to CVS.

Whoa! Can that be made customizable or something? I think whitespace
within text (not at the beginning of a line) should still be
underlined.

The new default is rather annoying when a style other than underlining
is used. See <url:http://members.wri.com/billw/underlining.jpg> (150Kb)

And speaking of improving underlining, punctuation in underlined text
disables underlining. Is there a way to fix that? (I haven't trawled
through the source).

Here's an excerpt from David Carter's Internet Public Library weekly
announcement of new books. Note the inconsistent highlighting of
underlined titles:

Goldsmith, Oliver. _The Vicar of Wakefield_.
http://www.bibliomania.com/Fiction/Goldsmith/Vicar/
Dewey Subjects:
     813.083 American and Canadian Sociological, Psychological, 
Realistic Fiction

Grace, Eric S. _Biotechnology Unzipped: Promises and Realities_.
http://www.nap.edu/books/0309057779/html/
Dewey Subjects:
     660.6 Chemical Engineering: Biotechnology
LC Subjects:
     Biotechnology -- Popular works
     Biotechnologie -- Ouvrages de vulgarisation

Greenwood, Granville George, Sir. _Shakespeare's Law_.
http://www.sourcetext.com/lawlibrary/greenwood/sl/00.htm
Dewey Subjects:
     822.39 History, Description, Criticism of Shakespeare
LC Subjects:
     Shakespeare, William, 1564-1616--Knowledge--Law

Guernsey, Rocellus Sheridan. _Ecclesiastical Law in Hamlet: The 
Burial of Ophelia_.
http://www.sourcetext.com/lawlibrary/guernsey/00.htm
Dewey Subjects:
     822.39 History, Description, Criticism of Shakespeare
LC Subjects:
     Shakespeare, William, 1564-1616. Hamlet
     Shakespeare, William, 1564-1616--Criticism and interpretation

Thanks!

bw
-- 
Bill White . billw@wolfram.com . http://members.wri.com/billw
"No ma'am, we're musicians."




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

* Re: Improved (non-annoying) underlining
  2000-05-17 11:41 ` Bill White
@ 2000-05-17 12:09   ` Per Abrahamsen
  2000-05-17 12:26     ` Hrvoje Niksic
  2000-05-17 12:29     ` Karl Kleinpaste
  2000-05-17 13:30   ` François Pinard
  2000-05-17 15:36   ` Indicating hidden threads (Was: Improved (non-annoying) ...) Steinar Bang
  2 siblings, 2 replies; 33+ messages in thread
From: Per Abrahamsen @ 2000-05-17 12:09 UTC (permalink / raw)


Bill White <billw@wolfram.com> writes:

> I think whitespace
> within text (not at the beginning of a line) should still be
> underlined.

Agreed.

> And speaking of improving underlining, punctuation in underlined text
> disables underlining. Is there a way to fix that? (I haven't trawled
> through the source).

You can customize `gnus-emphasis-alist'.  The tricky part is avoiding
false positives.



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

* Re: Improved (non-annoying) underlining
  2000-05-17 12:09   ` Per Abrahamsen
@ 2000-05-17 12:26     ` Hrvoje Niksic
  2000-05-17 15:37       ` Steinar Bang
  2000-05-17 12:29     ` Karl Kleinpaste
  1 sibling, 1 reply; 33+ messages in thread
From: Hrvoje Niksic @ 2000-05-17 12:26 UTC (permalink / raw)


Per Abrahamsen <abraham@dina.kvl.dk> writes:

> You can customize `gnus-emphasis-alist'.

The problem with gnus-emphasis-alist, as well as many other parts of
Gnus, is over-reliance on regexps.  There is a limit to what regexps
can do, and gnus-emphasis-alist is damn near hitting it.

I've been dreaming about ways to define a nicer (more Lispy) language
to define heuristics, that deals with tokens such as "words" and
"sentences" rather than individual characters.  Making such a beast
usable, elegant, and fast is a highly non-trivial task.



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

* Re: Improved (non-annoying) underlining
  2000-05-17 12:09   ` Per Abrahamsen
  2000-05-17 12:26     ` Hrvoje Niksic
@ 2000-05-17 12:29     ` Karl Kleinpaste
  2000-05-17 12:39       ` Hrvoje Niksic
  1 sibling, 1 reply; 33+ messages in thread
From: Karl Kleinpaste @ 2000-05-17 12:29 UTC (permalink / raw)


Bill White <billw@wolfram.com> writes:
>> I think whitespace
>> within text (not at the beginning of a line) should still be
>> underlined.

Per Abrahamsen <abraham@dina.kvl.dk> writes:
> Agreed.

Well, if you really want that, then changing the regexp to
        "^[ \t]+\\|[ \t]*\n"
(which just adds `^' to the beginning) should take care of it.

That said, I really quite prefer it the way it is right now: When I
write (by hand) something which needs to be underlined, I don't
blindly write a single, long underline under the whole text; I
underline the individual words, which is the behavior the now-current
regexp induces.

I think the reason this is especially odd for Bill is that he has
customized the font sense of "underline" to something very very
different, which is not actually "underlining" at all, but is instead
a color shift, both foreground and background.

In any event, since we have yet another case of personal preference,
would it make sense to create (yet another) customizable regexp?  Call
it, say, gnus-article-emphasize-whitespace-regexp?

>> And speaking of improving underlining, punctuation in underlined text
>> disables underlining. Is there a way to fix that? (I haven't trawled
>> through the source).

> You can customize `gnus-emphasis-alist'.  The tricky part is avoiding
> false positives.

Yeah, that sort of thing has bothered me mildly for much too long.
I'll take a look at that alist today.

But Hrovje is right, we really do beat on regexps too much...

--karl



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

* Re: Improved (non-annoying) underlining
  2000-05-17 12:29     ` Karl Kleinpaste
@ 2000-05-17 12:39       ` Hrvoje Niksic
  2000-05-17 12:58         ` Karl Kleinpaste
  0 siblings, 1 reply; 33+ messages in thread
From: Hrvoje Niksic @ 2000-05-17 12:39 UTC (permalink / raw)


Karl Kleinpaste <karl@charcoal.com> writes:

> That said, I really quite prefer it the way it is right now: When I
> write (by hand) something which needs to be underlined, I don't
> blindly write a single, long underline under the whole text; I
> underline the individual words, which is the behavior the
> now-current regexp induces.

But isn't there an important difference between the highlighting of
_these three words_ and that of _these_ _three_ _words_?

As Jargon says:

    There is a semantic difference between *emphasis like this* (which
    emphasizes the phrase as a whole), and *emphasis* *like* *this*
    (which suggests the writer speaking very slowly and distinctly, as
    if to a very young child or a mentally impaired person).

Unless I'm missing something, your change makes the two kinds of
emphasis indistinguishable.



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

* Re: Improved (non-annoying) underlining
  2000-05-17 12:39       ` Hrvoje Niksic
@ 2000-05-17 12:58         ` Karl Kleinpaste
  2000-05-17 13:35           ` François Pinard
                             ` (5 more replies)
  0 siblings, 6 replies; 33+ messages in thread
From: Karl Kleinpaste @ 2000-05-17 12:58 UTC (permalink / raw)


Hrvoje Niksic <hniksic@iskon.hr> writes:
> As Jargon says:
> ...
> Unless I'm missing something, your change makes the two kinds of
> emphasis indistinguishable.

(To discuss this, folks will have to `C-u g' a lot, to see what's
underlying things here.)

In both the old case and the new, *these words* and *these* *words*
have undistinguished emphasization, as Gnus displays them.  Similarly,
there is no difference between /these words/ and /these/ /words/,
because neither boldface nor italicization has any representation in
whitespace.  It is only in _these words_ /vs/ _these_ _words_ that the
effect can have any distinguishing characteristic at all, because
underlining can affect whitespace, if one lets it.

This is to say that I think the Jargon reference is just plain wrong.
Using "*emphasis like this*" and "*emphasis* *like* *this*" makes no
difference, as displayed by any font-aware reader like Gnus.

Again, it comes down to a personal preference, so I think a
customizable doodad is in order.  I'll work up a new patch shortly.



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

* Re: Improved (non-annoying) underlining
  2000-05-17 11:41 ` Bill White
  2000-05-17 12:09   ` Per Abrahamsen
@ 2000-05-17 13:30   ` François Pinard
  2000-05-17 14:28     ` Bill White
  2000-05-17 15:36   ` Indicating hidden threads (Was: Improved (non-annoying) ...) Steinar Bang
  2 siblings, 1 reply; 33+ messages in thread
From: François Pinard @ 2000-05-17 13:30 UTC (permalink / raw)
  Cc: ding

Bill White <billw@wolfram.com> writes:

> I think whitespace within text (not at the beginning of a line) should
> still be underlined.

In my Gnus customization, I keep underlining strictly related to
clickability, as much as I can.  I rather underline with yellowish
background, as we do with highlighting pens.  Besides, unmixing clickability
from any kind of bolding is clearer, in my opinion.  I would like if it
were becoming a design rule for Gnus (and W3!).

True underlining impacts legibility, which somewhat goes against the
original intent of underlining.  Typography often used italics instead.
But Gnus already uses slanting in an orthogonal way to underlining, so I
needed something else.  Another background colour was good enough for me...

Given these choices of mine, I strongly join my voice to Bill's demand!

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard





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

* Re: Improved (non-annoying) underlining
  2000-05-17 12:58         ` Karl Kleinpaste
@ 2000-05-17 13:35           ` François Pinard
  2000-05-17 13:55           ` Kai Großjohann
                             ` (4 subsequent siblings)
  5 siblings, 0 replies; 33+ messages in thread
From: François Pinard @ 2000-05-17 13:35 UTC (permalink / raw)
  Cc: ding

Karl Kleinpaste <karl@charcoal.com> writes:

> It is only in _these words_ /vs/ _these_ _words_ that the effect can
> have any distinguishing characteristic at all, because underlining can
> affect whitespace, if one lets it.

How strange.  On this Gnus 5.8.5, in the separate "_these_ _words_",
the background colouring is _not_ interrupted for the separating space.
I think it should be...  Looks like some bug to me.

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard





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

* Re: Improved (non-annoying) underlining
  2000-05-17 12:58         ` Karl Kleinpaste
  2000-05-17 13:35           ` François Pinard
@ 2000-05-17 13:55           ` Kai Großjohann
  2000-05-17 14:03             ` Karl Kleinpaste
  2000-05-17 14:08           ` Karl Kleinpaste
                             ` (3 subsequent siblings)
  5 siblings, 1 reply; 33+ messages in thread
From: Kai Großjohann @ 2000-05-17 13:55 UTC (permalink / raw)
  Cc: ding

Karl Kleinpaste <karl@charcoal.com> writes:

> This is to say that I think the Jargon reference is just plain wrong.

No, I think there is a bug in Emacs.  It needs a real boldface space
character.

Why hasn't this been fixe ages ago?  It's so _obvious_.

kai
-- 
Beware of flying birch trees.




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

* Re: Improved (non-annoying) underlining
  2000-05-17 13:55           ` Kai Großjohann
@ 2000-05-17 14:03             ` Karl Kleinpaste
  2000-05-17 14:27               ` Alan Shutko
  2000-05-17 14:40               ` Kai Großjohann
  0 siblings, 2 replies; 33+ messages in thread
From: Karl Kleinpaste @ 2000-05-17 14:03 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> No, I think there is a bug in Emacs.  It needs a real boldface space
> character.

?

What would be meant by "boldface space character"?  A space is the
absence of any glyph in that character position.  How would one make
it "boldface" when the property of boldface means that the glyph is
"thicker" ?  There is no glyph to change.

Similarly, for consistency, what would an italicized space be?

I'm confused.



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

* Re: Improved (non-annoying) underlining
  2000-05-17 12:58         ` Karl Kleinpaste
  2000-05-17 13:35           ` François Pinard
  2000-05-17 13:55           ` Kai Großjohann
@ 2000-05-17 14:08           ` Karl Kleinpaste
  2000-05-17 14:32             ` Shenghuo ZHU
  2000-05-17 14:29           ` Toby Speight
                             ` (2 subsequent siblings)
  5 siblings, 1 reply; 33+ messages in thread
From: Karl Kleinpaste @ 2000-05-17 14:08 UTC (permalink / raw)


Karl Kleinpaste <karl@charcoal.com> writes:
> Again, it comes down to a personal preference, so I think a
> customizable doodad is in order.  I'll work up a new patch shortly.

Would a CVS write-enabled person please apply?

Default behavior will be as Bill asked.  Removing the leading `^' will
stop underlining of all whitespace.

thanx,
--karl

--- gnus-art.el.~1~	Tue May 16 18:07:32 2000
+++ gnus-art.el	Wed May 17 09:43:49 2000
@@ -253,6 +253,14 @@
 		       face))
   :group 'gnus-article-emphasis)
 
+(defcustom gnus-emphasize-whitespace-regexp "^[ \t]+\\|[ \t]*\n"
+  "A regexp to describe whitespace which should not be emphasized.
+Typical values are \"^[ \t]+\\|[ \t]*\n\" and \"[ \t]+\\|[ \t]*\n\".
+The former avoids underlining of leading and trailing whitespace,
+and the latter avoids underlining any whitespace at all."
+  :group 'gnus-article-emphasis
+  :type 'regexp)
+
 (defface gnus-emphasis-bold '((t (:bold t)))
   "Face used for displaying strong emphasized text (*word*)."
   :group 'gnus-article-emphasis)
--- gnus-util.el.~1~	Wed May 17 07:53:12 2000
+++ gnus-util.el	Wed May 17 09:44:31 2000
@@ -569,7 +569,7 @@
     (save-excursion
       (save-restriction
 	(goto-char beg)
-	(while (re-search-forward "[ \t]+\\|[ \t]*\n" end 'move)
+	(while (re-search-forward gnus-emphasize-whitespace-regexp end 'move)
 	  (gnus-put-text-property beg (match-beginning 0) prop val)
 	  (setq beg (point)))
 	(gnus-put-text-property beg (point) prop val)))))



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

* Re: Improved (non-annoying) underlining
  2000-05-17 14:03             ` Karl Kleinpaste
@ 2000-05-17 14:27               ` Alan Shutko
  2000-05-17 14:40               ` Kai Großjohann
  1 sibling, 0 replies; 33+ messages in thread
From: Alan Shutko @ 2000-05-17 14:27 UTC (permalink / raw)


Karl Kleinpaste <karl@charcoal.com> writes:

> What would be meant by "boldface space character"?  A space is the
> absence of any glyph in that character position.  How would one make
> it "boldface" when the property of boldface means that the glyph is
> "thicker" ?  There is no glyph to change.

It should be a thicker absence.

> Similarly, for consistency, what would an italicized space be?

A slanted absence.  I'm not sure about smallcaps spaces, though.

> I'm confused.

(I think it was a joke.)

-- 
Alan Shutko <ats@acm.org> - In a variety of flavors!
178 days, 1 hours, 8 minutes, 10 seconds till we run away.
To love is good, love being difficult.



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

* Re: Improved (non-annoying) underlining
  2000-05-17 13:30   ` François Pinard
@ 2000-05-17 14:28     ` Bill White
  2000-05-17 14:33       ` Bill White
  0 siblings, 1 reply; 33+ messages in thread
From: Bill White @ 2000-05-17 14:28 UTC (permalink / raw)


On Tue May 16 2000 at 16:19, Karl Kleinpaste <karl@charcoal.com> said:

  >         _If you leave emphasization enabled then as you read this
  >         message you are seeing the annoying artifact that the empty
  >         whitespace at the beginning of lines is underlined when
  >         there is no good reason for it._

On Wed May 17 2000 at 09:08, Karl Kleinpaste <karl@charcoal.com> said:

  > Karl Kleinpaste <karl@charcoal.com> writes:
  >> Again, it comes down to a personal preference, so I think a
  >> customizable doodad is in order.  I'll work up a new patch shortly.

  > Would a CVS write-enabled person please apply?

  > Default behavior will be as Bill asked.  Removing the leading `^' will
  > stop underlining of all whitespace.

Just 'cvs updated' - looks great to me. Thanks, Karl!

On Wed May 17 2000 at 08:30, François Pinard <pinard@iro.umontreal.ca> said:

  > I rather underline with yellowish background, as we do with
  > highlighting pens.

I was wondering where I got the idea to make underlined stuff look
highlighted... Thanks, François!

bw
-- 
Bill White . billw@wolfram.com . http://members.wri.com/billw
"No ma'am, we're musicians."




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

* Re: Improved (non-annoying) underlining
  2000-05-17 12:58         ` Karl Kleinpaste
                             ` (2 preceding siblings ...)
  2000-05-17 14:08           ` Karl Kleinpaste
@ 2000-05-17 14:29           ` Toby Speight
  2000-05-17 15:22           ` Yair Friedman (Jerusalem)
  2000-05-19  0:22           ` Russ Allbery
  5 siblings, 0 replies; 33+ messages in thread
From: Toby Speight @ 2000-05-17 14:29 UTC (permalink / raw)


Karl> Karl Kleinpaste <URL:mailto:karl@charcoal.com>

0> In article <vxkitwds596.fsf@mesquite.charcoal.com>, Karl wrote:

Karl> Using "*emphasis like this*" and "*emphasis* *like* *this*"
Karl> makes no difference, as displayed by any font-aware reader like
Karl> Gnus.

It does if you tell Gnus not to hide the emaphasising characters:

  (setq gnus-emphasis-alist
        (mapcar (lambda (x)
                  (list (car x) (nth 2 x) (nth 2 x) (nth 3 x)))
                gnus-emphasis-alist))

(It would be nice if we could have them displayed in default font, and
only the emphasised works emboldened - as it is, everything in the
match is either emboldened or hidden).




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

* Re: Improved (non-annoying) underlining
  2000-05-17 14:08           ` Karl Kleinpaste
@ 2000-05-17 14:32             ` Shenghuo ZHU
  0 siblings, 0 replies; 33+ messages in thread
From: Shenghuo ZHU @ 2000-05-17 14:32 UTC (permalink / raw)


>>>>> "KK" == Karl Kleinpaste <karl@charcoal.com> writes:

KK> Karl Kleinpaste <karl@charcoal.com> writes:
>> Again, it comes down to a personal preference, so I think a
>> customizable doodad is in order.  I'll work up a new patch shortly.

KK> Would a CVS write-enabled person please apply?

Done.

Shenghuo



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

* Re: Improved (non-annoying) underlining
  2000-05-17 14:28     ` Bill White
@ 2000-05-17 14:33       ` Bill White
  2000-05-17 14:34         ` Karl Kleinpaste
  2000-05-17 18:05         ` Per Abrahamsen
  0 siblings, 2 replies; 33+ messages in thread
From: Bill White @ 2000-05-17 14:33 UTC (permalink / raw)


On Wed May 17 2000 at 09:28, Bill White <billw> said:

  > On Tue May 16 2000 at 16:19, Karl Kleinpaste <karl@charcoal.com> said:

  >> _If you leave emphasization enabled then as you read this
  >> message you are seeing the annoying artifact that the empty
  >> whitespace at the beginning of lines is underlined when
  >> there is no good reason for it._

Well, I meant that to appear as underlined text, as in:

    _If you leave emphasization enabled then as you read this
    message you are seeing the annoying artifact that the empty
    whitespace at the beginning of lines is underlined when
    there is no good reason for it._

Anyway, cheers -

bw
-- 
Bill White . billw@wolfram.com . http://members.wri.com/billw
"No ma'am, we're musicians."




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

* Re: Improved (non-annoying) underlining
  2000-05-17 14:33       ` Bill White
@ 2000-05-17 14:34         ` Karl Kleinpaste
  2000-05-17 18:05         ` Per Abrahamsen
  1 sibling, 0 replies; 33+ messages in thread
From: Karl Kleinpaste @ 2000-05-17 14:34 UTC (permalink / raw)


Bill White <billw@wolfram.com> writes:
> Well, I meant that to appear as underlined text, as in:

That's the fault of the oversensitivity of the current regexp which
determines general, um, emphasizability.  Yet to be addressed.



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

* Re: Improved (non-annoying) underlining
  2000-05-17 14:03             ` Karl Kleinpaste
  2000-05-17 14:27               ` Alan Shutko
@ 2000-05-17 14:40               ` Kai Großjohann
  2000-05-17 14:42                 ` Karl Kleinpaste
  1 sibling, 1 reply; 33+ messages in thread
From: Kai Großjohann @ 2000-05-17 14:40 UTC (permalink / raw)
  Cc: ding

Karl Kleinpaste <karl@charcoal.com> writes:

> What would be meant by "boldface space character"?

Does that mean you don't know?  You have never seen a boldface space
character?  How strange!

kai

PS: I think I should have added a :-) somewhere...
-- 
Beware of flying birch trees.




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

* Re: Improved (non-annoying) underlining
  2000-05-17 14:40               ` Kai Großjohann
@ 2000-05-17 14:42                 ` Karl Kleinpaste
  2000-05-17 16:00                   ` Yair Friedman (Jerusalem)
  0 siblings, 1 reply; 33+ messages in thread
From: Karl Kleinpaste @ 2000-05-17 14:42 UTC (permalink / raw)


OK, so I'm a little bit slow on the uptake for humor this morning...

On the other hand, Yair noted that an italic space is actually wider.



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

* Re: Improved (non-annoying) underlining
  2000-05-17 12:58         ` Karl Kleinpaste
                             ` (3 preceding siblings ...)
  2000-05-17 14:29           ` Toby Speight
@ 2000-05-17 15:22           ` Yair Friedman (Jerusalem)
  2000-05-19  0:22           ` Russ Allbery
  5 siblings, 0 replies; 33+ messages in thread
From: Yair Friedman (Jerusalem) @ 2000-05-17 15:22 UTC (permalink / raw)


Karl Kleinpaste <karl@charcoal.com> writes:

> Similarly,
> there is no difference between /these words/ and /these/ /words/,
> because neither boldface nor italicization has any representation in
> whitespace.

Actually an italic space is a bit wider than a plain space.
--
Yair Friedman.





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

* Indicating hidden threads (Was: Improved (non-annoying) ...)
  2000-05-17 11:41 ` Bill White
  2000-05-17 12:09   ` Per Abrahamsen
  2000-05-17 13:30   ` François Pinard
@ 2000-05-17 15:36   ` Steinar Bang
  2000-05-17 16:07     ` Bill White
  2 siblings, 1 reply; 33+ messages in thread
From: Steinar Bang @ 2000-05-17 15:36 UTC (permalink / raw)


>>>>> Bill White <billw@wolfram.com>:

> The new default is rather annoying when a style other than underlining
> is used. See <url:http://members.wri.com/billw/underlining.jpg> (150Kb)

Hm... it looks like you have some indications on hidden threads in
your summary buffer: the "+" on the left hand side and the "|-->" to
the right.

Is this something you have modified yourself (eg. a different format
for the Summary buffer)?  Or is this something that is easily turned
on?  When I do
	T h
I see no such marks.

I really like this behaviour in Forté Free Agent and Netscape, and
wouldn't mind seeing it in my Gnus.  Hm...
	C-h i g (gnus)Summary Buffer Lines RET

Hm... looks like the "+" is just a score indicator.  What about the
"|-->" then?  I didn't find anything matching in the above node.  This 
is the closest I got:

`e'
     An `=' (`gnus-not-empty-thread-mark') will be displayed if the
     article has any children.




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

* Re: Improved (non-annoying) underlining
  2000-05-17 12:26     ` Hrvoje Niksic
@ 2000-05-17 15:37       ` Steinar Bang
  0 siblings, 0 replies; 33+ messages in thread
From: Steinar Bang @ 2000-05-17 15:37 UTC (permalink / raw)


>>>>> Hrvoje Niksic <hniksic@iskon.hr>:

> The problem with gnus-emphasis-alist, as well as many other parts of
> Gnus, is over-reliance on regexps.  There is a limit to what regexps
> can do,

Agreed!

> and gnus-emphasis-alist is damn near hitting it.

> I've been dreaming about ways to define a nicer (more Lispy)
> language to define heuristics, that deals with tokens such as
> "words" and "sentences" rather than individual characters. 

I like it.

> Making such a beast usable, elegant, and fast is a highly
> non-trivial task.

Indeed.



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

* Re: Improved (non-annoying) underlining
  2000-05-17 14:42                 ` Karl Kleinpaste
@ 2000-05-17 16:00                   ` Yair Friedman (Jerusalem)
  0 siblings, 0 replies; 33+ messages in thread
From: Yair Friedman (Jerusalem) @ 2000-05-17 16:00 UTC (permalink / raw)


Karl Kleinpaste <karl@charcoal.com> writes:

> OK, so I'm a little bit slow on the uptake for humor this morning...
> 
> On the other hand, Yair noted that an italic space is actually wider.

I forgot to add "on proportional fonts" :-(





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

* Re: Indicating hidden threads (Was: Improved (non-annoying) ...)
  2000-05-17 15:36   ` Indicating hidden threads (Was: Improved (non-annoying) ...) Steinar Bang
@ 2000-05-17 16:07     ` Bill White
  2000-05-17 20:13       ` Steinar Bang
  0 siblings, 1 reply; 33+ messages in thread
From: Bill White @ 2000-05-17 16:07 UTC (permalink / raw)


On Wed May 17 2000 at 10:36, Steinar Bang <sb@metis.no> said:

  >>>>>> Bill White <billw@wolfram.com>:
  >> The new default is rather annoying when a style other than underlining
  >> is used. See <url:http://members.wri.com/billw/underlining.jpg> (150Kb)

  > Hm... looks like the "+" is just a score indicator.  What about the
  > "|-->" then?  I didn't find anything matching in the above node.  This 
  > is the closest I got:

The "+" marks folks who are in my .bbdb file and the "|-->" thingie is
just the variable gnus-summary-same-subject.

Here are all my summary line settings from .gnus:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; 
;; Gnus summary line format

(setq gnus-summary-same-subject "|-->" )

(defun gnus-user-format-function-y (header)
  "Convert the DATE to Day mm dd yy HH:MM."
    (format-time-string "%a %b %d %Y %R" (gnus-date-get-time (mail-header-date header))))

(setq gnus-summary-line-format "%U%R%z%([%5L: %-20,20uB]%) [%uy] %I%s\n")

Cheers -

bw
-- 
Bill White . billw@wolfram.com . http://members.wri.com/billw
"No ma'am, we're musicians."




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

* Re: Improved (non-annoying) underlining
  2000-05-17 14:33       ` Bill White
  2000-05-17 14:34         ` Karl Kleinpaste
@ 2000-05-17 18:05         ` Per Abrahamsen
  1 sibling, 0 replies; 33+ messages in thread
From: Per Abrahamsen @ 2000-05-17 18:05 UTC (permalink / raw)


Bill White <billw@wolfram.com> writes:

> Well, I meant that to appear as underlined text, as in:
> 
>     _If you leave emphasization enabled then as you read this
>     message you are seeing the annoying artifact that the empty
>     whitespace at the beginning of lines is underlined when
>     there is no good reason for it._
> 
> Anyway, cheers -

You probably meant that to appear as underlined text, as in:

     _\bI_\bf _\by_\bo_\bu _\bl_\be_\ba_\bv_\be _\be_\bm_\bp_\bh_\ba_\bs_\bi_\bz_\ba_\bt_\bi_\bo_\bn _\be_\bn_\ba_\bb_\bl_\be_\bd _\bt_\bh_\be_\bn _\ba_\bs _\by_\bo_\bu _\br_\be_\ba_\bd _\bt_\bh_\bi_\bs
     _\bm_\be_\bs_\bs_\ba_\bg_\be _\by_\bo_\bu _\ba_\br_\be _\bs_\be_\be_\bi_\bn_\bg _\bt_\bh_\be _\ba_\bn_\bn_\bo_\by_\bi_\bn_\bg _\ba_\br_\bt_\bi_\bf_\ba_\bc_\bt _\bt_\bh_\ba_\bt _\bt_\bh_\be _\be_\bm_\bp_\bt_\by
     _\bw_\bh_\bi_\bt_\be_\bs_\bp_\ba_\bc_\be _\ba_\bt _\bt_\bh_\be _\bb_\be_\bg_\bi_\bn_\bn_\bi_\bn_\bg _\bo_\bf _\bl_\bi_\bn_\be_\bs _\bi_\bs _\bu_\bn_\bd_\be_\br_\bl_\bi_\bn_\be_\bd _\bw_\bh_\be_\bn
     _\bt_\bh_\be_\br_\be _\bi_\bs _\bn_\bo _\bg_\bo_\bo_\bd _\br_\be_\ba_\bs_\bo_\bn _\bf_\bo_\br _\bi_\bt_\b.

Right?



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

* Re: Indicating hidden threads (Was: Improved (non-annoying) ...)
  2000-05-17 16:07     ` Bill White
@ 2000-05-17 20:13       ` Steinar Bang
  2000-05-20  9:26         ` Rade Markovic
  0 siblings, 1 reply; 33+ messages in thread
From: Steinar Bang @ 2000-05-17 20:13 UTC (permalink / raw)


>>>>> Bill White <billw@wolfram.com>:

> The "+" marks folks who are in my .bbdb file and the "|-->" thingie
> is just the variable gnus-summary-same-subject.

Ah, OK.  When I made the emacs wide enough, I saw that folded threads
had "..." at the end, which is the common emacs convention for folded
text. 



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

* Re: Improved (non-annoying) underlining
  2000-05-17 12:58         ` Karl Kleinpaste
                             ` (4 preceding siblings ...)
  2000-05-17 15:22           ` Yair Friedman (Jerusalem)
@ 2000-05-19  0:22           ` Russ Allbery
  2000-05-19  1:41             ` Karl Kleinpaste
  5 siblings, 1 reply; 33+ messages in thread
From: Russ Allbery @ 2000-05-19  0:22 UTC (permalink / raw)


Karl Kleinpaste <karl@charcoal.com> writes:

> This is to say that I think the Jargon reference is just plain wrong.
> Using "*emphasis like this*" and "*emphasis* *like* *this*" makes no
> difference, as displayed by any font-aware reader like Gnus.

Well, I certainly disagree with any contention that the Jargon file is
wrong here, as *emphasis like this* and *emphasis* *like* *this* do in
fact have very different meanings, a difference of meaning that's lost by
converting that emphasis into font changes.

Of course, for me, this is just more argument against using the font
changes at all.  :)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>



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

* Re: Improved (non-annoying) underlining
  2000-05-19  0:22           ` Russ Allbery
@ 2000-05-19  1:41             ` Karl Kleinpaste
  2000-05-19  2:09               ` Dan McGuirk
  2000-05-19  4:56               ` Russ Allbery
  0 siblings, 2 replies; 33+ messages in thread
From: Karl Kleinpaste @ 2000-05-19  1:41 UTC (permalink / raw)


Russ Allbery <rra@stanford.edu> writes:
> wrong here, as *emphasis like this* and *emphasis* *like* *this* do in
> fact have very different meanings, a difference of meaning that's lost by
> converting that emphasis into font changes.

Well, the whole situation is rather like old-style "ASCII art": People
would generate complex quasi-monochrome pictures based on printer
character density to get a weird greyscale kind of graphic.  It only
had any meaning before real graphic support existed for common folk.
So _this_ /kind/ of *emphasis* is the "ASCII art" way of _*showing*_
_/real/_ */typographical/* _*/variation/*_.

The fact that people expect *this emphasis* to be semantically
different from *this* *emphasis* is an indication that they've
forgotten that the concept being transmitted to the reader was
typographical variation, so the ASCII art has become an end in itself,
because there's literally no manifestation of this supposed differing
semantic in any venue other than text/plain emphasizers.

To each his own...

:-),
--karl



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

* Re: Improved (non-annoying) underlining
  2000-05-19  1:41             ` Karl Kleinpaste
@ 2000-05-19  2:09               ` Dan McGuirk
  2000-05-19  4:56               ` Russ Allbery
  1 sibling, 0 replies; 33+ messages in thread
From: Dan McGuirk @ 2000-05-19  2:09 UTC (permalink / raw)


Karl Kleinpaste <karl@charcoal.com> writes:

> The fact that people expect *this emphasis* to be semantically
> different from *this* *emphasis* is an indication that they've
> forgotten that the concept being transmitted to the reader was
> typographical variation, so the ASCII art has become an end in itself,
> because there's literally no manifestation of this supposed differing
> semantic in any venue other than text/plain emphasizers.

Well, it depends on how you're rendering the emphasis.  When you're
rendering to underlines, there is a difference between underlining an
entire phrase and underlining each word separately.  Gnus currently
displays _this underlined phrase_ the same way as _this_ _underlined_
_phrase_.  I think they should be different, because there is a
difference in meaning here.

Of course, when you're rendering to bold, there can be no visual
difference, which is fine.

-- 
Dan McGuirk    <mcguirk@incompleteness.net>
Elevator lady, elevator lady, elevator lady, lady, lady, levitate me.



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

* Re: Improved (non-annoying) underlining
  2000-05-19  1:41             ` Karl Kleinpaste
  2000-05-19  2:09               ` Dan McGuirk
@ 2000-05-19  4:56               ` Russ Allbery
  1 sibling, 0 replies; 33+ messages in thread
From: Russ Allbery @ 2000-05-19  4:56 UTC (permalink / raw)


Karl Kleinpaste <karl@charcoal.com> writes:

> So _this_ /kind/ of *emphasis* is the "ASCII art" way of _*showing*_
> _/real/_ */typographical/* _*/variation/*_.

Well, no, actually, it's not.  It may have started that way, but it's
become a language in its own right.  Saying *strong* is not the same thing
as a bold "strong" or an italic "strong," just like an underlined "strong"
isn't the same thing as an italic "strong" (although it's sometimes used
as an approximation).  It's no longer ASCII art, although it may once have
been.  It's punctuation now, just like smilies are, punctuation that
imparts inflection.  I use it as punctuation, and think of it as
punctuation; when I write *strong*, I'm not thinking "I want a bold
'strong' here but I can't do that in plain text."  I'm actually expressing
a verbal inflection, and I read *strong* directly as representing that
verbal inflection.

It may be possible to impart the same inflection ranges via more
traditional typographic techniques, but I think it's a massive and
mistaken simplification to claim that _word_ or *word* is nothing more or
less than an ugly way of indicating underline, italic, or bold.  Over the
past twenty years of on-line culture, it's become it's own thing, separate
from typographical conventions.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>



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

* Re: Indicating hidden threads (Was: Improved (non-annoying) ...)
  2000-05-17 20:13       ` Steinar Bang
@ 2000-05-20  9:26         ` Rade Markovic
  0 siblings, 0 replies; 33+ messages in thread
From: Rade Markovic @ 2000-05-20  9:26 UTC (permalink / raw)


Steinar Bang <sb@metis.no> writes:

> Ah, OK.  When I made the emacs wide enough, I saw that folded threads
> had "..." at the end, which is the common emacs convention for folded
> text. 

This is the best folded threads indicator for me (see X-Gnus-Screenshot)

`t'
     Number of articles in the current sub-thread.  Using this spec
     will slow down summary buffer generation somewhat.



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

end of thread, other threads:[~2000-05-20  9:26 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-16 21:19 Improved (non-annoying) underlining Karl Kleinpaste
2000-05-16 22:03 ` Shenghuo ZHU
2000-05-17 11:41 ` Bill White
2000-05-17 12:09   ` Per Abrahamsen
2000-05-17 12:26     ` Hrvoje Niksic
2000-05-17 15:37       ` Steinar Bang
2000-05-17 12:29     ` Karl Kleinpaste
2000-05-17 12:39       ` Hrvoje Niksic
2000-05-17 12:58         ` Karl Kleinpaste
2000-05-17 13:35           ` François Pinard
2000-05-17 13:55           ` Kai Großjohann
2000-05-17 14:03             ` Karl Kleinpaste
2000-05-17 14:27               ` Alan Shutko
2000-05-17 14:40               ` Kai Großjohann
2000-05-17 14:42                 ` Karl Kleinpaste
2000-05-17 16:00                   ` Yair Friedman (Jerusalem)
2000-05-17 14:08           ` Karl Kleinpaste
2000-05-17 14:32             ` Shenghuo ZHU
2000-05-17 14:29           ` Toby Speight
2000-05-17 15:22           ` Yair Friedman (Jerusalem)
2000-05-19  0:22           ` Russ Allbery
2000-05-19  1:41             ` Karl Kleinpaste
2000-05-19  2:09               ` Dan McGuirk
2000-05-19  4:56               ` Russ Allbery
2000-05-17 13:30   ` François Pinard
2000-05-17 14:28     ` Bill White
2000-05-17 14:33       ` Bill White
2000-05-17 14:34         ` Karl Kleinpaste
2000-05-17 18:05         ` Per Abrahamsen
2000-05-17 15:36   ` Indicating hidden threads (Was: Improved (non-annoying) ...) Steinar Bang
2000-05-17 16:07     ` Bill White
2000-05-17 20:13       ` Steinar Bang
2000-05-20  9:26         ` Rade Markovic

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