Permalink
Browse files

Post a native retweet of another native retweet.

* twittering-mode.el: Post a native retweet of another native
retweet if a user requests it. Previously, twittering-mode posted
a native retweet of an original tweet that had been retweeted. The
behavior is changed so that notification to the earlier
retweeting user from Twitter works well. Twitter sends a
notification to a user when his or her retweet is retweeted by
other users.
(twittering-native-retweet): post a retweet of a native retweet
instead of posting a native retweet of the original tweet when a
user requests to post a native retweet of another native retweet.
  • Loading branch information...
1 parent dae4490 commit ace7ace7096fd7333c8fb2989411983ae569b49e @cvmat cvmat committed Dec 8, 2013
Showing with 28 additions and 2 deletions.
  1. +11 −0 ChangeLog
  2. +8 −0 NEWS
  3. +8 −0 NEWS.ja
  4. +1 −2 twittering-mode.el
View
@@ -21,6 +21,17 @@
(twittering-push-uri-onto-kill-ring): simply send a tweet alist
itself to the function `twittering-get-status-url-from-alist'.
+ * twittering-mode.el: Post a native retweet of another native
+ retweet if a user requests it. Previously, twittering-mode posted
+ a native retweet of an original tweet that had been retweeted. The
+ behavior is changed so that notification to the earlier
+ retweeting user from Twitter works well. Twitter sends a
+ notification to a user when his or her retweet is retweeted by
+ other users.
+ (twittering-native-retweet): post a retweet of a native retweet
+ instead of posting a native retweet of the original tweet when a
+ user requests to post a native retweet of another native retweet.
+
2013-12-09 tomykaira <tomykaira@gmail.com>
* twittering-mode.el: Fix arguments of `twittering-http-post'.
View
@@ -6,6 +6,14 @@
------------------
### Important notice
+* Posting a native retweet of a native retweet.
+ When the function `twittering-native-retweet' bound to "C-u C-c C-m"
+ is invoked on a native retweet, the current version of
+ twittering-mode posts a native retweet of the retweet. The
+ previous version posted a native retweet of the original tweet
+ that had been retweeted. The behavior is changed so that
+ notifications from Twitter will be sent to the user who has posted
+ the retweet earlier.
### Improvements
View
@@ -6,6 +6,14 @@
------------------
### 重要なお知らせ
+* 公式ReTweetに対する公式ReTweet
+ 公式ReTweet上で関数`twittering-native-retweet'(デフォルトでは"C-u
+ C-c C-m"にbindされています)を実行した場合に、その公式ReTweetに対する
+ 公式ReTweetを投稿するようになりました。以前のバージョンでは、公式
+ ReTweetそのものではなく、ReTweetされたオリジナルのtweetに対する公式
+ ReTweetを投稿していました。これは対象ReTweetを投稿していたユーザに、
+ さらにReTweetが行われたことの通知がTwitterから正しく送信されるように
+ するための変更です。
### 改良
View
@@ -11148,8 +11148,7 @@ How to edit a tweet is determined by `twittering-update-status-funcion'."
(defun twittering-native-retweet ()
(interactive)
- (let ((id (or (get-text-property (point) 'retweeted-id)
- (get-text-property (point) 'id)))
+ (let ((id (get-text-property (point) 'id))
(text (copy-sequence (get-text-property (point) 'text)))
(user (get-text-property (point) 'username))
(width (max 40 ;; XXX

0 comments on commit ace7ace

Please sign in to comment.