This package makes it easy to quickly take a note in a new heading displayed in a new, indirect buffer. It’s similar to Org’s built-in capture functionality, but it’s not limited to one capture “session”, so you can pop up a new note at any time, without interfering with other activities in Emacs.
For convenience, the new, indirect buffer has RET
bound to a command that renames the buffer according to the heading when pressed with point on the heading, and an inactive timestamp is automatically inserted at the beginning of the note.
Used with Yequake, it can also pop open a new Emacs frame.
Installing with Quelpa is easy:
- Install quelpa-use-package (which can be installed directly from MELPA).
- Add this form to your init file:
(use-package org-notely
:quelpa (org-notely :fetcher github :repo "alphapapa/org-notely"))
- Run
M-x customize-group RET org-notely RET
and configure the optionsorg-notely-file
andorg-notely-outline-path
according to your preferences. M-x org-notely RET
to pop up a new note buffer at the configured place.M-x org-notely-here RET
to pop up a new note buffer under the heading at point.
- The command
org-notely
accepts apoint-marker
argument, so one could easily write a command to add a new heading to any other certain heading (similar to Org Capture, but without requiring advance configuration).
Yequake makes it easy to display org-notely
in a new Emacs frame. Here’s an example configuration:
(use-package yequake
:custom
(yequake-frames
(list (cons "org-notely"
(list (cons 'buffer-fns '(org-notely))
(cons 'width 0.25)
(cons 'height 0.5))))))
Then bind a global keyboard shortcut in your desktop environment to run this command, which pops up a new Emacs frame showing a new org-notely
buffer:
emacsclient -n -e '(yequake-toggle "org-notely")'
This configuration uses org-sidebar to display a list of org-notely
notes, organized by month and year, next to the new-note buffer:
(use-package yequake
:custom
(yequake-frames
'(("org-notely"
(buffer-fns (lambda ()
(find-file-noselect org-notely-file))
(lambda ()
(org-with-wide-buffer
(org-global-cycle '(4))
(goto-char (org-find-olp '("Notes") 'this-buffer))
(org-cycle)
(org-tree-to-indirect-buffer)
(let ((org-super-agenda-date-format "%Y %B"))
(org-sidebar-ql (current-buffer)
'(regexp ".")
:narrow t :sort 'date
:super-groups '((:auto-ts))))
(goto-char (org-end-of-subtree))))
org-notely)
(width . 0.25)
(height . 0.5)))))
Initial release.
Bug reports, feature requests, suggestions — oh my!
GPLv3