[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: skeleton.el _ versus @
From: |
Stefan Monnier |
Subject: |
Re: skeleton.el _ versus @ |
Date: |
Fri, 11 Apr 2003 19:59:51 -0400 |
> According to Stefan, he put it in Emacs 21.1.
>
> That isn't too long ago, so I don't think it isn't too late
> to change this back.
>
> Stefan, could you give me a brief self-contained description of the
> two behaviors, written for someone who doesn't use skeleton?
A simple skeleton could look like
... "(" _ ")" ...
If a region is active when executing the skeleton, it will end
up wrapping the region in parentheses. Otherwise, it will insert
"()" and point point in the middle.
Skeleton also has a special @ which pushes the corresponding position
onto a list of positions which elisp code can then use as it
sees fit (I don't actually know of any uses, so I'll let other
people describe what these are might be used for).
Before my patch, the behavior was that after insertion of
a skeleton, point would be placed at "the first occurrence of _
or at the end of the skeleton".
What my patch changed is that point after insertion of a skeleton
is now placed at "the first occurrence of _ or @
or at the end of the skeleton".
Stefan
- Re: skeleton.el _ versus @, (continued)
- Re: skeleton.el _ versus @, Daniel Pfeiffer, 2003/04/03
- Re: skeleton.el _ versus @, Stefan Monnier, 2003/04/09
- Re: skeleton.el _ versus @, Joe Kelsey, 2003/04/09
- Re: skeleton.el _ versus @, Richard Stallman, 2003/04/10
- Re: skeleton.el _ versus @, Joe Kelsey, 2003/04/10
- Re: skeleton.el _ versus @, Richard Stallman, 2003/04/11
- Re: skeleton.el _ versus @,
Stefan Monnier <=
- Re: skeleton.el _ versus @, Joe Kelsey, 2003/04/11
- Re: skeleton.el _ versus @, Kai Großjohann, 2003/04/12
- Re: skeleton.el _ versus @, Richard Stallman, 2003/04/13
- Re: skeleton.el _ versus @, Stefan Monnier, 2003/04/13
- Re: skeleton.el _ versus @, Kai Großjohann, 2003/04/13
- Re: skeleton.el _ versus @, Joe Kelsey, 2003/04/13
- Re: skeleton.el _ versus @, a new patch, Joe Kelsey, 2003/04/20
- Re: skeleton.el _ versus @, a new patch, Stefan Monnier, 2003/04/21
- Re: skeleton.el _ versus @, a new patch, Joe Kelsey, 2003/04/21
- Re: skeleton.el _ versus @, a new patch, Stefan Monnier, 2003/04/22