From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: RE: 23.0.60; M-( and M-) should not be bound in ESC map Date: Wed, 9 Apr 2008 15:15:02 -0700 Message-ID: <003d01c89a8f$2899fb80$c2b22382@us.oracle.com> References: <003801c89a85$fcd95ad0$c2b22382@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207779351 26763 80.91.229.12 (9 Apr 2008 22:15:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Apr 2008 22:15:51 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: "'Andreas Schwab'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 10 00:16:24 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 1Jjiab-0005sV-WA for ged-emacs-devel@m.gmane.org; Thu, 10 Apr 2008 00:16:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JjiZy-0007Hn-6O for ged-emacs-devel@m.gmane.org; Wed, 09 Apr 2008 18:15:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JjiZt-0007HV-8E for emacs-devel@gnu.org; Wed, 09 Apr 2008 18:15:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JjiZs-0007HE-AA for emacs-devel@gnu.org; Wed, 09 Apr 2008 18:15:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JjiZs-0007H6-5D for emacs-devel@gnu.org; Wed, 09 Apr 2008 18:15:36 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JjiZr-0006Ea-UX for emacs-devel@gnu.org; Wed, 09 Apr 2008 18:15:36 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JjiZr-0003bW-KI for emacs-pretest-bug@gnu.org; Wed, 09 Apr 2008 18:15:35 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JjiZl-0006Dl-TW for emacs-pretest-bug@gnu.org; Wed, 09 Apr 2008 18:15:35 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JjiZl-0006DV-AG for emacs-pretest-bug@gnu.org; Wed, 09 Apr 2008 18:15:29 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m39MFPF2028599; Wed, 9 Apr 2008 17:15:25 -0500 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m39H23ls011945; Wed, 9 Apr 2008 16:15:24 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3644979371207779301; Wed, 09 Apr 2008 15:15:01 -0700 Original-Received: from dradamslap1 (/130.35.178.194) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 09 Apr 2008 15:15:00 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AciaiXVYb4hcJwniR2efXoa3W7eulgABLjpQ X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:94818 gmane.emacs.pretest.bugs:21953 Archived-At: > > This is is not a good idea. `insert-parentheses' and > > `move-past-close-and-reindent' should be bound only for programming > > modes for which they actually make sense. > > Inserting pairs of parentheses makes sense pretty much everywhere. Of course inserting parentheses can make sense in many contexts. These bindings do not, however. It's about the bindings, not about inserting parens: you can insert parentheses without these bindings. Accidentally hitting M-( or M-) (not difficult to do) can give you inopportune error messages. See the bug report. Balancing parens is important for programming languages that allow nested parens. Any miniscule advantage gained by adding such a feature to other contexts (e.g. ordinary text) is outweighed by the confusing error messages that users will wonder about.