Kangaroo Flat, Australia
Peter Prevos: Water engineer, social scientist and reality-disruptor
From Peter Prevos to ~protesilaos/denote
Hi Lucas, Interesting idea to have Denote-formatted folder names. I am starting to use the Denote file naming convention for my photo archive, perhaps a folder name could help managing the thousands of files. There is, however, also something to be said for holding all Denote files in one folder and use the tags (keywords) as sorting mechanism. The disadvantage of having inherited keywords is that a file looses information when moved to another folder. The power of the Denote file naming convention is that a file is monadic, it does not depend on anything else (other than linked files).
From Peter Prevos to ~protesilaos/denote
Hi Prot, Sometimes life gets in the way of Emacs :) The issue is that when you export an Org Mode file to any other format, the default is that the exported file gets the same file name as the original. org-export-dispatch launches the export menu from where you can pick your options (some options require external software). So exporting to HTML would result in two files with identical Denote identifiers:
From Peter Prevos to ~protesilaos/denote
Hi Benoit, Thanks for the explanation. P:)
From Peter Prevos to ~protesilaos/denote
Hi Benoit, Excuse my ignorance, what is RDE? P:) On 20-03-2023 05:03, Benoit Joly wrote: > Hi Protesilaos, > > I'm a recent user of denote, and RDE. > > I like the simplicity and flexibility of denote, > and I like sane defaults RDE brings to a guix OS and personal
From Peter Prevos to ~protesilaos/denote
Hi Prot, The new function works perfectly. This make Denote a perfect vehicle as an archiving tool for PDFs etc. P:)
From Peter Prevos to ~protesilaos/denote
Hi everybody, Using regular Org Mode file links works, but only in Org Mode. It would be nice to keep non-org/md/txt files recognised by Denote because it is not only about Org Mode. Recognising PDFs, images etc. as Denote files is a great addition for Markdown or plain text users who can't use the Org file links or attachment options. For me it is a great way to manage my library of images and pdf files. Also, registering attachments as Denote files with 'denote-file-types' does not work because it is used to create new notes, which should be limited to editable file. I have used it to register R-markdown files as
From Peter Prevos to ~protesilaos/denote
Hi Marc, I use the Denote fine-naming conventions for PDF, photographs etc and like to have them linked that way. It is a perfect replacement for the org attachment system. There was another thread where we discussed this same issue: https://github.com/protesilaos/denote/issues/135 P:) ---
From Peter Prevos to ~protesilaos/denote
Hi fellas, I am happy with anything that works. Perhaps the Denote manual needs to mention that users can change the export file name in org mode with the #+export_file_name: property. P:)
From Peter Prevos to ~protesilaos/denote
Hi Prot, > (defun denote-get-path-by-id (id) > "Return absolute path of ID string in > `denote-directory-files'." > (seq-find > (lambda (f) > (and (string-prefix-p id (file-name-nondirectory f)) > ;; The directory can contain exported html and > other > ;; derivative files that have the same name sans > extetion as > ;; the note.
From Peter Prevos to ~protesilaos/denote
Hi, In my Denote setup I distinguish notes (Org, md or txt) from attachments (e.g. PDF, mp4, jpg). I have these added as embedded images (works perfectly), but when I create a link to them Denote responds with: "denote-link-ol-follow: Wrong type argument: stringp, nil". This used to work fine. Is this a bug or something wrong in my config? Regards