Is there a way to indicate where you have an "invisible" character that's causing problems in an org-mode table?
The character's likely a TAB, but for the general case I'd like to assume it could also be other characters, e.g. a "narrow no-break space" (U+202F).
Background
I just pasted multiple lines into an org-mode table, as per Is it possible to copy /paste multiple lines of text into cells of org-mode table?.
First I created an empty table:
| | |
| | |
Then I created some lines in the org-mode buffer. Originally I'd copied text from some web page, but I've found I can reproduce the behaviour with the text below.
abcdef
abcdef7890
Then I used C-x r k
and C-x r y
to insert this into the table. Below is the result, after pressing C-c C-c
to align the table:
| | abcdef |
| | abcdef7890 |
Note that the rightmost '|
' aren't correctly aligned. It seems a TAB character was added in the process at the end of the first row.
If I do e.g. ESC SPACE
at the end of the first row and then C-c C-c
, that row is fixed. In this case it also fixes the entire table:
| | abcdef |
| | abcdef7890 |
However, in my original case I had to go and fiddle with all rows.
PS. The focus of this question is how to show the invisible/problematic characters, assuming that's the cause. Why I'm getting the problematic characters should probably go in another question.
Update: Created Why is a TAB character added when using kill-rectangle and yank-rectangle to insert multiple rows into an org-mode table?