From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Suggestion: Simple way to make conditional key bindings. Date: 28 Aug 2002 10:00:57 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <3D49FF140074EFAE@mel-rta7.wanadoo.fr> <5xadnd3eck.fsf@kfs2.cua.dk> <200208231722.g7NHM0M02096@rum.cs.yale.edu> <5xptw6wm2v.fsf@kfs2.cua.dk> <200208261547.g7QFlpA24835@rum.cs.yale.edu> <20020826193301.GA7248@gnu.org> <200208271905.g7RJ5hj13019@wijiji.santafe.edu> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030496595 25365 127.0.0.1 (28 Aug 2002 01:03:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 28 Aug 2002 01:03:15 +0000 (UTC) Cc: monnier+gnu/emacs@rum.cs.yale.edu, storm@cua.dk, David.Ponce@wanadoo.fr, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17jrEn-0006ax-00 for ; Wed, 28 Aug 2002 03:03:13 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17jrkM-0003jR-00 for ; Wed, 28 Aug 2002 03:35:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17jrG8-000698-00; Tue, 27 Aug 2002 21:04:36 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17jrES-00067h-00 for emacs-devel@gnu.org; Tue, 27 Aug 2002 21:02:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17jrEQ-00067N-00 for emacs-devel@gnu.org; Tue, 27 Aug 2002 21:02:51 -0400 Original-Received: from tyo202.gate.nec.co.jp ([210.143.35.52]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17jrEP-00067I-00; Tue, 27 Aug 2002 21:02:50 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.193]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g7S11a423103; Wed, 28 Aug 2002 10:01:36 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.196]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g7S11VI05671; Wed, 28 Aug 2002 10:01:35 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id g7S11Uh02456; Wed, 28 Aug 2002 10:01:30 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g7S10vs18661; Wed, 28 Aug 2002 10:00:57 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id AC52936F2; Wed, 28 Aug 2002 10:00:57 +0900 (JST) Original-To: rms@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <200208271905.g7RJ5hj13019@wijiji.santafe.edu> Original-Lines: 16 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:7006 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7006 Richard Stallman writes: > Much better is some system like fill-paragraph uses where the > generic binding looks for `fill-parapgraph-function' to do the > work, which modes can override. > > It is very useful to set up these hooks in specific places > where we see we need them. However, we can't expect to provide > these hooks for all the situations where someone wants to override > a certain command for certain text. Sure; but my point was that there oughta be a better way than just binding the key. Maybe there's some halfway point. -Miles -- "1971 pickup truck; will trade for guns"