[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/calibre b7d6dd90f1 57/76: Add customisation types to bo
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/calibre b7d6dd90f1 57/76: Add customisation types to book slots |
|
Date: |
Thu, 18 May 2023 09:57:45 -0400 (EDT) |
branch: externals/calibre
commit b7d6dd90f131cb8fdb686a3a92efa0c1a2e86991
Author: Kjartan Óli Ágústsson <kjartanoli@disroot.org>
Commit: Kjartan Óli Ágústsson <kjartanoli@disroot.org>
Add customisation types to book slots
* calibre-book.el (calibre-book): Add :custom types to slots whose
values should be editable by users.
---
calibre-book.el | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/calibre-book.el b/calibre-book.el
index 991e599b7c..6e3427a856 100644
--- a/calibre-book.el
+++ b/calibre-book.el
@@ -39,10 +39,12 @@ TIMESTAMP is a string of the form YYYY-MM-DD
HH:MM:SS.xxxxxx+00:00."
:documentation "The ID of the book in the Calibre database.")
(title :initarg :title
:type string
- :documentation "The title of the book.")
+ :documentation "The title of the book."
+ :custom string)
(authors :initarg :authors
:type list
- :documentation "The authors of the book.")
+ :documentation "The authors of the book."
+ :custom (repeat (string :tag "Author")))
(publisher :initarg :publisher
:type (or string null)
:documentation "The publisher of the book."
@@ -50,11 +52,13 @@ TIMESTAMP is a string of the form YYYY-MM-DD
HH:MM:SS.xxxxxx+00:00."
(series :initarg :series
:initform nil
:type (or string null)
- :documentation "The series the book is a part of.")
+ :documentation "The series the book is a part of."
+ :custom (choice (const nil) string))
(series-index :initarg :series-index
:initform 1
:type real
- :documentation "The book's position within its series.")
+ :documentation "The book's position within its series."
+ :custom number)
(formats :initarg :formats
:type list)
(timestamp :initarg :timestamp
@@ -66,7 +70,8 @@ TIMESTAMP is a string of the form YYYY-MM-DD
HH:MM:SS.xxxxxx+00:00."
(tags :initarg :tags
:initform '()
:type list
- :documentation "Tags associated with the book.")
+ :documentation "Tags associated with the book."
+ :custom (repeat (string :tag "Tag")))
(path :initarg :path
:type string
:documentation "The book's position within the library")
- [elpa] externals/calibre 7d97c360f1 15/76: Update package version to 1.0, (continued)
- [elpa] externals/calibre 7d97c360f1 15/76: Update package version to 1.0, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 38e0beb840 03/76: Get publishers, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 188a3da504 04/76: Add functions to add and remove books, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 393ae4a945 12/76: Add force option to library refresh, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre ecf03e1842 19/76: Fix circular dependencies and byte compiler warnings, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre e2863a9d6a 21/76: Fix byte compiler warning, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 330471a75f 26/76: Fix circular dependency and byte compiler warnings, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre fd1b0e5fd7 28/76: Use message instead of display-warning, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre bc26df0b48 36/76: Set tabulated-list-format in the correct buffer, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 07df132f5d 53/76: Error if no libraries are defined, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre b7d6dd90f1 57/76: Add customisation types to book slots,
ELPA Syncer <=
- [elpa] externals/calibre 4e4bf841cb 59/76: Rename calibre-make-book, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 832e91827d 63/76: Move calibre--library to calibre-util, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre b43ab3a90c 73/76: Allow overriding format preferences, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 2b64cb76ad 49/76: Add support for displaying publication date, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre ca0ae8a1d3 74/76: Pick some format if no preferred format is available, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre c6cb36b0a3 17/76: Fix byte-compiler warnings, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 8c791fb915 05/76: Add missing sort by series function, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 360fbf15cb 02/76: Fix defcustom version strings, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 76427bf5be 07/76: Allow customisation of the columns of the library buffer, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre d8682121d8 23/76: Reorder variable declarations, ELPA Syncer, 2023/05/18