Status: Accepted Owner: gwern0 Labels: Type-Enhancement Priority-Low New issue 208 by gwern0: M-;, C-c do not prompt for comment http://code.google.com/p/yi-editor/issues/detail?id=208
M-; and C-c are Emacs bindings to comment out a line or region. These bindings ultimately call modeToggleCommentSelection. If a comment syntax is defined, then modeToggleCommentSelection will make use of it. But there are many kinds of files and languages which no mode has been defined for, or the mode doesn't include comment information. In Emacs, using M-; in such a mode will prompt the user for a (line-based) string to use as comment. In Yi, modeToggleCommentSelection simply calls fail. Better would be if it could ask at the minibuffer, like Emacs. (Perhaps using withMinibuffer?) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---