all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problems with Properties and Columns
@ 2008-02-10 21:45 Ian Barton
  2008-02-10 21:54 ` Bastien Guerry
  2008-02-11 10:37 ` Russell Adams
  0 siblings, 2 replies; 7+ messages in thread
From: Ian Barton @ 2008-02-10 21:45 UTC (permalink / raw)
  To: emacs-orgmode

Taking the snippet below as an example. If I try to add a Property below 
My Bank using C-c C-x p I am offered completions for the Properties 
defined under Web Site Passwords, not Bank Details. Is this a bug, or am 
I misunderstanding the scope of the Columns directive?

Ian.

* Web Site Passwords.
   :PROPERTIES:
   :COLUMNS:  %25ITEM %USER %PASSWORD %URL %NOTES
   :END:

** Allaboutsymbian
    :PROPERTIES:
    :USER:
    :URL: http://www.allaboutsymbian.com
    :PASSWORD: sakskasszzzz
    :NOTES: some notes
    :
    :END:

* Bank Details.
   :PROPERTIES:
   :COLUMNS:  %25ITEM %ACCOUNTNO %NOTES
   :END:
** My Bank

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

* Re: Problems with Properties and Columns
  2008-02-10 21:45 Problems with Properties and Columns Ian Barton
@ 2008-02-10 21:54 ` Bastien Guerry
  2008-02-10 22:09   ` Ian Barton
  2008-02-11 10:37 ` Russell Adams
  1 sibling, 1 reply; 7+ messages in thread
From: Bastien Guerry @ 2008-02-10 21:54 UTC (permalink / raw)
  To: emacs-orgmode

Hi Ian,

Ian Barton <lists@manor-farm.org> writes:

> Taking the snippet below as an example. If I try to add a Property below My
> Bank using C-c C-x p I am offered completions for the Properties defined
> under Web Site Passwords, not Bank Details. Is this a bug, or am I
> misunderstanding the scope of the Columns directive?

The COLUMN property just defines the column view, not the properties
themselves.  When you set a property with `C-c C-x p', the prompt offers
completion over all the properties that are found in the current buffer.

Does that answer your question?

-- 
Bastien

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

* Re: Problems with Properties and Columns
  2008-02-10 21:54 ` Bastien Guerry
@ 2008-02-10 22:09   ` Ian Barton
  2008-02-10 22:24     ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Barton @ 2008-02-10 22:09 UTC (permalink / raw)
  To: emacs-orgmode

> 
>> Taking the snippet below as an example. If I try to add a Property below My
>> Bank using C-c C-x p I am offered completions for the Properties defined
>> under Web Site Passwords, not Bank Details. Is this a bug, or am I
>> misunderstanding the scope of the Columns directive?
> 
> The COLUMN property just defines the column view, not the properties
> themselves.  When you set a property with `C-c C-x p', the prompt offers
> completion over all the properties that are found in the current buffer.
> 
> Does that answer your question?
> 

Thanks Bastien. Yes and no:) In my example if I type ACC in the mini 
buffer Emacs returns No Match, whereas I assume it should offer 
ACCOUNTNO as a completion.

I am using org 5.21 and Xemacs 22.

Ian.

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

* Re: Problems with Properties and Columns
  2008-02-10 22:09   ` Ian Barton
@ 2008-02-10 22:24     ` Bastien
  2008-02-11 10:21       ` Carsten Dominik
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2008-02-10 22:24 UTC (permalink / raw)
  To: Ian Barton; +Cc: emacs-orgmode

Ian Barton <lists@manor-farm.org> writes:

>>
>>> Taking the snippet below as an example. If I try to add a Property below My
>>> Bank using C-c C-x p I am offered completions for the Properties defined
>>> under Web Site Passwords, not Bank Details. Is this a bug, or am I
>>> misunderstanding the scope of the Columns directive?
>>
>> The COLUMN property just defines the column view, not the properties
>> themselves.  When you set a property with `C-c C-x p', the prompt offers
>> completion over all the properties that are found in the current buffer.
>>
>> Does that answer your question?
>>
>
> Thanks Bastien. Yes and no:) In my example if I type ACC in the mini
> buffer Emacs returns No Match, whereas I assume it should offer
> ACCOUNTNO as a completion.

This is not the current behavior.  

You have to actually use a property as a property (not as a column in
the :COLUMNS: property) so that the prompt offers it for completion.

But I agree it would be useful if Org were recognizing values in
:COLUMNS: as properties, even when they are not yet in use.

-- 
Bastien

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

* Re: Problems with Properties and Columns
  2008-02-10 22:24     ` Bastien
