Next: , Previous: , Up: Internal definitions   [Contents][Index]


6.2.3 Functions

Function: %make-format-table &key (MAPPINGS MAPPINGS)
Package

net.didierverna.focus

Source

table (Lisp file)

Function: %version TYPE MAJOR MINOR STATUS LEVEL NAME
Package

net.didierverna.focus.setup

Source

setup (Lisp file)

Function: clindent SYMBOL INDENT

Set SYMBOL’s indentation to INDENT in (X)Emacs.
This function sets SYMBOL’s common-lisp-indent-function property.
If INDENT is a symbol, use its indentation definition.
Otherwise, INDENT is considered as an indentation definition.

Package

net.didierverna.focus

Source

meta (Lisp file)

Function: copy-format-directive INSTANCE
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: copy-format-table INSTANCE
Package

net.didierverna.focus

Source

table (Lisp file)

Function: copy-function-directive INSTANCE
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: copy-standard-closing-directive INSTANCE
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: copy-standard-delimiting-directive INSTANCE
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: copy-standard-directive INSTANCE
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: copy-standard-opening-directive INSTANCE
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: directive-body-position STRING START

Return a STRING’s directive body position from START.
START is the position of the tilde character, so this function essentially parses the directive arguments in order to skip them.

Package

net.didierverna.focus

Source

string (Lisp file)

Function: directive-character INSTANCE
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: directive-closing-character INSTANCE
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: directive-function-name INSTANCE
Function: (setf directive-function-name) VALUE INSTANCE
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: directive-opening-character INSTANCE
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: find-standard-directive CHARACTER &aux CHARACTER DIRECTIVE

Return the standard directive corresponding to CHARACTER.
Throw a NONSTANDARD-DIRECTIVE-CHARACTER error otherwise.

Package

net.didierverna.focus

Source

directive (Lisp file)

Function: find-table TABLE-OR-NAME

Return its table argument directly, or look it up by name.

Package

net.didierverna.focus

Source

table (Lisp file)

Function: format-directive-p OBJECT
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: format-table-p OBJECT
Package

net.didierverna.focus

Source

table (Lisp file)

Function: function-directive-p OBJECT
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: i-reader STREAM SUBCHAR ARG

Read an argument list for the DEFINDENT macro.

Package

net.didierverna.focus

Source

meta (Lisp file)

Function: lookup-table NAME &optional ERRORP &aux TABLE

Look for a format table registered under NAME.
ERRORP (the default) means to throw a TABLE-NOT-REGISTERED error if no such table is found. Otherwise, just return nil.

Package

net.didierverna.focus

Source

table (Lisp file)

Function: make-format-directive &key
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: make-function-directive &key (FUNCTION-NAME FUNCTION-NAME)
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: make-standard-closing-directive &key (CHARACTER CHARACTER) (OPENING-CHARACTER OPENING-CHARACTER)
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: make-standard-delimiting-directive &key (CHARACTER CHARACTER)
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: make-standard-directive &key (CHARACTER CHARACTER)
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: make-standard-opening-directive &key (CHARACTER CHARACTER) (CLOSING-CHARACTER CLOSING-CHARACTER)
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: next-directive-position STRING START

Return the next directive position in STRING from START, or nil.

Package

net.didierverna.focus

Source

string (Lisp file)

Function: other-case CHAR

Return the other case version of CHAR if it exists.

Package

net.didierverna.focus

Source

util (Lisp file)

Function: release-status-number RELEASE-STATUS
Package

net.didierverna.focus.setup

Source

setup (Lisp file)

Function: restrict-because REASON

Put FoCus in restricted mode because of REASON.

Package

net.didierverna.focus.setup

Source

setup (Lisp file)

Function: standard-closing-directive-p OBJECT
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: standard-delimiting-directive-p OBJECT
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: standard-directive STRING POSITION TABLE &aux BODY-POSITION DIRECTIVE

Translate a STRING directive into a standard one.
- POSITION is the position of the ~ character.
- The translation is done according to format TABLE.

Return two values:
- the translated directive as a string,
- the STRING’s remainder index.

Note that the directive arguments are copied as-is. Only the directive’s body actually involves a translation.

Package

net.didierverna.focus

Source

string (Lisp file)

Function: standard-directive-p OBJECT
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: standard-format-string FORMAT-CONTROL &optional TABLE

Return the translation of FORMAT-CONTROL into a standard one.
When FORMAT-CONTROL is a string, the translation is done according to format TABLE (the current table by default). Otherwise, FORMAT-CONTROL is returned as-is.

Package

net.didierverna.focus

Source

string (Lisp file)

Function: standard-opening-directive-p OBJECT
Package

net.didierverna.focus

Source

directive (Lisp file)

Function: table-mappings INSTANCE
Function: (setf table-mappings) VALUE INSTANCE
Package

net.didierverna.focus

Source

table (Lisp file)

Function: table-name TABLE

Find TABLE’s name if registered, return nil otherwise.

Package

net.didierverna.focus

Source

table (Lisp file)

Function: tilde-reader STREAM CHAR

Read a series of ~"string" to be concatenated together.

Package

net.didierverna.focus

Source

meta (Lisp file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]