org-bars icon indicating copy to clipboard operation
org-bars copied to clipboard

Alternative to Removing Ellipsis

Open jonathanmfung opened this issue 4 years ago • 1 comments

Thanks for the package, I like the functionality and aesthetics it brings.

Concerning the Remove ellipsis section in the README, I tried using the defined org-no-ellipsis-in-headlines, and got the ellipsis to successfully disappear. However, I was having issues with org-cycle, specifically on lists. I was able to collapse lists, but not able to get them to appear again, unless I were to toggle the whole headline. I also experienced this in emacs -q.

I played around with org-ellipsis and found out that it works with some Unicode whitespace characters. Adding (setq org-ellipsis "") where there is a U+FEFF ZERO WIDTH NO-BREAK SPACE inside the string does a good enough job for me. This page also has more options to try out.

Here is a screenshot of using that no-break space character. As you can see, there is extra room at the end of the line, highlighted by hl-line-mode (or any :background). With my font (Iosevka SS14) I haven't noticed any issues, though with emacs -q, which uses DejaVu Sans Mono, this character appears as an thin underline.

image

jonathanmfung avatar Oct 27 '21 09:10 jonathanmfung

Thank you @jonathanmfung for reporting this issue.

I would never have seen it as I don't collapse lists.

I mention your workaround in the README.

I found a fix to this "problem" that I've just proposed to the emacs-orgmode mailing list (emacs-orgmode/2021-11/msg00226.html).

Have a nice day.

tonyaldon avatar Nov 11 '21 14:11 tonyaldon