Skip to main content

Questions tagged [bookmarks]

Bookmarks are a mechanism for storing locations to things, including files, allowing users to quickly return to them.

Filter by
Sorted by
Tagged with
2 votes
1 answer
55 views

How to make hierarchical bookmarks in emacs?

I'm looking for an emacs package that allows me to manually draw a tree view of my bookmarks. A bookmark can be a child or sibling of another bookmark. Kind of like a call tree, but all items are ...
Stephen's user avatar
  • 25
0 votes
1 answer
77 views

Faster way to go from directory bookmark to file heading?

I currently have a dired bookmark set to a directory. So in order to access a particular heading, the sequence is as follows: Bookmarks keybind, type initial letters of directory bookmark. (Dired ...
shintuku's user avatar
  • 121
1 vote
2 answers
61 views

How can bookmarks file be synced if it's not constantly reloaded?

If I create a bookmark on one platform, then try to use that bookmark on another platform, and if the bookmarks file isn't reloaded, then that new bookmark isn't available. How can I make sure my ...
Jason Hunter's user avatar
0 votes
1 answer
31 views

Location to bookmark mapping

Is there a function that, for a given location (e.g. the ongoing file/line number) returns an existing bookmark (if any)? I've looked at the list of functions in bookmark and bookmark+ libraries and ...
anon2328's user avatar
0 votes
1 answer
97 views

Location-specific bookmarks?

bookmark.el allows basic bookmark manipulation and usage, whereas a bookmark is mostly defined as destination file and location. Is there a similar library which allows binding originating locations ...
anon2328's user avatar
1 vote
1 answer
112 views

Is there a quicker way to rename bookmarks?

Is there a quicker way to rename bookmarks? When I hit r in the Bookmark List, bmkp-bmenu-edit-bookmark-name-and-location asks me for the new name, but it also asks me for a new location, which is ...
Jason Hunter's user avatar
1 vote
1 answer
40 views

bookmark+ highlighting problem

I am trying to use bookmark+, but I am unable to get the highlighting as I wish (or, maybe, as I wrongly expect?): When I change the default highlight of a bookmark, I only see the purple flag, but ...
scfrank's user avatar
  • 13
2 votes
2 answers
217 views

Multiple Bookmarks Per File

I'm looking at Bookmark+, but is there any way to have multiple bookmarks per file, as in multiple line numbers per file. When I make a new bookmark in a file, the old one disappears, so it seems as ...
Jason Hunter's user avatar
2 votes
1 answer
72 views

How to create buffer for custom source code region (e.g for each function)?

Objective : Frame some areas in a source code file, with custom pattern (e.g "# - Name of Region - #"), and then having the choice to type the name of region to directly open a buffer ...
Guest4314's user avatar
2 votes
1 answer
111 views

How to create new bookmark type for use with Bookmark+?

With Bookmark+, we can define our own bookmark types, and list bookmarks by type. I am not a lisp programmer. Can someone give me an example of how to define a new type, such as dev or web?
Michel Lecomte's user avatar
0 votes
1 answer
52 views

bm-bookmarks show bookmarks on closed buffers

I use the bm package. Is there any way to go to a saved bookmark while the file where it was defined is closed (means not opened in a active buffer). While using : bookmark-set, bookmark-jump, ...
mcp's user avatar
  • 67
3 votes
1 answer
245 views

Organizing images in emacs

There is image-mode and image-dired, but if you want to do anything except sequential viewing, they become clunky quickly. And they are slow for good quality photographs. I would like to be able to go ...
xeruf's user avatar
  • 354
0 votes
1 answer
42 views

Evaluate elisp in Bookmarks File

Is there a reasonable way to evaluate elisp within a bookmarks file in Emacs? For example, I bookmark all of my typical remote file paths and am in the middle of trying to get a dynamic IP address set ...
tdstoff's user avatar
1 vote
1 answer
114 views

Bookmark Plus and pdf-tools/pdf-view error

I've installed Bookmarks+ from quelpa recently, and everything was working fine until I made a minor tweak with my pdf-tools config. Now I cannot jump to bookmarks of .pdf files from any buffer, ...
nonreligious's user avatar
3 votes
1 answer
484 views

Turn off fringe character for org-capture

I updated to Emacs 28 recently and org-capture now puts a small character in the left fringe for captured items. I know that I can set fringe-mode to no-fringe to not see any fringe, but that's not ...
jrasband's user avatar
1 vote
1 answer
133 views

Bookmarks for non-file buffers?

I know about Book Marks, which is a great way to save shortcuts to certain files and locations within them. However, when I C-x r m in a non-file buffer, say Python or Shell, I only get: bookmark-...
henning no longer feeds AI's user avatar
2 votes
2 answers
158 views

Different versions of bookmarks for home and office computer

Linux Mint 20.2 Emacs 27.2 I installed Emacs 27.2 on my home and office computer. Both computers on LInux Mint 20.2 I has the same init.el for both computers. And its very convenient. I push my init....
a_subscriber's user avatar
  • 4,174
0 votes
1 answer
88 views

How do I make new bookmarks (`bookmark-set`) be added to the end, not the beginning?

How do I make new bookmarks (bookmark-set) be added to the end of the bookmark file, not the beginning?
HappyFace's user avatar
  • 860
0 votes
0 answers
66 views

How to clear bookmark highlighting

A few months back my Emacs started to highlight bookmarks. I build and run from master, using the Homebrew emacs-head package. However even after I remove bookmarks, the highlighting remains. I ...
Marius Kjeldahl's user avatar
1 vote
1 answer
34 views

bookmark+: The bookmark specific jump handlers don't work: `(wrong-type-argument listp bmkp-dired-history)`

I have bookmark+ Version: 2020.12.29 When I try to jump to a dired bookmark (bmkp-dired-jump), I get the error: In ‘bmkp-dired-jump History’ source: ‘#[0 \304\302\300\305\303$\211\205\0\306\307\310\...
chriad's user avatar
  • 396
1 vote
1 answer
555 views

How to change projectile-bookmarks.eld saving path?

emacs keeps generating file called projectile-bookmarks.eld in home directory. How could I make it to save that file under ~/.emacs.d/tmp or a different path? I also keep seeing Reverting buffer ‘...
alper's user avatar
  • 1,420
1 vote
1 answer
78 views

Saving filter list for Bookmark+ package

I've recently started using the BookmarkPlus package and I've been loving it. However there is one thing that I can't seem to figure out. I want, from my big list of bookmarks, to create a set of ...
burek's user avatar
  • 35
1 vote
1 answer
108 views

How to script a bookmark-jump call

I am trying to write a function which will perform a bookmark-jump but then reset the the bookmark line to the top of the screen. So far I have: (defun foo () (interactive) (bookmark-jump) ...
user2567544's user avatar
1 vote
1 answer
318 views

How can I set and jump to file-specific Bookmark+ bookmarks

I am trying to use Bookmark+ because I would like the ability to create bookmarks with the same name that jump to locations in different files. E.g. I have files foo and bar open in emacs. I would ...
user2567544's user avatar
0 votes
1 answer
243 views

Can I navigate Bookmark+ bookmarks like I can with e.g. helm-bookmark?

I am experimenting with Bookmark+ and would like to be able to navigate to a bookmark using a similar workflow to that which I currently use to navigate bookmarks. For example, previously in order to ...
user2567544's user avatar
0 votes
0 answers
136 views

How to bookmark current line right before jumping to beginning of buffer and get back?

I am working on Python files and jump to beginning section to fix some imports and come back to point I am working on. I want to use Bookmark, when I make a change on beginning of the file and come-...
alper's user avatar
  • 1,420
4 votes
1 answer
520 views

Is there a way to get proper "breadcrumbs" behavior in emacs?

I want something that I figured would be pretty basic, what with all the fancy mark-ring and all, but I can't find a way to get. I want a global (i.e. across files) no-nonsense "breadcrumbs" behavior ...
Jonathan Sahar's user avatar
2 votes
1 answer
737 views

Adding bookmarks in pdf-tools

Is there a way to add and view bookmarks in pdf-tools? Or else How could I go about adding this feature? I'm not actually sure if this is even a feature of pdfs. All I know is I can do this with ...
GreenLlama's user avatar
0 votes
1 answer
61 views

Get magit views in to bookmarks plus

After doing some changes in a git "feature branch", I use "magit diff" to review/cleanup before pushing code to GitHub. My question is a) How can I get this ^ magit buffer in to my bookmarks+ (C-x r ...
american-ninja-warrior's user avatar
1 vote
1 answer
261 views

bookmark-jump to org-mode file with collapsed headings not working as expected

I have a bookmark in one of my org files (set using the usual emacs bookmarks), but I'm finding that when I try to jump to the bookmark (with the usual C-x r b, which invokes bookmark-jump), it doesn'...
Dan Drake's user avatar
  • 655
0 votes
1 answer
659 views

How can I save a personal bookmark file?

I work on doom-emacs and keep personal configuration in .doom.d, thus leave the gene config .emacs.d. Today, I re-installed doom.emacs to .emacs.d, but find all my bookmarks disappeared when launch ...
Wizard's user avatar
  • 1,261
2 votes
1 answer
153 views

Changing the width of the columns of the bookmarks display?

I love the bookmarks features of Emacs. I have managed my bookmarks kind of hierarchic. But that leads to longer bookmarks, which now don't fit into the column any more. Is there a way, to enlarge ...
Jan's user avatar
  • 383
1 vote
1 answer
326 views

Helm: copy file to bookmarked directory

I am using spacemacs. I want to achieve similar thing to the one in question browse through bookmarks in dired. I would like to be able to quickly choose an alternative destination from within the ...
Rareform's user avatar
  • 231
1 vote
3 answers
110 views

Can I Jump to bookmark using a pattern?

Using Spacemacs, if I SPC f r to search for recent files I am prompted for a pattern. I can enter e.g. a value of our which will match a file named Journal.org. However if I do C-x r b to jump to a ...
user2567544's user avatar
1 vote
1 answer
160 views

how enable emacs bookmark plus autocompletion

How do I make the C-x j j prompt dynamically autocomplete? So when I try "qu" emacs autosuggest "query.rb" from my bookmarks , without me having to press tab. Dynamic autocompletion works when I do C-...
american-ninja-warrior's user avatar
0 votes
2 answers
117 views

Scripted bookmark jump not working after startup

Add the following to .spacemacs: (defun my-bookmark-set (char) (interactive "cPlease enter a bookmark name to set: ") (bookmark-set (char-to-string char))) (defun my-...
user2567544's user avatar
1 vote
1 answer
55 views

Can I (or should I) toggle off the left side of bookmark-list display (Bookmark+)?

I started using Bookmark+. Haven't customized it at all, it seems its using the left half of the screen to show what seems like "duplicate" information. As I using this tool right?
american-ninja-warrior's user avatar
3 votes
2 answers
99 views

Retracing steps with emacs (When programming /exploring)

Often when fixing a bug or implementing a new feature in a code repository, I start off with an investigatory step. For example, I would have a lead, a word such as "Article" and I would start by ...
american-ninja-warrior's user avatar
2 votes
1 answer
286 views

After setting bookmark: `Wrong type argument: listp, "~/.spacemacs`

So I did just M-x bookmark-save in my original .spacemacs file, which lead to the case that when I booted Spacemacs, I get the following error: Upgrading bookmark format from 0 to 1... mapcar: Wrong ...
tbrodbeck's user avatar
  • 209
2 votes
1 answer
112 views

bookmark-alist-from-buffer: Cannot read definitions in bookmark file: Invalid read syntax: "#"

The above error occurs when I try to set a bookmark on a help buffer. The bookmark looks like this: #1=(#("Some bookmark" 0 3 (bmkp-full-record #1#)) (buffer-name . "*Help*") (visits . 0) (time . #2=(...
chriad's user avatar
  • 396
1 vote
1 answer
52 views

user-error: That register’s buffer no longer exists

I saved point to register, closed buffer / restarted Emacs and got: user-error: That register’s buffer no longer exists I want Emacs to open file if necessary and go to point.
gavenkoa's user avatar
  • 3,462
1 vote
2 answers
621 views

Add browser bookmark to bookmark browser

What I mean is, can I add a URL to my Emacs bookmarks, such that selecting the bookmark runs the URL through browse-url? Desired behavior What I would like is a bookmark-set-url function that ...
Matthew Piziak's user avatar
2 votes
1 answer
111 views

Multiple transient (and colorful) mark-modes

When reading a book it's nice to have a marker to highlight some phrases. When re-reading my own code, I often would like to highlight several regions ("here is the set-up", "here is the conclusion", ...
Calaf's user avatar
  • 483
3 votes
2 answers
1k views

Bookmarking / Highlighting lines in a file

Is there an Emacs feature for highlighting some lines in a file to make it easier to jump around? My immediate use-case is a gigantic auto-generated C++ file with horrible indentation, which is rather ...
Rupert Swarbrick's user avatar
4 votes
2 answers
569 views

Emacs mark and copy/move to buffers or bookmarked directories

Is there a way to use bookmarks or the buffer list of open buffers to efficiently copy/move marked files/directories to another directory? As an example, imagine I want to copy the files foo.txt and ...
noob's user avatar
  • 81
2 votes
2 answers
76 views

Go to a bookmark that is not visible currently due to narrowing

Running emacs 25.2.2 spacemacs 0.200.13. In an org file, I have defined several bookmarks(SPC f b) under different headings. Consider this: * H1 Some text Bookmark 1 * H2 Some text Bookmark ...
deshmukh's user avatar
  • 1,912
2 votes
1 answer
66 views

bookmark-jump to a hidden part of a buffer

In elisp buffers, I use outline-mode in order to manage headings similarly as in org-mode. But when I jump to a bookmark which points to a hidden part of a buffer (because it is below a folded heading)...
Joon Kwon's user avatar
  • 373
2 votes
2 answers
407 views

bookmarks file and multiple emacs instances

Creating bookmarks in different emacs instances leads to loss of bookmarks data. Is there an easy way to fix this? Something like merge current bookmark data with bookmark data from bookmarks file, ...
jue's user avatar
  • 4,636
0 votes
3 answers
1k views

Project management in projectile or other, like Sublime Text's projects

Ever since I first started using Emacs (Spacemacs) a few months ago I've been trying to set up a sane multi-project workflow. I got the single project workflow going by having Emacs start up into what ...
Voodoopants's user avatar
2 votes
3 answers
96 views

is there a keybinding to save curor position for returning after viewing other section of same buffer?

when i am editing a large file, often need to view other sections of the same buffer only once. But after that I need to go back to the position I was editing at. Is there a key for doing that?
Alvaro Martinez's user avatar