From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org: sorting table throws error: Date: Mon, 8 May 2006 12:30:56 +0200 Message-ID: <8116eb1c5b7ffb2d0997bc08af579e2b@science.uva.nl> References: <17502.34531.218099.914564@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fd313-0001mH-FY for emacs-orgmode@gnu.org; Mon, 08 May 2006 06:31:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fd311-0001lT-DH for emacs-orgmode@gnu.org; Mon, 08 May 2006 06:31:00 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fd311-0001lP-97 for emacs-orgmode@gnu.org; Mon, 08 May 2006 06:30:59 -0400 Received: from [66.249.92.173] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fd31p-0001U2-Mh for emacs-orgmode@gnu.org; Mon, 08 May 2006 06:31:49 -0400 Received: by ug-out-1314.google.com with SMTP id h2so1317971ugf for ; Mon, 08 May 2006 03:30:57 -0700 (PDT) In-Reply-To: <17502.34531.218099.914564@localhost.localdomain> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: raman@users.sf.net Cc: emacs-orgmode@gnu.org 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) "=C3=08 \nO!=08B=87" [x bcol ecol org-trim] 4]("") > mapcar(#[(x) "=C3=08 \nO!=08B=87" [x bcol ecol org-trim] 4] = (#("| 3 | =20 > 9 |" 0 7 (fontified nil) 7 8 (fontified nil personality=20 > emacspeak-org-table-voice face org-table) 8 16 (fontified nil) 16 17=20= > (fontified nil personality emacspeak-org-table-voice face org-table)=20= > 17 19 (fontified nil)) #("| 4 | 16 |" 0 7 (fontified nil) 7 8=20= > (fontified nil personality emacspeak-org-table-voice face org-table) 8=20= > 15 (fontified nil) 15 17 (fontified nil personality=20 > emacspeak-org-table-voice face org-table) 17 19 (fontified nil)) #("| =20= > 5 | 25 |" 0 7 (fontified nil) 7 8 (fontified nil personality=20= > emacspeak-org-table-voice face org-table) 8 15 (fontified nil) 15 17=20= > (fontified nil personality emacspeak-org-table-voice face org-table)=20= > 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