Questions tagged [indirect-buffers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
2answers
158 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, ...
0
votes
0answers
34 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 ...
2
votes
3answers
428 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 ...
25
votes
6answers
5k 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 ...
0
votes
1answer
49 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 ...
1
vote
1answer
409 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 ...
0
votes
0answers
11 views

Indirect-buffer from Agenda view to the right, not below

After I create an agenda view with the match command, I'd like to work with the resulting agenda view as a table of contents, using it to trigger indirect buffers for the headlines in the agenda view, ...
13
votes
3answers
618 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 ...
1
vote
0answers
84 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 ...
2
votes
1answer
84 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
51 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 ...
1
vote
1answer
79 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, ...
0
votes
0answers
42 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 ...
5
votes
1answer
327 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 ...
1
vote
1answer
113 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
196 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 ...
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
297 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 ...
8
votes
2answers
374 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-...