[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 88948716a3 049/102: Docs: Document entry format
|
From: |
ELPA Syncer |
|
Subject: |
[nongnu] elpa/hyperdrive 88948716a3 049/102: Docs: Document entry format defcustoms |
|
Date: |
Wed, 29 Nov 2023 04:00:52 -0500 (EST) |
branch: elpa/hyperdrive
commit 88948716a3e25e10acc9ae4e9cd3ed1bf7f77879
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Docs: Document entry format defcustoms
---
doc/hyperdrive.org | 17 +++++++++++++++++
doc/hyperdrive.texi | 20 ++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/doc/hyperdrive.org b/doc/hyperdrive.org
index d84022528d..640dc94f02 100644
--- a/doc/hyperdrive.org
+++ b/doc/hyperdrive.org
@@ -877,6 +877,23 @@ DIRECTION being one of ~:ascending~ or ~:descending~.
version. To have separate buffers for each version of a
file/directory, use ~same-version~.
+- ~hyperdrive-default-entry-format~ :: Format string for displaying
+ hyperdrive entries (files/directories). By default, entries are
+ displayed with the default host format in brackets, followed by the
+ full entry path, followed by "version: " and version in parentheses.
+
+- ~hyperdrive-buffer-name-format~ :: Format string for buffer names of
+ buffers visiting hyperdrive files/directories. By default, this
+ format is like ~hyperdrive-default-entry-format~ with the entry name
+ sans directory instead of the full path.
+
+- ~hyperdrive-format-alist~ :: Alist mapping hyperdrive and hyperdrive
+ entry metadata to a format string, used in
+ ~hyperdrive-default-entry-format~ and ~hyperdrive-buffer-name-format~ as
+ well as other places hyperdrives or entries are displayed. By
+ default, each metadatum is prefixed by its type, e.g., the petname
+ ~foo~ is displayed by default as ~petname:foo~.
+
** Additional customization
This section mentions ways to change the behavior of ~hyperdrive.el~
diff --git a/doc/hyperdrive.texi b/doc/hyperdrive.texi
index 5b750f84d7..7605ecfa4c 100644
--- a/doc/hyperdrive.texi
+++ b/doc/hyperdrive.texi
@@ -1343,6 +1343,26 @@ By default (@code{any-version}), opening a hyperdrive
file or directory
reuses a buffer that is already visiting it, regardless of
version. To have separate buffers for each version of a
file/directory, use @code{same-version}.
+
+@item @code{hyperdrive-default-entry-format}
+Format string for displaying
+hyperdrive entries (files/directories). By default, entries are
+displayed with the default host format in brackets, followed by the
+full entry path, followed by ``version: '' and version in parentheses.
+
+@item @code{hyperdrive-buffer-name-format}
+Format string for buffer names of
+buffers visiting hyperdrive files/directories. By default, this
+format is like @code{hyperdrive-default-entry-format} with the entry name
+sans directory instead of the full path.
+
+@item @code{hyperdrive-format-alist}
+Alist mapping hyperdrive and hyperdrive
+entry metadata to a format string, used in
+@code{hyperdrive-default-entry-format} and
@code{hyperdrive-buffer-name-format} as
+well as other places hyperdrives or entries are displayed. By
+default, each metadatum is prefixed by its type, e.g., the petname
+@code{foo} is displayed by default as @code{petname:foo}.
@end table
@menu
- [nongnu] elpa/hyperdrive 4aff066a9d 073/102: Docs: Improve naming section, (continued)
- [nongnu] elpa/hyperdrive 4aff066a9d 073/102: Docs: Improve naming section, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 5ef8e22cfd 019/102: Change: (hyperdrive-menu-hyperdrive) Simplify wording, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 69d0d16b18 063/102: Use format-spec to customize hyperdrive and entry display, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 9bc9cf44d8 018/102: Fix: (hyperdrive-mirror-read-predicate) Return symbol for named func, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive d0d444aab2 040/102: Change: (hyperdrive-mirror) Rename PREDICATE argument to FILTER, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 3a778929b8 041/102: Change: (hyperdrive-menu-hyperdrive) Wording of Mirror command, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive fea9674bd2 047/102: Change: (hyperdrive--format-entry) Add faces, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 30f378df0a 065/102: Fix: Fix indentation, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive e640a14d84 067/102: Change: (hyperdrive-{message, error}) Call substitute-command-keys, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 6f56f99d7d 071/102: Fix: (-org--open-at-point) Only call -open on hyper:// links, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 88948716a3 049/102: Docs: Document entry format defcustoms,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 853068609b 095/102: Tidy: Appease spellcheck linter, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 7c52a96078 092/102: Change: Don't autoload register-definition-prefixes, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 32658e6c5f 089/102: Notes: Update, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 902e52ad58 098/102: Merge: Add hyperdrive-menu transient, shorthands..., ELPA Syncer, 2023/11/29