this post was submitted on 18 Oct 2023
1 points (100.0% liked)

Emacs

311 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

I use pdf-tools for reading and recently started using bookmark+ and dired+ for navigating. Unfortunately these two great packages seems to conflict.

One of the issues I noticed was that the bookmark+ command for bookmarking a pdf location in a pdf-tools buffer didn't work; it gave an empty buffer warning. Turns out bookmark+ creator Drew Adams had already suggested a workaround which I discovered here: https://emacs.stackexchange.com/questions/72786/bookmark-plus-and-pdf-tools-pdf-view-error

So that solved or at least patched that issue. But then I noticed that with dired+ installed and any fairly large pdf opened in pdf-tools, emacs will freeze if you attempt to do dired-jump or helm-find-files. Dired-jump without dired+ is not affected by the size of the pdf at all and just opens the underlying directory immediately. But with dired+ anything above about 1mb or so hangs it for quite a while, anything around 10mb or more just freezes it for minutes on end to the point that unless you want to go make yourself lunch and coffee, you will have to force kill emacs to keep working.

As a noob, non-techie, non-developer, I just wanted to ask, what is the right way of asking about possibly getting this issue fixed, because I love these two packages and would love to have both in working order, but obviously don't have the coding know how to do it myself. Of course if anybody knows of a fix that's already out there for this issue, I'd love to know about that as well.

you are viewing a single comment's thread
view the rest of the comments
[–] jcdix@alien.top 1 points 1 year ago

I will also do what you suggest and maybe open an issue with pdf-tools.

I am a layperson, but the problem seems to be that the kind of buffer variable pdf tool creates doesn't work if the files are big with whatever functions dired+ uses to handle those buffers whereas the functions for "go to dired buffer from pdf-tools buffer" that get called without dired+ installed do handle the pdf-tool buffers. So yeah, that could be just as easily be a problem either with the way pfd-tools creates the buffers or with how dired+ handles them. Dired+ works fine with everything else when jumping to dired.

Anyway, that was the thought process of a former English major.