Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdf: disable visual-mode #794

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Conversation

45mg
Copy link
Contributor

@45mg 45mg commented Mar 16, 2024

Evil's visual-mode does not know how to select text within a PDF, and instead selects the entire pdf image, which is useless and counterintuitive - see doomemacs/doomemacs#6286, #683. Instead, rely on pdf-view to handle the region.

@condy0919
Copy link
Collaborator

I think it has conflicts with #795 . What's your thought?

@45mg 45mg force-pushed the pdf-disable-visual-mode branch from 4dc8307 to 10df5ce Compare March 19, 2024 11:49
@45mg
Copy link
Contributor Author

45mg commented Mar 19, 2024

It does. I had initially intended to submit #794 and #795 as a single PR, but they're separate changes and I thought you might want to consider them separately.
I don't really know what one generally does in these situations. I've attached a patch file to indicate how the conflict should be resolved; let me know if you'd like me to address this another way.
794_795.patch.txt
(GitHub won't let me upload a .patch for some reason)

@condy0919
Copy link
Collaborator

Let's fix the conflicts.

Evil's visual-mode does not know how to select text within a PDF, and
instead selects the entire pdf image, which is useless and
counterintuitive - see doomemacs/doomemacs#6286,
emacs-evil#683.
@45mg 45mg force-pushed the pdf-disable-visual-mode branch from 10df5ce to 28741d3 Compare March 19, 2024 17:12
@45mg
Copy link
Contributor Author

45mg commented Mar 19, 2024

Ok, I rebased onto master after you merged #795, so this is ready to merge.

@condy0919 condy0919 merged commit f1bb473 into emacs-evil:master Mar 19, 2024
5 checks passed
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.

2 participants