{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/adept/helm/pulls/1","id":53863227,"html_url":"https://github.com/adept/helm/pull/1","diff_url":"https://github.com/adept/helm/pull/1.diff","patch_url":"https://github.com/adept/helm/pull/1.patch","issue_url":"https://api.github.com/repos/adept/helm/issues/1","number":1,"state":"open","locked":false,"title":"Jump to line number even if ffap-guesser expands filename","user":{"login":"adept","id":118058,"avatar_url":"https://avatars.githubusercontent.com/u/118058?v=3","gravatar_id":"","url":"https://api.github.com/users/adept","html_url":"https://github.com/adept","followers_url":"https://api.github.com/users/adept/followers","following_url":"https://api.github.com/users/adept/following{/other_user}","gists_url":"https://api.github.com/users/adept/gists{/gist_id}","starred_url":"https://api.github.com/users/adept/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adept/subscriptions","organizations_url":"https://api.github.com/users/adept/orgs","repos_url":"https://api.github.com/users/adept/repos","events_url":"https://api.github.com/users/adept/events{/privacy}","received_events_url":"https://api.github.com/users/adept/received_events","type":"User","site_admin":false},"body":"Imagine that helm-ff-guess-ffap-filenames is t, and string under point is \"foo.txt:12\". It is possible for (ffap-fuesser) to expand \"foo.txt\" to something like \"/some/full/path/that/contains/foo.txt\".\r\n\r\nHelm will open /some/full/path/that/contains/foo.txt just fine, but it will not jump to line 12, because code in helm-find-files-action-transformer and helm-ff-goto-linum assumes that ffap will never modify or expand filename taken from line under cursor.\r\n\r\nNone of the other actions in helm-find-files-action-transformer are quite as strict, so I think it is possible to relax the restriction, and this feature is doing just that.\r\n\r\nWay to test:\r\n\r\n(add-to-list 'ffap-alist '(\"foo.bar'\" . my-ffap-finder))\r\n(defun my-ffap-finder (name)\r\n     (ffap-locate-file\r\n      name nil (ffap-all-subdirs \"~/some/dir/that/contains/foo/bar/\")))\r\n\r\nnow put \"foo.bar:12\" in a buffer somewhere and call helm-find-files and observe that there is no jump to line 12 after open on master branch and there is jump to line 12 with code from this branch.","created_at":"2015-12-16T16:21:54Z","updated_at":"2015-12-16T16:21:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adept/helm/pulls/1/commits","review_comments_url":"https://api.github.com/repos/adept/helm/pulls/1/comments","review_comment_url":"https://api.github.com/repos/adept/helm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adept/helm/issues/1/comments","statuses_url":"https://api.github.com/repos/adept/helm/statuses/0821d0b23804d38e9dfee8553114e72be9cf6f22","head":{"label":"adept:ffap-expand-and-jump-to-lineno","ref":"ffap-expand-and-jump-to-lineno","sha":"0821d0b23804d38e9dfee8553114e72be9cf6f22","user":{"login":"adept","id":118058,"avatar_url":"https://avatars.githubusercontent.com/u/118058?v=3","gravatar_id":"","url":"https://api.github.com/users/adept","html_url":"https://github.com/adept","followers_url":"https://api.github.com/users/adept/followers","following_url":"https://api.github.com/users/adept/following{/other_user}","gists_url":"https://api.github.com/users/adept/gists{/gist_id}","starred_url":"https://api.github.com/users/adept/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adept/subscriptions","organizations_url":"https://api.github.com/users/adept/orgs","repos_url":"https://api.github.com/users/adept/repos","events_url":"https://api.github.com/users/adept/events{/privacy}","received_events_url":"https://api.github.com/users/adept/received_events","type":"User","site_admin":false},"repo":{"id":48120902,"name":"helm","full_name":"adept/helm","owner":{"login":"adept","id":118058,"avatar_url":"https://avatars.githubusercontent.com/u/118058?v=3","gravatar_id":"","url":"https://api.github.com/users/adept","html_url":"https://github.com/adept","followers_url":"https://api.github.com/users/adept/followers","following_url":"https://api.github.com/users/adept/following{/other_user}","gists_url":"https://api.github.com/users/adept/gists{/gist_id}","starred_url":"https://api.github.com/users/adept/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adept/subscriptions","organizations_url":"https://api.github.com/users/adept/orgs","repos_url":"https://api.github.com/users/adept/repos","events_url":"https://api.github.com/users/adept/events{/privacy}","received_events_url":"https://api.github.com/users/adept/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adept/helm","description":"Emacs incremental completion and selection narrowing framework","fork":true,"url":"https://api.github.com/repos/adept/helm","forks_url":"https://api.github.com/repos/adept/helm/forks","keys_url":"https://api.github.com/repos/adept/helm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adept/helm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adept/helm/teams","hooks_url":"https://api.github.com/repos/adept/helm/hooks","issue_events_url":"https://api.github.com/repos/adept/helm/issues/events{/number}","events_url":"https://api.github.com/repos/adept/helm/events","assignees_url":"https://api.github.com/repos/adept/helm/assignees{/user}","branches_url":"https://api.github.com/repos/adept/helm/branches{/branch}","tags_url":"https://api.github.com/repos/adept/helm/tags","blobs_url":"https://api.github.com/repos/adept/helm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adept/helm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adept/helm/git/refs{/sha}","trees_url":"https://api.github.com/repos/adept/helm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adept/helm/statuses/{sha}","languages_url":"https://api.github.com/repos/adept/helm/languages","stargazers_url":"https://api.github.com/repos/adept/helm/stargazers","contributors_url":"https://api.github.com/repos/adept/helm/contributors","subscribers_url":"https://api.github.com/repos/adept/helm/subscribers","subscription_url":"https://api.github.com/repos/adept/helm/subscription","commits_url":"https://api.github.com/repos/adept/helm/commits{/sha}","git_commits_url":"https://api.github.com/repos/adept/helm/git/commits{/sha}","comments_url":"https://api.github.com/repos/adept/helm/comments{/number}","issue_comment_url":"https://api.github.com/repos/adept/helm/issues/comments{/number}","contents_url":"https://api.github.com/repos/adept/helm/contents/{+path}","compare_url":"https://api.github.com/repos/adept/helm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adept/helm/merges","archive_url":"https://api.github.com/repos/adept/helm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adept/helm/downloads","issues_url":"https://api.github.com/repos/adept/helm/issues{/number}","pulls_url":"https://api.github.com/repos/adept/helm/pulls{/number}","milestones_url":"https://api.github.com/repos/adept/helm/milestones{/number}","notifications_url":"https://api.github.com/repos/adept/helm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adept/helm/labels{/name}","releases_url":"https://api.github.com/repos/adept/helm/releases{/id}","created_at":"2015-12-16T16:09:11Z","updated_at":"2015-12-16T16:09:12Z","pushed_at":"2015-12-16T16:21:54Z","git_url":"git://github.com/adept/helm.git","ssh_url":"git@github.com:adept/helm.git","clone_url":"https://github.com/adept/helm.git","svn_url":"https://github.com/adept/helm","homepage":"https://emacs-helm.github.io/helm/","size":20822,"stargazers_count":0,"watchers_count":0,"language":"Emacs Lisp","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"adept:master","ref":"master","sha":"b99615090efa622cba280fff0615dc7f269877fd","user":{"login":"adept","id":118058,"avatar_url":"https://avatars.githubusercontent.com/u/118058?v=3","gravatar_id":"","url":"https://api.github.com/users/adept","html_url":"https://github.com/adept","followers_url":"https://api.github.com/users/adept/followers","following_url":"https://api.github.com/users/adept/following{/other_user}","gists_url":"https://api.github.com/users/adept/gists{/gist_id}","starred_url":"https://api.github.com/users/adept/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adept/subscriptions","organizations_url":"https://api.github.com/users/adept/orgs","repos_url":"https://api.github.com/users/adept/repos","events_url":"https://api.github.com/users/adept/events{/privacy}","received_events_url":"https://api.github.com/users/adept/received_events","type":"User","site_admin":false},"repo":{"id":48120902,"name":"helm","full_name":"adept/helm","owner":{"login":"adept","id":118058,"avatar_url":"https://avatars.githubusercontent.com/u/118058?v=3","gravatar_id":"","url":"https://api.github.com/users/adept","html_url":"https://github.com/adept","followers_url":"https://api.github.com/users/adept/followers","following_url":"https://api.github.com/users/adept/following{/other_user}","gists_url":"https://api.github.com/users/adept/gists{/gist_id}","starred_url":"https://api.github.com/users/adept/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adept/subscriptions","organizations_url":"https://api.github.com/users/adept/orgs","repos_url":"https://api.github.com/users/adept/repos","events_url":"https://api.github.com/users/adept/events{/privacy}","received_events_url":"https://api.github.com/users/adept/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adept/helm","description":"Emacs incremental completion and selection narrowing framework","fork":true,"url":"https://api.github.com/repos/adept/helm","forks_url":"https://api.github.com/repos/adept/helm/forks","keys_url":"https://api.github.com/repos/adept/helm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adept/helm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adept/helm/teams","hooks_url":"https://api.github.com/repos/adept/helm/hooks","issue_events_url":"https://api.github.com/repos/adept/helm/issues/events{/number}","events_url":"https://api.github.com/repos/adept/helm/events","assignees_url":"https://api.github.com/repos/adept/helm/assignees{/user}","branches_url":"https://api.github.com/repos/adept/helm/branches{/branch}","tags_url":"https://api.github.com/repos/adept/helm/tags","blobs_url":"https://api.github.com/repos/adept/helm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adept/helm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adept/helm/git/refs{/sha}","trees_url":"https://api.github.com/repos/adept/helm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adept/helm/statuses/{sha}","languages_url":"https://api.github.com/repos/adept/helm/languages","stargazers_url":"https://api.github.com/repos/adept/helm/stargazers","contributors_url":"https://api.github.com/repos/adept/helm/contributors","subscribers_url":"https://api.github.com/repos/adept/helm/subscribers","subscription_url":"https://api.github.com/repos/adept/helm/subscription","commits_url":"https://api.github.com/repos/adept/helm/commits{/sha}","git_commits_url":"https://api.github.com/repos/adept/helm/git/commits{/sha}","comments_url":"https://api.github.com/repos/adept/helm/comments{/number}","issue_comment_url":"https://api.github.com/repos/adept/helm/issues/comments{/number}","contents_url":"https://api.github.com/repos/adept/helm/contents/{+path}","compare_url":"https://api.github.com/repos/adept/helm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adept/helm/merges","archive_url":"https://api.github.com/repos/adept/helm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adept/helm/downloads","issues_url":"https://api.github.com/repos/adept/helm/issues{/number}","pulls_url":"https://api.github.com/repos/adept/helm/pulls{/number}","milestones_url":"https://api.github.com/repos/adept/helm/milestones{/number}","notifications_url":"https://api.github.com/repos/adept/helm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adept/helm/labels{/name}","releases_url":"https://api.github.com/repos/adept/helm/releases{/id}","created_at":"2015-12-16T16:09:11Z","updated_at":"2015-12-16T16:09:12Z","pushed_at":"2015-12-16T16:21:54Z","git_url":"git://github.com/adept/helm.git","ssh_url":"git@github.com:adept/helm.git","clone_url":"https://github.com/adept/helm.git","svn_url":"https://github.com/adept/helm","homepage":"https://emacs-helm.github.io/helm/","size":20822,"stargazers_count":0,"watchers_count":0,"language":"Emacs Lisp","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adept/helm/pulls/1"},"html":{"href":"https://github.com/adept/helm/pull/1"},"issue":{"href":"https://api.github.com/repos/adept/helm/issues/1"},"comments":{"href":"https://api.github.com/repos/adept/helm/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/adept/helm/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/adept/helm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adept/helm/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/adept/helm/statuses/0821d0b23804d38e9dfee8553114e72be9cf6f22"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":8,"changed_files":1}}