unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Lack of command highlighting in texinfo-mode
@ 2021-05-06 23:08 Christopher Dimech
  2021-05-06 23:12 ` Emanuel Berg via Users list for the GNU Emacs text editor
  2021-05-07  6:10 ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Christopher Dimech @ 2021-05-06 23:08 UTC (permalink / raw)
  To: Help Gnu Emacs


What code takes care of texinfo highlighting for the following
Contents in @anchor do get highlighted, but there is no highlighting
for most of the others by default.  This makes code very difficult
to introspect.

--------

Colourising inside @anchor
  @anchor{bibl-lin-moschetti-ritzwoller-2008}

Colourising inside @sc
  @sc{Lin, Fan Chi}

Colourising inside @strong
  @strong{Surface wave tomography of the western United States}

Colourising inside @uref
  @uref{http://ciei.colorado.edu/pubs/2008gji.pdf,,[@sc{Complete Article}]}





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

* Re: Lack of command highlighting in texinfo-mode
  2021-05-06 23:08 Lack of command highlighting in texinfo-mode Christopher Dimech
@ 2021-05-06 23:12 ` Emanuel Berg via Users list for the GNU Emacs text editor
  2021-05-07  6:10 ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2021-05-06 23:12 UTC (permalink / raw)
  To: help-gnu-emacs

Christopher Dimech wrote:

> What code takes care of texinfo highlighting for the
> following Contents in @anchor do get highlighted, but there
> is no highlighting for most of the others by default.
> This makes code very difficult to introspect.

`texinfo-font-lock-keywords' perhaps?

-- 
underground experts united
https://dataswamp.org/~incal




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

* Re: Lack of command highlighting in texinfo-mode
  2021-05-06 23:08 Lack of command highlighting in texinfo-mode Christopher Dimech
  2021-05-06 23:12 ` Emanuel Berg via Users list for the GNU Emacs text editor
@ 2021-05-07  6:10 ` Eli Zaretskii
  2021-05-07  6:19   ` Christopher Dimech
  1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2021-05-07  6:10 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Christopher Dimech <dimech@gmx.com>
> Date: Fri, 7 May 2021 01:08:23 +0200
> 
> 
> What code takes care of texinfo highlighting for the following
> Contents in @anchor do get highlighted, but there is no highlighting
> for most of the others by default.  This makes code very difficult
> to introspect.

You want texinfo-font-lock-keywords, I think.



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

* Re: Lack of command highlighting in texinfo-mode
  2021-05-07  6:10 ` Eli Zaretskii
@ 2021-05-07  6:19   ` Christopher Dimech
  2021-05-07  6:28     ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Dimech @ 2021-05-07  6:19 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs


Yes, but why don't we change texinfo.tex so there will be some good highlighting
by default.

---------------------
Christopher Dimech
General Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy


> Sent: Friday, May 07, 2021 at 6:10 PM
> From: "Eli Zaretskii" <eliz@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Lack of command highlighting in texinfo-mode
>
> > From: Christopher Dimech <dimech@gmx.com>
> > Date: Fri, 7 May 2021 01:08:23 +0200
> >
> >
> > What code takes care of texinfo highlighting for the following
> > Contents in @anchor do get highlighted, but there is no highlighting
> > for most of the others by default.  This makes code very difficult
> > to introspect.
>
> You want texinfo-font-lock-keywords, I think.
>
>



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

* Re: Lack of command highlighting in texinfo-mode
  2021-05-07  6:19   ` Christopher Dimech
@ 2021-05-07  6:28     ` Eli Zaretskii
  2021-05-07  6:50       ` Christopher Dimech
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2021-05-07  6:28 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Christopher Dimech <dimech@gmx.com>
> Cc: help-gnu-emacs@gnu.org
> Date: Fri, 7 May 2021 08:19:36 +0200
> 
> Yes, but why don't we change texinfo.tex so there will be some good highlighting
> by default.

Because no one had that issue itching enough to be scratched, I
suppose?



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

* Re: Lack of command highlighting in texinfo-mode
  2021-05-07  6:28     ` Eli Zaretskii
@ 2021-05-07  6:50       ` Christopher Dimech
  0 siblings, 0 replies; 6+ messages in thread
From: Christopher Dimech @ 2021-05-07  6:50 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs

I know that Protesilaos Stavrou is an expert in the field of "Accessible Themes".
We have a good opportunity here, so that major modes in emacs get a face that
helps readability using some pretty good metrics.

> Sent: Friday, May 07, 2021 at 6:28 PM
> From: "Eli Zaretskii" <eliz@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Lack of command highlighting in texinfo-mode
>
> > From: Christopher Dimech <dimech@gmx.com>
> > Cc: help-gnu-emacs@gnu.org
> > Date: Fri, 7 May 2021 08:19:36 +0200
> >
> > Yes, but why don't we change texinfo.tex so there will be some good highlighting
> > by default.
>
> Because no one had that issue itching enough to be scratched, I
> suppose?
>
>



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

end of thread, other threads:[~2021-05-07  6:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-06 23:08 Lack of command highlighting in texinfo-mode Christopher Dimech
2021-05-06 23:12 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-07  6:10 ` Eli Zaretskii
2021-05-07  6:19   ` Christopher Dimech
2021-05-07  6:28     ` Eli Zaretskii
2021-05-07  6:50       ` Christopher Dimech

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