version.lisp
(file)
Add SUBFACE to FACE’s subfaces and return it.
face.lisp
(file)
/Users/didier/.cache/common-lisp/sbcl-2.1.2.72-f990ff7ad-macosx-x64/Users/didier/Documents/Science/Software/Common Lisp/clon/termio/sbcl/constants.lisp-temp
Return true if the first CMDLINE item is an argument.
cmdline.lisp
(file)
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.
face.lisp
(file)
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.
sheet.lisp
(file)
Check that STRING starts with BEGINNING. If IGNORE-CASE, well, ignore case.
util.lisp
(file)
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.
readtable.lisp
(file)
Close all frames on SHEET’s current line and go to next line.
sheet.lisp
(file)
Close SHEET’s current sface.
sheet.lisp
(file)
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.
util.lisp
(file)
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.
cmdline.lisp
(file)
context.lisp
(file)
context.lisp
(file)
context.lisp
(file)
context.lisp
(file)
context.lisp
(file)
Complete BEGINNING with the rest of COMPLETE in parentheses. For instance, completing ’he’ with ’help’ will produce ’he(lp)’.
util.lisp
(file)
context.lisp
(file)
sheet.lisp
(file)
sheet.lisp
(file)
sheet.lisp
(file)
Return SHEET’s current frame.
sheet.lisp
(file)
Return SHEET’s current left margin.
sheet.lisp
(file)
Return SHEET’s current right margin.
sheet.lisp
(file)
Return SHEET’s current sface or nil.
sheet.lisp
(file)
Return true if PATHNAME denotes a directory.
path.lisp
(file)
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.
environ.lisp
(file)
Print ERROR on *ERROR-OUTPUT* and exit with status code 1.
context.lisp
(file)
Return t if PROPERTY is set explicitely in FACE.
face.lisp
(file)
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.
face.lisp
(file)
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.
sheet.lisp
(file)
Flush SHEET.
sheet.lisp
(file)
sheet.lisp
(file)
sheet.lisp
(file)
sheet.lisp
(file)
sheet.lisp
(file)
Return top padding of the next item in ITEMS that will print under SFACE.
sheet.lisp
(file)
Get environment VARIABLE’s value. VARIABLE may be null.
util.lisp
(file)
Return t if at least one of ITEMS will print under SFACE.
sheet.lisp
(file)
sheet.lisp
(file)
sheet.lisp
(file)
sheet.lisp
(file)
sheet.lisp
(file)
sheet.lisp
(file)
Return highlight property INSTANCE’s escape sequence.
sheet.lisp
(file)
sheet.lisp
(file)
sheet.lisp
(file)
sheet.lisp
(file)
Return user’s home directory in canonical form.
If the user’s home directory cannot be computed, signal a warning and return
NIL.
util.lisp
(file)
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.
readtable.lisp
(file)
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.
util.lisp
(file)
context.lisp
(file)
sheet.lisp
(file)
sheet.lisp
(file)
sheet.lisp
(file)
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.
enum.lisp
(file)
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.
flag.lisp
(file)
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.
lispobj.lisp
(file)
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.
path.lisp
(file)
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.
stropt.lisp
(file)
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.
switch.lisp
(file)
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.
xswitch.lisp
(file)
Make a raw (boring yet functional) face tree.
face.lisp
(file)
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.
sheet.lisp
(file)
Make a new SHEET.
sheet.lisp
(file)
Try to match OPTION against SHORT-NAME, LONG-NAME. If OPTION matches, return the name that matched.
option.lisp
(file)
Open all frames on SHEET’s current line.
sheet.lisp
(file)
Close SHEET’s current line and open the next one.
sheet.lisp
(file)
Create a frame for SFACE and open it.
sheet.lisp
(file)
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.
option.lisp
(file)
Return true if STR looks like an option call.
cmdline.lisp
(file)
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.
face.lisp
(file)
Return true if COMPONENT is either null or :unspecific.
path.lisp
(file)
Pop SHEET’s current frame.
sheet.lisp
(file)
Return OPTION’s potential pack character, if any. If AS-STRING, return a string of that character.
option.lisp
(file)
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.
sheet.lisp
(file)
Princ highlight proeprty INSTANCES on SHEET’s stream.
sheet.lisp
(file)
Princ NUMBER spaces to SHEET’s stream and update the column position.
sheet.lisp
(file)
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.
sheet.lisp
(file)
Print ERROR on *ERROR-OUTPUT*.
When INTERACTIVEP, print on *QUERY-IO* instead.
context.lisp
(file)
Print all help specification ITEMS on SHEET with SFACE.
sheet.lisp
(file)
Open the toplevel help face and print HELP on SHEET with it.
sheet.lisp
(file)
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.
sheet.lisp
(file)
Push a new frame to SHEET’s frames.
sheet.lisp
(file)
Set environment VARIABLE to VALUE.
util.lisp
(file)
Reach COLUMN on SHEET by princ’ing spaces.
sheet.lisp
(file)
Read an option argument from standard input.
valued.lisp
(file)
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.
context.lisp
(file)
Read ENV-VAR’s new value from standard input.
environ.lisp
(file)
Read an option’s long name from standard input.
context.lisp
(file)
Read an sface tree from PATHNAME.
sheet.lisp
(file)
Read an option value from standard input.
valued.lisp
(file)
version.lisp
(file)
Return a new property list from KEYS without REMOVED ones.
util.lisp
(file)
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.
util.lisp
(file)
Return a new property list from KEYS with REPLACEMENTS.
See REPLACE-KEY for more information on the replacement syntax.
util.lisp
(file)
Print ERROR and offer available restarts on *QUERY-IO*.
context.lisp
(file)
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.
valued.lisp
(file)
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.
cmdline.lisp
(file)
context.lisp
(file)
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.
valued.lisp
(file)
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.
environ.lisp
(file)
Put Clon in restricted mode because of REASON.
termio.lisp
(file)
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.
sheet.lisp
(file)
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.
sheet.lisp
(file)
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.
face.lisp
(file)
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.
face.lisp
(file)
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.
context.lisp
(file)
Search for option abbreviated with PARTIAL-NAME in CONTEXT.
When such an option exists, return two values:
- the option itself,
- the completed name.
context.lisp
(file)
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.
context.lisp
(file)
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.
context.lisp
(file)
Return a new property list from KEYS with only SELECTED ones.
util.lisp
(file)
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.
termio.lisp
(file)
Read an sface tree from PATHNAME if it exists or return nil.
sheet.lisp
(file)
Read a theme from PATHNAME or PATHNAME.cth if it exists or return nil.
sheet.lisp
(file)
/Users/didier/.cache/common-lisp/sbcl-2.1.2.72-f990ff7ad-macosx-x64/Users/didier/Documents/Science/Software/Common Lisp/clon/termio/sbcl/constants.lisp-temp
/Users/didier/.cache/common-lisp/sbcl-2.1.2.72-f990ff7ad-macosx-x64/Users/didier/Documents/Science/Software/Common Lisp/clon/termio/sbcl/constants.lisp-temp
/Users/didier/.cache/common-lisp/sbcl-2.1.2.72-f990ff7ad-macosx-x64/Users/didier/Documents/Science/Software/Common Lisp/clon/termio/sbcl/constants.lisp-temp
/Users/didier/.cache/common-lisp/sbcl-2.1.2.72-f990ff7ad-macosx-x64/Users/didier/Documents/Science/Software/Common Lisp/clon/termio/sbcl/constants.lisp-temp
Read a series of ~"string" to be concatenated together.
readtable.lisp
(file)