emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How do you store web pages for reference?


From: Alan Schmitt
Subject: Re: [O] How do you store web pages for reference?
Date: Fri, 17 Mar 2017 09:05:03 +0100

On 2017-03-16 09:04, Bob Newell <address@hidden> writes:

> Scott Otterson <address@hidden> writes:
>
>> I use Evernote, which has handy annotation, tagging, and search
>
> I use this also, but I wanted something working within Emacs similar to
> the Evernote web-clipper. Org-board is very powerful but requires an
> intermediate step of creating a headline with a URL property.

I have this automated with org-capture and a hook:

#+BEGIN_SRC emacs-lisp
  (setq org-board-capture-file "my-org-board.org")

  (setq org-capture-templates
        `(...
          ("c" "capture through org protocol" entry
           (file+headline ,org-board-capture-file "Unsorted")
           "* %?%:description\n:PROPERTIES:\n:URL: %:link\n:END:\n\n Added %U")
          ...))

  (defun do-org-board-dl-hook ()
    (when (equal (buffer-name)
                 (concat "CAPTURE-" org-board-capture-file))
      (org-board-archive)))

  (add-hook 'org-capture-before-finalize-hook 'do-org-board-dl-hook)
#+END_SRC

Best,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2017-02: 406.42, 2016-02: 404.04

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]