[LyX/master] Amend(1) 689f26d2: Add default path to server pipe (cmake build)

Kornel Benko kornel at lyx.org
Sat Apr 18 20:49:18 UTC 2020


Am Sat, 18 Apr 2020 22:11:36 +0200
schrieb Stephan Witt <st.witt at gmx.net>:

> Yes, it’s possible. But not at the same location. /Applications/LyX.app is 2.3 or 2.4
> but not at the same time. And Skim looks there as I said.
> 
> One can change Skim’s preference to look at some other place -
> but unfortunately there is no automatic solution for this.
> 
> It doesn’t matter what version is used. lyxeditor is able to lookup the pipe location
> to direct the reverse lookup command of Skim to the running LyX instance.

What could be done to make lyxeditor independent is:
Before lyx calls some external program (e.g. Skim), lyx sets an environment variable,
for instance 'LYX_SERVER_PIPE'. Skim may call lyxeditor, and I suppose, the environment
is inherited, so that also lyxeditor gets it.
Instructing lyxeditor to consider it should not be that difficult.

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200418/d1bdae31/attachment-0001.asc>


More information about the lyx-devel mailing list