[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-remark 1a6745acce 71/75: fix(line): change some cus
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-remark 1a6745acce 71/75: fix(line): change some customizing options from integer to natnum |
Date: |
Fri, 6 Oct 2023 12:59:21 -0400 (EDT) |
branch: externals/org-remark
commit 1a6745acce38a5e9292aca8ff9e0b84d5e8be1c4
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>
fix(line): change some customizing options from integer to natnum
For margin width, etc. we only need positive integer (= natural number).
---
org-remark-line.el | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/org-remark-line.el b/org-remark-line.el
index a4bcd9b5bf..9a01af7c88 100644
--- a/org-remark-line.el
+++ b/org-remark-line.el
@@ -5,7 +5,7 @@
;; Author: Noboru Ota <me@nobiot.com>
;; URL: https://github.com/nobiot/org-remark
;; Created: 01 August 2023
-;; Last modified: 30 August 2023
+;; Last modified: 30 September 2023
;; Package-Requires: ((emacs "27.1") (org "9.4"))
;; Keywords: org-mode, annotation, note-taking, marginal-notes, wp
@@ -51,22 +51,20 @@ character, such as the default value.)"
:safe 'stringp)
(defcustom org-remark-line-minimum-margin-width 3
- "Margin width in an integer or cons cell.
-It can be a single number or a cons cell. When it is a single
-number, both the left and right margin widths will be the same.
-When this customizing variable is a cons cell, the format is as
-follows: (LEFT-MARGIN-WIDTH . RIGHT-MARGIN-WIDTH). The first
-value is the left margin width and the secon value is the right
-one."
+ "Margin width in a natural number.
+It can be a single number or a cons cell of two. When it is a
+single number, both the left and right margin widths will be the
+same. When this customizing variable is a cons cell, the format
+is as follows: (LEFT-MARGIN-WIDTH . RIGHT-MARGIN-WIDTH)."
:local t
:type '(choice
- (integer :tag "Minimum margin width for both left and right margins"
3)
- (cons :tag "Left and right margin widths" integer integer)))
+ (natnum :tag "Minimum margin width for both left and right margins"
3)
+ (cons :tag "Left and right margin widths" natnum natnum)))
(defcustom org-remark-line-margin-padding 1
"Padding between the main text area the glyph/icon on the margin"
:local t
- :type 'integer)
+ :type 'natnum)
(defcustom org-remark-line-margin-side 'left-margin
"The side of margin to display line highlights.
@@ -78,7 +76,7 @@ Left or rigth can be chosen."
(defcustom org-remark-line-heading-title-max-length 40
"Maximum length of string included as the highlight title."
- :type 'integer)
+ :type 'natnum)
(defcustom org-remark-line-ellipsis "…"
"Ellipsis used when the highlight title is longer than maximum.
- [elpa] externals/org-remark 3ea41202e6 58/75: feat: #21 Delete notes when highlight removed if the notes are empty, (continued)
- [elpa] externals/org-remark 3ea41202e6 58/75: feat: #21 Delete notes when highlight removed if the notes are empty, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 1df1fcb331 46/75: feat(line): define various customizing options, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 063f68e5a4 36/75: feat(line): right margin, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark cdcab9e294 73/75: docs: v1.3, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark c1c120f0c9 45/75: feat(line):defcustom org-remark-line-minimum-margin-width, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark c506e61017 55/75: fix(line): `org-remark-mark-line` does not autoload, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 822e730fc8 75/75: Merge branch 'dev/1.3.0', ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark d5a3fcf612 17/75: refactor(create): quoting org-remark-type value, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark e77787ca5d 27/75: refactor:spacer, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 7a9c0454b2 74/75: fix: declare-function file location, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 1a6745acce 71/75: fix(line): change some customizing options from integer to natnum,
ELPA Syncer <=
- [elpa] externals/org-remark bdd54cf237 57/75: Merge branch 'main' into dev/1.3.0, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark ceef4b537c 53/75: Merge branch 'main' into dev/line-highlight, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 32b8699b12 64/75: doc: docstring for `org-remark-notes-auto-delete`, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark ace9570070 52/75: refactor: simply org-remark-open, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 73766a03f0 69/75: docs: update NEWS, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 52cf20297b 67/75: feat: #72 org-remark-open can open the marginal notes file, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark ca648a1876 18/75: fix: change now can only select pens from the same type, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 2f7d16ef4e 31/75: refactor(line): remove unused functions, source comments, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark c7dc42bf30 28/75: fix: margin width, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 56557549ec 16/75: refactor: Create macro to add function-put, ELPA Syncer, 2023/10/06