GNU bug report logs - #1524
23.0.60; gs.el - This code is experimental. Don't use it.

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Tue, 9 Dec 2008 21:40:03 UTC

Severity: minor

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1524 in the body.
You can then email your comments to 1524 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1524; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; gs.el - This code is experimental.  Don't use it.
Date: Tue, 09 Dec 2008 21:32:25 +0000
Hi there,

I really have no idea what gs.el does. The code looks sketchy leading me
to believe the comment in its header actually is true.

  This code is experimental.  Don't use it.

Bye,
-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .: I use Emacs :.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1524; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 1524 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: emacs-devel <at> gnu.org
Cc: Leo <sdl.web <at> gmail.com>, 1524 <at> debbugs.gnu.org
Subject: Re: 23.0.60; gs.el - This code is experimental.  Don't use it.
Date: Tue, 09 Dec 2008 18:51:24 -0500
> I really have no idea what gs.el does. The code looks sketchy leading me
> to believe the comment in its header actually is true.
>
>   This code is experimental.  Don't use it.

Looks like cruft to me too.

Does anyone object to removing this file?




Severity set to `minor' from `normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 10 Dec 2008 02:30:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1524; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to bojohan+news <at> dd.chalmers.se (Johan Bockgård):
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #17 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: bojohan+news <at> dd.chalmers.se (Johan Bockgård)
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#1524: 23.0.60; gs.el - This code is experimental.  Don't use it.
Date: Thu, 11 Dec 2008 19:58:59 +0100
Chong Yidong <cyd <at> stupidchicken.com> writes:

>> I really have no idea what gs.el does. The code looks sketchy leading me
>> to believe the comment in its header actually is true.
>>
>>   This code is experimental.  Don't use it.
>
> Looks like cruft to me too.

It is the implementation of this feature:

  (info "(elisp) PostScript Images")






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1524; Package emacs. (Sat, 10 Jan 2009 05:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 10 Jan 2009 05:20:02 GMT) Full text and rfc822 format available.

Message #22 received at 1524 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: emacs-devel <at> gnu.org, 1524 <at> debbugs.gnu.org
Subject: Re: 23.0.60; gs.el - This code is experimental.  Don't use it.
Date: Sat, 10 Jan 2009 05:10:18 +0000
On 2008-12-09 23:51 +0000, Chong Yidong wrote:
>> I really have no idea what gs.el does. The code looks sketchy leading me
>> to believe the comment in its header actually is true.
>>
>>   This code is experimental.  Don't use it.
>
> Looks like cruft to me too.
>
> Does anyone object to removing this file?

I think it is safe to remove (info "(elisp)PostScript Images") and gs.el
now that over a month has passed.

Best,

Leo




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1524; Package emacs. (Sat, 10 Jan 2009 13:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 10 Jan 2009 13:30:03 GMT) Full text and rfc822 format available.

Message #27 received at 1524 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Leo <sdl.web <at> gmail.com>
Cc: emacs-devel <at> gnu.org, 1524 <at> debbugs.gnu.org
Subject: Re: 23.0.60; gs.el - This code is experimental.  Don't use it.
Date: Sat, 10 Jan 2009 08:22:56 -0500
Leo <sdl.web <at> gmail.com> writes:

> I think it is safe to remove (info "(elisp)PostScript Images") and
> gs.el now that over a month has passed.

It's used in image.c.  We should probably try to fix it if it doesn't
work properly.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1524; Package emacs. (Sun, 11 Jan 2009 04:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 11 Jan 2009 04:00:04 GMT) Full text and rfc822 format available.

Message #32 received at 1524 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 1524 <at> debbugs.gnu.org, emacs-devel <at> gnu.org
Subject: Re: 23.0.60; gs.el - This code is experimental.  Don't use it.
Date: Sun, 11 Jan 2009 03:51:11 +0000
On 2009-01-10 13:22 +0000, Chong Yidong wrote:
> Leo <sdl.web <at> gmail.com> writes:
>
>> I think it is safe to remove (info "(elisp)PostScript Images") and
>> gs.el now that over a month has passed.
>
> It's used in image.c.  We should probably try to fix it if it doesn't
> work properly.

I don't use it so I don't know whether it has bugs. I suspect it
has. But I'm mostly concerned by the comment in the source which advise
users not to use it.

Best,

Leo




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1524; Package emacs. (Sun, 11 Jan 2009 15:05:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 11 Jan 2009 15:05:04 GMT) Full text and rfc822 format available.

Message #37 received at 1524 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Leo <sdl.web <at> gmail.com>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, 1524 <at> debbugs.gnu.org,
        emacs-devel <at> gnu.org, kastrup <at> gnu.org