@ 2008-02-11 10:21       ` Carsten Dominik
  0 siblings, 0 replies; 7+ messages in thread
From: Carsten Dominik @ 2008-02-11 10:21 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1218 bytes --]


On Feb 10, 2008, at 11:24 PM, Bastien wrote:

> Ian Barton <lists@manor-farm.org> writes:
>
>>>
>>>> Taking the snippet below as an example. If I try to add a  
>>>> Property below My
>>>> Bank using C-c C-x p I am offered completions for the Properties  
>>>> defined
>>>> under Web Site Passwords, not Bank Details. Is this a bug, or am I
>>>> misunderstanding the scope of the Columns directive?
>>>
>>> The COLUMN property just defines the column view, not the properties
>>> themselves.  When you set a property with `C-c C-x p', the prompt  
>>> offers
>>> completion over all the properties that are found in the current  
>>> buffer.
>>>
>>> Does that answer your question?
>>>
>>
>> Thanks Bastien. Yes and no:) In my example if I type ACC in the mini
>> buffer Emacs returns No Match, whereas I assume it should offer
>> ACCOUNTNO as a completion.
>
> This is not the current behavior.
>
> You have to actually use a property as a property (not as a column in
> the :COLUMNS: property) so that the prompt offers it for completion.
>
> But I agree it would be useful if Org were recognizing values in
> :COLUMNS: as properties, even when they are not yet in use.

Yes, I just fixed this, thanks.

  Carsten


[-- Attachment #1.2: Type: text/html, Size: 2777 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Problems with Properties and Columns
  2008-02-10 21:45 Problems with Properties and Columns Ian Barton
  2008-02-10 21:54 ` Bastien Guerry
@ 2008-02-11 10:37 ` Russell Adams
  2008-02-11 13:02   ` Ian Barton
  1 sibling, 1 reply; 7+ messages in thread
From: Russell Adams @ 2008-02-11 10:37 UTC (permalink / raw)
  To: emacs-orgmode

On a separate note, I'd recommend a tool like pwsafe
(http://nsd.dyndns.org/pwsafe/) for password storage unless you
encrypt your Org files.

Russell

On Sun, Feb 10, 2008 at 09:45:13PM +0000, Ian Barton wrote:
> Taking the snippet below as an example. If I try to add a Property below 
> My Bank using C-c C-x p I am offered completions for the Properties 
> defined under Web Site Passwords, not Bank Details. Is this a bug, or am 
> I misunderstanding the scope of the Columns directive?
> 
> Ian.
> 
> * Web Site Passwords.
>   :PROPERTIES:
>   :COLUMNS:  %25ITEM %USER %PASSWORD %URL %NOTES
>   :END:
> 
> ** Allaboutsymbian
>    :PROPERTIES:
>    :USER:
>    :URL: http://www.allaboutsymbian.com
>    :PASSWORD: sakskasszzzz
>    :NOTES: some notes
>    :
>    :END:
> 
> * Bank Details.
>   :PROPERTIES:
>   :COLUMNS:  %25ITEM %ACCOUNTNO %NOTES
>   :END:
> ** My Bank
> 
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

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

* Re: Problems with Properties and Columns
  2008-02-11 10:37 ` Russell Adams
@ 2008-02-11 13:02   ` Ian Barton
  0 siblings, 0 replies; 7+ messages in thread
From: Ian Barton @ 2008-02-11 13:02 UTC (permalink / raw)
  To: emacs-orgmode

Thanks. I keep my org files in a Truecrypt container, where they should 
be safe from prying eyes.

Ian.


> On a separate note, I'd recommend a tool like pwsafe
> (http://nsd.dyndns.org/pwsafe/) for password storage unless you
> encrypt your Org files.
> 
> Russell
> 
> On Sun, Feb 10, 2008 at 09:45:13PM +0000, Ian Barton wrote:
>> Taking the snippet below as an example. If I try to add a Property below 
>> My Bank using C-c C-x p I am offered completions for the Properties 
>> defined under Web Site Passwords, not Bank Details. Is this a bug, or am 
>> I misunderstanding the scope of the Columns directive?
>>
>> Ian.
>>
>> * Web Site Passwords.
>>   :PROPERTIES:
>>   :COLUMNS:  %25ITEM %USER %PASSWORD %URL %NOTES
>>   :END:
>>
>> ** Allaboutsymbian
>>    :PROPERTIES:
>>    :USER:
>>    :URL: http://www.allaboutsymbian.com
>>    :PASSWORD: sakskasszzzz
>>    :NOTES: some notes
>>    :
>>    :END:
>>
>> * Bank Details.
>>   :PROPERTIES:
>>   :COLUMNS:  %25ITEM %ACCOUNTNO %NOTES
>>   :END:
>> ** My Bank
>>
>>
>

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

end of thread, other threads:[~2008-02-11 13:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-10 21:45 Problems with Properties and Columns Ian Barton
2008-02-10 21:54 ` Bastien Guerry
2008-02-10 22:09   ` Ian Barton
2008-02-10 22:24     ` Bastien
2008-02-11 10:21       ` Carsten Dominik
2008-02-11 10:37 ` Russell Adams
2008-02-11 13:02   ` Ian Barton

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.