"J.D. Smith" <[email protected]> writes:

> Ihor Radchenko <[email protected]> writes:
>
>>  Another edge case:
>> In
>> * =[[test][foo *bar*| and]]
>> (| is cursor)
>> type =
>
> The result is:
>
> =[[test][foo *bar*= and]]
> X^^^^^^^^^^^^^^^^^X    XX
>
> ^: formatted (correctly) as verbatim
> X: hidden

Yes, the result is correct with org-hide-emphasis-markers, but try

1. make repro
2. M-x org-mode
3. M-x org-inside-mode
4. Insert * =[[test][foo *bar* and]]
5. Make it * =[[test][foo *bar*= and]]
6. Observe cursor and background changing when moving into =...= (not hidden!)
7. Try typing =verbatim= somewhere else. Background and cursor will not
   change then

>> P.S. I have second thoughts about the face. Underline is also good, and
>> may be more subtle when editing frequently. Ugh! This is hard.
>> We need a poll and multiple inputs from users.
>> Probably, we can install the branch first and then ask people to test
>> and tell what they prefer. 
>
> The one issue with underline is that tools like jinx use that to
> indicate misspellings, which shadow our inside face changes.  Maybe not
> the end of the world.  Overline increases the line height, so that's not
> a good choice.  A dashed underline would be nice; not sure if all builds
> support that.

Ok. Let me brainstorm more.
Another idea - use default + background = (color-darken-name (face-background 
'default) 10)

Also, I have been running org-inside locally, and ran into the following
example:

- [ ] file:~/Org/
- [ ] [[file:~/Git/]]
Moving back and forth between these two items feels rather strange.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to