[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dape 5c62153574 042/123: Fix various customization type
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dape 5c62153574 042/123: Fix various customization types |
Date: |
Tue, 5 Dec 2023 03:57:59 -0500 (EST) |
branch: externals/dape
commit 5c621535742930f4d62fecdc6380a2644aafbfcb
Author: Daniel Pettersson <daniel@dpettersson.net>
Commit: Daniel Pettersson <daniel@dpettersson.net>
Fix various customization types
Suggestions from emacs-devel
---
dape.el | 31 ++++++++++++++++---------------
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/dape.el b/dape.el
index 0662481410..8a976bbf45 100644
--- a/dape.el
+++ b/dape.el
@@ -90,18 +90,19 @@ Functions and symbols in configuration:
:type '(alist :key-type (symbol :tag "Name")
:value-type
(plist :options
- (((const :tag "Shell command to start the debug
adapter" command) string)
- ((const :tag "List of string arguments for command"
command-args) (list string))
- ((const :tag "Working directory for command"
command-cwd) string)
+ (((const :tag "List of modes where config is active in
`dape' completions" modes) (repeat function))
+ ((const :tag "Shell command to initiate the debug
adapter" command) (choice string symbol))
+ ((const :tag "List of string arguments for command"
command-args) (repeat string))
+ ((const :tag "Working directory for command"
command-cwd) (choice string symbol))
((const :tag "Host of debug adapter" host) string)
- ((const :tag "Port of debug adapter" port) integer)
- ((const :tag "List of modes where config is active in
`dape' completions" modes) function)
- ((const :tag "Runs shell command with
`dape-compile-fn'" compile) function)
- (keyword sexp)))))
+ ((const :tag "Port of debug adapter" port) natnum)
+ ((const :tag "Compile cmd" compile) string)
+ ((const :tag "Adapter type" :type) string)
+ ((const :tag "Request type launch/attatch" :request)
string)))))
(defcustom dape-key-prefix "\C-x\C-a"
"Prefix of all dape commands."
- :type 'key-sequence)
+ :type 'key)
(defcustom dape-on-start-hooks '(dape-info dape-repl)
"Hook to run on session start.
@@ -114,7 +115,7 @@ The hook is run with one argument, the compilation buffer."
(defcustom dape-main-functions '("main")
"Functions to set breakpoints at startup if no other breakpoints are set."
- :type '(list string))
+ :type '(repeat string))
(defcustom dape-info-buttons
'(("next" . dape-next)
@@ -130,7 +131,7 @@ The hook is run with one argument, the compilation buffer."
(defcustom dape-read-memory-default-count 1024
"The default count for `dape-read-memory'."
- :type '(integer))
+ :type 'natnum)
(defcustom dape-repl-commands
'(("debug" . dape)
@@ -165,15 +166,15 @@ The hook is run with one argument, the compilation
buffer."
(defcustom dape-inline-variable-length 30
"Maximum length of inline variable overlays."
- :type '(integer))
+ :type 'natnum)
(defcustom dape--debug-on
'(io info error std-server)
"Types of logs should be printed to *dape-debug*."
- :type '(list (const :tag "dap IO" io)
- (const :tag "info logging" info)
- (const :tag "error logging" error)
- (const :tag "dap tcp server stdout" std-server)))
+ :type '(set (const :tag "dap IO" io)
+ (const :tag "info logging" info)
+ (const :tag "error logging" error)
+ (const :tag "dap tcp server stdout" std-server)))
;;; Face
- [elpa] externals/dape 0f545358e2 118/123: Fix strange usage of add to watch in scope buffer, (continued)
- [elpa] externals/dape 0f545358e2 118/123: Fix strange usage of add to watch in scope buffer, ELPA Syncer, 2023/12/05
- [elpa] externals/dape c3fb0ebc32 075/123: Remove `dape--name', ELPA Syncer, 2023/12/05
- [elpa] externals/dape bc17ae80ff 078/123: Fix debuggee cleanup, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 30b2695154 087/123: Cancel timeout timers on process kill, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 41cfcc3ce3 089/123: Variety of dape--tree-widget performance "hacks", ELPA Syncer, 2023/12/05
- [elpa] externals/dape b7c578992d 094/123: Fix unnecessary newline in stopped repl text, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 4c990a5769 110/123: Rename `dape-breakpoint-*' functions for discoverability, ELPA Syncer, 2023/12/05
- [elpa] externals/dape f02fc87e82 116/123: Fix fringe check when placing breakpoints, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 8cc8b262c1 059/123: Add custom formatting to dape-info variables, ELPA Syncer, 2023/12/05
- [elpa] externals/dape ebd9ebf6a8 074/123: Default to "sensible" values in `dape-config' when missing, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 5c62153574 042/123: Fix various customization types,
ELPA Syncer <=
- [elpa] externals/dape 3770a22b28 060/123: Cleanup before emacs exits #8, ELPA Syncer, 2023/12/05
- [elpa] externals/dape b27a7db84c 071/123: Add defcustom buffer actions to Dape buffers, ELPA Syncer, 2023/12/05
- [elpa] externals/dape f982879c17 080/123: Cleanup timeouts before restart, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 5f65524007 102/123: Fix REPL completions when process has never stopped #15, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 2831601925 014/123: Small README improvements, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 3a05121b02 019/123: Fix adapter examples, ELPA Syncer, 2023/12/05
- [elpa] externals/dape df0c2d8357 023/123: Require success to launch/attach after initialize, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 161501b4a5 029/123: Fix example in readme, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 819d4c39f9 028/123: Keep log and expression breakpoints when removing breakpoints, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 907828d05e 032/123: Fix toggle breakpoint, ELPA Syncer, 2023/12/05