On Thu, Oct 16, 2008 at 1:40 PM, Nicolas Pouillard
<[EMAIL PROTECTED]> wrote:
>
> Excerpts from Jean-Philippe Bernardy's message of Thu Oct 16 11:40:54 +0200 
> 2008:
>> I see that the vim keymap explicitly catches io exceptions and ignores
>> them upon write.
>
> It's not about ignoring them, it's about reporting them to the user.

Right; I missed that part. So I really don't think there is any bug at all.

>> Nicolas, Corey: do you see any reason for this? Otherwise we should
>> remove that asap.
>
> What you mean by removing this, letting the editor crash?

Letting the error be handled by the top-level: exceptions are caught
and reported by the interactive loop.

>> Actually, is there any reason at all that viWrite wraps fwriteE? I
>> think these should be unified.
>
> That's a small wrapper that allows to print the same message as Vim.
>
> Maybe they can be unified, but the message have to remain.

It seems reasonable to print the vim message even for the emacs keymaps.

Thanks for the clarifications!
-- JP

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to