From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simon Law Newsgroups: gmane.emacs.bugs Subject: bug#11520: 24.1.50; delete-selection-mode conflicts with electric-pair-mode Date: Sat, 19 May 2012 16:07:56 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1337458186 10824 80.91.229.3 (19 May 2012 20:09:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 May 2012 20:09:46 +0000 (UTC) To: 11520@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 19 22:09:45 2012 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 1SVpy9-0003mC-RD for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 May 2012 22:09:42 +0200 Original-Received: from localhost ([::1]:55623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVpy9-0008WN-2d for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 May 2012 16:09:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVpy5-0008W0-Ez for bug-gnu-emacs@gnu.org; Sat, 19 May 2012 16:09:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVpy3-0008Ag-2O for bug-gnu-emacs@gnu.org; Sat, 19 May 2012 16:09:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVpy2-0008AJ-Ui for bug-gnu-emacs@gnu.org; Sat, 19 May 2012 16:09:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SVpyU-0003tA-49 for bug-gnu-emacs@gnu.org; Sat, 19 May 2012 16:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simon Law Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 May 2012 20:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11520 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.133745816514888 (code B ref -1); Sat, 19 May 2012 20:10:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 May 2012 20:09:25 +0000 Original-Received: from localhost ([127.0.0.1]:34690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SVpxs-0003s4-08 for submit@debbugs.gnu.org; Sat, 19 May 2012 16:09:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45492) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SVpxW-0003rF-J2 for submit@debbugs.gnu.org; Sat, 19 May 2012 16:09:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVpww-00086A-Mb for submit@debbugs.gnu.org; Sat, 19 May 2012 16:08:28 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:36955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVpww-000865-J6 for submit@debbugs.gnu.org; Sat, 19 May 2012 16:08:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVpwu-0008Ug-4n for bug-gnu-emacs@gnu.org; Sat, 19 May 2012 16:08:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVpwq-00085M-OR for bug-gnu-emacs@gnu.org; Sat, 19 May 2012 16:08:23 -0400 Original-Received: from mail-bk0-f41.google.com ([209.85.214.41]:50460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVpwq-00084m-Ds for bug-gnu-emacs@gnu.org; Sat, 19 May 2012 16:08:20 -0400 Original-Received: by bkcjm19 with SMTP id jm19so2845803bkc.0 for ; Sat, 19 May 2012 13:08:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=8vr+3jjMirlKYSP6fx4wka2d0ZRk/VI/RZZcqRU3HRY=; b=h3pSHx3ePUKl9/IvSGgw55GmQ429CUoBQ6amvNjmrZbPeGD75onmHZbTpN4EVHxE34 w/aypjt5hcwY3b6eHa1saeNx12FY4SX7m7zPTgVrOMaWdSU6Dc9WsR1wi/8ziKFdctBl K7b/h6I/oZALH3XkRLh+LqlzCqQxYbM82MTfC9hxX7+HAwyubieHpnruOkcIWZNyetEG s1wVgPHzxbVyr0Y3ejrJMaEYsNnbwWrdLp20+cuTodooXivh5cHYpuJ/e2JgHHzqOwjV eMbxrFZEomdifmDtFRZo49KjlyvCv/rBi/y04o2PN4v8XU51tlKmkjYDoNU+mUf0bsGM irMQ== Original-Received: by 10.205.127.140 with SMTP id ha12mr5520724bkc.105.1337458096859; Sat, 19 May 2012 13:08:16 -0700 (PDT) Original-Received: by 10.204.185.208 with HTTP; Sat, 19 May 2012 13:07:56 -0700 (PDT) X-Originating-IP: [184.175.19.162] X-Gm-Message-State: ALoCoQkD/SIZkckb1ySndu+qVO39T3Z2fYIsQ72KfjDAX83gTccNEs/tgRFWLfN3vTHu27xxDrwH X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:60223 Archived-At: delete-selection-mode clobbers text before electric-pair-mode can get to it. Since they are both built-in to Emacs, the modes should be aware of each other. Reproduction steps: $ emacs -Q M-x electric-pair-mode M-x delete-selection-mode ;; Type "a line of text"" C-SPC C-a ;; At this point, you should have the line of text selected ( Expected result: (a line of text) Actual result: )( In GNU Emacs 24.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.2.0) of 2012-05-10 on charichuelo, modified by Debian (emacs-snapshot package, version 2:20120510-1~ppa1~oneiric1) Windowing system distributor `The X.Org Foundation', version 11.0.11004000 Configured using: `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/lib' '--localstatedir=3D/var' '--infodir=3D/usr/share/info' '--mandir=3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs-snapshot:/etc/emacs:/usr/local/share/= emacs/24.1.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/2= 4.1.50/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-crt-dir=3D/usr/lib/x86_64-linux-gnu/' '--with-x=3Dyes' '--with-x-toolkit=3Dgtk3' '--with-imagemagick=3Dyes' 'build_alias=3Dx86_64-linux-gnu' 'host_alias=3Dx86_64-linux-gnu' 'CFLAGS=3D-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=3D5000 -g -O2' 'LDFLAGS=3D-g -Wl,--as-needed -znocombreloc' 'CPPFLAGS=3D'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: en_CA.UTF-8 value of $LC_CTYPE: en_CA.UTF-8 value of $LC_MESSAGES: en_CA.UTF-8 value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_CA.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: outline-minor-mode: t whitespace-mode: t flyspell-mode: t fci-mode: t ido-ubiquitous-mode: t helm-dired-mode: Enable helm completion in Dired functions. Bindings affected are C, R, S, H. This is deprecated for Emacs24+ users, use `helm-mode' instead. helm-match-plugin-mode: t projectile-mode: t projectile-global-mode: t yas/global-mode: t yas/minor-mode: t icomplete-mode: t volatile-highlights-mode: t show-paren-mode: t shell-dirtrack-mode: t recentf-mode: t savehist-mode: t electric-pair-mode: t global-auto-revert-mode: t prelude-mode: t prelude-global-mode: t which-function-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: n t a x SPC - t a b l e c u r r e n t - s y n t a l i s p - m o d e - s y n C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v M-< C-s ( C-n C-n C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v M-v M-v C-x b C-s s y n t a x - t a b l e C-s C-n C-p C-n C-p C-p C-x o C-h v s y n t a x - t a b l e C-g C-g C-n C-x o M-< C-s s y n t a x - t a b l e C-s C-n C-p C-x o C-h f s y n t a x - t a b l e C-x o q C-x o C-x o M-: M-( a r e f M-b C-b C-k l a s t - c o m m a n d - e v e n t M-: M-p C-k ( a r e f SPC ( s y n t a x - t a b l e ) SPC ? ( \ ( C-x o C-n C-n C-n C-n C-p C-p C-p M-v M-v C-v C-v C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-v C-v M-v M-v M-x r e p o r t - b u g C-g C-g M-x r e p o r t - e m a c s - b u g Recent messages: byte-code: End of buffer Mark set Mark saved where search started (No changes need to be saved) Type "q" in help window to restore its previous buffer. (No changes need to be saved) 13 (#o15, #xd) Character to escape: ( (4 . 41) Quit Quit Load-path shadows: /usr/share/emacs/24.1.50/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /home/sfllaw/.emacs.d/elpa/python-20120430/python hides /usr/share/emacs/24.1.50/lisp/progmodes/python /home/sfllaw/.emacs.d/elpa/magit-20120507/.dir-locals hides /usr/share/emacs/24.1.50/lisp/gnus/.dir-locals Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail cua-base jka-compr cus-start cus-load add-log flymake-cursor debug hippie-exp multi-isearch rainbow-mode eldoc paredit prelude-emacs-lisp-autoloads prelude-lisp prelude-lisp-autoloads autoload find-func pp python mule-util executable time-stamp vc-git mail-utils network-stream starttls url-http tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-cache url-auth noutline outline whitespace flyspell ispell melpa multi-term term disp-table ehelp python-el-fgallina-expansions flymake fill-column-indicator ido-ubiquitous prelude-global-keybindings prelude-editor re-builder midnight helm-projectile helm-config helm-misc helm-files image-dired dired-x dired-aux ffap helm-tags helm-bookmark helm-adaptative helm-info helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap helm-plugin helm-locate helm-help helm-match-plugin helm-grep helm-regexp grep helm-external helm-buffers rx helm-elscreen helm-utils dired compile helm projectile yasnippet help-mode view assoc expand-region expand-region-custom expand-region-core icomplete ido etags volatile-highlights hl-line paren windmove tramp-cache tramp-sh tramp tramp-compat auth-source gnus-util mm-util mail-prsvr password-cache shell pcomplete comint ansi-color ring format-spec tramp-loaddefs recentf tree-widget wid-edit savehist saveplace uniquify electric autorevert delsel prelude-mode easy-mmode easymenu edmacro kmacro prelude-core repeat thingatpt prelude-ui zenburn-theme prelude-packages ack-and-a-half-autoloads expand-region-autoloads flymake-css-autoloads flymake-cursor-autoloads gist-autoloads gh-autoloads eieio helm-projectile-autoloads helm-autoloads ido-ubiquitous-autoloads less-css-mode-autoloads logito-autoloads magithub-autoloads magit-autoloads markdown-mode-autoloads mediawiki-autoloads melpa-autoloads byte-opt warnings bytecomp byte-compile cconv macroexp advice help-fns advice-preload multi-term-autoloads paredit-autoloads pcache-autoloads finder-inf pony-mode-autoloads prelude-programming-autoloads which-func imenu projectile-autoloads python-autoloads python-magic-autoloads rainbow-mode-autoloads volatile-highlights-autoloads yasnippet-autoloads zenburn-theme-autoloads package cl time-date tooltip 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 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 loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --=20 Cheers, Simon -=C2=A0http://ca.linkedin.com/in/sfllaw/