From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: function? Date: Wed, 06 Nov 2013 15:46:14 +0100 Message-ID: <87bo1xegg9.fsf@gilgamesch.quim.ucm.es> References: <87li1nbt1o.fsf@mat.ucm.es> <878uxnax5e.fsf_-_@mat.ucm.es> <8761s6u7qk.fsf@bzg.ath.cx> Reply-To: Uwe Brauer Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=sha1; protocol="application/pkcs7-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve4NN-0003eN-RI for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 09:46:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ve4NJ-0002Zt-Jh for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 09:46:33 -0500 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:51830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve4NJ-0002Zl-5l for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 09:46:29 -0500 Received: by mail-wi0-f171.google.com with SMTP id f4so3853753wiw.4 for ; Wed, 06 Nov 2013 06:46:27 -0800 (PST) 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: Bastien Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable >> "Bastien" =3D=3D Bastien writes: Hi Bastien, > Hi Uwe, > Uwe Brauer writes: > Don't forget to add such useful functions to=20 > http://orgmode.org/worg/org-hacks.html I came to the conclusion, that the function is not useful, so I don't think I will post it. However I think that the following function might: (defun my-org-table-reverse-cells-in-row () "Simple function to reverse cells in one row. This might be useful in tab= les with R2L and L2R text." (interactive) (save-excursion (newline 1) (end-of-line 1) (newline 1) (goto-char (org-table-begin)) (org-table-transpose-table-at-point) (let* ((beg (org-table-begin)) (end (org-table-end))) (goto-char beg) (reverse-region beg end)) (org-table-transpose-table-at-point) (kill-line nil) (goto-char (org-table-begin)) (previous-line 1) (kill-line nil))) I never used this site you mentioned, how can I copy the code? Do I have to sign copyright? Uwe=20 --=-=-= Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITGzCC BDYwggMeoAMCAQICAQEwDQYJKoZIhvcNAQEFBQAwbzELMAkGA1UEBhMCU0UxFDASBgNVBAoT C0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5hbCBUVFAgTmV0d29yazEi MCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9vdDAeFw0wMDA1MzAxMDQ4MzhaFw0y MDA1MzAxMDQ4MzhaMG8xCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRUcnVzdCBBQjEmMCQG A1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5ldHdvcmsxIjAgBgNVBAMTGUFkZFRydXN0 IEV4dGVybmFsIENBIFJvb3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC39xoz 5vIABC054E5b7R+8bA/Ntfojts7emxEzl6QpTH2Tn71KvJPtAxrjj8/lbVBa1pcplFqAsEl6 2y6V/bjKvzc4LR4+kUGtcFbH8E8/6DKedMrIkFTpxl8PeJ2aQDwOrGGqXhSPnoehalDc15pO rwWzpnGUnHGzUGAKxxOdOAeGAqjpqGkmGJCrTLBPI6s6T4TY386f4Wlvu9dC12tE5Met7m1B X3JacQg3s3llpFmglDf3AC8NwpJy2t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