emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Cannot insert column - wrong type argument
@ 2010-09-28 18:42 Gez
  2010-09-29  9:36 ` Giovanni Ridolfi
  0 siblings, 1 reply; 3+ messages in thread
From: Gez @ 2010-09-28 18:42 UTC (permalink / raw)
  To: emacs-orgmode


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

I'm having problems configuring the column view in a particular file  - I can't insert/add a column.  

I can navigate around it, and S-M-<left> works fine, but S-M-<right> brings up the message "Wrong type argument: integer-or-marker-p, nil"

In a newly created test file S-M-<right> worked fine - prompts for a property. I don't know if it's relevant but in the problematic file, when I use C-c C-x C-c to create the column view, no #+COLUMNS line appears.

Any ideas how to troubleshoot it?

Gez (beginner, GNU Emacs 23.2.1, Org-mode version 7.01trans)

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

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

_______________________________________________
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

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

* Re: Cannot insert column - wrong type argument
  2010-09-28 18:42 Cannot insert column - wrong type argument Gez
@ 2010-09-29  9:36 ` Giovanni Ridolfi
  2010-09-29 14:41   ` FIXED - " Gez
  0 siblings, 1 reply; 3+ messages in thread
From: Giovanni Ridolfi @ 2010-09-29  9:36 UTC (permalink / raw)
  To: Gez; +Cc: emacs-orgmode

"Gez" <register@geekanddiva.com> writes:

Hi, Gez, 

> I'm having problems configuring 

what do you intend with "configuring"?

> the column view in 
> a particular file  - I can't insert/add a column.  
`S-M-<right>'
     Insert a new column, to the left of the current column.

I cannot reproduce:
Org version 7.01trans , commit	9ec705cb57b77595dd9aeb17f9168fb1db9ac908.


Sample file:
-------------------
     -*- mode: org; -*-
* [2010-09-29 mer] column view
:PROPERTIES:
:COLUMNS: %25ITEM(Number) 
:END:
** one
:PROPERTIES:
:Value: 100
:Age: 11
:END: 
** two
:PROPERTIES:
:Value: 200
:Age: 22
:END: 
-------------

1.  C-c C-x C-c  shows the column view with the "Number column"
2.  M-S-<right>  asks for the property of the new column
2.1        write "Age" (without " ")
3.  You'll have a two columns column view

Giovanni

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

* Re: FIXED - Cannot insert column - wrong type argument
  2010-09-29  9:36 ` Giovanni Ridolfi
@ 2010-09-29 14:41   ` Gez
  0 siblings, 0 replies; 3+ messages in thread
From: Gez @ 2010-09-29 14:41 UTC (permalink / raw)
  Cc: emacs-orgmode

Thanks, Giovanni, but I fixed it before using your sample file.  I went 
through my file with a fine-tooth comb and found a tag on a line beginning 
"PROPERTIES".  (At least I think it was that line -  it could have been the 
line below with the property value in it.  Whichever it was, it wasn't on a 
headline.)

When I removed the tag and reloaded the file, the column commands all worked 
fine.

I'm assuming that was the cause, but I was surprised though since there had 
been no error message.

Gez

----- Original Message ----- 
From: "Giovanni Ridolfi" <giovanni.ridolfi@yahoo.it>
To: "Gez" <register@geekanddiva.com>
Cc: <emacs-orgmode@gnu.org>
Sent: Wednesday, September 29, 2010 10:36 AM
Subject: Re: [Orgmode] Cannot insert column - wrong type argument


> "Gez" <register@geekanddiva.com> writes:
>
> Hi, Gez,
>
>> I'm having problems configuring
>
> what do you intend with "configuring"?
>
>> the column view in
>> a particular file  - I can't insert/add a column.
> `S-M-<right>'
>     Insert a new column, to the left of the current column.
>
> I cannot reproduce:
> Org version 7.01trans , commit 9ec705cb57b77595dd9aeb17f9168fb1db9ac908.
>
>
> Sample file:
> -------------------
>     -*- mode: org; -*-
> * [2010-09-29 mer] column view
> :PROPERTIES:
> :COLUMNS: %25ITEM(Number)
> :END:
> ** one
> :PROPERTIES:
> :Value: 100
> :Age: 11
> :END:
> ** two
> :PROPERTIES:
> :Value: 200
> :Age: 22
> :END:
> -------------
>
> 1.  C-c C-x C-c  shows the column view with the "Number column"
> 2.  M-S-<right>  asks for the property of the new column
> 2.1        write "Age" (without " ")
> 3.  You'll have a two columns column view
>
> Giovanni
>
> _______________________________________________
> 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 

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

end of thread, other threads:[~2010-09-29 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28 18:42 Cannot insert column - wrong type argument Gez
2010-09-29  9:36 ` Giovanni Ridolfi
2010-09-29 14:41   ` FIXED - " Gez

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