[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: Mon, 24 Mar 2003 15:05:06 -0500

> My contention is that the use of @ as a backup to _ in setting
> skeleton-point is incorrect.  When a skeleton contains both @ and _
> markers, obviously the _ should be used to set the skeleton-point and
> the @ should be used to set skeleton-positions when the skeleton is used
> in simple insertion mode.

The current code allows the following trick:

        "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 @).

Your suggestion would break such usage.
Could you describe concrete cases where your suggestion would
be helpful ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]