chore(users/sterni/mblog): rename apple-note to mail-note

The type identifier Apple uses is com.apple.mail-note, so “Mail Note” is
actually the best way to refer to this format. Not only doesn't it
include a trademark, but it's also more accurate. The iOS and macOS
Notes.app(s) allow authoring Notes to be saved in iCloud which seems to
use a different API and/or storage format (at least these notes are no
longer accessible via IMAP). In this sense they are “Apple Notes”, but
not “Mail Notes”.

Change-Id: I2fd3d3bd253ed39adf7965008290f7d1e622831d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12815
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
sterni 2024-12-25 23:01:07 +01:00 committed by clbot
parent b8e4da856f
commit 0ead86ec89
6 changed files with 60 additions and 60 deletions

View file

@ -1,5 +1,5 @@
;; SPDX-License-Identifier: GPL-3.0-only
;; SPDX-FileCopyrightText: Copyright (C) 2022-2023 by sterni
;; SPDX-FileCopyrightText: Copyright (C) 2022-2024 by sterni
(defpackage :maildir
(:use :common-lisp)
@ -17,7 +17,7 @@
:init-from-env
:*general-buffer-size*))
(defpackage :note
(defpackage :mail-note
(:use
:common-lisp
:closure-html
@ -32,13 +32,13 @@
:ends-with-subseq)
(:import-from :who :escape-string-minimal)
(:export
:apple-note
:apple-note-uuid
:apple-note-subject
:apple-note-time
:apple-note-text-part
:make-apple-note
:apple-note-html-fragment))
:mail-note
:mail-note-uuid
:mail-note-subject
:mail-note-time
:mail-note-text-part
:make-mail-note
:mail-note-html-fragment))
(defpackage :mblog
(:use
@ -46,7 +46,7 @@
:klatre
:who
:maildir
:note
:mail-note
:config)
(:export :build-mblog)
(:import-from :local-time :universal-to-timestamp)
@ -57,7 +57,7 @@
(:use
:common-lisp
:uiop
:note
:mail-note
:config
:mblog)
(:import-from :alexandria :starts-with)