Skip to content

Commit

Permalink
The body of `twittering-format-status' is dynamically generated.
Browse files Browse the repository at this point in the history
* twittering-mode.el (twittering-format-status-function-source):
new variable for the status format used for generating
`twittering-format-status-function'.
(twittering-format-status-function): new variable for
byte-compiled formating function.
(twittering-parse-format-string): new function.
(twittering-generate-formater): new macro for generating a lambda
expression for given a format string and specifiers.
(twittering-generate-status-formater-base): new macro for
generating a lambda expression for given a format string.
(twittering-generate-format-status-function): new macro for
generating format status function.
(twittering-update-status-format): new function for adjusting
`twittering-format-status-function' with the current value of
`twittering-status-format'.
(twittering-mode-init-variables): invoke
`twittering-update-status-format'.
(twittering-render-timeline): call
`twittering-update-status-format' before rendering statuses.
(twittering-format-status): changed into a function receiving one
argument. It only calls `twittering-format-status-function'.
  • Loading branch information
cvmat committed Feb 28, 2010
1 parent dcf720c commit 4616120
Show file tree
Hide file tree
Showing 2 changed files with 274 additions and 171 deletions.
24 changes: 24 additions & 0 deletions ChangeLog
@@ -1,3 +1,27 @@
2010-02-28 Tadashi MATSUO <tad@mymail.twin.jp>

* twittering-mode.el (twittering-format-status-function-source):
new variable for the status format used for generating
`twittering-format-status-function'.
(twittering-format-status-function): new variable for
byte-compiled formating function.
(twittering-parse-format-string): new function.
(twittering-generate-formater): new macro for generating a lambda
expression for given a format string and specifiers.
(twittering-generate-status-formater-base): new macro for
generating a lambda expression for given a format string.
(twittering-generate-format-status-function): new macro for
generating format status function.
(twittering-update-status-format): new function for adjusting
`twittering-format-status-function' with the current value of
`twittering-status-format'.
(twittering-mode-init-variables): invoke
`twittering-update-status-format'.
(twittering-render-timeline): call
`twittering-update-status-format' before rendering statuses.
(twittering-format-status): changed into a function receiving one
argument. It only calls `twittering-format-status-function'.

2010-02-27 Satoshi Yatagawa <yata_github@y.hauN.org>

* twittering-mode.el (twittering-retweet): If `C-u' prefix is
Expand Down

0 comments on commit 4616120

Please sign in to comment.