unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* New underlining of xrefs in Info.
@ 2004-10-17 21:18 Luc Teirlinck
  2004-10-18 11:27 ` Kim F. Storm
  0 siblings, 1 reply; 4+ messages in thread
From: Luc Teirlinck @ 2004-10-17 21:18 UTC (permalink / raw)


Do:

emacs -q
C-h i
g (elisp)Functions for Key Lookup RET

     Unlike `read-key-sequence', this function does not modify the
     specified events in ways that discard information (*note Key
     Sequence Input::).  In particular, it does not convert letters to
     lower case and it does not change drag events to clicks.

This is killed and yanked and thus changed.  You will see `(see Key
     Sequence Input)

with `Key Sequence Input' underlined.  Fine.  But the indentation at
the beginning of the line is underlined too.  There are tons of
similar occurrences all over the place.  Am I the only one who feels
that this looks weird?  It is true that if you press RET inside the
indentation, you _will_ follow the reference, so maybe it is
intentional.

Sincerely,

Luc.

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

* Re: New underlining of xrefs in Info.
  2004-10-17 21:18 New underlining of xrefs in Info Luc Teirlinck
@ 2004-10-18 11:27 ` Kim F. Storm
  2004-10-18 13:22   ` Thien-Thi Nguyen
  2004-10-19  6:13   ` Richard Stallman
  0 siblings, 2 replies; 4+ messages in thread
From: Kim F. Storm @ 2004-10-18 11:27 UTC (permalink / raw)
  Cc: emacs-devel

Luc Teirlinck <teirllm@dms.auburn.edu> writes:

> Do:
>
> emacs -q
> C-h i
> g (elisp)Functions for Key Lookup RET
>
>      Unlike `read-key-sequence', this function does not modify the
>      specified events in ways that discard information (*note Key
>      Sequence Input::).  In particular, it does not convert letters to
>      lower case and it does not change drag events to clicks.
>
> This is killed and yanked and thus changed.  You will see `(see Key
>      Sequence Input)
>
> with `Key Sequence Input' underlined.  Fine.  But the indentation at
> the beginning of the line is underlined too.  There are tons of
> similar occurrences all over the place.  Am I the only one who feels
> that this looks weird?  It is true that if you press RET inside the
> indentation, you _will_ follow the reference, so maybe it is
> intentional.

If the face of the space has underline property, the spaces are underlined.

Maybe we need a different type of underline that only underlines non-space
characters.  That wouldn't be too difficult I think.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

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

* Re: New underlining of xrefs in Info.
  2004-10-18 11:27 ` Kim F. Storm
@ 2004-10-18 13:22   ` Thien-Thi Nguyen
  2004-10-19  6:13   ` Richard Stallman
  1 sibling, 0 replies; 4+ messages in thread
From: Thien-Thi Nguyen @ 2004-10-18 13:22 UTC (permalink / raw)


storm@cua.dk (Kim F. Storm) writes:

   That wouldn't be too difficult I think.

another way (the one i just installed in `Info-fontify-node') is to look
for newlines surrounded by whitespace, and unfontify only that portion.

thi

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

* Re: New underlining of xrefs in Info.
  2004-10-18 11:27 ` Kim F. Storm
  2004-10-18 13:22   ` Thien-Thi Nguyen
@ 2004-10-19  6:13   ` Richard Stallman
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2004-10-19  6:13 UTC (permalink / raw)
  Cc: teirllm, emacs-devel

    > This is killed and yanked and thus changed.  You will see `(see Key
    >      Sequence Input)
    >
    > with `Key Sequence Input' underlined.  Fine.  But the indentation at
    > the beginning of the line is underlined too.  There are tons of
    > similar occurrences all over the place.  Am I the only one who feels
    > that this looks weird?  It is true that if you press RET inside the
    > indentation, you _will_ follow the reference, so maybe it is
    > intentional.

    If the face of the space has underline property, the spaces are underlined.

    Maybe we need a different type of underline that only underlines non-space
    characters.  That wouldn't be too difficult I think.

What about space characters in the middle of the name?  Do we
want them not to be underlined?

If we want to make this change, we could just leave the property off
the spaces we don't want to be underlined--right?

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

end of thread, other threads:[~2004-10-19  6:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-17 21:18 New underlining of xrefs in Info Luc Teirlinck
2004-10-18 11:27 ` Kim F. Storm
2004-10-18 13:22   ` Thien-Thi Nguyen
2004-10-19  6:13   ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).