From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: skeleton.el _ versus @ Date: Mon, 24 Mar 2003 15:05:06 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200303242005.h2OK57gr013285@rum.cs.yale.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048536538 32080 80.91.224.249 (24 Mar 2003 20:08:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2003 20:08:58 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Mar 24 21:08:54 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18xYFa-0008L6-00 for ; Mon, 24 Mar 2003 21:08:54 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18xYGC-0003vi-00 for ; Mon, 24 Mar 2003 21:09:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18xYFP-00041s-08 for emacs-devel@quimby.gnus.org; Mon, 24 Mar 2003 15:08:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18xYF5-0003zG-00 for emacs-devel@gnu.org; Mon, 24 Mar 2003 15:08:23 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18xYDb-000362-00 for emacs-devel@gnu.org; Mon, 24 Mar 2003 15:06:51 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10.13) id 18xYC3-0002mi-00; Mon, 24 Mar 2003 15:05:15 -0500 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h2OK58Pe013287; Mon, 24 Mar 2003 15:05:08 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h2OK57gr013285; Mon, 24 Mar 2003 15:05:07 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Richard Stallman Original-cc: joe@zircon.seattle.wa.us Original-cc: occitan@esperanto.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12576 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12576 > 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 ? Stefan