alphapapa / alphapapa/org-protocol-capture-html
Text selection doesn't work
- Ngôn ngữ chính
- Emacs Lisp
- Star
- 461
- Fork
- 41
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Thanks for this wonderful package, much appreciated.
I managed to set up successfully for full page capture. However, whether I select text or not, the function always captured the entire page. I am wondering if I did anything wrong.
```
(setq org-directory "~/org-notes")
(setq org-default-notes-file (concat org-directory "/notes.org"))
(define-key global-map "\C-cc" 'org-capture)
(defun transform-square-brackets-to-round-ones(string-to-transform)
"Transforms [ into ( and ] into ), other chars left unchanged."
(concat
(mapcar #'(lambda (c) (if (equal c ?[) ?\( (if (equal c ?]) ?\) c))) string-to-transform))
)
(setq org-capture-templates
'(("w" "Web site"
entry
(file+olp "~/org-notes/notes.org" "Web")
"* %c :website:\n%U %?%:initial")))
(setq org-protocol-default-template-key "w")
```
I am using the first bookmarklet set up for Firefox.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.