GNU bug report logs - #12590
24.2.50; doc string of `font-list-limit'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 6 Oct 2012 21:38:02 UTC

Severity: minor

Found in version 24.2.50

Done: Chong Yidong <cyd <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 12590 in the body.
You can then email your comments to 12590 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-gnu-emacs <at> gnu.org:
bug#12590; Package emacs. (Sat, 06 Oct 2012 21:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 06 Oct 2012 21:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.2.50; doc string of `font-list-limit'
Date: Sat, 6 Oct 2012 14:36:39 -0700
This option seems to be limited to integer values (?).  There is no Lisp
defcustom for it (why not - why put this in C code?), so I don't know
what the type is except by experimenting with the edit field and getting
an error saying that it must be an integer.
 
So if it MUST be an integer, why does the doc string say this:
 
 "If an integer > 0,..."
 
Presumably that is distinguish what happens if the value is an integer
less than or equal to zero.  Well, what does happen in that case?
 
Not clear at all, for users.

In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
 of 2012-10-02 on DANI-PC
Bzr revision: 110346 cyd <at> gnu.org-20121002152147-6a46skux2i4t0n2c
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -I../../libs/libxpm-3.5.8/include -I../../libs/libxpm-3.5.8/src
 -I../../libs/libpng-1.4.10 -I../../libs/zlib-1.2.6
 -I../../libs/giflib-4.1.4-1/include -I../../libs/jpeg-6b-4/include
 -I../../libs/tiff-3.8.2-1/include
 -I../../libs/libxml2-2.7.8-w32-bin/include/libxml2
 -I../../libs/gnutls-3.0.16/include
 -I../../libs/libiconv-1.14-2-mingw32-dev/include'
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12590; Package emacs. (Sat, 06 Oct 2012 21:44:01 GMT) Full text and rfc822 format available.

Message #8 received at 12590 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <12590 <at> debbugs.gnu.org>
Subject: RE: bug#12590: 24.2.50; doc string of `font-list-limit'
Date: Sat, 6 Oct 2012 14:43:18 -0700
The doc should also indicate something about performance.  Why might you not
want to set this to 1000000?  IOW, why do we even have a limit as a user option.
The doc should give some guidelines, otherwise it is useless - all users know is
that they can limit the number of fonts that are listed.  Is that really all
there is to it?  If so, why have an option for that?





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12590; Package emacs. (Sat, 06 Oct 2012 21:53:01 GMT) Full text and rfc822 format available.

Message #11 received at 12590 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <12590 <at> debbugs.gnu.org>
Subject: RE: bug#12590: 24.2.50; doc string of `font-list-limit'
Date: Sat, 6 Oct 2012 14:51:59 -0700
It's also unclear which fonts are not listed if there are more available than
the option value.  How is that determined, by font name alphabetically?  If so,
which part of the font name comes first, etc.

Also, the doc in the Elisp manual about this option is no more verbose than that
in the doc string, but it is far more helpful: It says what the option affects.
The doc string is pretty useless as is.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12590; Package emacs. (Tue, 23 Oct 2012 02:43:02 GMT) Full text and rfc822 format available.

Message #14 received at 12590 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 12590 <at> debbugs.gnu.org
Subject: Re: bug#12590: 24.2.50; doc string of `font-list-limit'
Date: Tue, 23 Oct 2012 10:40:03 +0800
"Drew Adams" <drew.adams <at> oracle.com> writes:

> This option seems to be limited to integer values (?).  There is no Lisp
> defcustom for it (why not - why put this in C code?), so I don't know
> what the type is except by experimenting with the edit field and getting
> an error saying that it must be an integer.

Actually, font-list-limit has had no effect since at least Emacs 23.  I
marked it as obsolete.




bug closed, send any further explanations to 12590 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 23 Oct 2012 02:43:02 GMT) Full text and rfc822 format available.

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

This bug report was last modified 12 years and 299 days ago.

Previous Next


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