emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dave Abrahams <dave@boostpro.com>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: What happened to org-complete?
Date: Sat, 02 Jul 2011 22:03:41 -0400	[thread overview]
Message-ID: <m262nkdssi.fsf@pluto.luannocracy.com> (raw)
In-Reply-To: <13665.1309658071@alphaville.dokosmarshall.org> (Nick Dokos's message of "Sat, 02 Jul 2011 21:54:31 -0400")


on Sat Jul 02 2011, Nick Dokos <nicholas.dokos-AT-hp.com> wrote:

> Dave Abrahams <dave@boostpro.com> wrote:
>
>> I used to have 
>> 
>>   (define-key org-mode-map "\M-/" 'org-complete)
>> 
>> in my .emacs.  Now that there is no org-complete function, what should I
>> bind to `M /' in org buffers?
>> 
>
> I think pcomplete, normally bound to M-TAB:
>
> ,----
> | pcomplete is an interactive compiled Lisp function in `pcomplete.el'.
> | 
> | (pcomplete &optional INTERACTIVELY)
> | 
> | Support extensible programmable completion.
> | To use this function, just bind the TAB key to it, or add it to your
> | completion functions list (it should occur fairly early in the list).
> `----

Thanks for the info, Nick

Oops, that doesn't do what I want.  Is there a way to get pcomplete to
fall back to use dabbrev-expand when it can't complete something another
way?  I'd RTFM but pcomplete seems to be completely undocumented!

[No wonder I didn't stumble across pcomplete: Doesn't every OS GUI bind
`M-TAB' to a window switcher by default?]

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

  reply	other threads:[~2011-07-03  2:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-03  1:43 What happened to org-complete? Dave Abrahams
2011-07-03  1:54 ` Nick Dokos
2011-07-03  2:03   ` Dave Abrahams [this message]
2011-07-03  2:30     ` Ryan Reynolds
2011-07-03  2:46       ` Dave Abrahams

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=m262nkdssi.fsf@pluto.luannocracy.com \
    --to=dave@boostpro.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /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).