deuce.emacs.data
%
(% x y)
Return remainder of X divided by Y.
Both must be integers or markers.
*
(* & numbers-or-markers)
Return product of any number of arguments, which are numbers or markers.
+
(+ & numbers-or-markers)
Return sum of any number of arguments, which are numbers or markers.
-
(- & [number-or-marker & more-numbers-or-markers])
Negate number or subtract numbers or markers and return the result.
With one arg, negates it. With more than one arg,
subtracts all but the first from the first.
->Buffer
(->Buffer own-text text pt begv zv name mark local-var-alist)
Positional factory function for class deuce.emacs.data.Buffer.
->BufferText
(->BufferText beg modiff save-modiff markers)
Positional factory function for class deuce.emacs.data.BufferText.
->CharTable
(->CharTable defalt parent purpose contents extras)
Positional factory function for class deuce.emacs.data.CharTable.
->Frame
(->Frame name root-window selected-window minibuffer-window terminal)
Positional factory function for class deuce.emacs.data.Frame.
->Marker
(->Marker insertion-type buffer charpos)
Positional factory function for class deuce.emacs.data.Marker.
->Window
(->Window mini-p next prev hchild vchild parent left-col top-line total-lines total-cols normal-lines normal-cols buffer start pointm sequence-number)
Positional factory function for class deuce.emacs.data.Window.
/
(/ dividend divisor & divisors)
Return first argument divided by all the remaining arguments.
The arguments must be numbers or markers.
1+
(1+ number)
Return NUMBER plus one. NUMBER may be a number or a marker.
Markers are converted to integers.
1-
(1- number)
Return NUMBER minus one. NUMBER may be a number or a marker.
Markers are converted to integers.
<
(< num1 num2)
Return t if first arg is less than second arg. Both must be numbers or markers.
<=
(<= num1 num2)
Return t if first arg is less than or equal to second arg.
Both must be numbers or markers.
=
(= num1 num2)
Return t if two args, both numbers or markers, are equal.
>
(> num1 num2)
Return t if first arg is greater than second arg. Both must be numbers or markers.
>=
(>= num1 num2)
Return t if first arg is greater than or equal to second arg.
Both must be numbers or markers.
aref
(aref array idx)
Return the element of ARRAY at index IDX.
ARRAY may be a vector, a string, a char-table, a bool-vector,
or a byte-code object. IDX starts at 0.
arrayp
(arrayp object)
Return t if OBJECT is an array (string or vector).
aset
(aset array idx newelt)
Store into the element of ARRAY at index IDX the value NEWELT.
Return NEWELT. ARRAY may be a vector, a string, a char-table or a
bool-vector. IDX starts at 0.
ash
(ash value count)
Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
In this case, the sign bit is duplicated.
atom
(atom object)
Return t if OBJECT is not a cons cell. This includes nil.
bool-vector-p
(bool-vector-p object)
Return t if OBJECT is a bool-vector.
boundp
(boundp symbol)
Return t if SYMBOL's value is not void.
bufferp
(bufferp object)
Return t if OBJECT is an editor buffer.
byte-code-function-p
(byte-code-function-p object)
Return t if OBJECT is a byte-compiled function object.
byteorder
(byteorder)
Return the byteorder for the machine.
Returns 66 (ASCII uppercase B) for big endian machines or 108 (ASCII
lowercase l) for small endian machines.
car
(car list)
Return the car of LIST. If arg is nil, return nil.
Error if arg is not nil and not a cons cell. See also `car-safe'.
See Info node `(elisp)Cons Cells' for a discussion of related basic
Lisp concepts such as car, cdr, cons cell and list.
car-safe
(car-safe object)
Return the car of OBJECT if it is a cons cell, or else nil.
cdr
(cdr list)
Return the cdr of LIST. If arg is nil, return nil.
Error if arg is not nil and not a cons cell. See also `cdr-safe'.
See Info node `(elisp)Cons Cells' for a discussion of related basic
Lisp concepts such as cdr, car, cons cell and list.
cdr-safe
(cdr-safe object)
Return the cdr of OBJECT if it is a cons cell, or else nil.
char-or-string-p
(char-or-string-p object)
Return t if OBJECT is a character or a string.
char-table-p
(char-table-p object)
Return t if OBJECT is a char-table.
consp
(consp object)
Return t if OBJECT is a cons cell.
defalias
(defalias symbol definition & [docstring])
Set SYMBOL's function definition to DEFINITION, and return DEFINITION.
Associates the function with the current load file, if any.
The optional third argument DOCSTRING specifies the documentation string
for SYMBOL; if it is omitted or nil, SYMBOL uses the documentation string
determined by DEFINITION.
default-boundp
(default-boundp symbol)
Return t if SYMBOL has a non-void default value.
This is the value that is seen in buffers that do not have their own values
for this variable.
default-value
(default-value symbol)
Return SYMBOL's default value.
This is the value that is seen in buffers that do not have their own values
for this variable. The default value is meaningful for variables with
local bindings in certain buffers.
eq
(eq obj1 obj2)
Return t if the two args are the same Lisp object.
fboundp
(fboundp symbol)
Return t if SYMBOL's function definition is not void.
floatp
(floatp object)
Return t if OBJECT is a floating point number.
fmakunbound
(fmakunbound symbol)
Make SYMBOL's function definition be void.
Return SYMBOL.
fset
(fset symbol definition)
Set SYMBOL's function definition to DEFINITION, and return DEFINITION.
indirect-function
(indirect-function object & [noerror])
Return the function at the end of OBJECT's function chain.
If OBJECT is not a symbol, just return it. Otherwise, follow all
function indirections to find the final function binding and return it.
If the final symbol in the chain is unbound, signal a void-function error.
Optional arg NOERROR non-nil means to return nil instead of signaling.
Signal a cyclic-function-indirection error if there is a loop in the
function chain of symbols.
indirect-variable
(indirect-variable object)
Return the variable at the end of OBJECT's variable chain.
If OBJECT is a symbol, follow all variable indirections and return the final
variable. If OBJECT is not a symbol, just return it.
Signal a cyclic-variable-indirection error if there is a loop in the
variable chain of symbols.
integer-or-marker-p
(integer-or-marker-p object)
Return t if OBJECT is an integer or a marker (editor pointer).
integerp
(integerp object)
Return t if OBJECT is an integer.
keywordp
(keywordp object)
Return t if OBJECT is a keyword.
This means that it is a symbol with a print name beginning with `:'
interned in the initial obarray.
kill-local-variable
(kill-local-variable variable)
Make VARIABLE no longer have a separate value in the current buffer.
From now on the default value will apply in this buffer. Return VARIABLE.
listp
(listp object)
Return t if OBJECT is a list, that is, a cons cell or nil.
Otherwise, return nil.
local-variable-if-set-p
(local-variable-if-set-p variable & [buffer])
Non-nil if VARIABLE will be local in buffer BUFFER when set there.
More precisely, this means that setting the variable (with `set' or`setq'),
while it does not have a `let'-style binding that was made in BUFFER,
will produce a buffer local binding. See Info node
`(elisp)Creating Buffer-Local'.
BUFFER defaults to the current buffer.
local-variable-p
(local-variable-p variable & [buffer])
Non-nil if VARIABLE has a local binding in buffer BUFFER.
BUFFER defaults to the current buffer.
logand
(logand & ints-or-markers)
Return bitwise-and of all the arguments.
Arguments may be integers, or markers converted to integers.
logior
(logior & ints-or-markers)
Return bitwise-or of all the arguments.
Arguments may be integers, or markers converted to integers.
lognot
(lognot number)
Return the bitwise complement of NUMBER. NUMBER must be an integer.
logxor
(logxor & ints-or-markers)
Return bitwise-exclusive-or of all the arguments.
Arguments may be integers, or markers converted to integers.
lsh
(lsh value count)
Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
In this case, zeros are shifted in on the left.
make-local-variable
(make-local-variable variable)
Make VARIABLE have a separate value in the current buffer.
Other buffers will continue to share a common default value.
(The buffer-local value of VARIABLE starts out as the same value
VARIABLE previously had. If VARIABLE was void, it remains void.)
Return VARIABLE.
If the variable is already arranged to become local when set,
this function causes a local value to exist for this buffer,
just as setting the variable would do.
This function returns VARIABLE, and therefore
(set (make-local-variable 'VARIABLE) VALUE-EXP)
works.
See also `make-variable-buffer-local'.
Do not use `make-local-variable' to make a hook variable buffer-local.
Instead, use `add-hook' and specify t for the LOCAL argument.
make-variable-buffer-local
(make-variable-buffer-local variable)
Make VARIABLE become buffer-local whenever it is set.
At any time, the value for the current buffer is in effect,
unless the variable has never been set in this buffer,
in which case the default value is in effect.
Note that binding the variable with `let', or setting it while
a `let'-style binding made in this buffer is in effect,
does not make the variable buffer-local. Return VARIABLE.
In most cases it is better to use `make-local-variable',
which makes a variable local in just one buffer.
The function `default-value' gets the default value and `set-default' sets it.
make-variable-frame-local
(make-variable-frame-local variable)
This function is obsolete since 22.2;
explicitly check for a frame-parameter instead.
Enable VARIABLE to have frame-local bindings.
This does not create any frame-local bindings for VARIABLE,
it just makes them possible.
A frame-local binding is actually a frame parameter value.
If a frame F has a value for the frame parameter named VARIABLE,
that also acts as a frame-local binding for VARIABLE in F--
provided this function has been called to enable VARIABLE
to have frame-local bindings at all.
The only way to create a frame-local binding for VARIABLE in a frame
is to set the VARIABLE frame parameter of that frame. See
`modify-frame-parameters' for how to set frame parameters.
Note that since Emacs 23.1, variables cannot be both buffer-local and
frame-local any more (buffer-local bindings used to take precedence over
frame-local bindings).
makunbound
(makunbound symbol)
Make SYMBOL's value be void.
Return SYMBOL.
map->Buffer
(map->Buffer m__6289__auto__)
Factory function for class deuce.emacs.data.Buffer, taking a map of keywords to field values.
map->BufferText
(map->BufferText m__6289__auto__)
Factory function for class deuce.emacs.data.BufferText, taking a map of keywords to field values.
map->CharTable
(map->CharTable m__6289__auto__)
Factory function for class deuce.emacs.data.CharTable, taking a map of keywords to field values.
map->Frame
(map->Frame m__6289__auto__)
Factory function for class deuce.emacs.data.Frame, taking a map of keywords to field values.
map->Marker
(map->Marker m__6289__auto__)
Factory function for class deuce.emacs.data.Marker, taking a map of keywords to field values.
map->Window
(map->Window m__6289__auto__)
Factory function for class deuce.emacs.data.Window, taking a map of keywords to field values.
markerp
(markerp object)
Return t if OBJECT is a marker (editor pointer).
max
(max number-or-marker & numbers-or-markers)
Return largest of all the arguments (which must be numbers or markers).
The value is always a number; markers are converted to numbers.
min
(min number-or-marker & numbers-or-markers)
Return smallest of all the arguments (which must be numbers or markers).
The value is always a number; markers are converted to numbers.
mod
(mod x y)
Return X modulo Y.
The result falls between zero (inclusive) and Y (exclusive).
Both X and Y must be numbers or markers.
multibyte-string-p
(multibyte-string-p object)
Return t if OBJECT is a multibyte string.
natnump
(natnump object)
Return t if OBJECT is a nonnegative integer.
nlistp
(nlistp object)
Return t if OBJECT is not a list. Lists include nil.
null
(null object)
Return t if OBJECT is nil.
number-or-marker-p
(number-or-marker-p object)
Return t if OBJECT is a number or a marker.
number-to-string
(number-to-string number)
Return the decimal representation of NUMBER as a string.
Uses a minus sign if negative.
NUMBER may be an integer or a floating point number.
numberp
(numberp object)
Return t if OBJECT is a number (floating point or integer).
sequencep
(sequencep object)
Return t if OBJECT is a sequence (list or array).
set
(set symbol newval)
Set SYMBOL's value to NEWVAL, and return NEWVAL.
set-default
(set-default symbol value)
Set SYMBOL's default value to VALUE. SYMBOL and VALUE are evaluated.
The default value is seen in buffers that do not have their own values
for this variable.
setcar
(setcar cell newcar)
Set the car of CELL to be NEWCAR. Returns NEWCAR.
setcdr
(setcdr cell newcdr)
Set the cdr of CELL to be NEWCDR. Returns NEWCDR.
setplist
(setplist symbol newplist)
Set SYMBOL's property list to NEWPLIST, and return NEWPLIST.
string-to-number
(string-to-number string & [base])
Parse STRING as a decimal number and return the number.
This parses both integers and floating point numbers.
It ignores leading spaces and tabs, and all trailing chars.
If BASE, interpret STRING as a number in that base. If BASE isn't
present, base 10 is used. BASE must be between 2 and 16 (inclusive).
If the base used is not 10, STRING is always parsed as integer.
stringp
(stringp object)
Return t if OBJECT is a string.
subr-arity
(subr-arity subr)
Return minimum and maximum number of args allowed for SUBR.
SUBR must be a built-in function.
The returned value is a pair (MIN . MAX). MIN is the minimum number
of args. MAX is the maximum number or the symbol `many', for a
function with `&rest' args, or `unevalled' for a special form.
subr-name
(subr-name subr)
Return name of subroutine SUBR.
SUBR must be a built-in function.
subrp
(subrp object)
Return t if OBJECT is a built-in function.
symbol-function
(symbol-function symbol)
Return SYMBOL's function definition. Error if that is void.
symbol-name
(symbol-name symbol)
Return SYMBOL's name, a string.
symbol-plist
(symbol-plist symbol)
Return SYMBOL's property list.
symbol-value
(symbol-value symbol)
Return SYMBOL's value. Error if that is void.
symbolp
(symbolp object)
Return t if OBJECT is a symbol.
type-of
(type-of object)
Return a symbol representing the type of OBJECT.
The symbol returned names the object's basic type;
for example, (type-of 1) returns `integer'.
variable-binding-locus
(variable-binding-locus variable)
Return a value indicating where VARIABLE's current binding comes from.
If the current binding is buffer-local, the value is the current buffer.
If the current binding is frame-local, the value is the selected frame.
If the current binding is global (the default), the value is nil.
vector-or-char-table-p
(vector-or-char-table-p object)
Return t if OBJECT is a char-table or vector.
vectorp
(vectorp object)
Return t if OBJECT is a vector.
wholenump
(wholenump object)
Return t if OBJECT is a nonnegative integer.
zerop
(zerop number)
Return t if NUMBER is zero.