emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-table-import fails with negative number
@ 2009-10-31  0:35 Dan Davison
  2009-10-31  9:09 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Davison @ 2009-10-31  0:35 UTC (permalink / raw)
  To: emacs org-mode mailing list

If a file contains "-1" followed by a newline and nothing else,
org-table-import on that file fails. The first commit with this property
is a commit (below) to do with CVS tables made a few days ago. I have
given up trying to work out a good solution to this :) In case it is
useful, the failure occurs when org-table-align is called at the end of
org-table-convert-region. I think it is long-standing behaviour that
hitting tab inside of
|-1|
doesn't make a table containing "-1", so presumably there is something
different about the context in which org-table-align is now being
called.

Dan

commit 59c9c4cdd4ae974dfb92ab441462b3fee48ab5af
Author: Carsten Dominik <carsten.dominik@gmail.com>
Date:   Mon Oct 26 12:31:16 2009 +0100

    Correctly interpret CVS tables with quoted fields
    
    The csv parser was very primitive, ignoring quoted fields.  This is
    now fixed.

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

* Re: org-table-import fails with negative number
  2009-10-31  0:35 org-table-import fails with negative number Dan Davison
@ 2009-10-31  9:09 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-10-31  9:09 UTC (permalink / raw)
  To: Dan Davison; +Cc: emacs org-mode mailing list

Fixed, thanks.

- Carsten

On Oct 31, 2009, at 1:35 AM, Dan Davison wrote:

> If a file contains "-1" followed by a newline and nothing else,
> org-table-import on that file fails. The first commit with this  
> property
> is a commit (below) to do with CVS tables made a few days ago. I have
> given up trying to work out a good solution to this :) In case it is
> useful, the failure occurs when org-table-align is called at the end  
> of
> org-table-convert-region. I think it is long-standing behaviour that
> hitting tab inside of
> |-1|
> doesn't make a table containing "-1", so presumably there is something
> different about the context in which org-table-align is now being
> called.
>
> Dan
>
> commit 59c9c4cdd4ae974dfb92ab441462b3fee48ab5af
> Author: Carsten Dominik <carsten.dominik@gmail.com>
> Date:   Mon Oct 26 12:31:16 2009 +0100
>
>    Correctly interpret CVS tables with quoted fields
>
>    The csv parser was very primitive, ignoring quoted fields.  This is
>    now fixed.
>
>
> _______________________________________________
> 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

- Carsten

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

end of thread, other threads:[~2009-10-31  9:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-31  0:35 org-table-import fails with negative number Dan Davison
2009-10-31  9:09 ` Carsten Dominik

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