From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: a possible solution (was: problems with alphabetic ordering in tables containing non ASCII chars) Date: Tue, 12 Jul 2016 08:53:02 +0000 Message-ID: <878tx7s0ep.fsf_-_@mat.ucm.es> References: <87inwjzv8x.fsf@mat.ucm.es> <8737nnizdt.fsf@saiph.selenimh> <87furn6c23.fsf@mat.ucm.es> <87vb0jhi2j.fsf@saiph.selenimh> 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]:47141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMtRM-000857-A6 for emacs-orgmode@gnu.org; Tue, 12 Jul 2016 04:53:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMtRH-0001SW-AU for emacs-orgmode@gnu.org; Tue, 12 Jul 2016 04:53:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:37756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMtRH-0001R1-3R for emacs-orgmode@gnu.org; Tue, 12 Jul 2016 04:53:11 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bMtRE-00071E-KA for emacs-orgmode@gnu.org; Tue, 12 Jul 2016 10:53:08 +0200 Received: from gilgamesch.quim.ucm.es ([147.96.12.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jul 2016 10:53:08 +0200 Received: from oub by gilgamesch.quim.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jul 2016 10:53:08 +0200 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" To: emacs-orgmode@gnu.org >>> "Nicolas" == Nicolas Goaziou writes: > Uwe Brauer writes: >> Which function could you recommend? > I don't know. There may be something readily available in Emacs 25. > Otherwise, you'll have to write you own. It seems that the easiest solution is the following - run iso-unaccentuate (which runs on regions) on the table, which will change Álvarez to 'Alvarez, - sort. The sorting is ok - reconvert via iso-accentuate the table. I don't understand much of the org-table sort code. My naive approach would be to define org-table-iso-accentuate and org-table-iso-unaccentuate and then add that via defadvice to the original function, but that seems a bad approach since defacvice makes it difficult to debug. Any suggestions? Thanks Uwe Brauer