From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.bugs Subject: bug#5560: 23.1.92; parens matching in c-mode broken Date: Wed, 10 Feb 2010 22:01:05 -0500 Message-ID: <4B60ED87-9CF5-464A-AE3F-C948ADB1C4D2@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-86--212743485" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1265858600 14214 80.91.229.12 (11 Feb 2010 03:23:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Feb 2010 03:23:20 +0000 (UTC) To: 5560@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 11 04:23:16 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NfPe7-0005lq-0r for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Feb 2010 04:23:15 +0100 Original-Received: from localhost ([127.0.0.1]:49263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfPe6-00016m-Ba for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Feb 2010 22:23:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfPe1-00016X-0G for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 22:23:09 -0500 Original-Received: from [199.232.76.173] (port=42789 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfPe0-00016P-Hi for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 22:23:08 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfPdw-0008Km-Mv for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 22:23:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33056) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NfPdw-0008Ho-A4 for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 22:23:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NfPJa-00073A-0a; Wed, 10 Feb 2010 22:02:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: David Reitter Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Feb 2010 03:02:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5560 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: Bug-Gnu-Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.126585728327084 (code B ref -1); Thu, 11 Feb 2010 03:02:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Feb 2010 03:01:23 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfPIw-00072n-Ui for submit@debbugs.gnu.org; Wed, 10 Feb 2010 22:01:23 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfPIu-00072e-PL for submit@debbugs.gnu.org; Wed, 10 Feb 2010 22:01:21 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:52800) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfPIt-0002ct-Nk for submit@debbugs.gnu.org; Wed, 10 Feb 2010 22:01:19 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfPIs-00067S-3j for submit@debbugs.gnu.org; Wed, 10 Feb 2010 22:01:19 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:47402) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NfPIr-00067O-S4 for submit@debbugs.gnu.org; Wed, 10 Feb 2010 22:01:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfPIr-0000W6-8k for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 22:01:17 -0500 Original-Received: from [199.232.76.173] (port=57036 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfPIq-0000Vy-Vn for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 22:01:17 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfPIp-00067C-5t for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 22:01:16 -0500 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:48736) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NfPIo-000678-Qp for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 22:01:15 -0500 Original-Received: by vws4 with SMTP id 4so279269vws.0 for ; Wed, 10 Feb 2010 19:01:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-pgp-agent:x-mailer; bh=DldseJDldri//Igq7+SJyKHihxRqcvVFspzrrtE0Xvc=; b=IiubIwZHrygAytGIMIzB2p/lJXOvc41OHmxnBfE9YXlVVjOxujBj/kSqb38B7oFOEc KkqQge/xg7tZoFTblulfCPX7sYm5dT/sAnJgzA92D+bs21ebm6PXDrQ02YOMihoiYozt AygFm7CyMGbehNHFyfkWrcSSCyx5BNqInW9A0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-pgp-agent:x-mailer; b=Zv7oaA63sypVNH3vbAwoVmZwX8IoXQJhxX3/8zw5c9FVfBfCxKBcE2hz1uXxbAYORH B0mDKTAYy4jF+Q+dR4pQ0MG6c5dg/HQy4rm/bvVHsgKvLeAQp740Eej6quVd2FJyMkvJ 93Z4GTYhD9iz7/80m7vpoixBK/HiFQB660C+Y= Original-Received: by 10.220.107.228 with SMTP id c36mr742840vcp.191.1265857273177; Wed, 10 Feb 2010 19:01:13 -0800 (PST) Original-Received: from ?192.168.1.42? (pool-96-236-181-152.pitbpa.east.verizon.net [96.236.181.152]) by mx.google.com with ESMTPS id 24sm829705vws.16.2010.02.10.19.01.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Feb 2010 19:01:11 -0800 (PST) X-Pgp-Agent: GPGMail 1.2.3 X-Mailer: Apple Mail (2.1077) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 10 Feb 2010 22:02:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35031 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-86--212743485 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Parens matching in C mode is sometimes surprising. In the example below, double-clicking on either of the first two opening parentheses=20 will mark the text until the " hyper_modifier : 0)", but that is = correct only for the second paren, while the first one is unmatched due to a = space following the backslash. #define EV_MODIFIERS(e) \ ((([e modifierFlags] & NSHelpKeyMask) ? \=20 hyper_modifier : 0) \ =20 ... It would be more useful if an "unmatched parentheses" was shown, or if = the region up to the end of the scan process (i.e. the space+newline) = was marked. In GNU Emacs 23.1.92.86 (x86_64-apple-darwin10.2.0, NS = apple-appkit-1038.25) of 2010-02-08 on scarlett.local - Aquamacs Distribution 2.0dev Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns' 'CFLAGS=3D-O0 -g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: ObjC/l Minor modes in effect: diff-auto-refine-mode: t which-function-mode: t savehist-mode: t smart-frame-positioning-mode: t aquamacs-autoface-mode: t recentf-mode: t osx-key-mode: t tabbar-mwheel-mode: t tabbar-mode: t show-paren-mode: t delete-selection-mode: t pc-selection-mode: t cua-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 | =20 | =20 | =20 =20 =20 =20 =20 =E2=8C=98X =20 =E2=8C=98V =20 =20 =20 SPC \ =20 SPC \ =20 =20 ) =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 ) =20 =20 =20 =20 =20 =20 =20 =20 =20 =E2=8C=98S =20 X C - M O D E =20 =20 X O B =E2=8C=98S =20 =E2=8C=98C =20 Recent messages: Auto-saving... Mark set [4 times] Auto-saving...done Auto-saving...done Mark set Auto-saving...done Auto-saving...done Saving file /Users/dr/ae.git/src/nsterm.m... Wrote /Users/dr/ae.git/src/nsterm.m (No changes need to be saved) Load-path shadows: /Users/dr/Library/Preferences/Aquamacs Emacs/Recent Files hides = /Users/dr/Library/Preferences/Aquamacs Emacs/Aquamacs Emacs2/Recent = Files /Users/dr/Library/Preferences/Aquamacs Emacs/Preferences hides = /Users/dr/Library/Preferences/Aquamacs Emacs/Aquamacs Emacs2/Preferences /Users/dr/Library/Preferences/Aquamacs Emacs/places hides = /Users/dr/Library/Preferences/Aquamacs Emacs/Aquamacs Emacs2/places /Users/dr/Library/Preferences/Aquamacs Emacs/minibuffer-history hides = /Users/dr/Library/Preferences/Aquamacs Emacs/Aquamacs = Emacs2/minibuffer-history /Users/dr/Library/Preferences/Aquamacs Emacs/frame-positions hides = /Users/dr/Library/Preferences/Aquamacs Emacs/Aquamacs = Emacs2/frame-positions /Users/dr/Library/Preferences/Aquamacs Emacs/customizations hides = /Users/dr/Library/Preferences/Aquamacs Emacs/Aquamacs = Emacs2/customizations /Library/Application Support/Aquamacs Emacs/JDEE/site-start hides = /Library/Application Support/Aquamacs Emacs/SLIME/site-start /Library/Application Support/Aquamacs Emacs/JDEE/cedet/speedbar/speedbar = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/speedbar /Library/Application Support/Aquamacs Emacs/JDEE/cedet/speedbar/sb-image = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/sb-image /Library/Application Support/Aquamacs Emacs/JDEE/cedet/common/ezimage = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/ezimage /Library/Application Support/Aquamacs Emacs/JDEE/cedet/speedbar/dframe = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/dframe /Library/Application Support/Aquamacs Emacs/JDEE/cedet/eieio/eieio hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= eieio /Library/Application Support/Aquamacs = Emacs/JDEE/cedet/eieio/eieio-speedbar hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= eieio-speedbar /Library/Application Support/Aquamacs Emacs/JDEE/cedet/eieio/eieio-opt = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= eieio-opt /Library/Application Support/Aquamacs = Emacs/JDEE/cedet/eieio/eieio-custom hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= eieio-custom /Library/Application Support/Aquamacs Emacs/JDEE/cedet/eieio/eieio-comp = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= eieio-comp /Library/Application Support/Aquamacs Emacs/JDEE/cedet/eieio/eieio-base = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= eieio-base /Library/Application Support/Aquamacs Emacs/JDEE/cedet/eieio/chart hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= chart /Library/Application Support/Aquamacs Emacs/JDEE/cedet/semantic/semantic = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/cedet/seman= tic /Library/Application Support/Aquamacs Emacs/JDEE/cedet/common/mode-local = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/cedet/mode-= local /Library/Application Support/Aquamacs Emacs/JDEE/cedet/common/inversion = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/cedet/inver= sion /Library/Application Support/Aquamacs Emacs/JDEE/cedet/ede/ede hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/cedet/ede /Library/Application Support/Aquamacs Emacs/JDEE/cedet/common/cedet = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/cedet/cedet= /Library/Application Support/Aquamacs = Emacs/JDEE/cedet/common/cedet-files hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/cedet/cedet= -files /Library/Application Support/Aquamacs Emacs/JDEE/site-start hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/aquamacs/si= te-start Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailabbrev nnheader gnus-util netrc gmm-utils mailheader canlock sha1 hex-util hashcash emacsbug cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs log-edit ring pcvs-util add-log diff-mode vc vc-dispatcher cl-specs edebug multi-isearch jka-compr find-func vc-git url-http tls url-auth mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums url-gw url-cache url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse url-vars mm-util mail-prsvr mailcap mail-utils which-func imenu slime-autoloads load-emacs-plugins aquamacs-mode-defaults auctex-config server tex-site smart-dnd aquamacs-aux savehist mouse-sel one-buffer-one-frame smart-frame-positioning drews_init color-theme-autoloads saveplace visual-line aquamacs-bug aquamacs-autoface-mode aquamacs-editing sendmail recentf tree-widget cus-edit osxkeys emulate-mac-keyboard-mode frame-cmds strings misc-fns thingatpt+ thingatpt frame-fns avoid aquamacs-mac-fontsets fit-frame aquamacs-frame-setup aquamacs-tabbar tabbar-window cl cl-19 tabbar easy-mmode cus-start cus-load load-emacs-pre-plugins aquamacs-site-start cocoa-compatibility filladapt aquamacs-redo check-for-updates aquamacs-menu osx_defaults aquamacs-tool-bar aquamacs mac-extra-functions aquamacs-tools aquamacs-macros parse-time timezone time-date paren delsel pc-select cua-base wid-edit regexp-opt advice advice-preload byte-opt bytecomp byte-compile debug help-fns help-mode view image-file disp-table tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) --Apple-Mail-86--212743485 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.12 (Darwin) iEYEARECAAYFAktzcvUACgkQYotoJUVQB4JSOACfYchiBaEz8P3db6tg/87+efPs nkIAn1VLr7wwemJKR5JuVqfLByE/1Xdj =9b0C -----END PGP SIGNATURE----- --Apple-Mail-86--212743485--