[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: |
Tue, 01 Apr 2003 13:41:08 -0500 |
> > > > "fun f (" @ ")" \n "{" \n _ \n "}"
> > > >
> > > > such that selecting a region and calling the skeleton will
> > > > put the region in the body of the function (because of the _)
> > > > and point will be put at the right place for you to enter the
> > > > arglist (because of the @).
> > >
> > > This is using skeletons in "region" mode. I am not changing region
> > > mode, or at least I can modify the @ behavior so that it works in region
> > > mode this way.
> >
> > But I also want point to end up at the "args" position in simple
> > insertion which your patch would break.
>
> If you want the point to end at args in "simple insertion", put the _
> between the parens.
No, because region insertion won't work right.
> Your skeleton is a "region-insertion", not a "simple insertion".
>
> You cannot have it both ways.
I do have it both ways right now.
Stefan
- Re: skeleton.el _ versus @, Miles Bader, 2003/04/01
- Re: skeleton.el _ versus @,
Stefan Monnier <=
- Re: skeleton.el _ versus @, Joe Kelsey, 2003/04/01
- Re: skeleton.el _ versus @, Stefan Monnier, 2003/04/01
- Re: skeleton.el _ versus @, Joe Kelsey, 2003/04/01
- Re: skeleton.el _ versus @, Thien-Thi Nguyen, 2003/04/01
- Re: skeleton.el _ versus @, Stefan Monnier, 2003/04/01
- Re: skeleton.el _ versus @, Joe Kelsey, 2003/04/02
- Re: skeleton.el _ versus @, Miles Bader, 2003/04/02
- 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