GNU bug report logs -
#11036
24.0.94; imagemagick-render-type is void as a variable
Previous Next
Reported by: Leo <sdl.web <at> gmail.com>
Date: Sat, 17 Mar 2012 03:39:01 UTC
Severity: minor
Tags: patch
Found in version 24.0.94
Fixed in version 24.2
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 11036 in the body.
You can then email your comments to 11036 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
cyd <at> stupidchicken.com, bug-gnu-emacs <at> gnu.org
:
bug#11036
; Package
emacs
.
(Sat, 17 Mar 2012 03:39:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo <sdl.web <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
cyd <at> stupidchicken.com, bug-gnu-emacs <at> gnu.org
.
(Sat, 17 Mar 2012 03:39:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
My emacs is built without imagemagick support and I am seeing this:
imagemagick-render-type is a variable defined in `C source code'.
It is void as a variable.
Documentation:
Integer indicating which ImageMagick rendering method to use.
The options are:
0 -- the default method (pixel pushing)
1 -- a newer method ("MagickExportImagePixels") that may perform
better (speed etc) in some cases, but has not been as thoroughly
tested with Emacs as the default method. This method requires
ImageMagick version 6.4.6 (approximately) or later.
Leo
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11036
; Package
emacs
.
(Sat, 17 Mar 2012 09:24:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 11036 <at> debbugs.gnu.org (full text, mbox):
> From: Leo <sdl.web <at> gmail.com>
> Date: Sat, 17 Mar 2012 11:07:10 +0800
>
> My emacs is built without imagemagick support and I am seeing this:
>
> imagemagick-render-type is a variable defined in `C source code'.
> It is void as a variable.
>
> Documentation:
> Integer indicating which ImageMagick rendering method to use.
> The options are:
> 0 -- the default method (pixel pushing)
> 1 -- a newer method ("MagickExportImagePixels") that may perform
> better (speed etc) in some cases, but has not been as thoroughly
> tested with Emacs as the default method. This method requires
> ImageMagick version 6.4.6 (approximately) or later.
Why do you consider this a problem?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11036
; Package
emacs
.
(Sat, 17 Mar 2012 13:42:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 11036 <at> debbugs.gnu.org (full text, mbox):
On 2012-03-17 16:52 +0800, Eli Zaretskii wrote:
> Why do you consider this a problem?
Do you see other void variables show up in C-h v?
Leo
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11036
; Package
emacs
.
(Sat, 17 Mar 2012 19:08:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 11036 <at> debbugs.gnu.org (full text, mbox):
Leo wrote:
> On 2012-03-17 16:52 +0800, Eli Zaretskii wrote:
>> Why do you consider this a problem?
>
> Do you see other void variables show up in C-h v?
x-resource-name in a build without-x, for example.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11036
; Package
emacs
.
(Sat, 17 Mar 2012 19:25:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 11036 <at> debbugs.gnu.org (full text, mbox):
I guess it is because Snarf-documentation does not understand #ifdefs.
See also http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg01545.html .
In this case, the symbol imagemagick-render-type appears in cus-start.el.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11036
; Package
emacs
.
(Tue, 20 Mar 2012 21:38:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 11036 <at> debbugs.gnu.org (full text, mbox):
Obviously not for 24.1, but the following seems to work.
Anything that is in DOC should be defined at startup if relevant to the
platform in use.
I compared the results of `C-h f TAB' and `C-h v TAB' with and without
this change, and it just removes a few more void things.
Eg for me, the variables: motif-version-string, gtk-version-string,
ns-initialized.
*** src/doc.c 2012-02-06 16:53:51 +0000
--- src/doc.c 2012-03-20 20:50:48 +0000
***************
*** 671,676 ****
--- 671,677 ----
/* Install file-position as variable-documentation property
and make it negative for a user-variable
(doc starts with a `*'). */
+ if (!NILP (Fboundp (sym)))
Fput (sym, Qvariable_documentation,
make_number ((pos + end + 1 - buf)
* (end[1] == '*' ? -1 : 1)));
***************
*** 678,685 ****
/* Attach a docstring to a function? */
else if (p[1] == 'F')
store_function_docstring (sym, pos + end + 1 - buf);
!
else if (p[1] == 'S')
; /* Just a source file name boundary marker. Ignore it. */
--- 679,688 ----
/* Attach a docstring to a function? */
else if (p[1] == 'F')
+ {
+ if (!NILP (Ffboundp (sym)))
store_function_docstring (sym, pos + end + 1 - buf);
! }
else if (p[1] == 'S')
; /* Just a source file name boundary marker. Ignore it. */
Added tag(s) pending and patch.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 20 Mar 2012 21:38:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11036
; Package
emacs
.
(Wed, 21 Mar 2012 00:28:02 GMT)
Full text and
rfc822 format available.
Message #25 received at submit <at> debbugs.gnu.org (full text, mbox):
On 2012-03-21 05:06 +0800, Glenn Morris wrote:
> Obviously not for 24.1, but the following seems to work.
> Anything that is in DOC should be defined at startup if relevant to the
> platform in use.
Thank you for fixing this.
Leo
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Mon, 09 Apr 2012 20:46:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Leo <sdl.web <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 09 Apr 2012 20:46:02 GMT)
Full text and
rfc822 format available.
Message #30 received at 11036-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.2
Patch applied to trunk.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 08 May 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 123 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.