[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use pdf-tools in Emacs.
From: |
Tassilo Horn |
Subject: |
Re: use pdf-tools in Emacs. |
Date: |
Fri, 28 Apr 2023 15:58:51 +0200 |
User-agent: |
mu4e 1.11.3; emacs 30.0.50 |
Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>> If you always want to spawn a new frame when finding a PDF document, I
>> guess you have to add a rule to display-buffer-alist.
>
> I want to use a new frame to show the PDF document with the LaTeX code
> in another frame, and at the same time keeping the forward and reverse
> searching work by skipping between these two frames backward and
> forward accordingly.
If the pdf is shown in a buffer of another frame makes no difference to
forward/inverse search as long its the same emacs instance. This should
work for you:
(add-to-list 'display-buffer-alist
'((derived-mode . pdf-view-mode)
display-buffer-pop-up-frame))
It tells emacs to open buffers where pdf-view-mode is the major-mode to
be opened in a separate frame.
Bye,
Tassilo
- Re: use pdf-tools in Emacs., (continued)
- Re: use pdf-tools in Emacs., Tassilo Horn, 2023/04/27
- Re: use pdf-tools in Emacs., Hongyi Zhao, 2023/04/27
- Re: use pdf-tools in Emacs., Tassilo Horn, 2023/04/28
- Re: use pdf-tools in Emacs., christian de larrinaga, 2023/04/28
- Re: use pdf-tools in Emacs., Hongyi Zhao, 2023/04/28
- Re: use pdf-tools in Emacs., Tassilo Horn, 2023/04/28
- Re: use pdf-tools in Emacs., Hongyi Zhao, 2023/04/28
- Re: use pdf-tools in Emacs.,
Tassilo Horn <=
- Re: use pdf-tools in Emacs., Hongyi Zhao, 2023/04/28
- How to have a frame dedicated to buffers of a certain kind? (was: use pdf-tools in Emacs.), Tassilo Horn, 2023/04/29
- Re: How to have a frame dedicated to buffers of a certain kind? (was: use pdf-tools in Emacs.), Hongyi Zhao, 2023/04/29
- Re: How to have a frame dedicated to buffers of a certain kind? (was: use pdf-tools in Emacs.), Tassilo Horn, 2023/04/29
- Re: How to have a frame dedicated to buffers of a certain kind? (was: use pdf-tools in Emacs.), Hongyi Zhao, 2023/04/29
- Re: How to have a frame dedicated to buffers of a certain kind? (was: use pdf-tools in Emacs.), Tassilo Horn, 2023/04/29
- Re: How to have a frame dedicated to buffers of a certain kind? (was: use pdf-tools in Emacs.), Hongyi Zhao, 2023/04/29
- Re: How to have a frame dedicated to buffers of a certain kind? (was: use pdf-tools in Emacs.), Hongyi Zhao, 2023/04/29
- Re: How to have a frame dedicated to buffers of a certain kind? (was: use pdf-tools in Emacs.), Tassilo Horn, 2023/04/30
- Re: How to have a frame dedicated to buffers of a certain kind? (was: use pdf-tools in Emacs.), Hongyi Zhao, 2023/04/30