11

How can I avoid displaying "=>" when a field is clipped in org-table? Those arrows dominate some narrow cells, and I can view the full field in a tool-tip window anyway, so I'd like to get rid of them.

  • I only see => when I explicitly set a column width in my org tables. Are you setting the column width? – Melioratus Mar 10 '16 at 3:43
  • @Melioratus, yes, and I'd like to get rid of them even when I limit the column width. – stacko Mar 10 '16 at 3:45
1

The answer to the following stackexchange question pretty much leads the way to how to fulfill your requirement.

Copy the org-table-align command (from org-table.el -> M-x find-library RET org-table) to one of your init files. Then delete the following line:

(add-text-properties
  (if (>= (string-width (substring x (1- f2) f2)) 2) (1- f2)
    (- f2 2))
  f2
  (list 'display org-narrow-column-arrow)
  x)
0

You can set org-narrow-column-arrow to "" with (setq org-narrow-column-arrow "").

  • 4
    That doesn't quite work as the string-width of 2 for "=>" is hard-coded in org-table-align. If you set that var to "", the table alignment will be messed up and what's worse is that if abcdef were earlier being displayed as a=> (truncation to 3 chars), it will now just show a, causing more confusion. Also that var is not intended to be changed by user as it is a defconst, not a defcustom. It would be useful to request this feature by emailing emacs-orgmode@gnu.org. – Kaushal Modi Mar 9 '16 at 15:44

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.