specifies a single saved search for inbox, but the number displayed by
the search will be the number of unread messages in the inbox, and the
specifies a single saved search for inbox, but the number displayed by
the search will be the number of unread messages in the inbox, and the
- (lambda (message-id)
- (concat "http://patchwork.example.com/patch/"
- (nth 0
- (process-lines "/path/to/pwclient" "search"
- "-p" "the-project"
- "-m" (concat "<" message-id ">")
- "-n" "1"
- "-f" "%{id}"))))
+ (lambda (message-id)
+ (concat "http://patchwork.example.com/patch/"
+ (nth 0
+ (process-lines "/path/to/pwclient" "search"
+ "-p" "the-project"
+ "-m" (concat "<" message-id ">")
+ "-n" "1"
+ "-f" "%{id}"))))
Replacing `http://patchwork.example.com/patch/`, `/path/to/pwclient`, and
`the-project` appropiately. You should now be able to stash the Patchwork URL
Replacing `http://patchwork.example.com/patch/`, `/path/to/pwclient`, and
`the-project` appropiately. You should now be able to stash the Patchwork URL
- (lambda (message-id)
- (nth 0
- (process-lines "/path/to/pwclient" "search"
- "-p" "the-project"
- "-m" (concat "<" message-id ">")
- "-n" "1"
- "-f" "%{commit_ref}")))
+ (lambda (message-id)
+ (nth 0
+ (process-lines "/path/to/pwclient" "search"
+ "-p" "the-project"
+ "-m" (concat "<" message-id ">")
+ "-n" "1"
+ "-f" "%{commit_ref}")))
And finally, if the project has a web interface to its source repository, you
can turn the commit hash into a URL pointing there, for example:
And finally, if the project has a web interface to its source repository, you
can turn the commit hash into a URL pointing there, for example:
- (lambda (message-id)
- (concat "http://cgit.example.com/the-project/commit/?id="
- (nth 0
- (process-lines "/path/to/pwclient" "search"
- "-p" "the-project"
- "-m" (concat "<" message-id ">")
- "-n" "1"
- "-f" "%{commit_ref}"))))
+ (lambda (message-id)
+ (concat "http://cgit.example.com/the-project/commit/?id="
+ (nth 0
+ (process-lines "/path/to/pwclient" "search"
+ "-p" "the-project"
+ "-m" (concat "<" message-id ">")
+ "-n" "1"
+ "-f" "%{commit_ref}"))))