Skip to content

Pdf-tools page number fix#95

Open
fm4d wants to merge 1 commit intomilkypostman:masterfrom
fm4d:master
Open

Pdf-tools page number fix#95
fm4d wants to merge 1 commit intomilkypostman:masterfrom
fm4d:master

Conversation

@fm4d
Copy link
Copy Markdown

@fm4d fm4d commented Aug 6, 2015

Fixed pdf-tools page number in default and center theme, viz. #88. The fix is little bit of hacky, but I didnt see different way without partial rewrite (but I am quite new to elisp, so..). I thought about creating a new theme, so the default is hackless and readable, but Ill leave that up to you.

Btw: Add this code to .emacs to remove broken buffer position percentage which is auto-enabled in pdf-tools.

add-hook 'pdf-tools-enabled-hook (lambda ()
                    (pdf-tools-disable-minor-modes
                     '(pdf-misc-size-indication-minor-mode))))

Pdf-tools page numbers fixed in default an center theme
@andersjohansson
Copy link
Copy Markdown

Oh, list splicing. Not very pretty, no. I can't figure a better way to do it either though. Thanks for looking into it!

@milkypostman
Copy link
Copy Markdown
Owner

probably won't merge something so specific. there has to be a better way to do this. how does the normal modeline do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants