org-capture-extension icon indicating copy to clipboard operation
org-capture-extension copied to clipboard

Captures old highlights too

Open ashfaqfarooqui opened this issue 5 years ago • 1 comments

Thanks for this extension.

I am using Manjaro linux and Emacs 26.3.

Capture works fine when saving links. However when I try to capture quotes it does not seems to clear the memory from the previous capture.

This is what I get, I tried capturing 3 times and the highlighted text seems to just get appended to the old captures.

* 
Captured On: [2020-04-20 mån 01:22]
Source: [2020-04-20 mån], ** sds
Captured On: [2020-04-20 mån 01:18]
Source: [2020-04-20 mån], sds
Captured On: [2020-04-20 mån 01:18]
Source: [2020-04-20 mån], use
 #+BEGIN_QUOTE
Some workers bought rudimentary face shields from a recreation supervisor who purchased a box online for $160. By last week, employees were pleading for help from the government and for donations of personal protective equipment in Facebook posts.

But it was too late.
#+END_QUOTE




 #+BEGIN_QUOTE
But the virus kept finding frail and older residents, and one culprit became clear: The workers themselves were likely spreading it as they moved between rooms and floors, outfitted with little or no protective equipment.
#+END_QUOTE




 #+BEGIN_QUOTE
But it was too late.
#+END_QUOTE


%?

ashfaqfarooqui avatar Apr 19 '20 23:04 ashfaqfarooqui

It seems the %c variable in the capture template doesn't work as expected. you can replace it with [[%:link][%:description]] Which should be the same

its-a-unixsystem avatar May 23 '20 20:05 its-a-unixsystem