Skip to main content
added 75 characters in body
Source Link
Drew
  • 79.1k
  • 10
  • 123
  • 257

Simpler alternative in which I am also really interested is to yank the path of a certain bookmark. Then I just could use the regular copy command and insert the desired path as the copy destination. There is a list-bookmarks function in which one can see the file/directory paths, but I don't know how to grab them.

InIf you use Bookmark+ then, in buffer *Bookmark List*, from C-x r l (command list-bookmarks, aka bookmark-bmenu-list):

  • With the cursor on the bookmark you're interested in, use C-h RET (or C-h C-RET).

  • This shows info about the bookmark in buffer *Help*. For a bookmarked file or directory this includes an entry Directory:, which shows the directory. Just copy that text.

Simpler alternative in which I am also really interested is to yank the path of a certain bookmark. Then I just could use the regular copy command and insert the desired path as the copy destination. There is a list-bookmarks function in which one can see the file/directory paths, but I don't know how to grab them.

In buffer *Bookmark List*, from C-x r l (command list-bookmarks, aka bookmark-bmenu-list):

  • With the cursor on the bookmark you're interested in, use C-h RET (or C-h C-RET).

  • This shows info about the bookmark in buffer *Help*. For a bookmarked file or directory this includes an entry Directory:, which shows the directory. Just copy that text.

Simpler alternative in which I am also really interested is to yank the path of a certain bookmark. Then I just could use the regular copy command and insert the desired path as the copy destination. There is a list-bookmarks function in which one can see the file/directory paths, but I don't know how to grab them.

If you use Bookmark+ then, in buffer *Bookmark List*, from C-x r l (command list-bookmarks, aka bookmark-bmenu-list):

  • With the cursor on the bookmark you're interested in, use C-h RET (or C-h C-RET).

  • This shows info about the bookmark in buffer *Help*. For a bookmarked file or directory this includes an entry Directory:, which shows the directory. Just copy that text.

Source Link
Drew
  • 79.1k
  • 10
  • 123
  • 257

Simpler alternative in which I am also really interested is to yank the path of a certain bookmark. Then I just could use the regular copy command and insert the desired path as the copy destination. There is a list-bookmarks function in which one can see the file/directory paths, but I don't know how to grab them.

In buffer *Bookmark List*, from C-x r l (command list-bookmarks, aka bookmark-bmenu-list):

  • With the cursor on the bookmark you're interested in, use C-h RET (or C-h C-RET).

  • This shows info about the bookmark in buffer *Help*. For a bookmarked file or directory this includes an entry Directory:, which shows the directory. Just copy that text.