Subject: Re: 23.0.60; gs.el - This code is experimental.  Don't use it.
Date: Sun, 11 Jan 2009 09:57:39 -0500
>>> I think it is safe to remove (info "(elisp)PostScript Images") and
>>> gs.el now that over a month has passed.
>> It's used in image.c.  We should probably try to fix it if it doesn't
>> work properly.
> I don't use it so I don't know whether it has bugs. I suspect it
> has. But I'm mostly concerned by the comment in the source which advise
> users not to use it.

IIRC David Kastrup would know how broken it is.


        Stefan




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1524; Package emacs. (Wed, 04 Feb 2009 16:05:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> googlemail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 04 Feb 2009 16:05:07 GMT) Full text and rfc822 format available.

Message #42 received at 1524 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Leo <sdl.web <at> googlemail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Leo <sdl.web <at> gmail.com>, Chong Yidong <cyd <at> stupidchicken.com>,
        1524 <at> debbugs.gnu.org, emacs-devel <at> gnu.org, kastrup <at> gnu.org
Subject: Re: 23.0.60; gs.el - This code is experimental. Don't use it.
Date: Wed, 4 Feb 2009 15:56:27 +0000
2009/1/11 Stefan Monnier <monnier <at> iro.umontreal.ca>:
>>>> I think it is safe to remove (info "(elisp)PostScript Images") and
>>>> gs.el now that over a month has passed.
>>> It's used in image.c.  We should probably try to fix it if it doesn't
>>> work properly.
>> I don't use it so I don't know whether it has bugs. I suspect it
>> has. But I'm mostly concerned by the comment in the source which advise
>> users not to use it.
>
> IIRC David Kastrup would know how broken it is.

Ping?

>        Stefan
>




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1524; Package emacs. (Wed, 04 Feb 2009 16:25:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 04 Feb 2009 16:25:04 GMT) Full text and rfc822 format available.

Message #47 received at 1524 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, dak <at> gnu.org,
        1524 <at> debbugs.gnu.org, emacs-devel <at> gnu.org
Subject: Re: 23.0.60; gs.el - This code is experimental.  Don't use it.
Date: Wed, 04 Feb 2009 16:16:51 +0000
On 2009-01-11 14:57 +0000, Stefan Monnier wrote:
[...]
> IIRC David Kastrup would know how broken it is.

Here is David's response.

------------------------------------------------
Leo <sdl.web <at> googlemail.com> writes:

> 2009/1/11 Stefan Monnier <monnier <at> iro.umontreal.ca>:
>>>>> I think it is safe to remove (info "(elisp)PostScript Images") and
>>>>> gs.el now that over a month has passed.
>>>> It's used in image.c.  We should probably try to fix it if it
>doesn't
>>>> work properly.
>>> I don't use it so I don't know whether it has bugs. I suspect it
>>> has. But I'm mostly concerned by the comment in the source which
>advise
>>> users not to use it.
>>
>> IIRC David Kastrup would know how broken it is.
>
> Stefan's email sent an email address of yours which is no longer in
> use. Could you comment this in emacs-devel mailing list?

Pass it on if you want to.  There are a lot of problems due to
Ghostscript rendering directly to Pixmaps.  Every image is rendered with
its own Ghostscript process, but the parameter passing requires X
properties as a global resource.  This is done once per Ghostscript
session and includes the display dimensions, so it can't really be
extended to multiple image rendering without further Ghostscript API
changes.

The display code triggering the display is rather asynchronous: I've not
been able figuring out how it is rooted in the bowels of the display
engine.

In practice, it worked more or less for a single image rendering per
Emacs session.  It doesn't scale at all.  Serious work both in
Ghostscript as well as in Emacs would be required to make this a smooth
working feature, and I see no candidate for either.
------------------------------------------------




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Mon, 12 Dec 2016 22:21:02 GMT) Full text and rfc822 format available.

Notification sent to Leo <sdl.web <at> gmail.com>:
bug acknowledged by developer. (Mon, 12 Dec 2016 22:21:02 GMT) Full text and rfc822 format available.

Message #52 received at 1524-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 1524-done <at> debbugs.gnu.org
Subject: Re: bug#1524: 23.0.60;
 gs.el - This code is experimental.  Don't use it.
Date: Mon, 12 Dec 2016 17:20:29 -0500
Version: 26.1

In 3c65523 I obsoleted it (which breaks it, since obsolete files aren't
scanned for autoloads. I've never seen it used.) I think ImageMagick
images can do whatever this did, better.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 10 Jan 2017 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 164 days ago.

Previous Next


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