From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: in-buffer completion question Date: Tue, 1 Mar 2011 23:19:27 +0100 Message-ID: <31FB6F0B-BE11-491F-BF34-F09BD60F2676@gmail.com> References: <87y64ybj3m.fsf@online.de> Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=56307 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuXur-0008HG-PR for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 17:19:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuXun-00052L-TB for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 17:19:37 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:43441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuXun-000528-Ol for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 17:19:33 -0500 Received: by ewy10 with SMTP id 10so1912021ewy.0 for ; Tue, 01 Mar 2011 14:19:33 -0800 (PST) In-Reply-To: <87y64ybj3m.fsf@online.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: henry atting , John Wiegley Cc: emacs-orgmode@gnu.org On 1.3.2011, at 22:56, henry atting wrote: > Let's say I am in an orgmode buffer, more precisely I > opened a file with org-contacts. > My first entry is: >=20 > ** Mr.X > :PROPERTIES: > :EMAIL: mail@mail.me > :END: >=20 > Then I want to create a new entry. Of course I am to > lazy to type =B4:PROPERTIES:=B4 so I type =B4:PR=B4 then hit > M-TAB. But instead of the word being completed I get > =B4There is no completion of PR=B4.=20 >=20 > Okay, but I can see that actually there is one, it's in the > buffer. I read that the new orgmode completion method > is derived from the method John Wiegley has implemented. > In ledger-mode however M-Tab not only completes the > unfinished word but lets me cycle through the alternatives > given in the current buffer. > So, that is what I would expect in orgmode too... Dynamic completion based on buffer contents is a standard Emacs feature which is normally bound to M-/ Maybe ledger.el falls back onto dynamic completion when there is nothing else to complete? Org-mode used to fall back onto hippie-expand. But I see now that this has fallen through when we moved to pcomplete. Maybe this can be put back in? - Carsten >=20 > henry >=20 > --=20 > http://literaturlatenight.de >=20 >=20 > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode