From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: [Bug] "You can't edit this part of the Custom buffer" Date: Thu, 27 Jul 2006 08:21:32 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1154013872 20562 80.91.229.2 (27 Jul 2006 15:24:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Jul 2006 15:24:32 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 27 17:24:29 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 1G67ic-0006lY-9j for ged-emacs-devel@m.gmane.org; Thu, 27 Jul 2006 17:24:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G67ib-0002Ru-PR for ged-emacs-devel@m.gmane.org; Thu, 27 Jul 2006 11:24:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G67hw-0002DD-JY for emacs-devel@gnu.org; Thu, 27 Jul 2006 11:23:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G67hs-0002Ch-CF for emacs-devel@gnu.org; Thu, 27 Jul 2006 11:23:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G67hs-0002Ce-8O for emacs-devel@gnu.org; Thu, 27 Jul 2006 11:23:24 -0400 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1G67jf-0002hR-34 for emacs-devel@gnu.org; Thu, 27 Jul 2006 11:25:15 -0400 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id k6R4pv70011079 for ; Thu, 27 Jul 2006 09:23:14 -0600 Original-Received: from dradams-lap.us.oracle.com by rcsmt251.oracle.com with ESMTP id 1663010711154013697; Thu, 27 Jul 2006 09:21:37 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Whitelist: TRUE 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:57679 Archived-At: Uh, are you sure this is the right thing to do? IIUC, RMS just added = custom-no-edit, and bound it, to raise an error when you try to edit a = non-editable part of the buffer.=20 Simply removing the binding seems pointless. Perhaps the fix to the new = problem should be to better determine which are the non-editable parts = of the buffer, and make sure the error is only raised there? > In this build from CVS: > > GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600) of 2006-07-26 on = I9300 > > Trying to use the keyboard (e.g. `Ret') to do customization (in a > *Customize Apropos* buffer, for example) fails with the error in = the > title line of this post. =20 =20 2006-07-27 Johan Bockg=C3=A5rd =20 * cus-edit.el (custom-mode-map): Don't bind RET to custom-no-edit. =20 --- cus-edit.el 18 Jul 2006 01:13:54 +0200 1.297 +++ cus-edit.el 27 Jul 2006 15:30:20 +0200=09 @@ -4432,7 +4432,6 @@ (set-keymap-parent map widget-keymap) (define-key map [remap self-insert-command] 'custom-no-edit) - (define-key map "\^m" 'custom-no-edit) (define-key map " " 'scroll-up) (define-key map "\177" 'scroll-down) (define-key map "\C-c\C-c" 'Custom-set) =20