unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12850: 24.2; wrong doc for metadata
@ 2012-11-10  1:46 Leo
  2012-11-10  2:20 ` bug#12850: [PATCH] " Leo
  0 siblings, 1 reply; 3+ messages in thread
From: Leo @ 2012-11-10  1:46 UTC (permalink / raw)
  To: 12850

,----[ (info "(elisp)Programmed Completion") ]
|     `metadata'
|           This specifies a request for information about the state of
|           the current completion.  The function should return an alist,
|           as described below.  The alist may contain any number of
|           elements.
`----

It seems the function should return '(meta . ALIST).

Leo





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#12850: [PATCH] Re: bug#12850: 24.2; wrong doc for metadata
  2012-11-10  1:46 bug#12850: 24.2; wrong doc for metadata Leo
@ 2012-11-10  2:20 ` Leo
  2012-11-17  7:46   ` Chong Yidong
  0 siblings, 1 reply; 3+ messages in thread
From: Leo @ 2012-11-10  2:20 UTC (permalink / raw)
  To: 12850

On 2012-11-10 09:46 +0800, Leo wrote:
> It seems the function should return '(meta . ALIST).

something like:


=== modified file 'doc/lispref/minibuf.texi'
--- doc/lispref/minibuf.texi	2012-10-27 05:03:52 +0000
+++ doc/lispref/minibuf.texi	2012-11-10 02:18:06 +0000
@@ -1710,8 +1710,9 @@
 
 @item metadata
 This specifies a request for information about the state of the
-current completion.  The function should return an alist, as described
-below.  The alist may contain any number of elements.
+current completion.  The function should return @code{(metadata
+. @var{alist})}, where @var{alist} is described below.  The
+@var{alist} may contain any number of elements.
 @end table
 
 @noindent







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#12850: [PATCH] Re: bug#12850: 24.2; wrong doc for metadata
  2012-11-10  2:20 ` bug#12850: [PATCH] " Leo
@ 2012-11-17  7:46   ` Chong Yidong
  0 siblings, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2012-11-17  7:46 UTC (permalink / raw)
  To: Leo; +Cc: 12850

Leo <sdl.web@gmail.com> writes:

> something like:
>
> === modified file 'doc/lispref/minibuf.texi'
> --- doc/lispref/minibuf.texi	2012-10-27 05:03:52 +0000
> +++ doc/lispref/minibuf.texi	2012-11-10 02:18:06 +0000

Looks fine.  Committed to emacs-24, thanks.






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-17  7:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-10  1:46 bug#12850: 24.2; wrong doc for metadata Leo
2012-11-10  2:20 ` bug#12850: [PATCH] " Leo
2012-11-17  7:46   ` Chong Yidong

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).