emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: henry atting <nsmp_02@online.de>, John Wiegley <johnw@newartisans.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: in-buffer completion question
Date: Tue, 1 Mar 2011 23:19:27 +0100	[thread overview]
Message-ID: <31FB6F0B-BE11-491F-BF34-F09BD60F2676@gmail.com> (raw)
In-Reply-To: <87y64ybj3m.fsf@online.de>


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:
> 
> ** Mr.X
> :PROPERTIES:
> :EMAIL:  mail@mail.me
> :END:
> 
> Then I want to create a new entry. Of course I am to
> lazy to type ´:PROPERTIES:´ so I type ´:PR´ then hit
> M-TAB. But instead of the word being completed I get
> ´There is no completion of PR´. 
> 
> 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

> 
> henry
> 
> -- 
> http://literaturlatenight.de
> 
> 
> _______________________________________________
> 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

  parent reply	other threads:[~2011-03-01 22:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 21:56 in-buffer completion question henry atting
2011-03-01 22:06 ` Erik Iverson
2011-03-01 22:19 ` Carsten Dominik [this message]
2011-03-03  5:30   ` John Wiegley
2011-03-03 15:04     ` Carsten Dominik

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=31FB6F0B-BE11-491F-BF34-F09BD60F2676@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=johnw@newartisans.com \
    --cc=nsmp_02@online.de \
    /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).