3

in org-mode, is there a command to select the entire text in one column in one row? I know i can move to the beginning/set-mark/goto the end of the column. But i am wondering if there is one command already for that.

2

I asked the question in the org-mailing list. I was pointed to this function which does what I needed: https://lists.gnu.org/archive/html/emacs-orgmode/2016-05/msg00240.html

 (defun org-table-mark-field ()
      "Mark the current table field."
      (interactive)
      ;; Do not try to jump to the beginning of field if the point is already there
      (when (not (looking-back "|\\s-?"))
        (org-table-beginning-of-field 1))
      (set-mark-command nil)
      (org-table-end-of-field 1))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.