unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7136: Documentation: `completion-in-region-functions' punts to opacity
@ 2010-09-29 21:15 MON KEY
  2011-07-02 16:08 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: MON KEY @ 2010-09-29 21:15 UTC (permalink / raw)
  To: 7136

Docstring of variable `completion-in-region-functions' has this:

,----
| NEXT-FUN is a function of four arguments (START END COLLECTION PREDICATE)
| that performs the default operation.  The other four arguments are like
| the ones passed to `completion-in-region'.
`----

The punting in the second sentence above (e.g. "The other four") is
not helpful in the least.  The fourth arg PREDICATE is not documented
in `completion-in-region'.

Examining the source for `completion-in-region' one finds its first
evaluated form is a call to the `with-wrapper-hook' macro with
`completion-in-region-functions' as its first arg.

That `with-wrapper-hook' is itself recursive `labels' call with lexical
closures over its args renders the `completion-in-region-functions'
docstring completely opaque.

--
/s_P\





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

* bug#7136: Documentation: `completion-in-region-functions' punts to opacity
  2010-09-29 21:15 bug#7136: Documentation: `completion-in-region-functions' punts to opacity MON KEY
@ 2011-07-02 16:08 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-02 16:08 UTC (permalink / raw)
  To: MON KEY; +Cc: 7136

MON KEY <monkey@sandpframing.com> writes:

> | NEXT-FUN is a function of four arguments (START END COLLECTION PREDICATE)
> | that performs the default operation.  The other four arguments are like
> | the ones passed to `completion-in-region'.
> `----
>
> The punting in the second sentence above (e.g. "The other four") is
> not helpful in the least.  The fourth arg PREDICATE is not documented
> in `completion-in-region'.

I've now documented that argument in `completion-in-region'.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





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

end of thread, other threads:[~2011-07-02 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-29 21:15 bug#7136: Documentation: `completion-in-region-functions' punts to opacity MON KEY
2011-07-02 16:08 ` Lars Magne Ingebrigtsen

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).