Rifle through your Org-mode buffers and acquire your target
Additions
Changes
helm-org-rifle-actions
, which makes it easier for users to add custom actions. Thanks to Akira Komamura.Fixes
helm-org-rifle
from causing org
to load unnecessarily. Fixes #13. Thanks to Anders Johansson (@andersjohansson) and Chris Ruegge (@cruegge).org-indirect-buffer-display
, and preserve position of point in the source buffer. Thanks to Akira Komamura.org-re
, a macro obsolete in Org 9.0.Fixes
derived-mode-p
to check buffers' major mode. This allows working with modes derived from Org, like org-journal-mode
. Thanks to Akira Komamura.Additions
WAITING something
would find any entry with the words waiting
or something
in it. Now, to-do keywords are recognized as such and are compared to the actual to-do keyword of each entry, using the list of to-do keywords specific to each buffer. So, searching for WAITING something
will find entries containing the word something
with the to-do status WAITING
; searching for waiting something
will search for waiting
as a normal word, finding entries containing waiting
or something
without regard for their to-do status.TODO DONE something
will find entries containing the word something
that are marked either TODO
or DONE
.occur
results:
org-cycle
key is pressed with point on a source header.Fixes
(org-agenda-files)
function instead of the org-agenda-files
variable in helm-org-rifle-agenda-files
and helm-org-rifle-occur-agenda-files
. This way, directory entries are expanded, and other Org customizations are respected. Thanks to Joonatan O'Rourke.helm-org-rifle-show-path
is on, match against path elements. This only happens when that option is enabled, so WYSIWYG: if you can't see the paths, they aren't matched against. Note, however, that they are always checked for excluded patterns, even if the option is off. Thanks to George Singer.Internal
Fixes
occur
commands. This prevented the user from jumping to the position of results in source buffers.Fixes
occur
commands, get only entries, not entire subtrees. This is the intended behavior and makes it consistent with the non-occur
commands.Additions
helm-org-rifle-occur
, helm-org-rifle-occur-current-buffer
, helm-org-rifle-occur-files
, helm-org-rifle-occur-agenda-files
, helm-org-rifle-occur-org-directories
, and helm-org-rifle-occur-org-directory
, which display results in an occur
-like, persistent buffer. These are handy when you aren't as certain of what you're looking for and you want to keep the results visible while looking at each result's source buffer. When you click on or press RET
on a result, the source buffer will be popped to alongside the results buffer, and the node will be revealed, cycled to, and the point moved to the same place. These commands do not actually use Helm at all, so maybe they should be renamed to simply org-rifle
…?C-u
). If helm-org-rifle-sort-order-persist
is set, the sort order remains after setting it, and the default sort order may also be customized.occur
-style buffer, like the helm-org-rifle-occur
commands do.helm-org-rifle-occur
buffer by pressing C-s
in the Helm buffer.helm-org-rifle-always-show-entry-contents-chars
to show some entry contents when the query only matches the heading or metadata, defaults to 50
characters.helm-org-rifle-show-full-contents
which displays each result's entire contents rather than just the context around each matching word. This is off by default, but the helm-org-rifle-occur
commands activate it for their results, and you might use it selectively by calling one of the rifle
commands inside a let
that sets this variable.helm-org-rifle-heading-contents-separator
and helm-org-rifle-multiline
. These may be useful to compact the results display when defining custom commands.helm-org-rifle-files
and helm-org-rifle-directories
(and their new -occur
counterparts) now accept either a string or a list of strings.Fixes
:tag1:tag2:
would not show a heading tagged :tag2:tag1:
. It could be worked around by searching for :tag1: :tag2:
, but that was non-obvious and counter-intuitive. This could be considered a bug-fix, but the change is significant enough that it belongs in a feature update to get more testing.!:tag1:
) from being negated properly.helm-org-rifle-show-entry-function
to display the wrong function name, even though it worked correctly.helm-org-rifle-agenda-files
command.helm-org-rifle-org-directory
command.