aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/skeleton.el
Commit message (Collapse)AuthorAgeFilesLines
* (skeleton-proxy-new): Doc fix.Juanma Barranquero2005-07-201-1/+1
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (skeleton-autowrap): Fix spellings in docstrings.Juanma Barranquero2005-06-101-1/+1
|
* Use run-mode-hooks in example.Lute Kamstra2005-05-261-1/+1
|
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (skeleton-proxy-new): Consume the mark-active state.Stefan Monnier2003-06-081-1/+6
|
* (skeleton-edebug-spec): First cut of an edebug spec.Stefan Monnier2003-05-281-0/+5
| | | | (define-skeleton): Use it.
* (skeleton-internal-1): Don't loop if interactor of subskeleton is nil.Stefan Monnier2003-05-261-25/+29
| | | | | (skeleton-pair-default-alist): New var. (skeleton-pair-insert-maybe): Use it.
* (skeleton-pair-insert-maybe): Remove leftover reference toJuanma Barranquero2003-05-251-10/+9
| | | | skeleton-abbrev-cleanup.
* (skeleton-abbrev-cleanup, skeleton-proxy): Remove obsolete code.Stefan Monnier2003-05-251-59/+0
|
* (define-skeleton): Use the `no-self-insert' property.Stefan Monnier2003-05-231-54/+42
| | | | | | | (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'.
* (skeleton-internal-1): Allow - as alternate interesting point marker and revertJuanma Barranquero2003-05-181-14/+17
| | | | @ to just setting skeleton-positions.
* (skeleton-autowrap, skeleton-untabify, skeleton-newline-indent-rigidly)Juanma Barranquero2003-05-061-8/+8
| | | | (skeleton-insert, skeleton-read): Don't quote nil and t in docstrings.
* (skeleton-internal-list, skeleton-internal-1):Stefan Monnier2003-01-171-2/+2
| | | | Don't treat \n specially in sub-skeletons.
* (skeleton-transformation): Default to `identity'.Stefan Monnier2002-05-141-70/+79
| | | | | | | (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.
* Emacs lisp coding convention fixes.Pavel Janík2001-07-141-2/+2
|
* (skeleton-internal-list): Fix bogus logic.Stefan Monnier2001-03-231-6/+9
| | | | (skeleton-pair-insert-maybe): Don't pair after a backslash.
* Docstring fixes.Stefan Monnier2001-02-041-5/+7
|
* (skeleton-internal-1): Always push the mark for @.Stefan Monnier2001-02-041-3/+2
|
* (skeleton-internal-1): Really make sure the first line ofStefan Monnier2000-12-221-16/+23
| | | | | | the region is also re-indented. (skeleton-end-newline): New var. (skeleton-end-hook): Use it.
* (skeleton-internal-1): Make sure the first line ofStefan Monnier2000-12-221-1/+2
| | | | the region is also re-indented.
* Update comment.Karl Heuer1998-12-141-1/+1
|
* (skeleton-read): Doc fix.Richard M. Stallman1997-04-241-1/+3
|
* (define-skeleton): Doc fix.Richard M. Stallman1997-04-231-1/+2
|
* (skeleton-read): Fix previous change.Richard M. Stallman1997-04-201-2/+2
|
* (skeleton-insert): Rename the function's argumentRichard M. Stallman1997-04-161-58/+61
| | | | | to `regions', and bind `skeleton-regions' with let. (skeleton-read): Rename arg STR to PROMPT.
* (skeleton-positions): Renamed from skeleton-marks.Richard M. Stallman1996-12-281-7/+7
|
* (skeleton-marks): New variable.Richard M. Stallman1996-12-281-0/+9
| | | | (skeleton-insert, skeleton-internal-1): Set skeleton-marks.
* Comment change.Richard M. Stallman1996-10-121-1/+1
|
* (skeleton-proxy-new): New function.Richard M. Stallman1996-06-281-3/+53
| | | | | (define-skeleton): Define the skeleton as a defun using skeleton-proxy-new.
* (local-variables-section): Adapted comment to outline minor mode.Richard M. Stallman1996-06-241-82/+83
| | | | | | (skeleton-pair-insert-maybe): Rewritten to support autowrapping. (mirror-mode): Fixed change of pair-* to skeleton-pair-*. Also pairs 8 bit characters.
* (skeleton-autowrap): New variable.Richard M. Stallman1996-06-221-63/+76
| | | | | | | (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.
* (local-variables-section): Deleted.Richard M. Stallman1996-06-161-26/+26
|
* Add provide call.Richard M. Stallman1996-03-011-0/+2
|
* Update FSF's address.Erik Naggum1996-01-141-2/+4
|
* (skeleton-insert): Doc fix.Karl Heuer1996-01-041-1/+1
|
* (skeleton-end-hook): Now defvared and responsible forKarl Heuer1995-11-031-30/+35
| | | | | | | | 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-newline-indent-rigidly): New variable.Karl Heuer1995-08-191-73/+106
| | | | | | | | | | | | | | | | | | | | (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-pair-insert-maybe): Plain insert in Ovwrt modeKarl Heuer1995-08-151-61/+60
| | | | | | | | | | | (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)
* (local-variables-section): Delete autoload cookie.Richard M. Stallman1995-07-201-68/+66
| | | | | | | (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.
* partly rewritten and extended.Karl Heuer1995-07-071-173/+327
| | | | | | | | | | | | (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.
* Comment change.Richard M. Stallman1994-05-071-1/+1
|
* (mirror-mode): Commented out.Richard M. Stallman1994-05-071-72/+70
|
* entered into RCSRichard M. Stallman1994-03-221-0/+328