unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: scame <laszlomail@protonmail.com>
Cc: 46926@debbugs.gnu.org
Subject: bug#46926: Remove the quotes from highlighted/linked symbols when displaying docs
Date: Thu, 04 Mar 2021 20:36:13 +0200	[thread overview]
Message-ID: <83y2f2zrz6.fsf@gnu.org> (raw)
In-Reply-To: <_H0XqIXt1dfP3H0t7B5ffiqUQfbMsO6VjonudikF85OIm5y8BWOkrXn4_dedZzvdxv4o5Ug2rhFkFqAqNuS9-XIKRsSy2P4IBrBE5QMtK9I=@protonmail.com> (message from scame on Thu, 04 Mar 2021 17:50:27 +0000)

> Date: Thu, 04 Mar 2021 17:50:27 +0000
> From: scame <laszlomail@protonmail.com>
> Cc: "46926@debbugs.gnu.org" <46926@debbugs.gnu.org>
> 
> >
> > Help buffers do, but where did you see that in Info? Can you show an
> > example?
> 
> Info does not link, but highlight symbols.

By "highlight", do you mean the special face we use there?  If so,
that's not highlighting.

> BTW, why symbols in info are not linked to their index entries?
> E.g. the user could press Enter on a highlighted symbol to quickly
> look it up. Why isn't this a thing?

I believe this was discussed recently.  But it's a different issue;
the Info manuals provide cross-references where the author thought
they are needed.

> > I disagree. The quotes indicate that it's a symbol, the link face
> > indicates that we have more information about that symbol elsewhere.
> > These are two orthogonal indications, so they complete each other, not
> > contradict.
> 
> Well, is this a symbol?  Example from Elisp info:
> 
> ‘(DISPLAY PLIST)’
> 
> or
> 
> ‘(:foreground "red" :weight bold)’

How is this related to the issue at hand?

> These have the face Info-quoted like quoted symbols in Info. So the face
> indicates this is a quoted entity (not necessarily a symbol).

We could discuss whether the face alone is enough in Info.  My
personal opinion is that it isn't enough: the face we use there
doesn't guarantee any highlighting, because the user could customize
the face to be anything but.

> If we have a face Info-quoted then there is no need for the quotes, because
> the quotes are only text markups which are translated to a face, so the quoted
> part is highlighted for the user, there is no point in leaving the markup there.

I don't think I agree, but maybe someone else will have an opinion?

And what about Help buffers?





  reply	other threads:[~2021-03-04 18:36 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04 16:57 bug#46926: Remove the quotes from highlighted/linked symbols when displaying docs scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-04 17:19 ` Eli Zaretskii
2021-03-04 17:50   ` scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-04 18:36     ` Eli Zaretskii [this message]
2021-03-04 19:08       ` bug#46926: [External] : " Drew Adams
2021-03-04 20:23       ` Lars Ingebrigtsen
2021-03-04 21:40         ` bug#46926: [External] : " Drew Adams
2021-03-12  1:38         ` Stefan Kangas
2021-03-13  5:50           ` Richard Stallman
2021-03-13  6:08             ` scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-13  7:02               ` Stefan Kangas
2021-03-13  7:44                 ` scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-13  7:43               ` Eli Zaretskii
2021-03-13  7:51                 ` scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-13  8:39                   ` Eli Zaretskii
2021-03-13 16:24                     ` scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-13 16:36                       ` Eli Zaretskii
2021-03-13 17:05                         ` scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-13 17:08                           ` Eli Zaretskii
2021-03-15 17:28                             ` Dmitry Gutov
2021-03-15 17:51                               ` Eli Zaretskii
2021-03-15 23:20                                 ` Dmitry Gutov
2021-03-16  2:37                                   ` Stefan Kangas
2021-03-16  3:36                                     ` Eli Zaretskii
2021-03-16  3:51                                       ` Stefan Kangas
2021-03-16 12:36                                         ` Eli Zaretskii
2021-03-16 13:01                                           ` Gregory Heytings
2021-03-16 13:28                                             ` Eli Zaretskii
2021-03-16 16:27                                               ` Gregory Heytings
2021-03-16 23:12                                           ` Lars Ingebrigtsen
2021-03-17  6:00                                             ` scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-17 13:09                                               ` Eli Zaretskii
2021-03-17 15:53                                               ` bug#46926: [External] : " Drew Adams
2021-03-16 15:41                                       ` Dmitry Gutov
2021-03-16 18:44                                         ` Eli Zaretskii
2021-03-16  3:32                                   ` Eli Zaretskii
2021-03-16 15:45                                     ` Dmitry Gutov
2021-03-16 15:49                                       ` scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-20  0:25                             ` Lars Ingebrigtsen
2021-03-13 17:06                       ` Stefan Kangas
2021-03-13 18:27                         ` scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-14  6:02               ` Richard Stallman
2021-03-04 20:31       ` scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-04 17:58 ` bug#46926: [External] : " Drew Adams
2021-03-04 18:40   ` scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-04 19:26     ` Drew Adams
2021-03-04 20:36       ` scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-06  5:11 ` Richard Stallman
2021-03-14 20:36 ` bug#46926: Remove quotes from the highlighted symbols list Aleksandr Petrosyan

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y2f2zrz6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=46926@debbugs.gnu.org \
    --cc=laszlomail@protonmail.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.
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).