all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 18686@debbugs.gnu.org
Subject: bug#18686: 25.0.50; incorrect signature in doc string of `create-fontset-from-fontset-spec'
Date: Sat, 11 Oct 2014 00:00:31 -0700 (PDT)	[thread overview]
Message-ID: <9fa26c73-6059-458a-bc75-b9727d90b8a3@default> (raw)

(elisp) `Fontsets' makes it clear that the first arg, FONTSET-SPEC, has
a required part and possibly repeated optional parts:

  This function defines a new fontset according to the specification
  string FONTSET-SPEC.  The string should have this format:

       FONTPATTERN, [CHARSET:FONT]...

The doc string has something completely different, in which perhaps at
least one of the CHARSET:FONT parts is required (?), not optional:

  FONTSET-SPEC is a string of the format:
      FONTSET-NAME,SCRIPT-NAME0:FONT-NAME0,SCRIPT-NAME1:FONT-NAME1, ...

Well, yes, there is `...' at the end, but it is not clear what its scope
is.  Please use unambiguous notation similar to what the manual uses.

And the parts of FONTSET-SPEC are not at all specified. (They are
described in the manual, however.)


In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-06 on LEG570
Bzr revision: 118063 monnier@iro.umontreal.ca-20141006174756-y7ha091r491l1ijw
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
 CPPFLAGS=-DGLYPH_DEBUG=1'





             reply	other threads:[~2014-10-11  7:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-11  7:00 Drew Adams [this message]
2016-04-30 14:15 ` bug#18686: 25.0.50; incorrect signature in doc string of `create-fontset-from-fontset-spec' Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9fa26c73-6059-458a-bc75-b9727d90b8a3@default \
    --to=drew.adams@oracle.com \
    --cc=18686@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.