| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Make these the aliases for the following variables.
(skeleton-transformation-function, skeleton-filter-function)
(skeleton-pair-filter-function): Make these the real names.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(define-skeleton): Use it.
|
|
|
|
|
| |
(skeleton-pair-default-alist): New var.
(skeleton-pair-insert-maybe): Use it.
|
|
|
|
| |
skeleton-abbrev-cleanup.
|
| |
|
|
|
|
|
|
|
| |
(skeleton-proxy-new): Fix docstring. Remove broken interactive spec.
Rely on use `no-self-insert' rather than `skeleton-abbrev-cleanup'.
(skeleton-internal-1): Add a `recursive' argument.
(skeleton-internal-list): Use it to propagate `recursive'.
|
|
|
|
| |
@ to just setting skeleton-positions.
|
|
|
|
| |
(skeleton-insert, skeleton-read): Don't quote nil and t in docstrings.
|
|
|
|
| |
Don't treat \n specially in sub-skeletons.
|
|
|
|
|
|
|
| |
(skeleton-insert): Use `move-after' markers and `insert' rather
than rely on insert-before-markers.
(skeleton-internal-1): Handle `> \n' specially so that the newline
is inserted before the first line is indented.
|
| |
|
|
|
|
| |
(skeleton-pair-insert-maybe): Don't pair after a backslash.
|
| |
|
| |
|
|
|
|
|
|
| |
the region is also re-indented.
(skeleton-end-newline): New var.
(skeleton-end-hook): Use it.
|
|
|
|
| |
the region is also re-indented.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
to `regions', and bind `skeleton-regions' with let.
(skeleton-read): Rename arg STR to PROMPT.
|
| |
|
|
|
|
| |
(skeleton-insert, skeleton-internal-1): Set skeleton-marks.
|
| |
|
|
|
|
|
| |
(define-skeleton): Define the skeleton as a defun
using skeleton-proxy-new.
|
|
|
|
|
|
| |
(skeleton-pair-insert-maybe): Rewritten to support autowrapping.
(mirror-mode): Fixed change of pair-* to skeleton-pair-*. Also pairs
8 bit characters.
|
|
|
|
|
|
|
| |
(skeleton-abbrev-cleanup): Added variable documentation.
(skeleton-proxy): Added optional autowrappping feature.
(skeleton-proxy, skeleton-abbrev-cleanup): Use `post-command-hook'
instead of someday to be obsolete defer.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
pushing out anything following skeleton to next line. Thus this
behaviour can now be controlled by modes.
(skeleton-insert): Parameter `no-newline' removed.
(skeleton-read): Take this into account.
(skeleton-internal-1): Less spurious empty lines when wrapping.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(skeleton-internal-1): Use it for indenting after \n because previous
behaviour was only useful for `sh-script.el' and old `ada.el'. Other
modes now get their own indentation.
(skeleton, skeleton-modified, skeleton-point, skeleton-regions): `New'
variables for passing between the mutually recursive functions of
the skeleton engine. Introduced to remove compiler warnings.
(skeleton-proxy): New argument `str' to make this settable when calling
a skeleton as a function.
(skeleton-insert): New argument `str' to pass down. Element `\n'
now usually indents according to mode. Subskeletons may also have
a list of strings as iterator. Earlier modification also removed
meaning of `quit' -- I did not put it back in since it's useless.
When quitting out of a subskeleton while still wrapping around text
don't duplicate first line of that text.
(skeleton-end-hook): New hook useful say for modes that leave a `;' on
an empty line to indent right and then want to clean it up when doing
a skeleton there.
|
|
|
|
|
|
|
|
|
|
|
| |
(skeleton-insert): If skeleton doesn't fit in window, put beginning
at top before going to _ point.
(skeleton-internal-list): Rewritten so that resume: sections pertain
only to inferior skeletons and make str available there
(skeleton-read): Don't quit and remove partial skeleton when empty
string entered for outer iterator. Added implicit argument `input'.
(define-skeleton, skeleton-insert, skeleton-internal-list): Use `x
rather than backquote's (` x) or own (list 'x)
|
|
|
|
|
|
|
| |
(skeleton-pair-insert-maybe): Renamed from pair-insert-maybe.
(skeleton-pair, skeleton-pair-filter, skeleton-pair-alist)
(skeleton-pair-on-word): Renamed from pair-...
(mirror-mode): Commented out.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(skeleton-filter, skeleton-untabify, skeleton-further-elements)
(skeleton-abbrev-cleanup): New variables
(skeleton-proxy, skeleton-abbrev-cleanup): New functions
(skeleton-insert): Sublanguage element < must now be handled via
`skeleton-further-elements' (used only in sh-script and ada). Lisp
expressions can be quoted to ignore the return value.
(skeleton-read): New name for `skeleton-internal-read' because this may
be useful in skeletons.
(local-variables-section): New skeleton command, might go to simple.el.
|
| |
|
| |
|
|
|