emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Atomized completion list for multi-value property keys
@ 2010-02-05 22:09 Harald Weis
  2010-02-10 12:56 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Harald Weis @ 2010-02-05 22:09 UTC (permalink / raw)
  To: emacs-orgmode

For example, the key sequence "C-c / p <key-string> <TAB>"
yields the following completion list:

colon 		colon_rss 	oesoph colon_colosc
prost_echogr 	vitd	 	vitd prost_psa
vitd prost_tr

In _addition_ to this, I need a completion list where all 
multi-values are atomized:

colon		colon_colosc	colon_rss
oesoph		prost_echogr	prost_psa
prost_tr	vitd

A practical key sequence could use <S-TAB> instead of <TAB>.

Is there an ``easy'' way to achieve this or is it a major job ?

Thank you in advance.
Harald Weis

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Atomized completion list for multi-value property keys
  2010-02-05 22:09 Atomized completion list for multi-value property keys Harald Weis
@ 2010-02-10 12:56 ` Carsten Dominik
  2010-02-10 15:11   ` Harald Weis
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2010-02-10 12:56 UTC (permalink / raw)
  To: Harald Weis; +Cc: emacs-orgmode


On Feb 5, 2010, at 11:09 PM, Harald Weis wrote:

> For example, the key sequence "C-c / p <key-string> <TAB>"
> yields the following completion list:
>
> colon 		colon_rss 	oesoph colon_colosc
> prost_echogr 	vitd	 	vitd prost_psa
> vitd prost_tr
>
> In _addition_ to this, I need a completion list where all
> multi-values are atomized:
>
> colon		colon_colosc	colon_rss
> oesoph		prost_echogr	prost_psa
> prost_tr	vitd
>
> A practical key sequence could use <S-TAB> instead of <TAB>.
>
> Is there an ``easy'' way to achieve this or is it a major job ?

Well, it is not implemented current, and it would he hard to implement  
in the current C-c C-x C-p command - because Org- does not know which  
properties are multivalued and which are not.  So a special command  
would be needed.

I don't think it is hard to make, using the multivalued property API.
But I also don't think many people use it, so I am not going to do it  
right now.  WOuld you like to try?

- Carsten

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Atomized completion list for multi-value property keys
  2010-02-10 12:56 ` Carsten Dominik
@ 2010-02-10 15:11   ` Harald Weis
  0 siblings, 0 replies; 3+ messages in thread
From: Harald Weis @ 2010-02-10 15:11 UTC (permalink / raw)
  To: emacs-orgmode

On Wed, Feb 10, 2010 at 01:56:54PM +0100, Carsten Dominik wrote:
> 
> On Feb 5, 2010, at 11:09 PM, Harald Weis wrote:
> 
> >For example, the key sequence "C-c / p <key-string> <TAB>"
> >yields the following completion list:
> >
> >colon 		colon_rss 	oesoph colon_colosc
> >prost_echogr 	vitd	 	vitd prost_psa
> >vitd prost_tr
> >
> >In _addition_ to this, I need a completion list where all
> >multi-values are atomized:
> >
> >colon		colon_colosc	colon_rss
> >oesoph		prost_echogr	prost_psa
> >prost_tr	vitd
> >
> >A practical key sequence could use <S-TAB> instead of <TAB>.
> >
> >Is there an ``easy'' way to achieve this or is it a major job ?
> 
> Well, it is not implemented current, and it would he hard to implement  
> in the current C-c C-x C-p command - because Org- does not know which  
> properties are multivalued and which are not.  So a special command  
> would be needed.
> 
> I don't think it is hard to make, using the multivalued property API.
> But I also don't think many people use it, so I am not going to do it  
> right now.  WOuld you like to try?

Thank you for this message.
Yes, I will try and report if I can find a way (or not). It may take
some time for me, but I certainly will try.

Harald

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-10 15:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-05 22:09 Atomized completion list for multi-value property keys Harald Weis
2010-02-10 12:56 ` Carsten Dominik
2010-02-10 15:11   ` Harald Weis

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).