On Fri, Apr 10, 2009 at 11:54 PM, Stéphane Payrard <cognomi...@gmail.com> wrote:
> Resend of the select-all  in a buffer patch in a hopefully correct format
> The second patch is incomplete. It implements a read only mode for buffers.
> In emacs, you toggle the mode with C-x C-q for the current buffer.
> It works but does not print a message when you tries to modify a read
> only buffer.

This had a conflict, so I re-recorded it.

> I don't know how to import printMsg within Yi.Buffer.Misc without
> creating a cycle

It's not just a matter of cyclic imports: the Buffer actions are "not
allowed" to touch the
editor state. We could support this by adding (e.g.) exceptional exits
in the bufferM monad
with an error message.

Thanks for the contributions!
-- JP

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to