~nobiot

https://nobiot.com

My project(s): https://sr.ht/~nobiot/

Recent activity

Re: denote-change-file-type does not take time from identifier 2 months ago

From Noboru to ~protesilaos/denote

> Perhaps we should default to UTC?

Independent of this issue, personally I prefer
the way it is now: local time everywhere. It sort
of captures the moment of the time I
experience—even if I was jet-lagged by flying
from Paris to Tokyo, as an example, it “was”
four in the morning I wrote this piece; not
08:00:00 in UTC.

nobiot 
Sent from my iPhone

Re: denote-change-file-type does not take time from identifier 2 months ago

From nobiot to ~protesilaos/denote

Hi Niall,

I was trying to verify my suspicion about the influence of time zone. I
think I was mistaken.

> #+title:      Public vs Private IP Addresses
> #+date:       [2023-09-16 Sat 19:28]
> #+filetags:   :networking:
> #+identifier: 20230916T172802

The command `denote-change-file-type` calls `denote--add-front-matter'
to add a new front matter. The new frontmatter determines the new `date` from
the identifier in the _file name_.

Re: denote-change-file-type does not take time from identifier 2 months ago

From nobiot to ~protesilaos/denote

> I note in the Org front matter the date includes the time. However,
> notice this time does not match the time in the identifier.

Hi Niall, I suspect this is related to the difference between your local
time zone and UTC. You happen to have created your note in the UTC+2
time zone, perhaps?

--nobiot

Minor link issue on https://archive.casouri.cc 2 months ago

From Noboru Ota to ~casouri/public-inbox

Hi Yuan,

I enjoy reading your notes. I've come to your website via your Emacs
work, Xeft, and am delighted to learn about your interest in type and
Pollen.

There seems to be a very minor link issue on the RSS link in your page
at `https://archive.casouri.cc/note/index.html`.

The RSS link on it is `https://archive.casouri.cc/note/note/atom.xml`.
It has an extra `note/`. Removing it lets me subscribe to the feed.

Thank you.

[PATCH] Move "Denote" menu on menu-bar to the end after "Tools" 2 months ago

From Noboru Ota to ~protesilaos/denote

Hi Prot and all in the list.

I'm happy to see that Prot has got his off-grid electricity cabin up.
Hope everything is working as you expect it to, Prot.

Here is a patch. I have got this method from Charles Choi's blog article, "Using
Bookmarks in Emacs like you do in Web Browsers" [1].

[1]:http://yummymelon.com/devnull/using-bookmarks-in-emacs-like-you-do-in-web-browsers.html


– nobiot
[message trimmed]

[PATCH] Move "Denote" menu on menu-bar to the end after Tools 2 months ago

From Noboru Ota to ~protesilaos/denote

Hi Prot and all in the list.

I'm happy to see that Prot has got his off-grid electricity cabin up.
Hope everything is working as you expect it to, Prot.

Here is a new patch. I have got this method from Charles Choi's blog article, "Using Bookmarks in Emacs like you do in Web Browsers" [1].

[1]:http://yummymelon.com/devnull/using-bookmarks-in-emacs-like-you-do-in-web-browsers.html

– nobiot

From ec217494621d6d70f28c9c3a1eb1b0539e6e92b7 Mon Sep 17 00:00:00 2001
From: Noboru Ota <me@nobiot.com>
Date: Fri, 15 Sep 2023 09:18:08 +0200
[message trimmed]

Attaching a patch 2 months ago

From nobiot to ~sircmpwn/email-test-drive

Some body text.

Below inline attaching the patch.

[PATCH] Demonstrate that I can use git send-email 2 months ago

From nobiot to ~sircmpwn/email-test-drive

Some email body text here.

From 125303fcc408f9567cd2a4afd6698b99b359f543 Mon Sep 17 00:00:00 2001
From: Noboru Ota <me@nobiot.com>
Date: Fri, 15 Sep 2023 10:13:18 +0200
Subject: [PATCH] Demonstrate that I can use git send-email

---
 nobiot | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 nobiot

diff --git a/nobiot b/nobiot
new file mode 100644
[message trimmed]

Re: Sluggification flexibility 4 months ago

From Noboru Ota to ~protesilaos/denote

"Jean-Charles Bagneris" <lists@bagneris.net> writes:

> The idea is that whatever the user-chosen (and maybe user-defined)
> function does to the string, we ensure that the denote rules are
> finally applied.

I felt the same way initially. In theory, I agree this should be the
way. However, in practice, I could not find a good place to put such
logic. If you have any suggestion, please advise.

Prot has noted this design requirement:

> The 'denote-sluggify' is used to sluggify titles but also keywords when

Re: Sluggification flexibility 4 months ago

From Noboru Ota to ~protesilaos/denote

Protesilaos Stavrou <info@protesilaos.com> writes:

> I think it is easier to preserve the current behaviour and provide a
> user option.  If we are not sure a user option is ready at this stage,
> we can add a 'defvar' that we leave there for more experienced users.
> Once we have a better idea of what other alternatives we can provide, we
> formalise the variable as a 'defcustom'.
>
> What do you think?

Something like this? See the patch. Introduced
`denote--slug-filter-function` with `defvar` at the moment and
`denote--slug-filter-asciify` as a separate function.
[message trimmed]