Coder Social home page Coder Social logo

Comments (7)

protesilaos avatar protesilaos commented on July 28, 2024 2

Oh I see. Did you try with the comma, which is the default crm-separator?

from denote.

protesilaos avatar protesilaos commented on July 28, 2024

Recipe to reproduce the issue:

I can't reproduce it. My tags are separated by two spaces.

When I evaluate this:

(denote "This is a test" '("tag1" "tag2"))

I get:

#+title:      This is a test
#+date:       2022-06-10
#+filetags:   tag1  tag2
#+identifier: 20220610T172624

2022-06-10_17:26:45_541x256

  • Note: This will work too: #+filetags: tag1 tag2. But that is
    not documented in the Org manual.

Indeed! This is what I settled on as it works for the other file types
as well.

The + used to separate multiple tags when entering them using M-x denote should not make it way to the front-matter.

Agreed!

from denote.

protesilaos avatar protesilaos commented on July 28, 2024

By the way, I have no strong opinion about the "two spaces". I first introduced them by accident and then liked how they looked. But I am happy to go with one if that is the standard or whatnot.

from denote.

kaushalmodi avatar kaushalmodi commented on July 28, 2024

When I evaluate this: (denote "This is a test" '("tag1" "tag2"))

I was using the interactive approach M-x denote. I was unable to add multiple tags to the "File keyword:" prompt, and so I used + to separate them. But then those + chars stay in the #+filetags too.

from denote.

kaushalmodi avatar kaushalmodi commented on July 28, 2024

I have no strong opinion about the "two spaces". I first introduced them by accident and then liked how they looked.

I don't have a strong opinion about them either.

But I don't know if allowing spaces in tags has a strong use case. It will get a bit more complicated when supporting them in the front-matter. I'll open another ticket to discuss that.

Update: Ticket regarding multiple-word keywords: #6

from denote.

kaushalmodi avatar kaushalmodi commented on July 28, 2024

Did you try with the comma, which is the default crm-separator?

That works! Thanks!

I did miss this in the manual:

Multiple keywords can be inserted by separating them with a comma (or whatever the value of the ~crm-indicator~ is---which should be a comma).

Sorry about that.

from denote.

protesilaos avatar protesilaos commented on July 28, 2024

You are welcome!

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.