From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel Subject: Two binding features Date: Wed, 07 May 2008 13:35:09 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1210181820 18922 80.91.229.12 (7 May 2008 17:37:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 May 2008 17:37:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 07 19:37:36 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JtnZU-0007Ag-BW for ged-emacs-devel@m.gmane.org; Wed, 07 May 2008 19:36:52 +0200 Original-Received: from localhost ([127.0.0.1]:33950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtnYm-00087o-Bs for ged-emacs-devel@m.gmane.org; Wed, 07 May 2008 13:36:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JtnYV-0007y1-Vf for emacs-devel@gnu.org; Wed, 07 May 2008 13:35:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JtnYU-0007wG-5s for emacs-devel@gnu.org; Wed, 07 May 2008 13:35:51 -0400 Original-Received: from [199.232.76.173] (port=43420 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtnYU-0007w8-0O for emacs-devel@gnu.org; Wed, 07 May 2008 13:35:50 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JtnYT-0008Gf-RI for emacs-devel@gnu.org; Wed, 07 May 2008 13:35:49 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JtnXp-0001Pk-9t; Wed, 07 May 2008 13:35:09 -0400 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:96695 Archived-At: Two primitive features that would be useful for mumamo (and perhaps othere programs) are: * A primitive that would let-bind variables from an alist. I think Common Lisp has such a construct; is that correct? I do not recall its name, though. * A way to temporarily turn off all buffer-local bindings. This could take the form of a variable which you would bind with `let', and when it is non-nil, the buffer-local bindings are not visible. `with-current-buffer' should bind it to nil so that the buffer-local bindings of the newly current buffer always do take effect. It would be ok if certain variables whose values are stored directly in the buffer object, such as `buffer-file-name', fail to be affected by this feature. I think any feature to temporarily switch modes, or pretend to do so, would find these features useful. Could someone implement them?