Questions tagged [uniquify]

6 questions
6
votes
1 answer

Run hook on new buffer

I am trying to create something like uniquely, which renames the buffer to the full path within the projectile project. I have the code working, however, I can't seem to figure out how to get it to run when a new buffer is open. It seems like Emacs…
darksky
  • 275
  • 1
  • 7
5
votes
1 answer

Automatically Uniquify Certain Buffers

Emacs does a wonderful job of disambiguating buffer names when I have several files with the same name open. That is, if I open a single main.cpp, the buffer is simply called main.cpp, but if I open two of them, then one will be main.cpp and…
5
votes
2 answers

Info: Display the current node name in the buffer-list or uniquify *info* buffers

Is there a way to get info to display the current node in any of buffer-list/ibuffer/helm-buffers, especially when there are multiple info buffers ? Ideally uniquify should be sufficient to distinguish amongst multiple info buffers, but currently I…
Vamsi
  • 3,916
  • 22
  • 35
4
votes
1 answer

Smarter behaviour for "rename-uniquely"?

I am starting to use "rename-uniquely" for help buffers so I can see multiple function helps at the same time. However, what I get is: *Help* *Help*<2> *Help*<3> etc What I would like is: *Help* *Help*-
Realraptor
  • 1,253
  • 6
  • 17
2
votes
1 answer

How to hook to emacs uniquify?

I have followed these instruction to create a stack of visited position across buffers: (defvar jedi:goto-stack '()) (defun jedi:jump-to-definition () (interactive) (add-to-list 'jedi:goto-stack (list (buffer-name) (point))) …
cuonglm
  • 177
  • 5
1
vote
0 answers

How to make buffer file names unique when mutiple instance of emacs are running

The package uniquify has an interesting feature that when visiting two files with the same name, it shows in the mode-line a uniquified version of their name. For example if we have two files with the paths .../directory1/file.txt and…
Name
  • 7,689
  • 4
  • 38
  • 84