Skip to content

Commit

Permalink
set pop-up-buffer as a default
Browse files Browse the repository at this point in the history
also updated NEWS files
  • Loading branch information
hayamiz committed Jun 4, 2010
1 parent 6252493 commit f4cafc6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
12 changes: 3 additions & 9 deletions NEWS
Expand Up @@ -13,15 +13,9 @@ There's two way to edit and post tweets in twittering-mode: with
minibuffer (existing way), and with pop-up buffer (new feature!). You
can choose it by setting the variable
`twittering-update-status-function`. Currently its default value is
the existing way, `twittering-update-status-from-minibuffer`, but in
next release it will be changed to the new way
`twittering-update-status-from-pop-up-buffer`.

We recommend you to use the new feature by adding following code to
your `.emacs`:

(setq twittering-update-status-function
'twittering-update-status-from-pop-up-buffer)
the new way, `twittering-update-status-from-pop-up-buffer`. If you
want to post from minibuffer, set the variable value to
`twittering-update-status-from-minibuffer`.

The new feature, pop-up buffer, has several advantages over the
existing way.
Expand Down
11 changes: 3 additions & 8 deletions NEWS.ja
Expand Up @@ -13,14 +13,9 @@ twittering-modeでtweetを投稿するには、これまではミニバッファ
る方法を採用していましたが、今回新機能としてポップアップバッファから投
稿できる機能を実装しました。変数 `twittering-update-status-function` を
設定することによってこの2つの方法を切り替えることができます。今回のリリー
スでは、いままでのミニバッファを使った方法がデフォルトになっていますが、
次回のリリースではポップアップバッファを用いた方法がデフォルトに設定さ
れ、ミニバッファによる投稿はサポートされなくなる予定です。

この新機能を使うには、.emacsにつぎの内容を追加してください:

(setq twittering-update-status-function
'twittering-update-status-from-pop-up-buffer)
スでは、新しいポップアップバッファがデフォルトに設定されています。従来
通りミニバッファから投稿したい場合は、この変数の値を
twittering-update-status-from-minibuffer に設定してください。

ポップアップバッファによる投稿では、従来の投稿方法に比べて次のような利
点があります:
Expand Down
2 changes: 1 addition & 1 deletion twittering-mode.el
Expand Up @@ -336,7 +336,7 @@ If nil, this is initialized with a list of valied entries extracted from
"Post retweets using native retweets if this variable is non-nil.")

(defvar twittering-update-status-function
'twittering-update-status-from-minibuffer
'twittering-update-status-from-pop-up-buffer
"The function used to posting a tweet. It takes two arguments:
the first argument INIT-STR is initial text to be edited and the
second argument REPLY-TO-ID is a user ID of a tweet to which you
Expand Down

0 comments on commit f4cafc6

Please sign in to comment.