Code Monkey home page Code Monkey logo

Comments (8)

jrblevin avatar jrblevin commented on August 16, 2024 3

I don't think that's possible at present. You can either use deft-new-file-format, which is a date/time format string like "%Y-%m-%d", which would achieve part of what you want, or you can use deft-use-filter-string-for-filename to take "custom title" from the filter string, but not both at once. I'll put this down as a feature request.

from deft.

olegbc1 avatar olegbc1 commented on August 16, 2024

Yep, that's what I've been playing with. Thank you for considering this as a feature request!

from deft.

olegbc1 avatar olegbc1 commented on August 16, 2024

Just to add - it may be worthwhile to let Deft save new files in specified directories as well. Maybe use note name as directory and date as file name etc.

I'll see if this can be accomplished with dired

from deft.

rphillips avatar rphillips commented on August 16, 2024

I would also find this useful. I create note files in the format 20180409-SOME-FILENAME.md so I can look back and find something by date or topic.

from deft.

jonjnicholson avatar jonjnicholson commented on August 16, 2024

I would also find this useful

from deft.

EFLS avatar EFLS commented on August 16, 2024

I've created a package that does this by providing an exstention to deft. Actually, it does a whole lot more, as it attempts to create a sort of Zettelkasten type of notetaking system, by giving notes unique IDs (based on their date of creation). These unique IDs then allow links between notes, even as their titles change.

Check it out here: https://github.com/efls/zetteldeft (and read the documentation for a more extensive introduction).

To be clear: this is not a replacement of deft, but really building on top of it.

from deft.

jonjnicholson avatar jonjnicholson commented on August 16, 2024

@EFLS I tried your package, and I think it's perfect for what I want. Unfortunately, I kept getting duplicate titles in the files. I'm using the default doom emacs deft config, and I tried for quite awhile before giving up for now. I'll try again when I have time.

from deft.

EFLS avatar EFLS commented on August 16, 2024

@jonjnicholson With doom there is indeed an issue with duplicate #+TITLE: lines that I haven't been able to fully trace because I don't use doom myself. More info here EFLS/zetteldeft#26

from deft.

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.