{"action":"closed","number":666,"pull_request":{"url":"https://api.github.com/repos/djcb/mu/pulls/666","id":45636372,"html_url":"https://github.com/djcb/mu/pull/666","diff_url":"https://github.com/djcb/mu/pull/666.diff","patch_url":"https://github.com/djcb/mu/pull/666.patch","issue_url":"https://api.github.com/repos/djcb/mu/issues/666","number":666,"state":"closed","locked":false,"title":"Do not convert dash to underscore when indexing","user":{"login":"ptroja","id":161602,"avatar_url":"https://avatars.githubusercontent.com/u/161602?v=3","gravatar_id":"","url":"https://api.github.com/users/ptroja","html_url":"https://github.com/ptroja","followers_url":"https://api.github.com/users/ptroja/followers","following_url":"https://api.github.com/users/ptroja/following{/other_user}","gists_url":"https://api.github.com/users/ptroja/gists{/gist_id}","starred_url":"https://api.github.com/users/ptroja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptroja/subscriptions","organizations_url":"https://api.github.com/users/ptroja/orgs","repos_url":"https://api.github.com/users/ptroja/repos","events_url":"https://api.github.com/users/ptroja/events{/privacy}","received_events_url":"https://api.github.com/users/ptroja/received_events","type":"User","site_admin":false},"body":"Mu converts dash (-) to underscore (_) when indexing. This makes it impossible to search for strings like \"non-terminating\" (instead one had to search for \"non terminating\" which is only an approximation).\r\n    \r\nThis conversion also prevents me from searching for my company's internal ticket numbers, which contain dashes. Other mail indexers, like Thunderbird and notmuch, do not have a problem with searching for strings with dashes.\r\n\r\n(Minor whitespace and comment fixes also included in this pull request).","created_at":"2015-09-22T08:13:15Z","updated_at":"2015-09-22T08:51:00Z","closed_at":"2015-09-22T08:51:00Z","merged_at":null,"merge_commit_sha":"c3d961966e3102689e028f8a45960fb761c90970","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/djcb/mu/pulls/666/commits","review_comments_url":"https://api.github.com/repos/djcb/mu/pulls/666/comments","review_comment_url":"https://api.github.com/repos/djcb/mu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/djcb/mu/issues/666/comments","statuses_url":"https://api.github.com/repos/djcb/mu/statuses/9e7e9724fd124e20a8b90f8dc6ec154aa89a6075","head":{"label":"ptroja:master","ref":"master","sha":"9e7e9724fd124e20a8b90f8dc6ec154aa89a6075","user":{"login":"ptroja","id":161602,"avatar_url":"https://avatars.githubusercontent.com/u/161602?v=3","gravatar_id":"","url":"https://api.github.com/users/ptroja","html_url":"https://github.com/ptroja","followers_url":"https://api.github.com/users/ptroja/followers","following_url":"https://api.github.com/users/ptroja/following{/other_user}","gists_url":"https://api.github.com/users/ptroja/gists{/gist_id}","starred_url":"https://api.github.com/users/ptroja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptroja/subscriptions","organizations_url":"https://api.github.com/users/ptroja/orgs","repos_url":"https://api.github.com/users/ptroja/repos","events_url":"https://api.github.com/users/ptroja/events{/privacy}","received_events_url":"https://api.github.com/users/ptroja/received_events","type":"User","site_admin":false},"repo":{"id":42456359,"name":"mu","full_name":"ptroja/mu","owner":{"login":"ptroja","id":161602,"avatar_url":"https://avatars.githubusercontent.com/u/161602?v=3","gravatar_id":"","url":"https://api.github.com/users/ptroja","html_url":"https://github.com/ptroja","followers_url":"https://api.github.com/users/ptroja/followers","following_url":"https://api.github.com/users/ptroja/following{/other_user}","gists_url":"https://api.github.com/users/ptroja/gists{/gist_id}","starred_url":"https://api.github.com/users/ptroja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptroja/subscriptions","organizations_url":"https://api.github.com/users/ptroja/orgs","repos_url":"https://api.github.com/users/ptroja/repos","events_url":"https://api.github.com/users/ptroja/events{/privacy}","received_events_url":"https://api.github.com/users/ptroja/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ptroja/mu","description":"maildir indexer/searcher + emacs mail client + guile bindings","fork":true,"url":"https://api.github.com/repos/ptroja/mu","forks_url":"https://api.github.com/repos/ptroja/mu/forks","keys_url":"https://api.github.com/repos/ptroja/mu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ptroja/mu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ptroja/mu/teams","hooks_url":"https://api.github.com/repos/ptroja/mu/hooks","issue_events_url":"https://api.github.com/repos/ptroja/mu/issues/events{/number}","events_url":"https://api.github.com/repos/ptroja/mu/events","assignees_url":"https://api.github.com/repos/ptroja/mu/assignees{/user}","branches_url":"https://api.github.com/repos/ptroja/mu/branches{/branch}","tags_url":"https://api.github.com/repos/ptroja/mu/tags","blobs_url":"https://api.github.com/repos/ptroja/mu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ptroja/mu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ptroja/mu/git/refs{/sha}","trees_url":"https://api.github.com/repos/ptroja/mu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ptroja/mu/statuses/{sha}","languages_url":"https://api.github.com/repos/ptroja/mu/languages","stargazers_url":"https://api.github.com/repos/ptroja/mu/stargazers","contributors_url":"https://api.github.com/repos/ptroja/mu/contributors","subscribers_url":"https://api.github.com/repos/ptroja/mu/subscribers","subscription_url":"https://api.github.com/repos/ptroja/mu/subscription","commits_url":"https://api.github.com/repos/ptroja/mu/commits{/sha}","git_commits_url":"https://api.github.com/repos/ptroja/mu/git/commits{/sha}","comments_url":"https://api.github.com/repos/ptroja/mu/comments{/number}","issue_comment_url":"https://api.github.com/repos/ptroja/mu/issues/comments{/number}","contents_url":"https://api.github.com/repos/ptroja/mu/contents/{+path}","compare_url":"https://api.github.com/repos/ptroja/mu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ptroja/mu/merges","archive_url":"https://api.github.com/repos/ptroja/mu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ptroja/mu/downloads","issues_url":"https://api.github.com/repos/ptroja/mu/issues{/number}","pulls_url":"https://api.github.com/repos/ptroja/mu/pulls{/number}","milestones_url":"https://api.github.com/repos/ptroja/mu/milestones{/number}","notifications_url":"https://api.github.com/repos/ptroja/mu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ptroja/mu/labels{/name}","releases_url":"https://api.github.com/repos/ptroja/mu/releases{/id}","created_at":"2015-09-14T15:11:09Z","updated_at":"2015-09-14T15:11:11Z","pushed_at":"2015-09-22T08:09:49Z","git_url":"git://github.com/ptroja/mu.git","ssh_url":"git@github.com:ptroja/mu.git","clone_url":"https://github.com/ptroja/mu.git","svn_url":"https://github.com/ptroja/mu","homepage":"http://www.djcbsoftware.nl/code/mu","size":14595,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"djcb:master","ref":"master","sha":"1c988358155b3224fcd8563ebb907d103480e29f","user":{"login":"djcb","id":199741,"avatar_url":"https://avatars.githubusercontent.com/u/199741?v=3","gravatar_id":"","url":"https://api.github.com/users/djcb","html_url":"https://github.com/djcb","followers_url":"https://api.github.com/users/djcb/followers","following_url":"https://api.github.com/users/djcb/following{/other_user}","gists_url":"https://api.github.com/users/djcb/gists{/gist_id}","starred_url":"https://api.github.com/users/djcb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djcb/subscriptions","organizations_url":"https://api.github.com/users/djcb/orgs","repos_url":"https://api.github.com/users/djcb/repos","events_url":"https://api.github.com/users/djcb/events{/privacy}","received_events_url":"https://api.github.com/users/djcb/received_events","type":"User","site_admin":false},"repo":{"id":3117310,"name":"mu","full_name":"djcb/mu","owner":{"login":"djcb","id":199741,"avatar_url":"https://avatars.githubusercontent.com/u/199741?v=3","gravatar_id":"","url":"https://api.github.com/users/djcb","html_url":"https://github.com/djcb","followers_url":"https://api.github.com/users/djcb/followers","following_url":"https://api.github.com/users/djcb/following{/other_user}","gists_url":"https://api.github.com/users/djcb/gists{/gist_id}","starred_url":"https://api.github.com/users/djcb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djcb/subscriptions","organizations_url":"https://api.github.com/users/djcb/orgs","repos_url":"https://api.github.com/users/djcb/repos","events_url":"https://api.github.com/users/djcb/events{/privacy}","received_events_url":"https://api.github.com/users/djcb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/djcb/mu","description":"maildir indexer/searcher + emacs mail client + guile bindings","fork":false,"url":"https://api.github.com/repos/djcb/mu","forks_url":"https://api.github.com/repos/djcb/mu/forks","keys_url":"https://api.github.com/repos/djcb/mu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djcb/mu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djcb/mu/teams","hooks_url":"https://api.github.com/repos/djcb/mu/hooks","issue_events_url":"https://api.github.com/repos/djcb/mu/issues/events{/number}","events_url":"https://api.github.com/repos/djcb/mu/events","assignees_url":"https://api.github.com/repos/djcb/mu/assignees{/user}","branches_url":"https://api.github.com/repos/djcb/mu/branches{/branch}","tags_url":"https://api.github.com/repos/djcb/mu/tags","blobs_url":"https://api.github.com/repos/djcb/mu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djcb/mu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djcb/mu/git/refs{/sha}","trees_url":"https://api.github.com/repos/djcb/mu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djcb/mu/statuses/{sha}","languages_url":"https://api.github.com/repos/djcb/mu/languages","stargazers_url":"https://api.github.com/repos/djcb/mu/stargazers","contributors_url":"https://api.github.com/repos/djcb/mu/contributors","subscribers_url":"https://api.github.com/repos/djcb/mu/subscribers","subscription_url":"https://api.github.com/repos/djcb/mu/subscription","commits_url":"https://api.github.com/repos/djcb/mu/commits{/sha}","git_commits_url":"https://api.github.com/repos/djcb/mu/git/commits{/sha}","comments_url":"https://api.github.com/repos/djcb/mu/comments{/number}","issue_comment_url":"https://api.github.com/repos/djcb/mu/issues/comments{/number}","contents_url":"https://api.github.com/repos/djcb/mu/contents/{+path}","compare_url":"https://api.github.com/repos/djcb/mu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djcb/mu/merges","archive_url":"https://api.github.com/repos/djcb/mu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djcb/mu/downloads","issues_url":"https://api.github.com/repos/djcb/mu/issues{/number}","pulls_url":"https://api.github.com/repos/djcb/mu/pulls{/number}","milestones_url":"https://api.github.com/repos/djcb/mu/milestones{/number}","notifications_url":"https://api.github.com/repos/djcb/mu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djcb/mu/labels{/name}","releases_url":"https://api.github.com/repos/djcb/mu/releases{/id}","created_at":"2012-01-06T10:42:29Z","updated_at":"2015-09-21T17:07:49Z","pushed_at":"2015-09-22T08:22:31Z","git_url":"git://github.com/djcb/mu.git","ssh_url":"git@github.com:djcb/mu.git","clone_url":"https://github.com/djcb/mu.git","svn_url":"https://github.com/djcb/mu","homepage":"http://www.djcbsoftware.nl/code/mu","size":17280,"stargazers_count":450,"watchers_count":450,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":139,"mirror_url":null,"open_issues_count":111,"forks":139,"open_issues":111,"watchers":450,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/djcb/mu/pulls/666"},"html":{"href":"https://github.com/djcb/mu/pull/666"},"issue":{"href":"https://api.github.com/repos/djcb/mu/issues/666"},"comments":{"href":"https://api.github.com/repos/djcb/mu/issues/666/comments"},"review_comments":{"href":"https://api.github.com/repos/djcb/mu/pulls/666/comments"},"review_comment":{"href":"https://api.github.com/repos/djcb/mu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/djcb/mu/pulls/666/commits"},"statuses":{"href":"https://api.github.com/repos/djcb/mu/statuses/9e7e9724fd124e20a8b90f8dc6ec154aa89a6075"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":3,"additions":22,"deletions":22,"changed_files":6}}