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: Insert character pairs Date: 02 May 2004 12:41:55 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87brlb1840.fsf@mail.jurta.org> <87llkaq0ju.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083516447 14525 80.91.224.253 (2 May 2004 16:47:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 May 2004 16:47:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 02 18:47:17 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKK7Z-0003J1-00 for ; Sun, 02 May 2004 18:47:17 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKK7Z-0004UF-00 for ; Sun, 02 May 2004 18:47:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKK3z-0002y2-OV for emacs-devel@quimby.gnus.org; Sun, 02 May 2004 12:43:35 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKK36-0002bm-Q4 for emacs-devel@gnu.org; Sun, 02 May 2004 12:42:40 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKK2U-0002Og-RE for emacs-devel@gnu.org; Sun, 02 May 2004 12:42:34 -0400 Original-Received: from [206.47.199.166] (helo=simmts8-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKK2U-0002O5-68 for emacs-devel@gnu.org; Sun, 02 May 2004 12:42:02 -0400 Original-Received: from empanada.local ([67.71.116.192]) by simmts8-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040502164158.OESM21833.simmts8-srv.bellnexxia.net@empanada.local>; Sun, 2 May 2004 12:41:58 -0400 Original-Received: by empanada.local (Postfix, from userid 502) id A464417167A; Sun, 2 May 2004 12:41:55 -0400 (EDT) Original-To: Juri Linkov In-Reply-To: <87llkaq0ju.fsf@mail.jurta.org> Original-Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22541 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22541 >> Using last-command-char or some such would allow you to define just one >> command that does all those things. > This looks like `skeleton-pair-insert-maybe', but perhaps to converge > the functionality of `skeleton-pair-insert-maybe' and `insert-pair' > is not a bad thing. However, they still have some fundamental > differences like different text units (words vs. expressions) > specified by their arguments. My remarks have all to do with the code, not the UI, here. So implement whichever functionality you (and others) think is fit. I'm only interested in using last-command-char to merge all those functions into one. Stefan