{"action":"created","comment":{"url":"https://api.github.com/repos/dotemacs/simplenote.el/pulls/comments/79155021","id":79155021,"diff_hunk":"@@ -368,6 +368,8 @@ setting.\"\n     ;; Don't switch mode when set via file cookie\n     (when (eq major-mode (default-value 'major-mode))\n       (funcall simplenote-notes-mode))\n+    ;; Rename the buffer something useful\n+    (rename-buffer (simplenote2--note-headline (buffer-string)))","path":"simplenote.el","position":5,"original_position":5,"commit_id":"ad4b6ef8c46cd2a0b1b7406d1a796d20e9e65ebf","original_commit_id":"ad4b6ef8c46cd2a0b1b7406d1a796d20e9e65ebf","user":{"login":"mmcclimon","id":1698723,"avatar_url":"https://avatars.githubusercontent.com/u/1698723?v=3","gravatar_id":"","url":"https://api.github.com/users/mmcclimon","html_url":"https://github.com/mmcclimon","followers_url":"https://api.github.com/users/mmcclimon/followers","following_url":"https://api.github.com/users/mmcclimon/following{/other_user}","gists_url":"https://api.github.com/users/mmcclimon/gists{/gist_id}","starred_url":"https://api.github.com/users/mmcclimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmcclimon/subscriptions","organizations_url":"https://api.github.com/users/mmcclimon/orgs","repos_url":"https://api.github.com/users/mmcclimon/repos","events_url":"https://api.github.com/users/mmcclimon/events{/privacy}","received_events_url":"https://api.github.com/users/mmcclimon/received_events","type":"User","site_admin":false},"body":"I'm sorry, that's my mistake. I had both open in tabs and submitted the PR to the wrong one. Thanks!","created_at":"2016-09-16T12:02:33Z","updated_at":"2016-09-16T12:02:33Z","html_url":"https://github.com/dotemacs/simplenote.el/pull/7#discussion_r79155021","pull_request_url":"https://api.github.com/repos/dotemacs/simplenote.el/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/dotemacs/simplenote.el/pulls/comments/79155021"},"html":{"href":"https://github.com/dotemacs/simplenote.el/pull/7#discussion_r79155021"},"pull_request":{"href":"https://api.github.com/repos/dotemacs/simplenote.el/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/dotemacs/simplenote.el/pulls/7","id":85488401,"html_url":"https://github.com/dotemacs/simplenote.el/pull/7","diff_url":"https://github.com/dotemacs/simplenote.el/pull/7.diff","patch_url":"https://github.com/dotemacs/simplenote.el/pull/7.patch","issue_url":"https://api.github.com/repos/dotemacs/simplenote.el/issues/7","number":7,"state":"open","locked":false,"title":"Use note headline as buffer name","user":{"login":"mmcclimon","id":1698723,"avatar_url":"https://avatars.githubusercontent.com/u/1698723?v=3","gravatar_id":"","url":"https://api.github.com/users/mmcclimon","html_url":"https://github.com/mmcclimon","followers_url":"https://api.github.com/users/mmcclimon/followers","following_url":"https://api.github.com/users/mmcclimon/following{/other_user}","gists_url":"https://api.github.com/users/mmcclimon/gists{/gist_id}","starred_url":"https://api.github.com/users/mmcclimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmcclimon/subscriptions","organizations_url":"https://api.github.com/users/mmcclimon/orgs","repos_url":"https://api.github.com/users/mmcclimon/repos","events_url":"https://api.github.com/users/mmcclimon/events{/privacy}","received_events_url":"https://api.github.com/users/mmcclimon/received_events","type":"User","site_admin":false},"body":"I just started using simplenote.el (thanks, btw!), and after opening a few notes found it impossible to keep track of which note was which. This edit just uses the note headline as a title to the buffer, rather than the file name (which is just hex garbage).","created_at":"2016-09-15T22:01:21Z","updated_at":"2016-09-16T12:02:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5548b60c3070277d9e5a727b616f066d9df030ec","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotemacs/simplenote.el/pulls/7/commits","review_comments_url":"https://api.github.com/repos/dotemacs/simplenote.el/pulls/7/comments","review_comment_url":"https://api.github.com/repos/dotemacs/simplenote.el/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotemacs/simplenote.el/issues/7/comments","statuses_url":"https://api.github.com/repos/dotemacs/simplenote.el/statuses/ad4b6ef8c46cd2a0b1b7406d1a796d20e9e65ebf","head":{"label":"mmcclimon:patch-1","ref":"patch-1","sha":"ad4b6ef8c46cd2a0b1b7406d1a796d20e9e65ebf","user":{"login":"mmcclimon","id":1698723,"avatar_url":"https://avatars.githubusercontent.com/u/1698723?v=3","gravatar_id":"","url":"https://api.github.com/users/mmcclimon","html_url":"https://github.com/mmcclimon","followers_url":"https://api.github.com/users/mmcclimon/followers","following_url":"https://api.github.com/users/mmcclimon/following{/other_user}","gists_url":"https://api.github.com/users/mmcclimon/gists{/gist_id}","starred_url":"https://api.github.com/users/mmcclimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmcclimon/subscriptions","organizations_url":"https://api.github.com/users/mmcclimon/orgs","repos_url":"https://api.github.com/users/mmcclimon/repos","events_url":"https://api.github.com/users/mmcclimon/events{/privacy}","received_events_url":"https://api.github.com/users/mmcclimon/received_events","type":"User","site_admin":false},"repo":{"id":68334526,"name":"simplenote.el","full_name":"mmcclimon/simplenote.el","owner":{"login":"mmcclimon","id":1698723,"avatar_url":"https://avatars.githubusercontent.com/u/1698723?v=3","gravatar_id":"","url":"https://api.github.com/users/mmcclimon","html_url":"https://github.com/mmcclimon","followers_url":"https://api.github.com/users/mmcclimon/followers","following_url":"https://api.github.com/users/mmcclimon/following{/other_user}","gists_url":"https://api.github.com/users/mmcclimon/gists{/gist_id}","starred_url":"https://api.github.com/users/mmcclimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmcclimon/subscriptions","organizations_url":"https://api.github.com/users/mmcclimon/orgs","repos_url":"https://api.github.com/users/mmcclimon/repos","events_url":"https://api.github.com/users/mmcclimon/events{/privacy}","received_events_url":"https://api.github.com/users/mmcclimon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mmcclimon/simplenote.el","description":"Simplenote interface for Emacs","fork":true,"url":"https://api.github.com/repos/mmcclimon/simplenote.el","forks_url":"https://api.github.com/repos/mmcclimon/simplenote.el/forks","keys_url":"https://api.github.com/repos/mmcclimon/simplenote.el/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mmcclimon/simplenote.el/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mmcclimon/simplenote.el/teams","hooks_url":"https://api.github.com/repos/mmcclimon/simplenote.el/hooks","issue_events_url":"https://api.github.com/repos/mmcclimon/simplenote.el/issues/events{/number}","events_url":"https://api.github.com/repos/mmcclimon/simplenote.el/events","assignees_url":"https://api.github.com/repos/mmcclimon/simplenote.el/assignees{/user}","branches_url":"https://api.github.com/repos/mmcclimon/simplenote.el/branches{/branch}","tags_url":"https://api.github.com/repos/mmcclimon/simplenote.el/tags","blobs_url":"https://api.github.com/repos/mmcclimon/simplenote.el/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mmcclimon/simplenote.el/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mmcclimon/simplenote.el/git/refs{/sha}","trees_url":"https://api.github.com/repos/mmcclimon/simplenote.el/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mmcclimon/simplenote.el/statuses/{sha}","languages_url":"https://api.github.com/repos/mmcclimon/simplenote.el/languages","stargazers_url":"https://api.github.com/repos/mmcclimon/simplenote.el/stargazers","contributors_url":"https://api.github.com/repos/mmcclimon/simplenote.el/contributors","subscribers_url":"https://api.github.com/repos/mmcclimon/simplenote.el/subscribers","subscription_url":"https://api.github.com/repos/mmcclimon/simplenote.el/subscription","commits_url":"https://api.github.com/repos/mmcclimon/simplenote.el/commits{/sha}","git_commits_url":"https://api.github.com/repos/mmcclimon/simplenote.el/git/commits{/sha}","comments_url":"https://api.github.com/repos/mmcclimon/simplenote.el/comments{/number}","issue_comment_url":"https://api.github.com/repos/mmcclimon/simplenote.el/issues/comments{/number}","contents_url":"https://api.github.com/repos/mmcclimon/simplenote.el/contents/{+path}","compare_url":"https://api.github.com/repos/mmcclimon/simplenote.el/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mmcclimon/simplenote.el/merges","archive_url":"https://api.github.com/repos/mmcclimon/simplenote.el/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mmcclimon/simplenote.el/downloads","issues_url":"https://api.github.com/repos/mmcclimon/simplenote.el/issues{/number}","pulls_url":"https://api.github.com/repos/mmcclimon/simplenote.el/pulls{/number}","milestones_url":"https://api.github.com/repos/mmcclimon/simplenote.el/milestones{/number}","notifications_url":"https://api.github.com/repos/mmcclimon/simplenote.el/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mmcclimon/simplenote.el/labels{/name}","releases_url":"https://api.github.com/repos/mmcclimon/simplenote.el/releases{/id}","deployments_url":"https://api.github.com/repos/mmcclimon/simplenote.el/deployments","created_at":"2016-09-15T21:58:27Z","updated_at":"2016-09-15T21:58:28Z","pushed_at":"2016-09-15T22:01:14Z","git_url":"git://github.com/mmcclimon/simplenote.el.git","ssh_url":"git@github.com:mmcclimon/simplenote.el.git","clone_url":"https://github.com/mmcclimon/simplenote.el.git","svn_url":"https://github.com/mmcclimon/simplenote.el","homepage":"","size":44,"stargazers_count":0,"watchers_count":0,"language":"Emacs Lisp","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotemacs:master","ref":"master","sha":"e836fcdb5a6497a9ffd6bceddd19b4bc52189078","user":{"login":"dotemacs","id":152363,"avatar_url":"https://avatars.githubusercontent.com/u/152363?v=3","gravatar_id":"","url":"https://api.github.com/users/dotemacs","html_url":"https://github.com/dotemacs","followers_url":"https://api.github.com/users/dotemacs/followers","following_url":"https://api.github.com/users/dotemacs/following{/other_user}","gists_url":"https://api.github.com/users/dotemacs/gists{/gist_id}","starred_url":"https://api.github.com/users/dotemacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotemacs/subscriptions","organizations_url":"https://api.github.com/users/dotemacs/orgs","repos_url":"https://api.github.com/users/dotemacs/repos","events_url":"https://api.github.com/users/dotemacs/events{/privacy}","received_events_url":"https://api.github.com/users/dotemacs/received_events","type":"User","site_admin":false},"repo":{"id":6687885,"name":"simplenote.el","full_name":"dotemacs/simplenote.el","owner":{"login":"dotemacs","id":152363,"avatar_url":"https://avatars.githubusercontent.com/u/152363?v=3","gravatar_id":"","url":"https://api.github.com/users/dotemacs","html_url":"https://github.com/dotemacs","followers_url":"https://api.github.com/users/dotemacs/followers","following_url":"https://api.github.com/users/dotemacs/following{/other_user}","gists_url":"https://api.github.com/users/dotemacs/gists{/gist_id}","starred_url":"https://api.github.com/users/dotemacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotemacs/subscriptions","organizations_url":"https://api.github.com/users/dotemacs/orgs","repos_url":"https://api.github.com/users/dotemacs/repos","events_url":"https://api.github.com/users/dotemacs/events{/privacy}","received_events_url":"https://api.github.com/users/dotemacs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dotemacs/simplenote.el","description":"Simplenote interface for Emacs","fork":true,"url":"https://api.github.com/repos/dotemacs/simplenote.el","forks_url":"https://api.github.com/repos/dotemacs/simplenote.el/forks","keys_url":"https://api.github.com/repos/dotemacs/simplenote.el/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotemacs/simplenote.el/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotemacs/simplenote.el/teams","hooks_url":"https://api.github.com/repos/dotemacs/simplenote.el/hooks","issue_events_url":"https://api.github.com/repos/dotemacs/simplenote.el/issues/events{/number}","events_url":"https://api.github.com/repos/dotemacs/simplenote.el/events","assignees_url":"https://api.github.com/repos/dotemacs/simplenote.el/assignees{/user}","branches_url":"https://api.github.com/repos/dotemacs/simplenote.el/branches{/branch}","tags_url":"https://api.github.com/repos/dotemacs/simplenote.el/tags","blobs_url":"https://api.github.com/repos/dotemacs/simplenote.el/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotemacs/simplenote.el/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotemacs/simplenote.el/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotemacs/simplenote.el/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotemacs/simplenote.el/statuses/{sha}","languages_url":"https://api.github.com/repos/dotemacs/simplenote.el/languages","stargazers_url":"https://api.github.com/repos/dotemacs/simplenote.el/stargazers","contributors_url":"https://api.github.com/repos/dotemacs/simplenote.el/contributors","subscribers_url":"https://api.github.com/repos/dotemacs/simplenote.el/subscribers","subscription_url":"https://api.github.com/repos/dotemacs/simplenote.el/subscription","commits_url":"https://api.github.com/repos/dotemacs/simplenote.el/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotemacs/simplenote.el/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotemacs/simplenote.el/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotemacs/simplenote.el/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotemacs/simplenote.el/contents/{+path}","compare_url":"https://api.github.com/repos/dotemacs/simplenote.el/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotemacs/simplenote.el/merges","archive_url":"https://api.github.com/repos/dotemacs/simplenote.el/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotemacs/simplenote.el/downloads","issues_url":"https://api.github.com/repos/dotemacs/simplenote.el/issues{/number}","pulls_url":"https://api.github.com/repos/dotemacs/simplenote.el/pulls{/number}","milestones_url":"https://api.github.com/repos/dotemacs/simplenote.el/milestones{/number}","notifications_url":"https://api.github.com/repos/dotemacs/simplenote.el/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotemacs/simplenote.el/labels{/name}","releases_url":"https://api.github.com/repos/dotemacs/simplenote.el/releases{/id}","deployments_url":"https://api.github.com/repos/dotemacs/simplenote.el/deployments","created_at":"2012-11-14T13:09:47Z","updated_at":"2016-08-29T07:57:23Z","pushed_at":"2016-09-15T22:01:21Z","git_url":"git://github.com/dotemacs/simplenote.el.git","ssh_url":"git@github.com:dotemacs/simplenote.el.git","clone_url":"https://github.com/dotemacs/simplenote.el.git","svn_url":"https://github.com/dotemacs/simplenote.el","homepage":"","size":316,"stargazers_count":26,"watchers_count":26,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotemacs/simplenote.el/pulls/7"},"html":{"href":"https://github.com/dotemacs/simplenote.el/pull/7"},"issue":{"href":"https://api.github.com/repos/dotemacs/simplenote.el/issues/7"},"comments":{"href":"https://api.github.com/repos/dotemacs/simplenote.el/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/dotemacs/simplenote.el/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/dotemacs/simplenote.el/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotemacs/simplenote.el/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/dotemacs/simplenote.el/statuses/ad4b6ef8c46cd2a0b1b7406d1a796d20e9e65ebf"}}}}
{"actor":{"display_login":"mmcclimon"}}