GNU bug report logs - #35571
12.1; Changing foreground breaks previews

Previous Next

Package: auctex;

Reported by: Gennady Uraltsev <gennady.uraltsev <at> gmail.com>

Date: Sun, 5 May 2019 01:47:01 UTC

Severity: normal

Tags: fixed

Merged with 35696, 36039

Found in version 12.1

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: David Kastrup <dak <at> gnu.org>
To: Ikumi Keita <ikumi <at> ikumi.que.jp>
Cc: Hua Wang <hackitforfun <at> gmail.com>, 35571 <at> debbugs.gnu.org, 35696 <at> debbugs.gnu.org, Arash Esbati <arash <at> gnu.org>, Gennady Uraltsev <gennady.uraltsev <at> gmail.com>
Subject: bug#35571: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews
Date: Sun, 26 May 2019 12:42:11 +0200
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:

> Hi David,
>
>>>>>> David Kastrup <dak <at> gnu.org> writes:
>> The usual "oh, we decided change is good and clobbered over the previous
>> API."  Presumably one of the listed hooks can be used instead, possibly
>> mimicking what the mentioned patch does to lib/pdf2dsc.ps .
>
> Are you thinking that it isn't fruitful to follow up the development of
> ghostscript every time incompatible change is introduced?

No since the changes tend to be completely arbitrary.  It's absolutely
not fruitful but exasperating.  That doesn't mean that it's not
necessary.

In this particular case, this is partly related to _not_ using
GhostScript as PDF interpreter but instead using pdftodsc and then
working with the resulting not-quite-standard PostScript.  This
minimises the amount of knowledge and code required to make this work
but necessitates working with interfaces of Ghostscript that its
developers feel no obligation to provide some consistency for.

Changing the operation in a manner foregoing pdftodsc would likely make
preview-latex less vulnerable to this kind of recurring API change.

-- 
David Kastrup




This bug report was last modified 5 years and 308 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.