This is the net.didierverna.clon Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:45:59 2024 GMT+0.
net.didierverna.clon/net.didierverna.clon.asd
net.didierverna.clon.setup/termio/net.didierverna.clon.setup.asd
net.didierverna.clon.core/net.didierverna.clon.core.asd
net.didierverna.clon.termio/net.didierverna.clon.termio.asd
net.didierverna.clon.setup/package.lisp
net.didierverna.clon.setup/src/configuration.lisp
net.didierverna.clon.setup/src/readtable.lisp
net.didierverna.clon.setup/src/version.lisp
net.didierverna.clon.setup/src/termio.lisp
net.didierverna.clon.core/package.lisp
net.didierverna.clon.core/src/util.lisp
net.didierverna.clon.core/src/item.lisp
net.didierverna.clon.core/src/text.lisp
net.didierverna.clon.core/src/options/option.lisp
net.didierverna.clon.core/src/options/flag.lisp
net.didierverna.clon.core/src/options/valued.lisp
net.didierverna.clon.core/src/options/negatable.lisp
net.didierverna.clon.core/src/options/switch-base.lisp
net.didierverna.clon.core/src/options/switch.lisp
net.didierverna.clon.core/src/options/stropt.lisp
net.didierverna.clon.core/src/options/lispobj.lisp
net.didierverna.clon.core/src/options/path.lisp
net.didierverna.clon.core/src/options/enum-base.lisp
net.didierverna.clon.core/src/options/enum.lisp
net.didierverna.clon.core/src/options/xswitch.lisp
net.didierverna.clon.core/src/container.lisp
net.didierverna.clon.core/src/group.lisp
net.didierverna.clon.core/src/retrieval/cmdline.lisp
net.didierverna.clon.core/src/retrieval/environ.lisp
net.didierverna.clon.core/src/synopsis.lisp
net.didierverna.clon.core/src/output/face.lisp
net.didierverna.clon.core/src/output/sheet.lisp
net.didierverna.clon.core/src/context.lisp
net.didierverna.clon.termio/sbcl/constants.lisp
net.didierverna.clon.termio/termio.lisp
The main system appears first, followed by any subsystem dependency.
net.didierverna.clon
net.didierverna.clon.setup/termio
net.didierverna.clon.setup
net.didierverna.clon.core
net.didierverna.clon.termio
net.didierverna.clon
Command-line options management for standalone Common Lisp applications
The Command-Line Options Nuker
Didier Verna
BSD
Clon is a library for command-line options management. It is intended to ease
the creation of standalone Common Lisp applications by providing a powerful
and uniform command-line options interface. The most important features of
Clon are the following.
- From the application programmer’s point of view: centralized command-line
options specification and management, including automatic generation of help
strings, conversion from command-line / defaults / fallbacks / environment
variables to application-level option values, global or on-demand option
retrieval, and extensibility (the programmer can define his own option
types).
- From the application user’s point of view: uniform command-line option syntax across all Clon applications, customization of the help strings layout (with optional ISO6429 coloring on terminals that support it), automatic completion of abbreviated option names and short/long/pack syntax.
net.didierverna.clon.setup/termio
(system).
net.didierverna.clon.core
(system).
net.didierverna.clon.termio
(system)., for feature :net.didierverna.clon.termio
net.didierverna.clon.setup/termio
Clon’s support for automatic configuration of termio support
The Command-Line Options Nuker, termio setup
Didier Verna <didier@didierverna.net>
BSD
This is a virtual subsystem or Clon (no actual code). Its purpose is only to autodetect termio support and update Clon’s preload configuration on load. For a more complete description of Clon, see the net.didierverna.clon system.
net.didierverna.clon.setup
(system).
net.didierverna.clon.setup
Clon’s preload setup library
The Command-Line Options Nuker, setup library
Didier Verna
BSD
The Clon setup library provides support for various preload configuration parameters and meta-utilities. For a more complete description of Clon, see the ‘net.didierverna.clon’ system.
named-readtables
(system).
package.lisp
(file).
src
(module).
net.didierverna.clon.core
Clon’s basic, platform-independent functionality
The Command-Line Options Nuker, core library
Didier Verna
BSD
Clon’s core library provides the platform/feature independent part. For a more complete description of Clon, see the net.didierverna.clon system.
sb-posix
(system)., required, for feature :sbcl
net.didierverna.clon.setup
(system).
package.lisp
(file).
src
(module).
net.didierverna.clon.termio
Clon’s support for termio (tty geometry and fontification)
The Command-Line Options Nuker, termio library
Didier Verna
BSD
Clon’s termio library provides automatic detection of tty geometry and ISO6429 coloring on terminals that support it. For a more complete description of Clon, see the net.didierverna.clon system.
:net.didierverna.clon.termio
net.didierverna.clon.setup/termio
(system).
sb-grovel
(system)., required, for feature :sbcl
cffi-grovel
(system)., for feature (:or :allegro :clisp :lispworks)
sb-posix
(system)., for feature :sbcl
cffi
(system)., for feature (:and :clisp :net.didierverna.clon.termio)
net.didierverna.clon.setup
(system).
net.didierverna.clon.core
(system).
sbcl/constants.lisp
(file).
termio.lisp
(file).
Modules are listed depth-first from the system components tree.
net.didierverna.clon.setup/src
net.didierverna.clon.core/src
net.didierverna.clon.core/src/options
net.didierverna.clon.core/src/retrieval
net.didierverna.clon.core/src/output
net.didierverna.clon.setup/src
package.lisp
(file).
net.didierverna.clon.setup
(system).
configuration.lisp
(file).
readtable.lisp
(file).
version.lisp
(file).
termio.lisp
(file).
net.didierverna.clon.core/src
package.lisp
(file).
net.didierverna.clon.core
(system).
util.lisp
(file).
item.lisp
(file).
text.lisp
(file).
options
(module).
container.lisp
(file).
group.lisp
(file).
retrieval
(module).
synopsis.lisp
(file).
output
(module).
context.lisp
(file).
net.didierverna.clon.core/src/options
text.lisp
(file).
src
(module).
option.lisp
(file).
flag.lisp
(file).
valued.lisp
(file).
negatable.lisp
(file).
switch-base.lisp
(file).
switch.lisp
(file).
stropt.lisp
(file).
lispobj.lisp
(file).
path.lisp
(file).
enum-base.lisp
(file).
enum.lisp
(file).
xswitch.lisp
(file).
net.didierverna.clon.core/src/retrieval
options
(module).
src
(module).
cmdline.lisp
(file).
environ.lisp
(file).
net.didierverna.clon.core/src/output
synopsis.lisp
(file).
retrieval
(module).
src
(module).
face.lisp
(file).
sheet.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
net.didierverna.clon/net.didierverna.clon.asd
net.didierverna.clon.setup/termio/net.didierverna.clon.setup.asd
net.didierverna.clon.core/net.didierverna.clon.core.asd
net.didierverna.clon.termio/net.didierverna.clon.termio.asd
net.didierverna.clon.setup/package.lisp
net.didierverna.clon.setup/src/configuration.lisp
net.didierverna.clon.setup/src/readtable.lisp
net.didierverna.clon.setup/src/version.lisp
net.didierverna.clon.setup/src/termio.lisp
net.didierverna.clon.core/package.lisp
net.didierverna.clon.core/src/util.lisp
net.didierverna.clon.core/src/item.lisp
net.didierverna.clon.core/src/text.lisp
net.didierverna.clon.core/src/options/option.lisp
net.didierverna.clon.core/src/options/flag.lisp
net.didierverna.clon.core/src/options/valued.lisp
net.didierverna.clon.core/src/options/negatable.lisp
net.didierverna.clon.core/src/options/switch-base.lisp
net.didierverna.clon.core/src/options/switch.lisp
net.didierverna.clon.core/src/options/stropt.lisp
net.didierverna.clon.core/src/options/lispobj.lisp
net.didierverna.clon.core/src/options/path.lisp
net.didierverna.clon.core/src/options/enum-base.lisp
net.didierverna.clon.core/src/options/enum.lisp
net.didierverna.clon.core/src/options/xswitch.lisp
net.didierverna.clon.core/src/container.lisp
net.didierverna.clon.core/src/group.lisp
net.didierverna.clon.core/src/retrieval/cmdline.lisp
net.didierverna.clon.core/src/retrieval/environ.lisp
net.didierverna.clon.core/src/synopsis.lisp
net.didierverna.clon.core/src/output/face.lisp
net.didierverna.clon.core/src/output/sheet.lisp
net.didierverna.clon.core/src/context.lisp
net.didierverna.clon.termio/sbcl/constants.lisp
net.didierverna.clon.termio/termio.lisp
net.didierverna.clon/net.didierverna.clon.asd
net.didierverna.clon
(system).
net.didierverna.clon.setup/termio/net.didierverna.clon.setup.asd
net.didierverna.clon.setup/termio
(system).
net.didierverna.clon.core/net.didierverna.clon.core.asd
net.didierverna.clon.core
(system).
net.didierverna.clon.termio/net.didierverna.clon.termio.asd
net.didierverna.clon.termio
(system).
net.didierverna.clon.setup/package.lisp
net.didierverna.clon.setup
(system).
net.didierverna.clon.setup/src/configuration.lisp
src
(module).
configuration
(function).
configure
(function).
*configuration*
(special variable).
net.didierverna.clon.setup/src/readtable.lisp
configuration.lisp
(file).
src
(module).
net.didierverna.clon.setup/src/version.lisp
readtable.lisp
(file).
src
(module).
*copyright-years*
(special variable).
*release-major-level*
(special variable).
*release-minor-level*
(special variable).
*release-name*
(special variable).
*release-status*
(special variable).
*release-status-level*
(special variable).
version
(function).
%version
(function).
release-status-number
(function).
net.didierverna.clon.setup/src/termio.lisp
readtable.lisp
(file).
src
(module).
setup-termio
(function).
restrict-because
(function).
net.didierverna.clon.core/package.lisp
net.didierverna.clon.core
(system).
nickname-package
(function).
net.didierverna.clon.core/src/util.lisp
src
(module).
*executablep*
(special variable).
cmdline
(function).
dump
(macro).
executablep
(function).
exit
(function).
make-instance
(method).
validate-superclass
(method).
validate-superclass
(method).
abstract-class
(class).
accumulate
(macro).
beginning-of-string-p
(function).
closest-match
(function).
complete-string
(function).
copy-instance
(generic function).
declare-valid-superclass
(macro).
defabstract
(macro).
econd
(macro).
endpush
(macro).
error-string
(reader method).
(setf error-string)
(writer method).
getenv
(function).
home-directory
(function).
home-directory
(condition).
list-to-string
(function).
macosp
(function).
maybe-push
(macro).
putenv
(function).
remove-keys
(function).
replace-in-keys
(macro).
replace-key
(function).
replace-keys
(function).
select-keys
(function).
net.didierverna.clon.core/src/item.lisp
util.lisp
(file).
src
(module).
help-spec
(generic function).
hiddenp
(reader method).
item
(class).
traversedp
(reader method).
(setf traversedp)
(writer method).
untraverse
(generic function).
net.didierverna.clon.core/src/text.lisp
item.lisp
(file).
src
(module).
make-text
(function).
contents
(reader method).
help-spec
(method).
make-internal-text
(function).
text
(class).
untraverse
(method).
net.didierverna.clon.core/src/options/option.lisp
options
(module).
initialize-instance
(method).
initialize-instance
(method).
check-name-clash
(generic function).
description
(reader method).
env-var
(reader method).
help-spec
(method).
long-name
(reader method).
match-option
(function).
negated-pack-char
(generic function).
option
(reader method).
option
(class).
option-abbreviation-distance
(function).
option-error
(condition).
option-sticky-distance
(generic function).
potential-pack-char
(function).
short-name
(reader method).
short-pack-char
(generic function).
untraverse
(method).
net.didierverna.clon.core/src/options/flag.lisp
option.lisp
(file).
options
(module).
make-flag
(function).
flag
(class).
make-internal-flag
(function).
net.didierverna.clon.core/src/options/valued.lisp
option.lisp
(file).
options
(module).
initialize-instance
(method).
initialize-instance
(method).
*item-names*
(special variable).
argument
(reader method).
argument-name
(reader method).
argument-required-p
(reader method).
check
(generic function).
comment
(reader method).
comment
(reader method).
convert
(generic function).
default-value
(reader method).
defoption
(macro).
fallback-value
(reader method).
help-spec
(method).
invalid-argument
(condition).
invalid-value
(condition).
option-sticky-distance
(method).
read-argument
(function).
read-value
(function).
restartable-check
(function).
restartable-convert
(function).
short-pack-char
(method).
short-syntax-help-spec-prefix
(generic function).
stringify
(generic function).
value
(reader method).
valued-option
(class).
net.didierverna.clon.core/src/options/negatable.lisp
valued.lisp
(file).
options
(module).
negatable
(class).
negated-pack-char
(method).
short-syntax-help-spec-prefix
(method).
net.didierverna.clon.core/src/options/switch-base.lisp
negatable.lisp
(file).
options
(module).
initialize-instance
(method).
initialize-instance
(method).
argument-style
(reader method).
argument-styles
(reader method).
(setf argument-styles)
(writer method).
no-values
(reader method).
(setf no-values)
(writer method).
switch-base
(class).
yes-values
(reader method).
(setf yes-values)
(writer method).
net.didierverna.clon.core/src/options/switch.lisp
switch-base.lisp
(file).
options
(module).
initialize-instance
(method).
make-switch
(function).
check
(method).
convert
(method).
make-internal-switch
(function).
stringify
(method).
switch
(class).
net.didierverna.clon.core/src/options/stropt.lisp
valued.lisp
(file).
options
(module).
make-stropt
(function).
check
(method).
convert
(method).
make-internal-stropt
(function).
stringify
(method).
stropt
(class).
net.didierverna.clon.core/src/options/lispobj.lisp
valued.lisp
(file).
options
(module).
make-lispobj
(function).
net.didierverna.clon.core/src/options/path.lisp
valued.lisp
(file).
options
(module).
make-path
(function).
check
(method).
convert
(method).
directory-pathname-p
(function).
make-internal-path
(function).
path
(class).
path-type
(reader method).
pathname-component-null-p
(function).
split-path
(function).
stringify
(method).
net.didierverna.clon.core/src/options/enum-base.lisp
options
(module).
initialize-instance
(method).
net.didierverna.clon.core/src/options/enum.lisp
valued.lisp
(file).
enum-base.lisp
(file).
options
(module).
make-enum
(function).
check
(method).
convert
(method).
enum
(class).
make-internal-enum
(function).
stringify
(method).
net.didierverna.clon.core/src/options/xswitch.lisp
valued.lisp
(file).
switch-base.lisp
(file).
enum-base.lisp
(file).
options
(module).
make-xswitch
(function).
check
(method).
convert
(method).
make-internal-xswitch
(function).
stringify
(method).
xswitch
(class).
net.didierverna.clon.core/src/container.lisp
options
(module).
src
(module).
initialize-instance
(method).
initialize-instance
(method).
check-name-clash
(method).
check-name-clash
(method).
check-name-clash
(method).
container
(class).
help-spec
(method).
items
(reader method).
untraverse
(method).
net.didierverna.clon.core/src/group.lisp
container.lisp
(file).
src
(module).
defgroup
(macro).
make-group
(function).
net.didierverna.clon.core/src/retrieval/cmdline.lisp
retrieval
(module).
argument
(reader method).
argument-popable-p
(function).
cmdline-convert
(function).
cmdline-error
(condition).
cmdline-option-error
(condition).
invalid-cmdline-argument
(condition).
invalid-negated-syntax
(condition).
item
(reader method).
maybe-pop-argument
(macro).
missing-cmdline-argument
(condition).
name
(reader method).
option-call-p
(function).
restartable-cmdline-convert
(function).
restartable-invalid-negated-syntax-error
(macro).
restartable-spurious-cmdline-argument-error
(macro).
retrieve-from-long-call
(generic function).
retrieve-from-negated-call
(generic function).
retrieve-from-short-call
(generic function).
spurious-cmdline-argument
(condition).
net.didierverna.clon.core/src/retrieval/environ.lisp
retrieval
(module).
env-val
(reader method).
env-var
(reader method).
environment-convert
(function).
environment-error
(condition).
environmental-option-error
(condition).
invalid-environment-value
(condition).
read-env-val
(function).
restartable-environment-convert
(function).
retrieve-from-environment
(generic function).
net.didierverna.clon.core/src/synopsis.lisp
group.lisp
(file).
src
(module).
*synopsis*
(special variable).
defsynopsis
(macro).
initialize-instance
(method).
initialize-instance
(method).
make-synopsis
(function).
clon-options-group
(reader method).
do-options
(macro).
help-spec
(method).
mapoptions
(generic function).
negated-pack
(reader method).
postfix
(reader method).
potential-pack
(reader method).
potential-pack-p
(generic function).
short-pack
(reader method).
synopsis
(class).
net.didierverna.clon.core/src/output/face.lisp
output
(module).
initialize-instance
(method).
initialize-instance
(method).
initialize-instance
(method).
slot-unbound
(method).
*highlight-properties*
(special variable).
add-subface
(function).
attach-face-tree
(function).
background
(reader method).
blink
(reader method).
bottom-padding
(reader method).
concealedp
(reader method).
crossed-out-p
(reader method).
face
(class).
face-highlight-property-set-p
(function).
face-highlight-property-value
(function).
foreground
(reader method).
framedp
(reader method).
intensity
(reader method).
inversep
(reader method).
italicp
(reader method).
item-separator
(reader method).
left-padding
(reader method).
make-face-tree
(generic function).
make-raw-face-tree
(function).
name
(reader method).
parent
(reader method).
parent-generation
(function).
right-padding
(reader method).
search-branch
(function).
search-face
(function).
subface
(generic function).
subfaces
(reader method).
top-padding
(reader method).
underline
(reader method).
visiblep
(reader method).
net.didierverna.clon.core/src/output/sheet.lisp
face.lisp
(file).
output
(module).
initialize-instance
(method).
initialize-instance
(method).
available-right-margin
(function).
close-frame
(generic function).
close-line
(function).
close-sface
(function).
column
(reader method).
(setf column)
(writer method).
copy-frame
(function).
copy-highlight-frame
(function).
copy-highlight-property-instance
(function).
current-frame
(function).
current-left-margin
(function).
current-right-margin
(function).
current-sface
(function).
find-sface
(function).
flush-sheet
(function).
frame
(structure).
frame-left-margin
(reader).
(setf frame-left-margin)
(writer).
frame-p
(function).
frame-right-margin
(reader).
(setf frame-right-margin)
(writer).
frame-sface
(reader).
(setf frame-sface)
(writer).
frames
(reader method).
(setf frames)
(writer method).
get-bottom-padding
(generic function).
get-top-padding
(function).
help-spec-items-will-print
(function).
help-spec-will-print
(generic function).
highlight-frame
(structure).
highlight-frame-highlight-property-instances
(reader).
(setf highlight-frame-highlight-property-instances)
(writer).
highlight-frame-left-margin
(function).
(setf highlight-frame-left-margin)
(function).
highlight-frame-p
(function).
highlight-frame-right-margin
(function).
(setf highlight-frame-right-margin)
(function).
highlight-frame-sface
(function).
(setf highlight-frame-sface)
(function).
highlight-property-ecase
(macro).
highlight-property-instance
(structure).
highlight-property-instance-escape-sequence
(function).
highlight-property-instance-name
(reader).
(setf highlight-property-instance-name)
(writer).
highlight-property-instance-p
(function).
highlight-property-instance-value
(reader).
(setf highlight-property-instance-value)
(writer).
highlightp
(reader method).
line-width
(reader method).
make-frame
(function).
make-highlight-frame
(function).
make-highlight-property-instance
(function).
make-raw-sface
(function).
make-sheet
(function).
map-frames
(macro).
open-frame
(generic function).
open-line
(function).
open-next-line
(function).
open-sface
(function).
output-stream
(reader method).
pop-frame
(function).
princ-char
(function).
princ-highlight-property-instances
(function).
princ-spaces
(function).
princ-string
(function).
print-faced-help-spec
(function).
print-help
(function).
print-help-spec
(generic function).
print-string
(function).
push-frame
(function).
reach-column
(function).
read-sface-tree
(function).
safe-left-margin
(function).
safe-right-margin
(function).
sface
(class).
sface-tree
(reader method).
sheet
(class).
sibling
(reader method).
top-padding
(method).
top-padding
(method).
try-read-sface-tree
(function).
try-read-theme
(function).
net.didierverna.clon.core/src/context.lisp
output
(module).
src
(module).
*context*
(special variable).
cmdline-options-p
(function).
cmdline-p
(function).
do-cmdline-options
(macro).
getopt
(function).
getopt-cmdline
(function).
help
(function).
initialize-instance
(method).
make-context
(function).
multiple-value-getopt-cmdline
(macro).
progname
(function).
remainder
(function).
with-context
(macro).
argument
(reader method).
clon-options-group
(method).
cmdline-junk-error
(condition).
cmdline-option
(structure).
cmdline-option-name
(reader).
(setf cmdline-option-name)
(writer).
cmdline-option-option
(reader).
(setf cmdline-option-option)
(writer).
cmdline-option-p
(function).
cmdline-option-source
(reader).
(setf cmdline-option-source)
(writer).
cmdline-option-value
(reader).
(setf cmdline-option-value)
(writer).
cmdline-options
(reader method).
(setf cmdline-options)
(writer method).
context
(class).
copy-cmdline-option
(function).
error-handler
(reader method).
exit-abnormally
(function).
highlight
(reader method).
invalid-negated-equal-syntax
(condition).
invalid-short-equal-syntax
(condition).
junk
(reader method).
line-width
(reader method).
make-cmdline-option
(function).
mapoptions
(method).
name
(reader method).
negated-call
(reader method).
negated-pack
(method).
postfix
(method).
potential-pack-p
(method).
print-error
(function).
read-call
(function).
read-long-name
(function).
restart-on-error
(function).
restartable-cmdline-junk-error
(function).
search-option
(function).
search-option-by-abbreviation
(function).
search-option-by-name
(function).
search-path
(reader method).
search-sticky-option
(function).
short-call
(reader method).
short-pack
(method).
synopsis
(reader method).
theme
(reader method).
unknown-cmdline-option-error
(condition).
unrecognized-negated-call-error
(condition).
unrecognized-short-call-error
(condition).
untraverse
(method).
with-context-error-handler
(macro).
net.didierverna.clon.termio/sbcl/constants.lisp
net.didierverna.clon.termio
(system).
net.didierverna.clon.termio/termio.lisp
sbcl/constants.lisp
(file).
net.didierverna.clon.termio
(system).
stream-ioctl-output-handle
(generic function).
stream-line-width
(function).
Packages are listed by definition order.
net.didierverna.clon
The Clon library’s package.
common-lisp
.
net.didierverna.clon.setup
.
*context*
(special variable).
*executablep*
(special variable).
*synopsis*
(special variable).
cmdline
(function).
cmdline-options-p
(function).
cmdline-p
(function).
defgroup
(macro).
defsynopsis
(macro).
do-cmdline-options
(macro).
dump
(macro).
executablep
(function).
exit
(function).
getopt
(function).
getopt-cmdline
(function).
help
(function).
make-context
(function).
make-enum
(function).
make-flag
(function).
make-group
(function).
make-lispobj
(function).
make-path
(function).
make-stropt
(function).
make-switch
(function).
make-synopsis
(function).
make-text
(function).
make-xswitch
(function).
multiple-value-getopt-cmdline
(macro).
nickname-package
(function).
progname
(function).
remainder
(function).
with-context
(macro).
%defgroup
(macro).
*highlight-properties*
(special variable).
*item-names*
(special variable).
abstract-class
(class).
accumulate
(macro).
add-subface
(function).
argument
(generic reader).
argument-name
(generic reader).
argument-popable-p
(function).
argument-required-p
(generic reader).
argument-style
(generic reader).
argument-styles
(generic reader).
(setf argument-styles)
(generic writer).
attach-face-tree
(function).
available-right-margin
(function).
background
(generic reader).
beginning-of-string-p
(function).
blink
(generic reader).
bottom-padding
(generic reader).
check
(generic function).
check-name-clash
(generic function).
clon-options-group
(generic function).
close-frame
(generic function).
close-line
(function).
close-sface
(function).
closest-match
(function).
cmdline-convert
(function).
cmdline-error
(condition).
cmdline-junk-error
(condition).
cmdline-option
(structure).
cmdline-option-error
(condition).
cmdline-option-name
(reader).
(setf cmdline-option-name)
(writer).
cmdline-option-option
(reader).
(setf cmdline-option-option)
(writer).
cmdline-option-p
(function).
cmdline-option-source
(reader).
(setf cmdline-option-source)
(writer).
cmdline-option-value
(reader).
(setf cmdline-option-value)
(writer).
cmdline-options
(generic reader).
(setf cmdline-options)
(generic writer).
column
(generic reader).
(setf column)
(generic writer).
comment
(generic reader).
complete-string
(function).
concealedp
(generic reader).
container
(class).
contents
(generic reader).
context
(class).
convert
(generic function).
copy-cmdline-option
(function).
copy-frame
(function).
copy-highlight-frame
(function).
copy-highlight-property-instance
(function).
copy-instance
(generic function).
crossed-out-p
(generic reader).
current-frame
(function).
current-left-margin
(function).
current-right-margin
(function).
current-sface
(function).
declare-valid-superclass
(macro).
defabstract
(macro).
default-value
(generic reader).
defoption
(macro).
description
(generic reader).
directory-pathname-p
(function).
do-options
(macro).
econd
(macro).
endpush
(macro).
enum
(generic reader).
enum
(class).
enum-base
(class).
env-val
(generic reader).
env-var
(generic reader).
environment-convert
(function).
environment-error
(condition).
environmental-option-error
(condition).
error-handler
(generic reader).
error-string
(generic reader).
(setf error-string)
(generic writer).
exit-abnormally
(function).
face
(class).
face-highlight-property-set-p
(function).
face-highlight-property-value
(function).
fallback-value
(generic reader).
find-sface
(function).
flag
(class).
flush-sheet
(function).
foreground
(generic reader).
frame
(structure).
frame-left-margin
(reader).
(setf frame-left-margin)
(writer).
frame-p
(function).
frame-right-margin
(reader).
(setf frame-right-margin)
(writer).
frame-sface
(reader).
(setf frame-sface)
(writer).
framedp
(generic reader).
frames
(generic reader).
(setf frames)
(generic writer).
get-bottom-padding
(generic function).
get-top-padding
(function).
getenv
(function).
group
(class).
header
(generic reader).
help-spec
(generic function).
help-spec-items-will-print
(function).
help-spec-will-print
(generic function).
hiddenp
(generic reader).
highlight
(generic reader).
highlight-frame
(structure).
highlight-frame-highlight-property-instances
(reader).
(setf highlight-frame-highlight-property-instances)
(writer).
highlight-frame-left-margin
(function).
(setf highlight-frame-left-margin)
(function).
highlight-frame-p
(function).
highlight-frame-right-margin
(function).
(setf highlight-frame-right-margin)
(function).
highlight-frame-sface
(function).
(setf highlight-frame-sface)
(function).
highlight-property-ecase
(macro).
highlight-property-instance
(structure).
highlight-property-instance-escape-sequence
(function).
highlight-property-instance-name
(reader).
(setf highlight-property-instance-name)
(writer).
highlight-property-instance-p
(function).
highlight-property-instance-value
(reader).
(setf highlight-property-instance-value)
(writer).
highlightp
(generic reader).
home-directory
(function).
home-directory
(condition).
intensity
(generic reader).
invalid-argument
(condition).
invalid-cmdline-argument
(condition).
invalid-environment-value
(condition).
invalid-negated-equal-syntax
(condition).
invalid-negated-syntax
(condition).
invalid-short-equal-syntax
(condition).
invalid-value
(condition).
inversep
(generic reader).
italicp
(generic reader).
item
(generic reader).
item
(class).
item-separator
(generic reader).
items
(generic reader).
junk
(generic reader).
left-padding
(generic reader).
line-width
(generic reader).
lispobj
(class).
list-to-string
(function).
long-name
(generic reader).
macosp
(function).
make-cmdline-option
(function).
make-face-tree
(generic function).
make-frame
(function).
make-highlight-frame
(function).
make-highlight-property-instance
(function).
make-internal-enum
(function).
make-internal-flag
(function).
make-internal-lispobj
(function).
make-internal-path
(function).
make-internal-stropt
(function).
make-internal-switch
(function).
make-internal-text
(function).
make-internal-xswitch
(function).
make-raw-face-tree
(function).
make-raw-sface
(function).
make-sheet
(function).
map-frames
(macro).
mapoptions
(generic function).
match-option
(function).
maybe-pop-argument
(macro).
maybe-push
(macro).
missing-cmdline-argument
(condition).
name
(generic reader).
negatable
(class).
negated-call
(generic reader).
negated-pack
(generic function).
negated-pack-char
(generic function).
no-values
(generic reader).
(setf no-values)
(generic writer).
open-frame
(generic function).
open-line
(function).
open-next-line
(function).
open-sface
(function).
option
(generic reader).
option
(class).
option-abbreviation-distance
(function).
option-call-p
(function).
option-error
(condition).
option-sticky-distance
(generic function).
output-stream
(generic reader).
parent
(generic reader).
parent-generation
(function).
path
(class).
path-type
(generic reader).
pathname-component-null-p
(function).
pop-frame
(function).
postfix
(generic function).
potential-pack
(generic reader).
potential-pack-char
(function).
potential-pack-p
(generic function).
princ-char
(function).
princ-highlight-property-instances
(function).
princ-spaces
(function).
princ-string
(function).
print-error
(function).
print-faced-help-spec
(function).
print-help
(function).
print-help-spec
(generic function).
print-string
(function).
push-frame
(function).
putenv
(function).
reach-column
(function).
read-argument
(function).
read-call
(function).
read-env-val
(function).
read-long-name
(function).
read-sface-tree
(function).
read-value
(function).
remove-keys
(function).
replace-in-keys
(macro).
replace-key
(function).
replace-keys
(function).
restart-on-error
(function).
restartable-check
(function).
restartable-cmdline-convert
(function).
restartable-cmdline-junk-error
(function).
restartable-convert
(function).
restartable-environment-convert
(function).
restartable-invalid-negated-syntax-error
(macro).
restartable-spurious-cmdline-argument-error
(macro).
retrieve-from-environment
(generic function).
retrieve-from-long-call
(generic function).
retrieve-from-negated-call
(generic function).
retrieve-from-short-call
(generic function).
right-padding
(generic reader).
safe-left-margin
(function).
safe-right-margin
(function).
search-branch
(function).
search-face
(function).
search-option
(function).
search-option-by-abbreviation
(function).
search-option-by-name
(function).
search-path
(generic reader).
search-sticky-option
(function).
select-keys
(function).
sface
(class).
sface-tree
(generic reader).
sheet
(class).
short-call
(generic reader).
short-name
(generic reader).
short-pack
(generic function).
short-pack-char
(generic function).
short-syntax-help-spec-prefix
(generic function).
sibling
(generic reader).
split-path
(function).
spurious-cmdline-argument
(condition).
stream-ioctl-output-handle
(generic function).
stream-line-width
(function).
stringify
(generic function).
stropt
(class).
subface
(generic function).
subfaces
(generic reader).
switch
(class).
switch-base
(class).
synopsis
(generic reader).
synopsis
(class).
text
(class).
theme
(generic reader).
top-padding
(generic function).
traversedp
(generic reader).
(setf traversedp)
(generic writer).
try-read-sface-tree
(function).
try-read-theme
(function).
typespec
(generic reader).
underline
(generic reader).
unknown-cmdline-option-error
(condition).
unrecognized-negated-call-error
(condition).
unrecognized-short-call-error
(condition).
untraverse
(generic function).
value
(generic reader).
valued-option
(class).
visiblep
(generic reader).
with-context-error-handler
(macro).
xswitch
(class).
yes-values
(generic reader).
(setf yes-values)
(generic writer).
net.didierverna.clon.setup
The Clon setup library’s package.
common-lisp
.
*copyright-years*
(special variable).
*release-major-level*
(special variable).
*release-minor-level*
(special variable).
*release-name*
(special variable).
*release-status*
(special variable).
*release-status-level*
(special variable).
configuration
(function).
configure
(function).
setup-termio
(function).
version
(function).
%version
(function).
*configuration*
(special variable).
clindent
(function).
defindent
(macro).
i-reader
(function).
release-status-number
(function).
restrict-because
(function).
~-reader
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
The current context.
A string denoting the copyright years for the whole project.
Whether the current Lisp image is a standalone executable.
This information is needed in several implementations to distinguish
user options from implementation-specific ones on the command-line.
It is set automatically to T by the ‘dump’ function, which see.
If the image is dumped by ASDF’s program-op, this variable is ignored.
In any other case, that is, when dumping via an implementation-specific
function, it must be set manually to T just before dumping.
The major level of this release.
The minor level of this release.
The name of this release.
The general naming theme for Clon is "Great Jazz musicians".
The status of this release.
The status level of this release.
The current synopsis.
Define a new group.
KEYS are initargs to MAKE-GROUP (currently, only :header).
Each form in FORMS will be treated as a new :item.
The CAR of each form is the name of the operation to perform: TEXT, GROUP, or
an option class name. The rest are the arguments to the MAKE-<OP> function or
the DEFGROUP macro.
Define a new synopsis.
Evaluate BODY over all command-line options in CONTEXT.
OPTION, NAME and VALUE are bound to each option’s object, name used on the
command-line and retrieved value.
Dump a standalone executable named NAME starting with FUNCTION.
ARGS may be any arguments understood by the underlying implementation’s
dumping facility. They will simply be passed along. Note that DUMP already
passes some such arguments. Some of them are critical for the dumping facility
(e.g. :executable) and cannot be overridden. Some others, however, will be if
you provide them as well (e.g. :load-init-file).
Since executable dumping is not available in all supported implementations,
this function behaves differently in some cases, as described below.
- ECL doesn’t create executables by dumping a Lisp image, but relies on having
toplevel code to execute instead, so this macro simply expands to a call to
FUNCTION. This also means that ARGS is unused.
- ABCL can’t dump executables at all because of the underlying Java
implementation, so this macro expands to just (PROGN) but creates a Java
class file with a main function that creates an interpreter, loads
the file in which this macro call appears and calls FUNCTION. This also
means that ARGS is unused.
Get the next command-line option in CONTEXT. and evaluate BODY. OPTION, NAME and VALUE are bound to the values returned by GETOPT-CMDLINE. BODY is executed only if there is a next command-line option.
Execute BODY with *context* bound to CONTEXT.
Get the current application’s command-line.
This command-line is not supposed to contain any Lisp implementation specific
option; only user-level ones. When a standalone executable is dumped, this is
always the case. When used interactively, this depends on the underlying Lisp
implementation. See appendix A.5 of the user manual for more information.
Return T if CONTEXT has any unprocessed options left.
Return T if CONTEXT has anything on its command-line.
Return KEY’s value in the current Clon configuration.
Set KEY to VALUE in the current Clon configuration.
Return T if the current Lisp image is a standalone executable.
This function detects executables dumped by ASDF’s program-op operation,
those dumped by Clon’s ‘dump’ function (which see), and those in which
‘*executablep*’ (which see) has been set to T manually.
Quit the current application with STATUS.
This function is considered deprecated. Please use UIOP:QUIT instead.
Get an option’s value in CONTEXT.
The option can be specified either by SHORT-NAME, LONG-NAME, or directly via
an OPTION object.
Return two values:
- the retrieved value,
- the value’s source.
Get the next command-line option in CONTEXT.
When there is no next command-line option, return nil.
Otherwise, return four values:
- the option object,
- the option’s name used on the command-line,
- the retrieved value,
- the value source.
Print CONTEXT’s help.
Make a new context.
- SYNOPSIS is the program synopsis to use in that context.
It defaults to *SYNOPSIS*.
- CMDLINE is the argument list (strings) to process.
It defaults to a POSIX conformant argv.
- PROGNAME is an alternate value for argv[0].
It defaults to NIL, in which case the actual argv[0] is used.
Otherwise, it can be a non-empty string, standing for itself,
or :environment meaning to retrieve the value of the __CL_ARGV0 environment
variable (ignored if it’s empty).
value.
- If MAKE-CURRENT, make the new context current. This is the default.
Make a new enum option.
- SHORT-NAME is the option’s short name (without the dash).
It defaults to nil.
- LONG-NAME is the option’s long name (without the double-dash).
It defaults to nil.
- DESCRIPTION is the option’s description appearing in help strings.
It defaults to nil.
- ARGUMENT-NAME is the option’s argument name appearing in help strings.
- ARGUMENT-TYPE is one of :required, :mandatory or :optional (:required and
:mandatory are synonyms).
It defaults to :optional.
- ENUM is the set of possible values.
- ENV-VAR is the option’s associated environment variable.
It defaults to nil.
- FALLBACK-VALUE is the option’s fallback value (for missing optional
arguments), if any.
- DEFAULT-VALUE is the option’s default value, if any.
- When HIDDEN, the option doesn’t appear in help strings.
Make a new flag.
- SHORT-NAME is the option’s short name (without the dash).
It defaults to nil.
- LONG-NAME is the option’s long name (without the double-dash).
It defaults to nil.
- DESCRIPTION is the option’s description appearing in help strings.
It defaults to nil.
- ENV-VAR is the flag’s associated environment variable.
It defaults to nil.
- When HIDDEN, the option doesn’t appear in help strings.
Make a new group.
Make a new lispobj option.
- SHORT-NAME is the option’s short name (without the dash).
It defaults to nil.
- LONG-NAME is the option’s long name (without the double-dash).
It defaults to nil.
- DESCRIPTION is the option’s description appearing in help strings.
It defaults to nil.
- ARGUMENT-NAME is the option’s argument name appearing in help strings.
- ARGUMENT-TYPE is one of :required, :mandatory or :optional (:required and
:mandatory are synonyms).
It defaults to :optional.
- ENV-VAR is the option’s associated environment variable.
It defaults to nil.
- TYPESPEC is a type specifier the option’s value should satisfy.
- FALLBACK-VALUE is the option’s fallback value (for missing optional
arguments), if any.
- DEFAULT-VALUE is the option’s default value, if any.
- When HIDDEN, the option doesn’t appear in help strings.
Make a new path option.
- SHORT-NAME is the option’s short name (without the dash).
It defaults to nil.
- LONG-NAME is the option’s long name (without the double-dash).
It defaults to nil.
- DESCRIPTION is the option’s description appearing in help strings.
It defaults to nil.
- ARGUMENT-NAME is the option’s argument name appearing in help strings.
- ARGUMENT-TYPE is one of :required, :mandatory or :optional (:required and
:mandatory are synonyms).
It defaults to :optional.
- ENV-VAR is the option’s associated environment variable.
It defaults to nil.
- FALLBACK-VALUE is the option’s fallback value (for missing optional
arguments), if any.
- DEFAULT-VALUE is the option’s default value, if any.
- TYPE is the pathname type. It can be one of :file, :directory, :file-list,
:directory-list or nil meaning that everything is allowed.
- When HIDDEN, the option doesn’t appear in help strings.
Make a new string option.
- SHORT-NAME is the option’s short name (without the dash).
It defaults to nil.
- LONG-NAME is the option’s long name (without the double-dash).
It defaults to nil.
- DESCRIPTION is the option’s description appearing in help strings.
It defaults to nil.
- ARGUMENT-NAME is the option’s argument name appearing in help strings.
- ARGUMENT-TYPE is one of :required, :mandatory or :optional (:required and
:mandatory are synonyms).
It defaults to :optional.
- ENV-VAR is the option’s associated environment variable.
It defaults to nil.
- FALLBACK-VALUE is the option’s fallback value (for missing optional
arguments), if any.
- DEFAULT-VALUE is the option’s default value, if any.
- When HIDDEN, the option doesn’t appear in help strings.
Make a new switch.
- SHORT-NAME is the switch’s short name (without the dash).
It defaults to nil.
- LONG-NAME is the switch’s long name (without the double-dash).
It defaults to nil.
- DESCRIPTION is the switch’s description appearing in help strings.
It defaults to nil.
- ARGUMENT-STYLE is the switch’s argument display style. It can be one of
:yes/no, :on/off, :true/false, :yup/nope or :yeah/nah.
It defaults to :yes/no.
- ARGUMENT-TYPE is one of :required, :mandatory or :optional (:required and
:mandatory are synonyms).
It defaults to :optional.
- ENV-VAR is the switch’s associated environment variable.
It defaults to nil.
- DEFAULT-VALUE is the switch’s default value, if any.
- When HIDDEN, the option doesn’t appear in help strings.
Make a new SYNOPSIS.
- POSTFIX is a string to append to the program synopsis, in case it accepts a
remainder.
- If MAKE-DEFAULT, make the new synopsis the default one.
Make a new text.
- CONTENTS is the actual text to display.
- When HIDDEN, the text doesn’t appear in help strings.
Make a new xswitch.
- SHORT-NAME is the xswitch’s short name (without the dash).
It defaults to nil.
- LONG-NAME is the xswitch’s long name (without the double-dash).
It defaults to nil.
- DESCRIPTION is the xswitch’s description appearing in help strings.
It defaults to nil.
- ARGUMENT-NAME is the option’s argument name appearing in help strings.
- ARGUMENT-TYPE is one of :required, :mandatory or :optional (:required and
:mandatory are synonyms).
It defaults to :optional.
- ENUM is the set of possible non-boolean values.
- ENV-VAR is the xswitch’s associated environment variable.
It defaults to nil.
- DEFAULT-VALUE is the xswitch’s default value, if any.
- When HIDDEN, the option doesn’t appear in help strings.
Add NICKNAME (:CLON by default) to the :NET.DIDIERVERNA.CLON package.
Return CONTEXT’s program name.
Return CONTEXT’s remainder.
Autodetect termio support.
Update Clon configuration and *FEATURES* accordingly.
Return the current version of Clon.
TYPE can be one of :number, :short or :long.
A version number is computed as major*10000 + minor*100 + patchlevel, leaving
two digits for each level. Alpha, beta and rc status are ignored in version
numbers.
A short version is something like 1.3{a,b,rc}4, or 1.3.4 for patchlevel.
Alpha, beta or rc levels start at 1. Patchlevels start at 0 but are ignored
in the output, so that 1.3.0 appears as just 1.3.
A long version is something like
1.3 {alpha,beta,release candidate,patchlevel} 4 "Michael Brecker". As for
the short version, a patchlevel of 0 is ignored in the output.
switch
) &key) ¶Provide an argument name conformant to the selected argument style.
valued-option
) &key argument-type fallback-value default-value) ¶Compute uninitialized OPTION slots with indirect initargs.
This currently involves the conversion of the ARGUMENT-TYPE key to the
ARGUMENT-REQUIRED-P slot.
valued-option
) &key argument-type fallback-value default-value) ¶Check validity of the value-related initargs.
context
) &key cmdline progname) ¶Parse CMDLINE.
face
) &key) ¶Fill in the parent slot of all subfaces.
face
) &key name subfaces) ¶Check for unicity of FACE subfaces.
face
) &rest keys &key face bold display hidden revealed) ¶Canonicalize initialization arguments.
This involves:
- computing the :subfaces initarg from the :face ones,
- handling convenience highlight properties.
option
) &rest keys &key long-name env-var internal) ¶If INTERNAL, prefix LONG-NAME with "clon-" and ENV-VAR with "CLON_".
option
) &key short-name long-name description internal) ¶Check validity of the name-related initargs.
synopsis
) &key) ¶Compute SYNOSPSIS’s short and negated packs.
synopsis
) &rest keys) ¶Prepare Clon specific options.
sheet
) &key theme search-path) ¶Finish initialization of SHEET.
This involves:
- computing SHEET’s sface tree from THEME and SEARCH-PATH,
- initializing SHEET’s toplevel sface’s sibling to a raw face tree.
sheet
) &rest keys &key output-stream line-width highlight) ¶Handle unset line width and AUTO highlight according to OUTPUT-STREAM.
switch-base
) &rest keys &key argument-type) ¶Provide a fallback value of t when ARGUMENT-TYPE is optional.
switch-base
) &key argument-style argument-styles) ¶Check for validity of the :ARGUMENT-STYLE initarg.
container
) &key) ¶Perform name clash check on CONTAINER’s items.
container
) &rest keys &key item) ¶Canonicalize initialization arguments.
This involves:
- computing the :items initarg from the :item ones.
abstract-class
) &rest initargs) ¶face
) slot) ¶Look up SLOT’s value in FACE’s parent if it’s a highlight property.
If FACE has no parent, return nil.
For other properties, trigger an error.
standard-class
) (superclass abstract-class
)) ¶sb-mop
.
abstract-class
) (superclass standard-class
)) ¶sb-mop
.
The Clon configuration settings.
This variable contains a property list of configuration options.
Current options are:
- :swank-eval-in-emacs (Boolean)
- :restricted (Boolean)
- :dump (Boolean)
See section A.1 of the user manual for more information.
The highlight face properties.
The list of defined item names.
Define a new group.
Accumulate BODY forms in a list beginning with INITIAL-VALUE.
INITIAL-VALUE is not evaluated. BODY forms are accumulated only when their
value is non-nil.
If nothing to accumulate, then return nil instead of the list of
INITIAL-VALUE.
Validate SUPERCLASS classes for CLASS classes.
Like DEFCLASS, but define an abstract class.
Wrapper around ‘clindent’ to avoid quoting SYMBOL and INDENT.
Create a new option CLASS and register it with Clon.
Execute BODY with OPT bound to every option in THERE.
Like COND, but signal an error if no clause evaluates to t.
Like push, but at the end.
Create an ECASE form to extract PROPERTY’s VALUE escape sequence.
Each clause looks like: (PROPERTY-NAME (VALUE-OR-VALUE-LIST ESCAPE-SEQUENCE)*).
The value-matching part will itself be enclosed in an ECASE expression.
In addition, the special clause syntax (BOOLEAN <PROPERTY-NAME> <YES> <NO>)
is a shortcut for: (PROPERTY-NAME ((on t) YES) ((off nil) NO)).
Map FUNCTION over SHEET’s frames. If REVERSE, map in reverse order.
Pop OPTION’s argument from CMDLINE if needed. If so, store it in CMDLINE-ARGUMENT.
Like push, but only if OBJECT is non-nil.
Replace every occurrence of THE-KEY in KEYS with FORM.
At every KEYS round, KEY and VAL are bound to the current key-value pair.
FORM is evaluated each time and should return a key-value list.
Restartably throw an invalid-negated-syntax error.
The error relates to the command-line use of OPTION.
BODY constitutes the body of the only restart available,
use-short-call, and should act as if OPTION had been normally called by short
name.
Restartably throw a spurious-cmdline-argument error.
The error relates to the command-line use of OPTION called by NAME with
ARGUMENT.
BODY constitutes the body of the only restart available, discard-argument, and
should act as if ARGUMENT had not been provided.
Execute BODY with CONTEXT’s error handler bound for CONDITION.
Add SUBFACE to FACE’s subfaces and return it.
Return true if the first CMDLINE item is an argument.
Create a copy of FACE-TREE, attach it to FACE and return it.
Apart from the parenting information, the copied faces share slot values with
the original ones.
Return SHEET’s available right margin.
This margin is the first non-self margin specified by a frame. All inner self
frames can potentially write until the available right margin.
Check that STRING starts with BEGINNING. If IGNORE-CASE, well, ignore case.
Send SYMBOL’s INDENTation information to Emacs.
Emacs will set the ’common-lisp-indent-function property.
If INDENT is a symbol, use its indentation definition. Otherwise, INDENT is
considered as an indentation definition.
Close all frames on SHEET’s current line and go to next line.
Close SHEET’s current sface.
Return the LIST element closest to MATCH, or nil.
If IGNORE-CASE, well, ignore case.
KEY should provide a way to get a string from each LIST element.
Convert CMDLINE-ARGUMENT to VALUED-OPTION’s value.
This function is used when the conversion comes from a command-line usage of
VALUED-OPTION, called by CMDLINE-NAME, and intercepts invalid-argument errors
to raise the higher level invalid-cmdline-argument error instead.
name
.
Complete BEGINNING with the rest of COMPLETE in parentheses. For instance, completing ’he’ with ’help’ will produce ’he(lp)’.
Return SHEET’s current frame.
Return SHEET’s current left margin.
Return SHEET’s current right margin.
Return SHEET’s current sface or nil.
Return true if PATHNAME denotes a directory.
Convert ENV-VAL to VALUED-OPTION’s value.
This function is used when the conversion comes from an environment variable
associated with VALUED-OPTION, and intercepts invalid-argument errors
to raise the higher level invalid-environment-value error instead.
Print ERROR on *ERROR-OUTPUT* and exit with status code 1.
Return t if PROPERTY is set explicitely in FACE.
Return PROPERTY’s value in FACE.
Since faces inherit highlight properties, the actual value might come from one
of FACE’s ancestors.
if PROPERTY is not et, return nil.
Find an sface starting at SFACE named NAME.
If the sface can’t be found in SFACE’s face tree, find one in SFACE’s sibling
instead, and make a copy of it.
Flush SHEET.
Return top padding of the next item in ITEMS that will print under SFACE.
Get environment VARIABLE’s value. VARIABLE may be null.
Return t if at least one of ITEMS will print under SFACE.
Return highlight property INSTANCE’s escape sequence.
name
.
Return user’s home directory in canonical form.
If the user’s home directory cannot be computed, signal a warning and return
NIL.
Construct a call to ‘defindent’ by reading an argument list from STREAM. This dispatch macro character function is installed on #i in the NET.DIDIERVERNA.CLON named readtable.
Return a SEPARATOR-separated string of all LIST elements.
- KEY should provide a way to get a string from each LIST element.
- SEPARATOR is the string to insert between elements.
Return t if running on Mac OS.
Make a new internal (Clon-specific) enum option.
- LONG-NAME is the option’s long-name, sans the ’clon-’ prefix.
(Internal options don’t have short names.)
- DESCRIPTION is the options’s description.
- ARGUMENT-NAME is the option’s argument name appearing in help strings.
- ARGUMENT-TYPE is one of :required, :mandatory or :optional (:required and
:mandatory are synonyms).
It defaults to :optional.
- ENUM is the set of possible values.
- ENV-VAR is the option’s associated environment variable, sans the ’CLON_’
prefix. It defaults to nil.
- FALLBACK-VALUE is the option’s fallback value (for missing optional
arguments), if any.
- DEFAULT-VALUE is the option’s default value, if any.
- When HIDDEN, the option doesn’t appear in help strings.
Make a new internal (Clon-specific) flag.
- LONG-NAME is the flag’s long-name, sans the ’clon-’ prefix.
(Internal options don’t have short names.)
- DESCRIPTION is the flag’s description.
- ENV-VAR is the flag’s associated environment variable, sans the ’CLON_’
prefix. It default to nil.
- When HIDDEN, the option doesn’t appear in help strings.
Make a new internal (Clon-specific) string option.
- LONG-NAME is the option’s long-name, sans the ’clon-’ prefix.
(Internal options don’t have short names.)
- DESCRIPTION is the options’s description.
- ARGUMENT-NAME is the option’s argument name appearing in help strings.
- ARGUMENT-TYPE is one of :required, :mandatory or :optional (:required and
:mandatory are synonyms).
It defaults to :optional.
- ENV-VAR is the option’s associated environment variable, sans the ’CLON_’
prefix. It defaults to nil.
- TYPESPEC is a type specifier the option’s value should satisfy.
- FALLBACK-VALUE is the option’s fallback value (for missing optional
arguments), if any.
- DEFAULT-VALUE is the option’s default value, if any.
- When HIDDEN, the option doesn’t appear in help strings.
Make a new internal (Clon-specific) path option.
- LONG-NAME is the option’s long-name, sans the ’clon-’ prefix.
(Internal options don’t have short names.)
- DESCRIPTION is the options’s description.
- ARGUMENT-NAME is the option’s argument name appearing in help strings.
- ARGUMENT-TYPE is one of :required, :mandatory or :optional (:required and
:mandatory are synonyms).
It defaults to :optional.
- ENV-VAR is the option’s associated environment variable, sans the ’CLON_’
prefix. It defaults to nil.
- FALLBACK-VALUE is the option’s fallback value (for missing optional
arguments), if any.
- DEFAULT-VALUE is the option’s default value, if any.
- TYPE is the pathname type. It can be one of :file, :directory, :file-list,
:directory-list or nil meaning that everything is allowed.
- When HIDDEN, the option doesn’t appear in help strings.
Make a new internal (Clon-specific) string option.
- LONG-NAME is the option’s long-name, sans the ’clon-’ prefix.
(Internal options don’t have short names.)
- DESCRIPTION is the options’s description.
- ARGUMENT-NAME is the option’s argument name appearing in help strings.
- ARGUMENT-TYPE is one of :required, :mandatory or :optional (:required and
:mandatory are synonyms).
It defaults to :optional.
- ENV-VAR is the option’s associated environment variable, sans the ’CLON_’
prefix. It defaults to nil.
- FALLBACK-VALUE is the option’s fallback value (for missing optional
arguments), if any.
- DEFAULT-VALUE is the option’s default value, if any.
- When HIDDEN, the option doesn’t appear in help strings.
Make a new internal (Clon-specific) switch.
- LONG-NAME is the switch’s long-name, sans the ’clon-’ prefix.
(Internal options don’t have short names.)
- DESCRIPTION is the switch’s description.
- ARGUMENT-STYLE is the switch’s argument display style. It can be one of
:yes/no, :on/off, :true/false, :yup/nope or :yeah/nah.
It defaults to :yes/no.
- ARGUMENT-TYPE is one of :required, :mandatory or :optional (:required and
:mandatory are synonyms).
It defaults to :optional.
- ENV-VAR is the switch’s associated environment variable, sans the ’CLON_’
prefix. It defaults to nil.
- DEFAULT-VALUE is the switch’s default value, if any.
- When HIDDEN, the option doesn’t appear in help strings.
Make a new internal (Clon-specific) xswitch.
- LONG-NAME is the xswitch’s long-name, sans the ’clon-’ prefix.
(Internal options don’t have short names.)
- DESCRIPTION is the xswitch’s description.
- ARGUMENT-NAME is the option’s argument name appearing in help strings.
- ARGUMENT-TYPE is one of :required, :mandatory or :optional (:required and
:mandatory are synonyms).
It defaults to :optional.
- ENUM is the set of possible non-boolean values.
- ENV-VAR is the xswitch’s associated environment variable, sans the ’CLON_’
prefix. It defaults to nil.
- DEFAULT-VALUE is the xswitch’s default value, if any.
- When HIDDEN, the option doesn’t appear in help strings.
Make a raw (boring yet functional) face tree.
Return a new SFace based on SIBLING.
This function does not consider SIBLING as a face tree:
only face properties are copied; the face parent and children are set to nil.
Make a new SHEET.
Try to match OPTION against SHORT-NAME, LONG-NAME. If OPTION matches, return the name that matched.
Open all frames on SHEET’s current line.
Close SHEET’s current line and open the next one.
Create a frame for SFACE and open it.
Return the distance between OPTION’s long name and PARTIAL-NAME. If PARTIAL-NAME does not abbreviate OPTION’s long name, return MOST-POSITIVE-FIXNUM.
Return true if STR looks like an option call.
Return FACE’s parent generation for PARENT-NAME.
That is, 1 if PARENT-NAME names FACE’s parent, 2 if it names its grand-parent
etc. If PARENT-NAME does not name one of FACE’s ancestors, trigger an error.
Return true if COMPONENT is either null or :unspecific.
Pop SHEET’s current frame.
Return OPTION’s potential pack character, if any. If AS-STRING, return a string of that character.
Princ CHAR on SHEET’s stream and increment the column position.
The effect of printing CHAR must be exactly to move right by one column, so
control characters, as well as newlines and tabs are forbidden here.
Princ highlight proeprty INSTANCES on SHEET’s stream.
Princ NUMBER spaces to SHEET’s stream and update the column position.
Princ STRING on SHEET’s stream and update the column position.
The effect of printing STRING must be exactly to move right by the
corresponding string length, so control characters, as well as newlines and
tabs are forbidden here.
Print ERROR on *ERROR-OUTPUT*.
When INTERACTIVEP, print on *QUERY-IO* instead.
Print all help specification ITEMS on SHEET with SFACE.
Open the toplevel help face and print HELP on SHEET with it.
Output STRING to SHEET.
STRING is output within the current frame’s bounds.
Spacing characters are honored but newlines might replace spaces when the
output reaches the rightmost bound.
Push a new frame to SHEET’s frames.
Set environment VARIABLE to VALUE.
Reach COLUMN on SHEET by princ’ing spaces.
Read an option argument from standard input.
Read an option’s call or pack from standard input.
If NEGATED, read a negated call or pack. Otherwise, read a short call or pack.
Read ENV-VAR’s new value from standard input.
Read an option’s long name from standard input.
Read an sface tree from PATHNAME.
Read an option value from standard input.
Return a new property list from KEYS without REMOVED ones.
Return a new property list from KEYS with REPLACEMENT.
REPLACEMENT can take the following forms:
- :KEY
The effect is to remove :KEY from KEYS, as per REMOVE-KEYS.
- (:KEY :NEW-KEY)
The effect is to replace :KEY with :NEW-KEY, leaving the values unchanged.
- (:KEY :NEW-KEY (VAL-OR-VALS NEW-VAL)*), with VAL-OR-VALS being
either a value or a list of values. The effect is to replace :KEY with
:NEW-KEY and a value matching one of the VAL-OR-VALS with the
corresponding NEW-VAL. Values not matching any VAL-OR-VALS remain unchanged.
- (:KEY (VAL-OR-VALS :NEW-KEY NEW-VAL...)*), with VAL-OR-VALS as above. The
effect is the same as above, but :NEW-KEY additionally depends on the
matched value. If multiple :NEW-KEY NEW-VAL couples are provided, that many
new keys are inserted along with their values. For values not matching any
VAL-OR-VALS, :KEY and its value remain unchanged.
Return a new property list from KEYS with REPLACEMENTS.
See REPLACE-KEY for more information on the replacement syntax.
Print ERROR and offer available restarts on *QUERY-IO*.
Restartably check that VALUE is valid for VALUED-OPTION.
The only restart available, use-value, offers to try a different value from
the one that was provided.
Restartably convert CMDLINE-ARGUMENT to VALUED-OPTION’s value.
This function is used when the conversion comes from a command-line usage of
VALUED-OPTION, called by CMDLINE-NAME.
As well as conversion errors, this function might raise a
missing-cmdline-argument error if CMDLINE-ARGUMENT is nil and an argument is
required.
Available restarts are (depending on the context):
- use-fallback-value: return FALLBACK-VALUE,
- use-default-value: return VALUED-OPTION’s default value,
- use-value: return another (already converted) value,
- use-argument: return the conversion of another argument.
Return two values: VALUED-OPTION’s value and the actual value source. The value source may be :cmdline, :fallback or :default.
Restartably convert ARGUMENT to VALUED-OPTION’s value.
Available restarts are:
- use-default-value: return OPTION’s default value,
- use-value: return another (already converted) value,
- use-argument: return the conversion of another argument.
Restartably convert ENV-VAL to VALUED-OPTION’s value.
This function is used when the conversion comes from an environment variable
associated with VALUED-OPTION.
Available restarts are:
- use-default-value: return VALUED-OPTION’s default value,
- use-value: return another (already converted) value,
- use-argument: return the conversion of another argument,
- modify-env: modify the environment variable’s value.
Put Clon in restricted mode because of REASON.
Return either MARGIN or a safe value instead.
To be safe, margin must be greater than the current left margin and smaller
than the currently available margin.
Return either MARGIN or a safe value instead.
To be safe, margin must be greater than LEFT-MARGIN and smaller
than the currently available right margin.
Search for a branch of faces named NAMES starting at FACE.
The branch is searched for as a direct subbranch of FACE, or as a direct
subbranch of FACE’s ancestors.
If a branch is found, return its leaf face. Otherwise return nil.
Search for a face named NAME starting at FACE.
The face is looked for as a direct subface of FACE (in which case it is simply
returned), or up in the hierarchy and by successive upper branches (in which
case it is copied and attached to FACE).
If ERROR-ME, trigger an error if no face is found; otherwise, return nil.
Search for an option in CONTEXT.
The search is done with SHORT-NAME, LONG-NAME, or PARTIAL-NAME.
In case of a PARTIAL-NAME search, look for an option the long name of which
begins with it.
In case of multiple matches by PARTIAL-NAME, the longest match is selected.
When such an option exists, return wo values:
- the option itself,
- the name used to find the option, possibly completed if partial.
Search for option abbreviated with PARTIAL-NAME in CONTEXT.
When such an option exists, return two values:
- the option itself,
- the completed name.
Search for option with either SHORT-NAME or LONG-NAME in CONTEXT.
When such an option exists, return two values:
- the option itself,
- the name that matched.
Search for a sticky option in CONTEXT, matching NAMEARG.
NAMEARG is the concatenation of the option’s short name and its argument.
In case of multiple matches, the option with the longest name is selected.
When such an option exists, return two values:
- the option itself,
- the argument part of NAMEARG.
Return a new property list from KEYS with only SELECTED ones.
Split PATH into a list of directories.
Get STREAM’s line width.
Return two values:
- the stream’s line width, or nil if it can’t be computed
(typically when the stream does not denote a tty),
- an error message if the operation failed.
Read an sface tree from PATHNAME if it exists or return nil.
Read a theme from PATHNAME or PATHNAME.cth if it exists or return nil.
Read a series of ~"string" to be concatenated together.
unknown-cmdline-option-error
)) ¶spurious-cmdline-argument
)) ¶invalid-argument
)) ¶valued-option
)) ¶The option’s argument display name.
valued-option
)) ¶Whether the option’s argument is required.
switch-base
)) ¶The selected argument style.
switch-base
)) ¶switch-base
)) ¶The possible argument styles.
The position of every argument style in the list must correspond to the
position of the associated strings in the yes-values and no-values slots.
face
)) ¶The face bottom padding.
This property can take the following forms:
- nil: the next output can start right at the end of this face’s,
- 0: the next output should start on the next line,
- N>0: there should be N empty lines before the next output.
Check that VALUE is valid for VALUED-OPTION.
If VALUE is valid, return it. Otherwise, raise an invalid-value error.
Check for name clash between ITEM1’s options and ITEM2’s options.
container
) (container2 container
)) ¶Check for name clash between CONTAINER1’s options and CONTAINER2’s ones.
container
)) ¶Check for name clash between ITEM1’s options and CONTAINER’s ones.
Close FRAME on SHEET.
progn
.
:most-specific-last
highlight-frame
)) ¶Restore the upper frame’s highlight properties.
invalid-argument
)) ¶invalid-value
)) ¶Convert ARGUMENT to VALUED-OPTION’s value.
If ARGUMENT is invalid, raise an invalid-argument error.
Return a copy of INSTANCE.
Copy is either an object of INSTANCE’s class, or INSTANCE’s SUBCLASS if given.
Return a copy of INSTANCE.
Both instances share the same slot values.
valued-option
)) ¶The option’s default value.
invalid-environment-value
)) ¶environment-error
)) ¶home-directory
)) ¶home-directory
)) ¶valued-option
)) ¶The option’s fallback value.
Get HELP-SPEC’s bottom-padding under SFACE.
Return ITEM’s help specification.
valued-option
) &key) ¶Return OPTION’s help specification.
Return t if HELP-SPEC will print under FACE.
Basic help specifications (chars, strings etc) do print.
list
)) ¶Return t if HELP-SPEC’s items will print under HELP-SPEC’s face.
cmdline-error
)) ¶item
.
cmdline-junk-error
)) ¶item
.
face
)) ¶The face left padding.
This property can take the following forms:
- <NUMBER>: the padding is relative to the enclosing face,
- SELF: the padding is set to wherever the face happens to be opened,
- (<NUMBER> ABSOLUTE): the padding is set in absolute value,
- (<NUMBER> :RELATIVE-TO <FACE-NAME>): the padding is set relatively to a
parent face named FACE-NAME.
Make a FACE-CLASS face tree from DEFINITION.
Map FUNC over all options in THERE.
unknown-cmdline-option-error
)) ¶item
.
cmdline-option-error
)) ¶item
.
unrecognized-negated-call-error
)) ¶item
.
Return OPTION’s negated pack character, if any. If AS-STRING, return a string of that character.
switch-base
)) ¶switch-base
)) ¶The possible ’no’ values.
Open FRAME on SHEET.
progn
.
:most-specific-last
highlight-frame
)) ¶Reach the frame’s left margin and output its highlight properties.
option-error
)) ¶Try to match OPTION’s short name with a sticky argument against NAMEARG. If OPTION matches, return the length of OPTION’s short name; otherwise 0.
valued-option
) namearg) ¶Try to match OPTION’s short name with a sticky argument against NAMEARG. If OPTION matches, return its short name’s length; otherwise 0.
Return t if PACK is a potential pack in THERE.
Print HELP-SPEC on SHEET.
character
)) ¶Print CHAR on SHEET with the current face.
simple-vector
)) ¶Print CHAR-VECTOR on SHEET with the current face.
string
)) ¶Print STRING on SHEET with the current face.
list
)) ¶Open HELP-SPEC’s face and print all of its items with it.
Retrieve OPTION’s value from the environment.
ENV-VAL is the value stored in the associated environment variable.
Assert that ENV-VAL is not null.
valued-option
) env-val) ¶Retrieve OPTION’s value from a long call.
CMDLINE-NAME is the name used on the command-line.
CMDLINE-ARGUMENT is a potentially already parsed cmdline argument.
Otherwise, CMDLINE is where to find an argument.
This function returns three values:
- the retrieved value,
- the value source,
- the new command-line (possibly with the first item popped if the option
requires an argument).
valued-option
) cmdline-name &optional cmdline-argument cmdline) ¶Retrieve OPTION’s value from a negated call.
valued-option
)) ¶Retrieve OPTION’s value from a short call.
CMDLINE-ARGUMENT is a potentially already parsed cmdline argument.
Otherwise, CMDLINE is where to find an argument.
This function returns three values:
- the retrieved value,
- the value source,
- the new command-line (possibly with the first item popped if the option
requires an argument).
valued-option
) &optional cmdline-argument cmdline) ¶face
)) ¶The face right padding.
This property can take the following forms:
- <NUMBER>: the padding is relative to the enclosing face,
- SELF: the padding is set to wherever the face happens to be closed,
- (<NUMBER> ABSOLUTE): the padding is set in absolute value,
- (<NUMBER> :RELATIVE-TO <FACE-NAME>): the padding is set relatively to a
parent face named FACE-NAME.
unrecognized-short-call-error
)) ¶item
.
Return OPTION’s short pack character, if any. If AS-STRING, return a string of that character.
valued-option
) &optional as-string) ¶Return OPTION’s short pack character if OPTION’s argument is optional.
Return the help specification prefix for OPTION’s short call.
valued-option
)) ¶Return STREAM’s ioctl output handle or NIL.
Transform VALUED-OPTION’s VALUE into an argument. This is the opposite of argument conversion.
Return subface of FACE named NAME(S) or nil.
If a list of names is provided instead of a single one, follow a subface
branch matching those names to find the leaf face.
list
)) ¶Reset ITEM’s traversal state, and return ITEM.
invalid-value
)) ¶switch-base
)) ¶switch-base
)) ¶The possible ’yes’ values.
An error related to a command-line item.
error
.
item
.
An error related to a command-line piece of junk.
junk
.
An error related to a command-line (known) option.
name
.
An error related to an environment variable.
error
.
An error related to an option’s environment variable.
warning
.
:error-string
An invalid argument error.
The invalid argument.
:argument
This slot is read-only.
An invalid command-line argument error.
An invalid environment variable’s value error.
An error related to a negated-equal syntax.
An invalid negated syntax error.
An error related to a short-equal syntax.
An invalid value error.
A missing command-line argument error.
An error related to an option.
error
.
A spurious command-line argument error.
An error related to an unknown command-line option.
An error related to an unrecognized negated call.
The unrecognized negated call on the command-line.
:negated-call
, :item
This slot is read-only.
An error related to an unrecognized short call.
The unrecognized short call on the command-line.
:short-call
, :item
This slot is read-only.
The FRAME structure.
This structure hold layout properties used for printing.
The HIGHLIGHT-FRAME structure.
This structure holds both layout and highlight properties used for printing.
The HIGHLIGHT-PROPERTY-INSTANCE structure.
The ABSTRACT-CLASS class.
This is the meta-class for abstract classes.
standard-class
.
The CONTAINER class.
This class is a mixin used in synopsis and groups to represent the program’s
command-line hierarchy.
item
.
The CONTEXT class.
This class represents the associatiion of a synopsis and a set of command-line
options based on it.
Initarg | Value |
---|---|
:cmdline | (cmdline) |
The program synopsis.
net.didierverna.clon::synopsis
net.didierverna.clon:*synopsis*
:synopsis
This slot is read-only.
The program name as it appears on the command-line.
string
The options from the command-line.
list
The non-Clon part of the command-line.
list
The search path for Clon files.
This slot is read-only.
The line width for help display.
This slot is read-only.
The behavior to adopt on option retrieval errors.
symbol
:quit
This slot is read-only.
The ENUM class.
This class implements options whose values belong to a set of keywords.
"type"
The ENUM-BASE abstract class.
This class provides support for options including enumerated values.
The FACE class.
Whether the face is visible.
t
:visible
This slot is read-only.
The face left padding.
This property can take the following forms:
- <NUMBER>: the padding is relative to the enclosing face,
- SELF: the padding is set to wherever the face happens to be opened,
- (<NUMBER> ABSOLUTE): the padding is set in absolute value,
- (<NUMBER> :RELATIVE-TO <FACE-NAME>): the padding is set relatively to a
parent face named FACE-NAME.
0
:padding-left
This slot is read-only.
The face right padding.
This property can take the following forms:
- <NUMBER>: the padding is relative to the enclosing face,
- SELF: the padding is set to wherever the face happens to be closed,
- (<NUMBER> ABSOLUTE): the padding is set in absolute value,
- (<NUMBER> :RELATIVE-TO <FACE-NAME>): the padding is set relatively to a
parent face named FACE-NAME.
(quote net.didierverna.clon::self)
:padding-right
This slot is read-only.
The face top padding.
This property can take the following forms:
- nil: the output can start right away,
- 0: the output should start on the next line,
- N>0: there should be N empty lines before the output.
:padding-top
This slot is read-only.
The face bottom padding.
This property can take the following forms:
- nil: the next output can start right at the end of this face’s,
- 0: the next output should start on the next line,
- N>0: there should be N empty lines before the next output.
:padding-bottom
This slot is read-only.
The face item separator.
#\
:item-separator
This slot is read-only.
The face intensity.
:intensity
This slot is read-only.
The face’s italic status.
:italic
This slot is read-only.
The face’s underline level.
:underline
This slot is read-only.
The face’s blink speed.
:blink
This slot is read-only.
The face’s inverse video status.
:inverse
This slot is read-only.
The face’s concealed status.
:concealed
This slot is read-only.
The face’s crossed out status.
:crossed-out
This slot is read-only.
The face’s framed status.
:framed
This slot is read-only.
The face foreground.
:foreground
This slot is read-only.
The face background.
:background
This slot is read-only.
The face children.
:subfaces
This slot is read-only.
The FLAG class.
This class implements options that don’t take any argument.
The GROUP class.
This class groups other groups, options or strings together, effectively
implementing hierarchical program command-line.
The ITEM class.
This class is the base class for all synopsis items.
The item’s traversal state.
The LISPOBJ class.
This class implements read-from-string options.
"obj"
The NEGATABLE Class.
This class implements the negated syntax for the switch-based hierarchy.
The OPTION class.
This is the base class for all options.
item
.
Initarg | Value |
---|---|
:internal | nil |
The option’s short name.
(or null string)
:short-name
This slot is read-only.
The option’s long name.
(or null string)
:long-name
This slot is read-only.
The option’s description.
(or null string)
:description
This slot is read-only.
The PATH class.
This class implements options whose values are (colon-separated lists of)
pathnames.
"path"
The SFACE class.
An SFace is the association of a face and its raw sibling. The sibling is used
to create subfaces which would be missing from the original, user defined one.
face
.
The SHEET class.
This class implements the notion of sheet for printing Clon help.
The sheet’s output stream.
stream
:output-stream
This slot is read-only.
The sheet’s line width.
(integer 1)
:line-width
This slot is read-only.
Whether to highlight SHEET’s output.
:highlightp
This slot is read-only.
The sheet’s sface tree.
This slot is read-only.
The sheet’s current column.
(integer 0)
0
The stack of currently open frames.
list
The STROPT class.
This class implements options the values of which are strings.
"str"
The SWITCH class.
This class implements boolean options.
The SWITCH-BASE abstract class.
This class provides support for options including boolean values.
Initarg | Value |
---|---|
:argument-type | optional |
:argument-styles | (quote (yes/no on/off true/false yup/nope yeah/nah)) |
:yes-values | (quote (yes on true yup yeah)) |
:no-values | (quote (no off false nope nah)) |
The possible argument styles.
The position of every argument style in the list must correspond to the
position of the associated strings in the yes-values and no-values slots.
list
:argument-styles
The possible ’yes’ values.
list
:yes-values
The possible ’no’ values.
list
:no-values
The selected argument style.
keyword
:yes/no
:argument-style
This slot is read-only.
The SYNOPSIS class.
This class handles the description of the program’s command-line options.
A postfix to the program synopsis.
(or null string)
:postfix
This slot is read-only.
The short pack string.
(or null string)
This slot is read-only.
The negated pack string.
(or null string)
This slot is read-only.
The potential pack string.
(or null string)
This slot is read-only.
The Clon options group.
net.didierverna.clon::group
:clon-options-group
This slot is read-only.
The TEXT class.
This class implements plain text objects appearing in a synopsis.
item
.
The VALUED-OPTION class.
This is the base class for options accepting arguments.
Initarg | Value |
---|---|
:argument-type | required |
The option’s argument display name.
"arg"
:argument-name
This slot is read-only.
Whether the option’s argument is required.
This slot is read-only.
The option’s fallback value.
:fallback-value
This slot is read-only.
The option’s default value.
:default-value
This slot is read-only.
The XSWITCH class.
This class merges the functionalities of switches and enumerations.
As such, the negated syntax is available for extended xswitches.
The set of possible non-boolean values.
Jump to: | %
(
~
A B C D E F G H I J L M N O P R S T U V W Y |
---|
Jump to: | %
(
~
A B C D E F G H I J L M N O P R S T U V W Y |
---|
Jump to: | *
A B C D E F H I L N O P R S T U V Y |
---|
Jump to: | *
A B C D E F H I L N O P R S T U V Y |
---|
Jump to: | A C E F G H I L M N O P R S T U V X |
---|
Jump to: | A C E F G H I L M N O P R S T U V X |
---|