Questions tagged [indirect-buffers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
32 views

Any possibility to show multiple narrowed regions at the same time in a buffer?

As title self-explains, I would like to show multiple regions in different places. narrow-to-region could be a possible solution, but as documentation indicated, only one region from begin to end ...
0
votes
0answers
41 views

Work in indirect-buffer faster than in original?

When I read the org-manual which are about 12,000 lines long, it's slow to edit such a large file. Then I invoke "narrow-to-substree" and read "2.Documents Structure" in a indirect-buffer. At this ...
0
votes
1answer
96 views

Elisp to increase font-size in indirect buffer

I use org-mode for writing and frequently use a two pane setup, similar to the one described here: Org-mode 2-pane writing setup using indirect buffers (or display-buffer-alist. I have an outline on ...
2
votes
3answers
665 views

Org-mode 2-pane writing setup using indirect buffers (or display-buffer-alist

I am trying to set up a 2-pane writing setup in org-mode (similar to this). I'm using org-tree-to-indirect-buffer, and want to have the following functionality: 1. Opening a specific heading in a 2nd ...
1
vote
0answers
98 views

Wierd behaviour and lag of markdown mode (due to indirect buffer?)

Problem There is severe lag(>10s some times) in my markdown document (14k words) which I run within emacs. It appears that Markdown-mode seems to be computing something everysingle time I type any ...
3
votes
1answer
127 views

Why can't I fontify an indirect buffer?

I like using indirect buffers and narrowing to work on multiple sections of code simultaneously. I noticed recently that if I disable font-lock-mode in an indirect buffer then I cannot get proper ...
1
vote
1answer
510 views

How to reuse org-tree indirect buffer windows?

So I would like to use the function below. The problem is that if I call this multiple times another window opens instead of the window that already exists. All the buffers that are created look like ...
1
vote
1answer
96 views

Kill other indirect buffers

Suppose I have a buffer and I make several indirect buffer clones of it. Is it possible to kill all these buffers except for the currently visited one? I have found buffer-base-buffer in the manual, ...
1
vote
1answer
55 views

Switch back to default font on widening

Running emacs 25.2.2 on Kubuntu 17.10. I have an Org mode file that is mostly in English but certain headlines contain text in Devanagari. From Options -> Set Default Font, I have chosen Hack 13 ...
0
votes
0answers
45 views

Is there a simple way to copy my current buffer into a new buffer?

Say I'm editing a file ~/mydirectory/foo.txt. I'd like to be able to issue a command M-x switch-to-bar-file that copies current contents of ~/mydirectory/foo.txt to a file ~/mydirectory/foo-bar.txt ...
1
vote
1answer
128 views

pdf-tools indirect buffers

I am using an indirect buffer of a pdf from a pdf-tools PDFView buffer. This works except the indirect buffer is in DocView mode, and therefore I can't use any of the pdf-tools features in that buffer....
5
votes
1answer
343 views

Preview LaTeX fragment on indirect buffers

I am writing my research notes in org-mode and they contain many LaTeX formulas. I use the preview feature (C-c C-x C-l) a lot. As the notes are rather large, I also tend to use an indirect buffer, to ...
5
votes
1answer
234 views

How to save a desktop with narrowed indirect buffers?

I am unable to figure out a way to save my narrowed indirect buffer window, and restore it as it was. Say I have a frame with several windows containing several indirect buffers, each narrowed to a ...
14
votes
3answers
825 views

Can I have two views on a file - one narrowed one not?

I am editing some file, abc.org, and call org-narrow-to-block to narrow to a code block that I want to edit. For the editing process I have to access another part of abc.org and just want to show it ...
7
votes
2answers
169 views

Syntax highlighting fails on clone-indirect-buffer-other-window

I normally use indirect buffers while I edit python code in python-mode, I create them by running clone-indirect-buffer-other-window. While the syntax highlighting of the main buffer looks just fine, ...
18
votes
3answers
2k views

Why use indirect buffers?

What are the benefits of using indirect buffers? Under what circumstances are they useful?
4
votes
1answer
332 views

Move to other cloned buffer to same point? (sync position of indirect buffers) (org-mode)

I like to clone-indirect-buffer . But then once in a while, I want to move to the other buffer and go to the same position as in the previous marker. This is usually the case when I use the indirect ...
26
votes
6answers
6k views

How can I get an org-mode outline in a 2nd buffer as a dynamic table of contents?

When I edit large documents, I would like to see where I'm at by seeing the outline (with no-content) in a separate buffer. Like when you read a PDF file there is a TOC on the left. (see below) In ...
8
votes
2answers
524 views

How should I get the filename of the original buffer in an indirect cloned buffer?

I wanted to look at different portions of a buffer in two different frames, as I have two monitors of different shapes that I can't easily span a single frame over. Some googling led me to use clone-...