はやみずです vimライクなコマンドインターフェースですが、須藤さんと話して考えた結果、 オプションによるon/offはやっぱりやめることにしました。C-gを1回叩けば抜 けられるし、わざわざon/offの変数や関数を導入するのは不必要な複雑さを導 入しているだけのように思えます。
---- Yuto Hayamizu Master's degree student at Kitsuregawa Laboratory Department of Information and Communication Engineering Graduate School of Information Science and Technology University of Tokyo From: Yuto Hayamizu <y.hayam...@gmail.com> Subject: Re: [twmode-users] Vimライクなコマンドインターフェース Date: Thu, 17 Dec 2009 22:51:36 +0900 > > はやみずです > >> > その後いろいろ考えてましたが、マイナーモードってことはないですね、オプ >> > ションが妥当かな。 >> >> そうですね。オプションの変数を1つ用意しておくくらいがよさそうです。 >> そんな感じで実装してみます。 > > という感じで実装しました。 > > http://github.com/hayamiz/twittering-mode/tree/vim-like-command > > 変数 twittering-command-mode を non-nil にしておくと有効という実装になっています。 > また、関数 twittering-command-mode を引数無しで実行すれば on/off をトグルできます。 > > 別にマイナーモードなわけではないんですが、名前のスタイルとしては > icon-modeやscroll-modeにあわせておいたほうがわかりやすいかな、と思って > command-mode としました。どんなもんでしょうね。 > > > At Thu, 17 Dec 2009 11:32:53 +0900 (JST), > haya wrote: >> >> >> はやみずです >> >> > その後いろいろ考えてましたが、マイナーモードってことはないですね、オプ >> > ションが妥当かな。 >> > >> > というか現状もminor-modeが多いので、一部はオプション化すべきかもしれませ >> > んねぇ >> > # iconとかtwittering-mode限定ならminorでなくてもいいしね >> >> そうですね。オプションの変数を1つ用意しておくくらいがよさそうです。 >> そんな感じで実装してみます。 >> >> ---- >> Yuto Hayamizu >> >> Master's degree student at Kitsuregawa Laboratory >> Department of Information and Communication Engineering >> Graduate School of Information Science and Technology >> University of Tokyo >> >> From: tsuyoshi_...@users.sourceforge.net >> Subject: Re: [twmode-users] Vimライクなコマンドインターフェース >> Date: Wed, 16 Dec 2009 23:39:30 +0900 >> >> > 長です。 >> > >> > Yuto Hayamizu さんは書きました: >> >> はやみずです >> >> >> >> 早速反応ありがとうございます。 >> >> >> >>> ただ、これもminorモードでon/offできたほうがいいかと。 >> >>> >> >>> 人によっては起動して垂れ流しになればいい、という人もいるでしょうし、:を >> >>> さわってどうすればいいか分らなくなる可能性もあるし、ということで >> >> >> >> うーん、わざわざマイナーモードを準備するほどでもないような気がします >> >> が。。困ったときはとりあえず C-g なEmacsとしてはそんなに邪魔にならない >> >> んじゃないかと思います。他の人の意見も聞いてみたいですね。 >> > >> > その後いろいろ考えてましたが、マイナーモードってことはないですね、オプ >> > ションが妥当かな。 >> > >> > というか現状もminor-modeが多いので、一部はオプション化すべきかもしれませ >> > んねぇ >> > # iconとかtwittering-mode限定ならminorでなくてもいいしね >> > >> > >> > -- >> > Tsuyoshi CHO >> > mailto:tsuyoshi....@gmail.com >> > >> >> ------------------------------------------------------------------------------ >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> twmode-users mailing list >> twmode-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/twmode-users > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > twmode-users mailing list > twmode-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/twmode-users ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ twmode-users mailing list twmode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/twmode-users