[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add mode for automatically unhiding emphasis markers in the
From: |
Nicolas Goaziou |
Subject: |
Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region |
Date: |
Fri, 26 Jun 2020 09:32:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello,
Shankar Rao <shankar.rao@gmail.com> writes:
> I agree that if org-emphasize handled marker visibility states in a DWIM
> fashion, then a user should not need to display them, but why do you
> believe they shouldn't have the opportunity, especially given that this is
> the exact behavior of prettify-symbols-mode?
I wrote my message in a hurry. Let me clarify it.
I'm only talking about built-in tooling. I don't mind if a user have the
feature you're proposing, of course, as it is not wrong per se.
However, I believe that's not the best solution for the problem we're
trying to solve. I think there's an opportunity to provide something
smarter, and less intrusive, to handle emphasis, which doesn't involve
messing with `post-command-hook'.
> Could you walk me through, in your proposed DWIM system, how a user should
> be able to remove or change emphasis markers after they are rendered and
> hidden?
Like in a word processor, you don't need to see the markers to operate
on them. I don't think the usual "toggle" model is appropriate, however.
I suggest to use two commands: one for deleting the markers around point
or within active region, and one for inserting markers or extending
existing ones.
Allow me to polish up my draft a bit, so we can compare the benefits of
each system.
Regards,
--
Nicolas Goaziou
- [PATCH] Add mode for automatically unhiding emphasis markers in the current region, Shankar Rao, 2020/06/01
- Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region, Shankar Rao, 2020/06/01
- Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region, Kyle Meyer, 2020/06/22
- Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region, Gustavo Barros, 2020/06/22
- Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region, Kyle Meyer, 2020/06/22
- Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region, Shankar Rao, 2020/06/24
- Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region, Gustavo Barros, 2020/06/24
- Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region, Nicolas Goaziou, 2020/06/24
- Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region, Shankar Rao, 2020/06/24
- Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region,
Nicolas Goaziou <=
- Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region, Gustavo Barros, 2020/06/24