3

I am trying to write some formulas in my tables and having a bit of a hard time figuring out the current cell's address (@row:$col).

It would be awesome if I could display the cell location in the mode-line but I am okay with some function that prints out the locations in *messages*.

1
  • You can have org show row and column numbers by org-table-toggle-coordinate-overlays, bound to C-c } by default.
    – éric
    Commented Feb 10, 2019 at 8:03

1 Answer 1

6

The coordinates can be displayed with ctrl-c} - org-table-toggle-coordinate-overlays. It shows the coordinates within the table:

| a | b | c |
|---+---+---|
|foo|bar|baz|
|baz|bar|foo|
|bar|baz|foo|

will display as:

    1| a   | b   | c   |                                                                                                                       
 I*1 |$1---+$2---+$3---|                                                                                                                       
    2| foo | bar | baz |                                                                                                                       
    3| baz | bar | foo |                                                                                                                       
    4| bar | baz | foo | 

From worg:

Toggle the display of row and column numbers for a table, using overlays. These are updated each time the table is aligned; you can force it with C-cC-c.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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