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

UPDATE after you added more detail in the question (thanks).

  1. A bookmark-list display state arrived at with incremental pattern matching (e.g. P T), as opposed to, say using a filtering command (I gave an example of that, above), was not captured in a bookmark-list bookmark. I fixed that (i.e., implemented that missing feature) yesterday, having guessed that that's maybe what you tried. (Had you happened to download yesterday's bookmark+-bmu.el that would have been fixed.)

  2. As the doc says, markings are not captured by bookmark-list bookmarks. They are also not captured by the commands you create using C-c C-c (command bmkp-bmenu-define-command) -- that captures only the current sort order, filter, and omit list.

  3. As the doc also says, markings are captured by the much heavier-weight C-c C-S-c (aka C-c C-C, command bmkp-bmenu-define-full-snapshot-command). That captures pretty much everything, at the cost of storing a full bookmark list, list of markings, etc.

  4. However, there were some bugs in #3 (C-c C-C). I've think I've fixed those today.

Please try the latest bookmark+-bmu.el. And please read up again on the differences between the different ways of capturing and restoring bookmark-list state. Each method has its advantages.


BTW, if you turn off option bmkp-propertize-bookmark-names-flag then the bookmark list you copy and paste somewhere (e.g. here) is much simpler to read and understand. It then has no shared structure that allows for multiple bookmarks with the same name but different behavior/targets. The toggle command for flipping this option value is bmkp-toggle-propertize-bookmark-names. It's also Bookmark+ menu item Toggle > Allowing Identical Bookmark Names.

The ability to have multiple bookmarks with the same name is importantly primarily for autofile bookmarks, whose names are their relative file names: you can have multiple files named foo.el in different directories..


UPDATE after you added more detail in the question (thanks).

  1. A bookmark-list display state arrived at with incremental pattern matching (e.g. P T), as opposed to, say using a filtering command (I gave an example of that, above), was not captured in a bookmark-list bookmark. I fixed that (i.e., implemented that missing feature) yesterday, having guessed that that's maybe what you tried. (Had you happened to download yesterday's bookmark+-bmu.el that would have been fixed.)

  2. As the doc says, markings are not captured by bookmark-list bookmarks. They are also not captured by the commands you create using C-c C-c (command bmkp-bmenu-define-command) -- that captures only the current sort order, filter, and omit list.

  3. As the doc also says, markings are captured by the much heavier-weight C-c C-S-c (aka C-c C-C, command bmkp-bmenu-define-full-snapshot-command). That captures pretty much everything, at the cost of storing a full bookmark list, list of markings, etc.

  4. However, there were some bugs in #3 (C-c C-C). I've think I've fixed those today.

Please try the latest bookmark+-bmu.el. And please read up again on the differences between the different ways of capturing and restoring bookmark-list state. Each method has its advantages.


BTW, if you turn off option bmkp-propertize-bookmark-names-flag then the bookmark list you copy and paste somewhere (e.g. here) is much simpler to read and understand. It then has no shared structure that allows for multiple bookmarks with the same name but different behavior/targets. The toggle command for flipping this option value is bmkp-toggle-propertize-bookmark-names. It's also Bookmark+ menu item Toggle > Allowing Identical Bookmark Names.

The ability to have multiple bookmarks with the same name is importantly primarily for autofile bookmarks, whose names are their relative file names: you can have multiple files named foo.el in different directories..

added 75 characters in body
Source Link
Drew
  • 79.1k
  • 10
  • 123
  • 257

You don't give details of what you tried, but from your use case it sounds like the best approach is to create one or more bookmark-list bookmarks. Jumping to such a bookmark opens the bookmark-list display state that was bookmarked.

For that, you should be able to just use C-x r m in the bookmark-list display, once you have it the way you want it, to create a bookmark recording its state. When you later jump to that bookmark you should see that state you recorded.

For example, do this in the bookmark-list display:

  1. I S, to show only Info bookmarks (bookmarks to Info manual pages). (Using menu Bookmark+ this is Show > Only Bookmarks of Type > Info Nodes.)

  2. C-x r m, and enter a name for the bookmark to be created.

Later, to restore the bookmark-list display to what was recorded, just jump to that bookmark.

As you mentioned, there are other, related ways to record a bookmark-list display, depending on what you need. But this one is quite simple, and from what you describe it should do what you want.

Maybe you need to give more details about the filtering you are doing.

You don't give details of what you tried, but from your use case it sounds like the best approach is to create one or more bookmark-list bookmarks. Jumping to such a bookmark opens the bookmark-list display state that was bookmarked.

For that, you should be able to just use C-x r m in the bookmark-list display, once you have it the way you want it, to create a bookmark recording its state. When you later jump to that bookmark you should see that state you recorded.

For example, do this in the bookmark-list display:

  1. I S, to show only Info bookmarks (bookmarks to Info manual pages). (Using menu Bookmark+ this is Show > Only Bookmarks of Type > Info Nodes.)

  2. C-x r m, and enter a name for the bookmark to be created.

Later, to restore the bookmark-list display to what was recorded, just jump to that bookmark.

As you mentioned, there are other, related ways to record a bookmark-list display, depending on what you need. But this one is quite simple, and from what you describe it should do what you want.

You don't give details of what you tried, but from your use case it sounds like the best approach is to create one or more bookmark-list bookmarks. Jumping to such a bookmark opens the bookmark-list display state that was bookmarked.

For that, you should be able to just use C-x r m in the bookmark-list display, once you have it the way you want it, to create a bookmark recording its state. When you later jump to that bookmark you should see that state you recorded.

For example, do this in the bookmark-list display:

  1. I S, to show only Info bookmarks (bookmarks to Info manual pages). (Using menu Bookmark+ this is Show > Only Bookmarks of Type > Info Nodes.)

  2. C-x r m, and enter a name for the bookmark to be created.

Later, to restore the bookmark-list display to what was recorded, just jump to that bookmark.

As you mentioned, there are other, related ways to record a bookmark-list display, depending on what you need. But this one is quite simple, and from what you describe it should do what you want.

Maybe you need to give more details about the filtering you are doing.

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

You don't give details of what you tried, but from your use case it sounds like the best approach is to create one or more bookmark-list bookmarks. Jumping to such a bookmark opens the bookmark-list display state that was bookmarked.

For that, you should be able to just use C-x r m in the bookmark-list display, once you have it the way you want it, to create a bookmark recording its state. When you later jump to that bookmark you should see that state you recorded.

For example, do this in the bookmark-list display:

  1. I S, to show only Info bookmarks (bookmarks to Info manual pages). (Using menu Bookmark+ this is Show > Only Bookmarks of Type > Info Nodes.)

  2. C-x r m, and enter a name for the bookmark to be created.

Later, to restore the bookmark-list display to what was recorded, just jump to that bookmark.

As you mentioned, there are other, related ways to record a bookmark-list display, depending on what you need. But this one is quite simple, and from what you describe it should do what you want.