Ihor Radchenko <[email protected]> writes:

> "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!)

The `=' signs /are/ hidden.  You have created verbatim text with the odd
contents `[[test][foo *bar*'.  Not an org-inside issue.

> 7. Try typing =verbatim= somewhere else. Background and cursor will not
>    change then

Change when?  When inside `verbatim`?  That works for me.

This seems to be a user error to me; you've made a bogus entity and are
suffering for it ;).

>
>>> 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.

One has hidden entities, one doesn't.  Nothing odd there.  In fact you
could say org-inside helps you discover that, and so is less strange
than just seeing two equivalent looking items which behave differently.

Reply via email to