[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtextstyle vs Emacs
From: |
Bruno Haible |
Subject: |
Re: libtextstyle vs Emacs |
Date: |
Sat, 01 Aug 2020 18:23:42 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-186-generic; KDE/5.18.0; x86_64; ; ) |
Hi Akim,
> In compilation-mode, Emacs reveals the escape for hyperlinks:
>
> cd ~/src/faveod/rbs_parser/ && make BSN=~/src/gnu/bison/_build/g9d/src/bison
> /Users/akim/src/gnu/bison/_build/g9d/src/bison -o src/Parser.cc src/Parser.ypp
> src/Parser.ypp:270.7-13: avertissement: conflit de type pour l'action par
> défaut: <string> != <>
> []8;id=155289640005abcae1cc42ed00000000;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wother\-Wother]8;;\]
> 270 | | tLIDENT
> | ^~~~~~~
Please, can you provide a reproducible test case? Parser.ypp from
'git clone https://github.com/Shopify/rbs_parser.git' does not give a warning
for me, when bison-3.7 is invoked on it.
> Maybe hyperlinks should be disabled when $EMACS == "t"? This is Emacs 26.3.
Please, can you also give the value of $TERM ? This is the common way to
determine the capabilities of a terminal emulator, not $EMACS.
You should know that
- There is some doc regarding Emacs [1],
- libtextstyle does not assume that hyperlinking is supported if $TERM
starts with "eterm" [2],
- The user can turn off hyperlink output by setting the environment variable
NO_TERM_HYPERLINKS [3].
Bruno
[1]
https://www.gnu.org/software/gettext/libtextstyle/manual/html_node/Emacs.html
[2]
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=blob;f=libtextstyle/gnulib-local/lib/term-ostream.oo.c;h=36d84d31c8db1d9e91d889afa0d9d97244bbfa98;hb=HEAD#l2316
[3]
https://www.gnu.org/software/gettext/libtextstyle/manual/html_node/The-NO_005fTERM_005fHYPERLINKS-variable.html