emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Unclear org-icompleting-read interface
Date: Thu, 25 Jun 2015 18:39:06 +0200	[thread overview]
Message-ID: <871tgzlp3p.fsf@gmx.us> (raw)
In-Reply-To: 87y4j7wy0w.fsf@nicolasgoaziou.fr

Hi,

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Rasmus <rasmus@gmx.us> writes:
>
>> I agree.  It's confusing how the docstring and the λ is written, but it's
>> just a "front-end" for completing-read.  A reference to completing-read
>> should be added to the docstring.
>
> Isn't it already the case?

I don't know.  I have been saying stupid things recently.  Lack of sleep
is probably the reason, but I like to think that somehow my org version is
messed up.


     org-icompleting-read is a compiled Lisp function in /usr/share/emacs/site-lisp/org/

     (org-icompleting-read &rest ARGS)

     Completing-read using ‘ido-mode’ or ‘iswitchb’ speedups if available.

A lot of older org functions have terrible documentation.  I had to study
the code, several calls of org-icompleting-read, and completion-read to
understand what it was doing.

>> That was my "feeling" about org-icompleting-read as well last time I
>> looked at it (also a message by Oleh).  For org 8.4 we can also get rid of
>> all the iswitchb stuff.  Good times ahead...
>
> Indeed. Can't wait...

Me to.  I hope I will have more time in Eternal September.

Rasmus

-- 
May the Force be with you

      reply	other threads:[~2015-06-25 16:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-25 13:15 Unclear org-icompleting-read interface Oleh Krehel
2015-06-25 13:51 ` Nicolas Goaziou
2015-06-25 14:23   ` Oleh Krehel
2015-06-25 14:36   ` Rasmus
2015-06-25 16:30     ` Nicolas Goaziou
2015-06-25 16:39       ` Rasmus [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=871tgzlp3p.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).