{"action":"created","issue":{"url":"https://api.github.com/repos/bbatsov/projectile/issues/1096","repository_url":"https://api.github.com/repos/bbatsov/projectile","labels_url":"https://api.github.com/repos/bbatsov/projectile/issues/1096/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/projectile/issues/1096/comments","events_url":"https://api.github.com/repos/bbatsov/projectile/issues/1096/events","html_url":"https://github.com/bbatsov/projectile/pull/1096","id":195164215,"number":1096,"title":"Cache the name of the current Projectile project","user":{"login":"raxod502","id":6559064,"avatar_url":"https://avatars.githubusercontent.com/u/6559064?v=3","gravatar_id":"","url":"https://api.github.com/users/raxod502","html_url":"https://github.com/raxod502","followers_url":"https://api.github.com/users/raxod502/followers","following_url":"https://api.github.com/users/raxod502/following{/other_user}","gists_url":"https://api.github.com/users/raxod502/gists{/gist_id}","starred_url":"https://api.github.com/users/raxod502/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raxod502/subscriptions","organizations_url":"https://api.github.com/users/raxod502/orgs","repos_url":"https://api.github.com/users/raxod502/repos","events_url":"https://api.github.com/users/raxod502/events{/privacy}","received_events_url":"https://api.github.com/users/raxod502/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-13T05:20:40Z","updated_at":"2016-12-16T13:50:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bbatsov/projectile/pulls/1096","html_url":"https://github.com/bbatsov/projectile/pull/1096","diff_url":"https://github.com/bbatsov/projectile/pull/1096.diff","patch_url":"https://github.com/bbatsov/projectile/pull/1096.patch"},"body":"This improves performance slightly in many cases, and massively in a\nfew cases. The cache is invalidated whenever `buffer-file-name`\nchanges, so it should be pretty safe.\n\nFrom #893:\n\n> I've disabled the dynamic modeline for remote buffers as a temporary\n  workaround. I don't use tramp and I don't plan to fix this, so it's\n  up to someone else.\n\nHow does this solution look?"},"comment":{"url":"https://api.github.com/repos/bbatsov/projectile/issues/comments/267597834","html_url":"https://github.com/bbatsov/projectile/pull/1096#issuecomment-267597834","issue_url":"https://api.github.com/repos/bbatsov/projectile/issues/1096","id":267597834,"user":{"login":"bbatsov","id":103882,"avatar_url":"https://avatars.githubusercontent.com/u/103882?v=3","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T13:50:14Z","updated_at":"2016-12-16T13:50:14Z","body":"> The point is that if you change buffer-file-name to a totally different path, then the project name might need to be recalculated. I can't think of any way to detect that without storing the last known value of buffer-file-name.\r\n\r\nI really don't understand what's the point you're trying to make. A buffer-local-variable survives a buffer rename. Some example would be useful - right now it seems to me this patch is more complex than it needs to be. "}}
{"actor":{"display_login":"bbatsov"}}