From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: bind faces? Date: Sun, 14 May 2006 06:10:48 +0200 Message-ID: <854pzt5jqv.fsf@lola.goethe.zz> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147579916 14915 80.91.229.2 (14 May 2006 04:11:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 May 2006 04:11:56 +0000 (UTC) Cc: Emacs-Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 14 06:11:53 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ff7xL-00022K-CW for ged-emacs-devel@m.gmane.org; Sun, 14 May 2006 06:11:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ff7xK-00014J-IL for ged-emacs-devel@m.gmane.org; Sun, 14 May 2006 00:11:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ff7x8-00013k-65 for emacs-devel@gnu.org; Sun, 14 May 2006 00:11:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ff7x7-00013N-Kt for emacs-devel@gnu.org; Sun, 14 May 2006 00:11:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ff7x7-00013C-Hw for emacs-devel@gnu.org; Sun, 14 May 2006 00:11:33 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Ff7zE-0007d5-CF for emacs-devel@gnu.org; Sun, 14 May 2006 00:13:44 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1Ff7x7-00081e-26; Sun, 14 May 2006 00:11:33 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 83B9D1C0C90F; Sun, 14 May 2006 06:10:49 +0200 (CEST) Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Sat, 13 May 2006 20:13:15 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:54429 Archived-At: "Drew Adams" writes: > > Why exactly do you want to do this? > > > > I thought I explained that.... Why does anyone want > > to bind variables and functions, as opposed to using > > `unwind-protect', assigning new definitions, and > > restoring afterward? > > "By analogy with" isn't a very compelling reason for a feature. What > I'm asking is: "What is a real-world problem where you would need > such a thing?" > > Emacs-Lisp programming. Any situation where you might want to > redefine a face only temporarily, for use in a particular > context. Is that hard to imagine? That's just a restatement of what you want, but not what for. What is a real-world problem where you would need such a thing? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum