emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org: sorting table throws error:
@ 2006-05-07 23:46 T. V. Raman
  2006-05-08 10:30 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: T. V. Raman @ 2006-05-07 23:46 UTC (permalink / raw)
  To: emacs-orgmode

I'll attach sample input and backtrace.

Calling org-table-sort-lines throws an error.

| Number | Square |
|--------+--------|
|      3 |      9 |
|      5 |     25 |
|      4 |     16 |



Error raised:
mapcar: Args out of range: "", 1, 9

BackTrace:

Debugger entered--Lisp error: (args-out-of-range "" 1 9)
  #[(x) "Ã\b	\nO!\bB‡" [x bcol ecol org-trim] 4]("")
  mapcar(#[(x) "Ã\b	\nO!\bB‡" [x bcol ecol org-trim] 4] (#("|      3 |      9 |" 0 7 (fontified nil) 7 8 (fontified nil personality emacspeak-org-table-voice face org-table) 8 16 (fontified nil) 16 17 (fontified nil personality emacspeak-org-table-voice face org-table) 17 19 (fontified nil)) #("|      4 |     16 |" 0 7 (fontified nil) 7 8 (fontified nil personality emacspeak-org-table-voice face org-table) 8 15 (fontified nil) 15 17 (fontified nil personality emacspeak-org-table-voice face org-table) 17 19 (fontified nil)) #("|      5 |     25 |" 0 7 (fontified nil) 7 8 (fontified nil personality emacspeak-org-table-voice face org-table) 8 15 (fontified nil) 15 17 (fontified nil personality emacspeak-org-table-voice face org-table) 17 19 (fontified nil)) ""))
  org-table-sort-lines(510 550 "n")
  call-interactively(org-table-sort-lines)

--
Best Regards,
--raman


Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman
IRC:    irc://irc.freenode.net/#emacs

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

* Re: org: sorting table throws error:
  2006-05-07 23:46 org: sorting table throws error: T. V. Raman
@ 2006-05-08 10:30 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2006-05-08 10:30 UTC (permalink / raw)
  To: raman; +Cc: emacs-orgmode

Fixed, thanks.

- Carsten

On May 8, 2006, at 1:46, T. V. Raman wrote:

> I'll attach sample input and backtrace.
>
> Calling org-table-sort-lines throws an error.
>
> | Number | Square |
> |--------+--------|
> |      3 |      9 |
> |      5 |     25 |
> |      4 |     16 |
>
>
>
> Error raised:
> mapcar: Args out of range: "", 1, 9
>
> BackTrace:
>
> Debugger entered--Lisp error: (args-out-of-range "" 1 9)
>   #[(x) "Ã\b	\nO!\bB‡" [x bcol ecol org-trim] 4]("")
>   mapcar(#[(x) "Ã\b	\nO!\bB‡" [x bcol ecol org-trim] 4] (#("|      3 |   
>    9 |" 0 7 (fontified nil) 7 8 (fontified nil personality 
> emacspeak-org-table-voice face org-table) 8 16 (fontified nil) 16 17 
> (fontified nil personality emacspeak-org-table-voice face org-table) 
> 17 19 (fontified nil)) #("|      4 |     16 |" 0 7 (fontified nil) 7 8 
> (fontified nil personality emacspeak-org-table-voice face org-table) 8 
> 15 (fontified nil) 15 17 (fontified nil personality 
> emacspeak-org-table-voice face org-table) 17 19 (fontified nil)) #("|  
>     5 |     25 |" 0 7 (fontified nil) 7 8 (fontified nil personality 
> emacspeak-org-table-voice face org-table) 8 15 (fontified nil) 15 17 
> (fontified nil personality emacspeak-org-table-voice face org-table) 
> 17 19 (fontified nil)) ""))
>   org-table-sort-lines(510 550 "n")
>   call-interactively(org-table-sort-lines)
>
> --
> Best Regards,
> --raman
>
>
> Email:  raman@users.sf.net
> WWW:    http://emacspeak.sf.net/raman/
> AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
> PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
> Google: tv+raman
> IRC:    irc://irc.freenode.net/#emacs
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

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

end of thread, other threads:[~2006-05-08 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-07 23:46 org: sorting table throws error: T. V. Raman
2006-05-08 10:30 ` 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).