On Fri, Nov 28, 2008 at 7:02 PM, Gwern Branwen <[EMAIL PROTECTED]> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > On Fri, Nov 28, 2008 at 4:05 AM, Jean-Philippe Bernardy wrote: > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEAREKAAYFAkkwMicACgkQvpDo5Pfl1oKwWQCffI9RZ5SwvEdFzuqrMWgO7uMg > NoYAnibQii5kjjfQESgl0+T/rOB5ce4o > =7Ypx > -----END PGP SIGNATURE----- > >> >> I pushed these; the application is very special though, so it would >> make sense to move them into Yi.Users.Gwern.*. In the future Yi.Users.* >> would be moved in a contrib package. >> >> Also, toggleCommentSelectionB probably does not behave as you think >> it does. I improved the documentation in this respect. >> >> Cheers, >> JP. > > As I understand it, the CommentSelection field is intended to define > what counts as a commented-out region for a given mode, both for > purposes of syntax highlighting, and also so one can do things like > comment out a selected region (akin to Emacs's M-;).
Not for highlighting. > As it happens, the ultimate end of the quotes and questions I am > processing the articles into is to be inserted into Mnemosyne* for > study/review/memorization (the combination of Yi and Mnemosyne adding > up to something akin to SuperMemo, but not limited to Windows and not > proprietary). Sounds cool. > Mnemosyne uses the QT libraries for display, and this allows one to > format questions and answers in a subset of HTML - which includes use > of <!-- --> for (hidden) comments. toggleCommentSelectionB supports line-oriented comments only so far. (implicitly closed at end of line). Cheers, -- JP --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---