Replies: 2 comments 4 replies
-
BTW, note that there's already a Anyway, how would you suggest that we know whether the user wants to keep a buffer's name or change it to match the new search? I'd generally suggest that you assign the search a title and access it with, e.g. saved views, bookmarks, or links, rather than manually evaluating that expression. |
Beta Was this translation helpful? Give feedback.
-
That makes a lot of sense, I'll use Out of curiosity, in which case is the following part in (rename-buffer (format "%s %s*"
org-ql-view-buffer-name-prefix
(or org-ql-view-title org-ql-view-query))
;; Avoid any errors in case a buffer by this name already exists.
'unique) |
Beta Was this translation helpful? Give feedback.
-
OS/platform
any
Emacs version and provenance
not relevant
Org version and provenance
not relevant
org-ql package version and provenance
any
Description
Say I have done a search with the code below, notice that I've named the buffer
habit
Now if I press
r
in thehabit
buffer, the buffer gets named to*Org QL View: (property STYLE habit)*
.If I rerun the code above, and press
r
again, the buffer gets named to*Org QL View: (property STYLE habit)*<1>
.I think it's preferable to let
org-ql-view-refresh
use the buffer name I've chosen.Etc.
No response
Beta Was this translation helpful? Give feedback.
All reactions