From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Sorting org-mode Outlines with xemacs Date: Thu, 30 Apr 2009 16:02:20 +0200 Message-ID: References: <49F08282.1040609@Informatik.Uni-Oldenburg.DE> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0eKU-00049k-7U for emacs-orgmode@gnu.org; Sun, 03 May 2009 12:14:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0eKP-00047i-II for emacs-orgmode@gnu.org; Sun, 03 May 2009 12:14:13 -0400 Received: from [199.232.76.173] (port=45924 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0eKP-00047Y-BA for emacs-orgmode@gnu.org; Sun, 03 May 2009 12:14:09 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:50067) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M0eKP-0002RR-1d for emacs-orgmode@gnu.org; Sun, 03 May 2009 12:14:09 -0400 Received: by mail-ew0-f162.google.com with SMTP id 6so3488352ewy.42 for ; Sun, 03 May 2009 09:14:08 -0700 (PDT) In-Reply-To: <49F08282.1040609@Informatik.Uni-Oldenburg.DE> 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: Hendrik Radke Cc: emacs-orgmode@gnu.org Fixed, thanks. - Carsten On Apr 23, 2009, at 5:00 PM, Hendrik Radke wrote: > Hello, > > first, thank you for this wonderful program that helps me organize > my day. > > I am using XEmacs 21.4.21 on a Debian Lenny system, together with > Org-Mode version 6.25d, which works quite well. > > However, while trying to sort a list by priority, I encountered an > error: "Wrong type argument: stringp, ?B" > > This error stems from org.el, function "org-sort-entries-or-items", in > line 6136. Obviously, it tries to convert a string to a char, but the > argument is already a character, so it fails with type mismatch. > > Remedy: I substituted the line > (string-to-char (match-string 2)) > with > (match-string 2) > , which fixed the mentioned error. > > regards, > Hendrik Radke > > > _______________________________________________ > 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