{"thread":{"id":"13092","subject":"[StGit PATCH] emacs mode: handle \"stg status\" output with #","startedAt":"2008-04-13T16:48:31Z","lastAt":"2008-04-13T16:48:31Z","messageCount":1,"participants":["Karl Hasselström"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"74259","messageId":"20080413164818.8926.15902.stgit@yoghurt","threadId":"13092","inReplyTo":null,"subject":"[StGit PATCH] emacs mode: handle \"stg status\" output with #","fromName":"Karl Hasselström","fromEmail":"kha@treskal.com","sentAt":"2008-04-13T16:48:31Z","receivedAt":"2008-04-13T16:48:31Z","isPatch":true,"sender":{"key":"kha@treskal.com","avatar":"https://gravatar.com/avatar/f0120c734b5279b345075a28521e1ac66acb20c9913ffe9bf6ae97e53f7f3f13?d=mp&s=160"},"body":"Recently, \"stg status\" started separating patch names and descriptions\nwith # rather than |. This broke some parts of the emacs mode, such as\ncoloring and patch selection.\n\nThis patch makes the emacs mode accept either delimiter.\n\nSigned-off-by: Karl Hasselström <kha@treskal.com>\n\n---\n\n contrib/stgit.el |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\n\ndiff --git a/contrib/stgit.el b/contrib/stgit.el\nindex ba6df6a..339ef13 100644\n--- a/contrib/stgit.el\n+++ b/contrib/stgit.el\n@@ -107,7 +107,7 @@ Argument DIR is the repository path.\"\n         (cond ((looking-at \"Branch: \\\\(.*\\\\)\")\n                (put-text-property (match-beginning 1) (match-end 1)\n                                   'face 'bold))\n-              ((looking-at \"\\\\([>+-]\\\\)\\\\( \\\\)\\\\([^ ]+\\\\) *| \\\\(.*\\\\)\")\n+              ((looking-at \"\\\\([>+-]\\\\)\\\\( \\\\)\\\\([^ ]+\\\\) *[|#] \\\\(.*\\\\)\")\n                (let ((state (match-string 1))\n                      (patchsym (intern (match-string 3))))\n                  (put-text-property\n"}]}