GNU bug report logs - #35240
(elisp manual) typo in image-size function's description

Previous Next

Package: emacs;

Reported by: Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>

Date: Fri, 12 Apr 2019 02:10:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>
Subject: bug#35240: closed (Re: bug#35240: (elisp manual) typo in
 image-size function's description)
Date: Fri, 12 Apr 2019 18:48:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#35240: (elisp manual) typo in image-size function's description

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 35240 <at> debbugs.gnu.org.

-- 
35240: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35240
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>
Cc: 35240-done <at> debbugs.gnu.org
Subject: Re: bug#35240: (elisp manual) typo in image-size function's
 description
Date: Fri, 12 Apr 2019 21:47:21 +0300
> From: Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>
> Date: Fri, 12 Apr 2019 11:08:59 +0900
> 
> Elisp manual(desiplay.texi) says
> 
> http://git.savannah.gnu.org/cgit/emacs.git/tree/doc/lispref/display.texi#n5912
> 
> — Function: image-size spec &optional pixels frame
> 
>  This function returns the size of an image as a pair (width . height).spec is an image specification. pixels
>  non-nil means return sizes measured in pixels, otherwise return sizes measured in the default
>  character size of frame (see Frame Font). frame is the frame on which the image will be displayed.
>  frame null or omitted means use the selected frame (see Input Focus).
> 
> ,but I think 'null' was intended meaning 'nil'.

Thanks, fixed.

[Message part 3 (message/rfc822, inline)]
From: Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: (elisp manual) typo in image-size function's description
Date: Fri, 12 Apr 2019 11:08:59 +0900
[Message part 4 (text/plain, inline)]
Hi list's members.

Elisp manual(desiplay.texi) says

http://git.savannah.gnu.org/cgit/emacs.git/tree/doc/lispref/display.texi#n5912

— Function: *image-size* spec &optional pixels frame

This function returns the size of an image as a pair (width . height).spec is
an image specification. pixels non-nil means return sizes measured in
pixels, otherwise return sizes measured in the default character size of
frame (see Frame Font
<https://www.gnu.org/software/emacs/manual/html_node/elisp/Frame-Font.html#Frame-Font>
). frame is the frame on which the image will be displayed. frame null or
omitted means use the selected frame (see Input Focus
<https://www.gnu.org/software/emacs/manual/html_node/elisp/Input-Focus.html#Input-Focus>
).

,but I think 'null' was intended meaning 'nil'.

Thanks.
[Message part 5 (text/html, inline)]

This bug report was last modified 6 years and 38 days ago.

Previous Next


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