all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: MON KEY <monkey@sandpframing.com>
To: 7136@debbugs.gnu.org
Subject: bug#7136: Documentation: `completion-in-region-functions' punts to opacity
Date: Wed, 29 Sep 2010 17:15:34 -0400	[thread overview]
Message-ID: <AANLkTimPcJGC7ReF_fhtHC2hn5rNuOGtGH6F_x=OTE9j@mail.gmail.com> (raw)

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\





             reply	other threads:[~2010-09-29 21:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-29 21:15 MON KEY [this message]
2011-07-02 16:08 ` bug#7136: Documentation: `completion-in-region-functions' punts to opacity Lars Magne 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='AANLkTimPcJGC7ReF_fhtHC2hn5rNuOGtGH6F_x=OTE9j@mail.gmail.com' \
    --to=monkey@sandpframing.com \
    --cc=7136@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.