From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Citation syntax: a revised proposal Date: Mon, 16 Feb 2015 19:49:24 +0100 Message-ID: <87r3tp8zez.fsf@gmx.us> References: <87k2zjnc0e.fsf@berkeley.edu> <87a90e83ki.fsf@ucl.ac.uk> <87bnktj0c4.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNQjp-0007vf-Ed for emacs-orgmode@gnu.org; Mon, 16 Feb 2015 13:49:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNQjl-0005SP-NA for emacs-orgmode@gnu.org; Mon, 16 Feb 2015 13:49:45 -0500 Received: from plane.gmane.org ([80.91.229.3]:34490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNQjl-0005SJ-G0 for emacs-orgmode@gnu.org; Mon, 16 Feb 2015 13:49:41 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YNQje-0003eT-EI for emacs-orgmode@gnu.org; Mon, 16 Feb 2015 19:49:34 +0100 Received: from tsn109-201-154-185.dyn.nltelcom.net ([109.201.154.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Feb 2015 19:49:34 +0100 Received: from rasmus by tsn109-201-154-185.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Feb 2015 19:49:34 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org John Kitchin writes: > They are probably minor, but for example I am not sure how easy it would > be to sort a multicite with all of the syntax options. I guess it can be > done, I just do not see it clearly. It may not be necessary to do this > either. Out of curiosity: Why would this be hard? Would it amount to more than replacing identity in the below snippet with something that gets the true author? You can split out global pre and post note beforehand and reinsert it. I'm probably missing something. (sort '((:key "foo" :pre "pre") (:key "bar" :post "pp. 22") (:key "baz")) (lambda (a b) (string-collate-lessp (funcall 'identity (plist-get a :key)) (funcall 'identity (plist-get b :key))))) —Rasmus -- A clever person solves a problem. A wise person avoids it