Coder Social home page Coder Social logo

Comments (5)

protesilaos avatar protesilaos commented on September 2, 2024 1

Hello @nbehrnd and thanks for sharing this information! I cannot watch the video right now. Will do it over the weekend.

I follow @novoid blog and have read many articles therein, though I have not used those packages you mention. The reason is that I learnt about them after I already had my own workflow in place.

As Karl notes, the concept is the same: give file names a predictable file name and be consistent about it. Once those are granted, I don't think there is an inherently better way of doing things. It comes down to what the user prioritises. For example, Karl's dates are more readable and thus easy to parse with the eye, though they use hyphens which means that it is more difficult to anchor a search at a certain section of the file name. By contrast, Denote's dates (the identifier) are more terse but free up the hyphen to be used as a delimiter. To quote from the manual:

File names have three fields and two sets of field delimiters between them:

DATE--TITLE__KEYWORDS.EXTENSION

[...] Consider this example:

20220621T062327--introduction-to-denote__denote_emacs.txt

You will notice that there are two matches for the word denote: one in the title field and another in the keywords' field. Because of the distinct field delimiters, if we search for -denote we only match the first instance while _denote targets the second one. When sorting through your notes, this kind of specificity is invaluable---and you get it for free from the file names alone!

https://protesilaos.com/emacs/denote#h:1a953736-86c2-420b-b566-fb22c97df197


how would you value the use of denote for file management without knowledge-management/Zettelkasten/...?

In terms of file names, I make no distinction between those concepts. They all have the same file-naming scheme (Denote has commands to name and rename existing files). Differences are found in the filesystem, such as different directories, and then the file extension. PDFs and such are longer-term storage, whereas Org, Markdown, and plain text are "notes".

Concretely, my videos are in ~/Videos, my notes in ~/Documents/notes, and my books in ~/Documenrs/books (among others).

Overall, this works for me as Denote's file names are not specific to a certain type of file or purpose.

from denote.

novoid avatar novoid commented on September 2, 2024

Coming from Org-mode and its Zettelkasten implementations, I did not realize the similarities between denote and filetags/date2name myself. ;-)

But yes, there are similarities in the concept.

@protesilaos, how would you value the use of denote for file management without knowledge-management/Zettelkasten/...?

You can more on filetags/date2name and such on https://karl-voit.at/managing-digital-photographs/

from denote.

novoid avatar novoid commented on September 2, 2024

On https://github.com/novoid/filetags you can find my file name convention summary:

(<ISO date/time stamp>)?(?<descriptive file name>)?( -- <list of tags separated by spaces>)?.<file extension>

In Prot's simplified notation from above:

DATE TITLE -- TAG1 TAG2.EXTENSION

As a user, I prefer my file name convention because I tend to read them very frequently in my daily work as I work in the shell. As Prod mentioned, my convention is easier to parse by humans. I got the impression that Prot is using his files mostly as links in his Org mode as references, not necessarily reading their file name that often (please correct me if I did get this wrong).

For the interested user, it is clearly visible that I let go of the "never use spaces or special characters in file- and directory names" many years ago (after strictly following this idea for many, many years). To me, all negative aspects of using special characters and spaces are gone due to almost perfect (zsh) support for tab completion, escaping and so forth. YMMV.

Using my lfile custom link method described on https://karl-voit.at/2022/02/10/lfile/ I may link to any file in my Org mode. I don't have to care about its path any more. I do have custom Elisp functions to integrate with dired and Org mode in my config.

With a similar method using Memacs, I may also embed arbitrary image files for lazyblorg blog articles.

from denote.

nbehrnd avatar nbehrnd commented on September 2, 2024

@protesilaos For your information: Because I think your approach to manage notes is valuable to those using Karl's tools to manage files, filetags' documentation has been extended (novoid/filetags#52).

from denote.

protesilaos avatar protesilaos commented on September 2, 2024

Thank you @nbehrnd! In the Denote manual, I have a section titled "Alternative ideas with Emacs and further reading": https://protesilaos.com/emacs/denote#h:188c0986-f2fa-444f-b493-5429356e75cf. Do you want to prepare a change there to mention Karl's tools? I think a section right below makes sense, so that it does not mention "Emacs" in its heading.

If you don't know how to write in Org, please prepare the text in any format you prefer and I will do the conversion.

from denote.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.