Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo ignores org-tags-column in org-mode #16

Open
pedrormjunior opened this issue Nov 29, 2018 · 1 comment
Open

typo ignores org-tags-column in org-mode #16

pedrormjunior opened this issue Nov 29, 2018 · 1 comment

Comments

@pedrormjunior
Copy link

Hello, I have saw this bug for quite long time and just recently I realized it only happens when typo-mode is activated.

The problem: When inserting a character handled by typo-mode (e.g., a period) at a heading in org-mode, tags in that heading are not kept aligned as specified in the variable org-tags-column. It happens for both positive and negative values of org-tags-column.

To reproduce: Set org-tags-column to -80. Open a buffer in org-mode. Start typo-mode. Start a org-mode heading in the buffer. Add a tag to the heading. Continue typing letters and numbers in the heading. You will see that the tag is kept aligned. Type a character handled by typo-mode, e.g., a . (period), a - (dash), etc. You will see that the tag is one character off to the right and it have not been kept aligned as expected. This behavior does not happens when typo-mode is deactivated.

Inconvenience: This behavior is annoying for who usually type a character handled by typo-mode as the last character in the heading, e.g., a . (period).

Thanks for typo.el! It is really handy!

@jorgenschaefer
Copy link
Owner

Thank you for the report, and I'm glad typo.el is useful to you! I'm not sure how to handle this sensibly with org-mode, if anyone has suggestions and ideally a PR, I'd be happy :-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants