1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
Commit Graph

51 Commits

Author SHA1 Message Date
Glenn Morris
4837b516ea Replace `iff' in doc-strings and comments. 2007-08-08 07:40:09 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Glenn Morris
c90f275771 Update copyright years. 2006-12-05 07:06:08 +00:00
Roland Winkler
5c741ceba1 (skeleton-transformation, skeleton-filter, skeleton-pair-filter):
Make these the aliases for the following variables.
(skeleton-transformation-function, skeleton-filter-function)
(skeleton-pair-filter-function): Make these the real names.
2006-05-21 22:01:50 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Juanma Barranquero
afdff50e24 (skeleton-proxy-new): Doc fix. 2005-07-20 22:37:49 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
fb607ff181 (skeleton-autowrap): Fix spellings in docstrings. 2005-06-10 14:06:22 +00:00
Lute Kamstra
1c4c2dac52 Use run-mode-hooks in example. 2005-05-26 13:13:36 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
b532266db6 (skeleton-proxy-new): Consume the mark-active state. 2003-06-08 00:54:06 +00:00
Stefan Monnier
7076c5cd53 (skeleton-edebug-spec): First cut of an edebug spec.
(define-skeleton): Use it.
2003-05-28 18:41:41 +00:00
Stefan Monnier
c93992b383 (skeleton-internal-1): Don't loop if interactor of subskeleton is nil.
(skeleton-pair-default-alist): New var.
(skeleton-pair-insert-maybe): Use it.
2003-05-26 01:02:31 +00:00
Juanma Barranquero
c6160f09be (skeleton-pair-insert-maybe): Remove leftover reference to
skeleton-abbrev-cleanup.
2003-05-25 01:31:48 +00:00
Stefan Monnier
aeeace45c8 (skeleton-abbrev-cleanup, skeleton-proxy): Remove obsolete code. 2003-05-25 00:36:59 +00:00
Stefan Monnier
8fb7ff735c (define-skeleton): Use the `no-self-insert' property.
(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'.
2003-05-23 00:59:12 +00:00
Juanma Barranquero
b7d0594977 (skeleton-internal-1): Allow - as alternate interesting point marker and revert
@ to just setting skeleton-positions.
2003-05-18 23:58:08 +00:00
Juanma Barranquero
4ba4c353a7 (skeleton-autowrap, skeleton-untabify, skeleton-newline-indent-rigidly)
(skeleton-insert, skeleton-read): Don't quote nil and t in docstrings.
2003-05-06 17:51:08 +00:00
Stefan Monnier
da8249b4a9 (skeleton-internal-list, skeleton-internal-1):
Don't treat \n specially in sub-skeletons.
2003-01-17 20:35:48 +00:00
Stefan Monnier
25ab24bcb9 (skeleton-transformation): Default to `identity'.
(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.
2002-05-14 14:14:11 +00:00
Pavel Janík
1cd7adc68a Emacs lisp coding convention fixes. 2001-07-14 11:21:08 +00:00
Stefan Monnier
5b83f9c095 (skeleton-internal-list): Fix bogus logic.
(skeleton-pair-insert-maybe): Don't pair after a backslash.
2001-03-23 17:50:41 +00:00
Stefan Monnier
3bb34a0214 Docstring fixes. 2001-02-04 20:57:37 +00:00
Stefan Monnier
02399da7a6 (skeleton-internal-1): Always push the mark for @. 2001-02-04 20:46:51 +00:00
Stefan Monnier
d21584d6d7 (skeleton-internal-1): Really make sure the first line of
the region is also re-indented.
(skeleton-end-newline): New var.
(skeleton-end-hook): Use it.
2000-12-22 22:56:36 +00:00
Stefan Monnier
26736ce36e (skeleton-internal-1): Make sure the first line of
the region is also re-indented.
2000-12-22 19:37:31 +00:00
Karl Heuer
3e9103768f Update comment. 1998-12-14 03:22:44 +00:00
Richard M. Stallman
f8a5751b06 (skeleton-read): Doc fix. 1997-04-24 19:40:23 +00:00
Richard M. Stallman
53d393c96b (define-skeleton): Doc fix. 1997-04-23 17:37:06 +00:00
Richard M. Stallman
5b75ef8b0b (skeleton-read): Fix previous change. 1997-04-20 01:37:09 +00:00
Richard M. Stallman
93c36a6dc7 (skeleton-insert): Rename the function's argument
to `regions', and bind `skeleton-regions' with let.
(skeleton-read): Rename arg STR to PROMPT.
1997-04-16 19:41:21 +00:00
Richard M. Stallman
157b7809ca (skeleton-positions): Renamed from skeleton-marks. 1996-12-28 19:33:20 +00:00
Richard M. Stallman
a6dccb5154 (skeleton-marks): New variable.
(skeleton-insert, skeleton-internal-1): Set skeleton-marks.
1996-12-28 19:31:17 +00:00
Richard M. Stallman
7a8f27dbe6 Comment change. 1996-10-12 02:42:58 +00:00
Richard M. Stallman
28895aea10 (skeleton-proxy-new): New function.
(define-skeleton): Define the skeleton as a defun
using skeleton-proxy-new.
1996-06-28 08:11:18 +00:00
Richard M. Stallman
ff85d4f3be (local-variables-section): Adapted comment to outline minor mode.
(skeleton-pair-insert-maybe): Rewritten to support autowrapping.
(mirror-mode): Fixed change of pair-* to skeleton-pair-*.  Also pairs
8 bit characters.
1996-06-24 22:33:56 +00:00
Richard M. Stallman
017d787ae1 (skeleton-autowrap): New variable.
(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.
1996-06-22 17:42:15 +00:00
Richard M. Stallman
a013d266d1 (local-variables-section): Deleted. 1996-06-16 23:30:31 +00:00
Richard M. Stallman
2aea64fbe1 Add provide call. 1996-03-01 15:37:33 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
49168e73e3 (skeleton-insert): Doc fix. 1996-01-04 23:48:47 +00:00
Karl Heuer
da6a884fdd (skeleton-end-hook): Now defvared and responsible for
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.
1995-11-03 03:29:04 +00:00
Karl Heuer
4bfd70e96b (skeleton-newline-indent-rigidly): New variable.
(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.
1995-08-19 00:30:38 +00:00
Karl Heuer
773500abf6 (skeleton-pair-insert-maybe): Plain insert in Ovwrt mode
(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)
1995-08-15 19:49:46 +00:00
Richard M. Stallman
bc35d5b39b (local-variables-section): Delete autoload cookie.
(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.
1995-07-20 20:28:45 +00:00
Karl Heuer
f3611c7025 partly rewritten and extended.
(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.
1995-07-07 19:21:17 +00:00
Richard M. Stallman
bad5d9129f Comment change. 1994-05-07 05:31:39 +00:00
Richard M. Stallman
c93d212ae5 (mirror-mode): Commented out. 1994-05-07 05:30:31 +00:00