Hi Uwe,

Uwe Brauer <o...@mat.ucm.es> writes:

> what's about a small function doing this, like 
>
>
> (defun org-table-rotate-table  ()
>   "Small hack to rotate a table."
>   (interactive)
>   (if (or (and (boundp 'zmacs-region-active-p) zmacs-region-active-p)
>                 (and (boundp 'transient-mark-mode) transient-mark-mode 
> mark-active))
>       (save-restriction
>         (save-excursion
>           (narrow-to-region (point) (mark))
>           (goto-char (point-min))
>                 (reverse-region (point) (mark))
>                 (org-table-transpose-table-at-point)))))
>
> Or?
>
> (defun org-table-rotating-table (beg end)  
>   "Small hack to rotate a table."
>   (interactive "r")
>   (save-excursion
>       (goto-char beg)
>       (reverse-region beg end)
>       (org-table-transpose-table-at-point)))

Don't forget to add such useful functions to 
http://orgmode.org/worg/org-hacks.html

Thanks!

-- 
 Bastien

Reply via email to