{"action":"opened","issue":{"url":"https://api.github.com/repos/milkypostman/powerline/issues/88","labels_url":"https://api.github.com/repos/milkypostman/powerline/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/milkypostman/powerline/issues/88/comments","events_url":"https://api.github.com/repos/milkypostman/powerline/issues/88/events","html_url":"https://github.com/milkypostman/powerline/issues/88","id":74911153,"number":88,"title":"Pdf-view-mode, page numbers not shown","user":{"login":"andersjohansson","id":846411,"avatar_url":"https://avatars.githubusercontent.com/u/846411?v=3","gravatar_id":"","url":"https://api.github.com/users/andersjohansson","html_url":"https://github.com/andersjohansson","followers_url":"https://api.github.com/users/andersjohansson/followers","following_url":"https://api.github.com/users/andersjohansson/following{/other_user}","gists_url":"https://api.github.com/users/andersjohansson/gists{/gist_id}","starred_url":"https://api.github.com/users/andersjohansson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andersjohansson/subscriptions","organizations_url":"https://api.github.com/users/andersjohansson/orgs","repos_url":"https://api.github.com/users/andersjohansson/repos","events_url":"https://api.github.com/users/andersjohansson/events{/privacy}","received_events_url":"https://api.github.com/users/andersjohansson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-10T12:35:37Z","updated_at":"2015-05-10T12:35:37Z","closed_at":null,"body":"The page numbers shown in the modeline when using `pdf-view-mode` from the brilliant pdf-tools (https://github.com/politza/pdf-tools) are not shown with powerline:\r\n![with-powerline](https://cloud.githubusercontent.com/assets/846411/7554272/35d73654-f721-11e4-990e-342af8c6d21a.png)\r\nWithout powerline:\r\n![without-powerline](https://cloud.githubusercontent.com/assets/846411/7554274/3a2feb2e-f721-11e4-8db6-b48152aa9896.png)\r\n\r\nWhat `pdf-view-mode` does is setting `mode-line-position` locally for the mode:\r\n\r\n    (setq-local mode-line-position\r\n              '(\" P\" (:eval (number-to-string (pdf-view-current-page)))\r\n                \"/\" (:eval (number-to-string (pdf-cache-number-of-pages)))))\r\n\r\nhttps://github.com/politza/pdf-tools/blob/master/lisp/pdf-view.el#L260\r\n\r\nI don't know how this interferes with what powerline does and if it can be solved on powerline's side.\r\n\r\n"}}