Skip to main content

Questions tagged [buffers]

The text you are editing in Emacs resides in an object called a buffer. Each time you visit a file, a buffer is used to hold the file's text. Each time you invoke Dired, a buffer is used to hold the directory listing.

0 votes
0 answers
5 views

Keeping dired minor modes on/off across buffers

I frequently toggle the two minor modes dired-omit-mode and dired-hide-details-mode in dired buffers. If I move into a new directory, dired creates a new buffer, and so these minor modes will (since I ...
neddo's user avatar
  • 101
0 votes
0 answers
14 views

How can I get helm-exwm to include the workspace/frame in the listing?

When I use the helm-exwm to list the EXWM buffers, the workspaces containing the buffers are not included in the listing. In fact I notice that C-x b and C-x B don't include the frames which hold the ...
vfclists's user avatar
  • 1,445
1 vote
1 answer
45 views

How to switch to a buffer from terminal with a unique partial name

I have a buffer with the name very-long-name-xyz-etc. This buffer is the only buffer whose name contains xyz. From terminal I can switch to that buffer using the following emacsclientw -cna runemacs --...
Name's user avatar
  • 7,935
0 votes
0 answers
31 views

Is there workaround to mirror a buffer to a file (similar to indirect buffer)?

I am familiar with indirect buffer capability of emacs. From doc string: An indirect buffer shares the text of some other buffer, which is called the base buffer of the indirect buffer. In some ways ...
Name's user avatar
  • 7,935
0 votes
0 answers
22 views

Why is clone-indirect-buffer-other-window not a clone?

I find that a clone created this way is not including the beginning of the buffer, probably because the buffer is large? Is there some setting that clones the entire buffer, without leaving parts of ...
Jason Hunter's user avatar
1 vote
1 answer
35 views

Split the emacs screen into 2 windows side-by-side, with a different buffer in each window?

I'm trying to split the Emacs screen into two windows side-by-side (for example, the way that split-window-right does it), but I want a different buffer shown in each side. For example ... (get-buffer-...
HippoMan's user avatar
  • 626
0 votes
1 answer
51 views

How to enlarge the properties header buffer in image-dired

Some of my images contain a large comment (> 1000 chars). Yet the image-dired properties header shows only one line (count,size,tags,comment). How can I see the complete comment (alongside all tags)...
jjk's user avatar
  • 746
1 vote
1 answer
44 views

Opening multiple files: how to change default buffer order

When I run $ emacs file1 file2 file3 file4 in a Unix shell, this is the result (using C-x Left and C-x Right to switch buffers): file4 file3 file1 file2 *BufferList* *scratch* The starting buffer is ...
Ness's user avatar
  • 177
1 vote
1 answer
31 views

Make C-x C-b go back to last buffer even if open in another frame

If I have only one emacs frame, and I open files A, B, C, and then press C-x b and switch to A, then press again and switch to B, from then on every time I press C-x b ENTER, I will alternate between ...
Joseph Garvin's user avatar
0 votes
1 answer
39 views

How to prompt for a virtual buffer (recently killed file buffer) using Ido completion?

When ido-use-virtual-buffers is set to t, ido-switch-buffer shows, after the list of live buffers, a list of killed file buffers in chronological order, last killed first. Those are what Ido calls ...
Arch Stanton's user avatar
  • 1,707
1 vote
1 answer
61 views

Re-visit a file whose buffer I just killed [duplicate]

I've not found any straightforward way to re-visit a file whose buffer I just killed. Sort of like undoing the killing of the buffer. I thought about getting the file's path from Ido's virtual buffers ...
Arch Stanton's user avatar
  • 1,707
0 votes
1 answer
47 views

Is it possible to simultaneously scroll horizontaly two windows?

Emacs 27.1 If I want to simultaneously scroll vertically two windows I use M-x scroll-all-mode OK. But this scrolls windows vertically. But I need to scroll both windows horizontally. Is it possible?
a_subscriber's user avatar
  • 4,174
0 votes
0 answers
12 views

send commands to other buffers which can be EXWM

How can I send commands to other buffers which are EXWM, say, URxvt? This works for generic emacs buffers: (with-current-buffer "local_machine.org" (insert "Hello")) I want to ...
Alexander Mirnyy's user avatar
0 votes
1 answer
40 views

What determines which buffer is current after kill-buffer?

Since moving to Doom emacs and Centaur tabs, I have an issue I can't seem to solve. If I have say two tabs/buffers open in the order A-B and am visiting A. I open another buffer C and am visiting it. ...
PLK's user avatar
  • 111
4 votes
1 answer
92 views

Separate `*Help*` buffers for each topic

The built-in help functions like describe-{function,variable,face,...} all reuse one *Help* buffer. I would like it to instead create separate help buffers for each Help topic I visit, with clear and ...
mtraceur's user avatar
  • 376

15 30 50 per page
1
2 3 4 5
40