やたがわです。 > "bookmark"という名前は直感的でない気もしますが…。
個人的には、"alias"が判りやすくてよいかなと思います。 あと、些細な点ですが、以下のようにするのが好みです。 diff --git a/twittering-mode.el b/twittering-mode.el index e5e898e..853db5e 100644 --- a/twittering-mode.el +++ b/twittering-mode.el @@ -877,7 +877,10 @@ Return nil if STR is invalid as a timeline spec." (when twittering-use-ssl (push "ssl" enabled-options)) (setq mode-name - (concat twittering-mode-string " " spec-string + (concat twittering-mode-string + (if spec-string + (concat " " spec-string) + "") (if enabled-options (concat "[" (mapconcat 'identity enabled-options ",") > 松尾です。 >> mode-lineの表示が"twittering-mode::friends[ssl]"のように、 >> :が並んでいて区切りが判りにくい(ような気がする)のと、 >> twittering-timeline-spec-to-string()�...@と~だけ特別扱い >> している点がちょっと気になりました。 >> >> 前者は好みの問題が大きいと思うので置いておくとして、後者は、 >> 連想リストかなにかの定義を上書きすることでユーザが省略形を >> 追加できる仕組みがあるとよいかもしれません。 >> > 表示の件は以前のままの実装に文字列表現を追加しただけなので > 手抜きです。 > ・buffer名が *twittering* なのでtwittering-mode:の > 表示自体必要ない? > ・複数bufferを許すならむしろbuffer名として表示すべき? > 等と考えていて結局そのままになってしまっています。 > twittering-mode :friendsのように空白にした方が見やすいかも > しれませんね。 > 後者の件に関してですが確か...@や~をこちらで特別扱いするのは > あまり綺麗じゃないですね。た...@や~のような文字列表現を > ユーザ側で定義できるようにするのはちょっと面倒そうです。 > 代わりというわけではないですが、bookmarkというか合成した結果 > に名前を付ける仕組みを考えてました。mergeやfilterを使って > 長いspecを作ったときに、短い名前で参照できるようにするもの > です。 > それをユーザ側でどう指定してもらうか、いつの時点のbookmarkを > 参照するか(twittering-modeに入ったときの値?、現在の値?)を > 少し考えたまま放置してます。 > (bookmark中でのbookmark参照も許す?) > 今考えてみると > (setq twittering-timeline-spec-bookmark > '(("FRIENDS" . "(USER1+USER2+USER3)") > ("TO_ME" . "(:mentions+:retweets_of_me+:direct-messages)"))) > と定義してもらって、"$FRIENDS"とか"$TO_ME"で参照するので > 十分のような気もしてきました。 > "bookmark"という名前は直感的でない気もしますが…。 > bookmark名として [a-za-z...@~_-]+ (正規表現)を許すことに > すれ�...@や$~の意味をユーザ側で与えることはできます。 > --- > 松尾 直志 <t...@mymail.twin.jp> ------------------------------------------------------------------------------ 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