From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: yynyygy@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#16822: 24.3.50; show-paren-mode adds confusion to active region Date: Thu, 20 Feb 2014 15:40:51 +0800 Message-ID: <874n3utenw.fsf@gentoo.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392882300 8034 80.91.229.3 (20 Feb 2014 07:45:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Feb 2014 07:45:00 +0000 (UTC) To: 16822@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 20 08:45:08 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WGOJg-0007No-8U for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Feb 2014 08:45:08 +0100 Original-Received: from localhost ([::1]:36764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGOJf-0000sg-UZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Feb 2014 02:45:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGOJc-0000rV-IX for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 02:45:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGOJb-0007vg-Go for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 02:45:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGOJb-0007uE-Co for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 02:45:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WGOJa-0001r5-86 for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 02:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: yynyygy@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Feb 2014 07:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16822 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13928822557045 (code B ref -1); Thu, 20 Feb 2014 07:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Feb 2014 07:44:15 +0000 Original-Received: from localhost ([127.0.0.1]:32989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGOIo-0001pY-7M for submit@debbugs.gnu.org; Thu, 20 Feb 2014 02:44:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42902) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGOIk-0001pH-7T for submit@debbugs.gnu.org; Thu, 20 Feb 2014 02:44:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGOId-0007G6-VF for submit@debbugs.gnu.org; Thu, 20 Feb 2014 02:44:04 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGOId-0007G0-SG for submit@debbugs.gnu.org; Thu, 20 Feb 2014 02:44:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGOIc-0000is-Gt for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 02:44:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGOIa-0007FM-43 for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 02:44:02 -0500 Original-Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:41249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGOIZ-0007FF-S0 for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 02:44:00 -0500 Original-Received: by mail-pa0-f51.google.com with SMTP id ld10so1559212pab.24 for ; Wed, 19 Feb 2014 23:43:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=+qCVnX6TgRVAlGK5G0BGWG/rByFcuzVKlLa3b063jI4=; b=dv62D039zex1S0I3M4pago7TZdpPNURCNActUFlTE65txH0YzXlLQe6S7aDtT4KlOu 11AVpl5FsG1RzSMyqU9n21NU72e+8o+8UuVOlhi+X8mDwDQNtBe5uVvva98SteJtf5yT OY+1b3SMH3vxMifS9jimO5wbnv0uO5HHdIoqepIoDQzIkI33v+98RWoO/CqodbItddr8 9uIzg0D+6eqgbQQW3vff2z+yqnXrCMgnXxT8RKTJQEOd35JqZE2MfPy83if/XfjMFdT2 siWr5G8T48hBONwUmYDqIhvWqmrk73bYIglMPPEr3IdvZSLK+0m4nknx9f7cRvIil/Nf rqeA== X-Received: by 10.67.3.68 with SMTP id bu4mr402628pad.144.1392882238160; Wed, 19 Feb 2014 23:43:58 -0800 (PST) Original-Received: from gentoo ([2001:250:401:1172:9a4b:e1ff:feb8:30d8]) by mx.google.com with ESMTPSA id u6sm7970313pbu.16.2014.02.19.23.42.11 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 19 Feb 2014 23:42:14 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85934 Archived-At: When show-paren-mode is on, it adds confusion to the active region. Suppose I have some text which is (hello), 1. I set the region to (hello and place the cursor on the left paren. 2. I set the region to (hello) and place the cursor on the left paren. Note that in Case 1, the right paren is not part of the region while in Case 2 it is. In the two cases above, I get exactly the same color on the screen, then how can I distinguish between these two different cases? Compared to the more rational behavior of Emacs 24.3, I think the paren which is part of the region should have the same color with the region while the paren which is not part of the region can has matching paren color. In this way, the user can tell which part is selected and which part is not. In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 3.8.7) of 2014-02-19 on gentoo Windowing system distributor `The X.Org Foundation', version 11.0.11403000 Configured using: `configure --prefix=/usr/local/emacs/' Important settings: value of $LC_COLLATE: C value of $LC_CTYPE: zh_CN.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Messages Minor modes in effect: tooltip-mode: t electric-indent-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-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r M s h o w - p a r e n - m o d e SPC a d d SPC c o n f s SPC c o n f u s i o C-g C-h f t r a n s i C-x o C-n C-n C-n C-n C-n C-n C-n C-l C-n C-n C-n C-n C-n C-n C-l C-n C-n C-n C-n C-l C-n C-n C-n C-l C-n C-n C-n C-l q M-x r e C-g C-x b M-x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Quit Type C-x 1 to delete the help window, C-M-v to scroll help. Quit Making completion list... [2 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils help-mode easymenu time-date china-util tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)