From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#15929: point position with electric-pair-mode Date: Wed, 07 Sep 2016 22:08:43 -0600 Message-ID: <877fan9gok.fsf@gmail.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473307762 25513 195.159.176.226 (8 Sep 2016 04:09:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2016 04:09:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 15929@debbugs.gnu.org To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 08 06:09:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhqeK-00062w-V2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2016 06:09:17 +0200 Original-Received: from localhost ([::1]:44856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhqeI-00056w-Gk for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2016 00:09:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhqeB-00055c-22 for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 00:09:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhqe6-0001WN-Nh for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 00:09:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhqe6-0001WJ-Jt for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 00:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bhqe6-0004ll-7v for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 00:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Sep 2016 04:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15929 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15929-submit@debbugs.gnu.org id=B15929.147330773818323 (code B ref 15929); Thu, 08 Sep 2016 04:09:02 +0000 Original-Received: (at 15929) by debbugs.gnu.org; 8 Sep 2016 04:08:58 +0000 Original-Received: from localhost ([127.0.0.1]:53050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhqe2-0004lO-HN for submit@debbugs.gnu.org; Thu, 08 Sep 2016 00:08:58 -0400 Original-Received: from mail-it0-f46.google.com ([209.85.214.46]:37430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhqe0-0004l6-8q; Thu, 08 Sep 2016 00:08:56 -0400 Original-Received: by mail-it0-f46.google.com with SMTP id e124so58997088ith.0; Wed, 07 Sep 2016 21:08:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=5tXB6Zc00ZTp7DLru1Wucqh2wzaW9FE1y5/idqI+BNw=; b=PZxmpgyAAXjrZuRH7xM7r8eGmPg8bi+D6iYDnWm0ksYGM60nJ5nvX8OurN0MYVDait +YKQr6gOWyy1hCuVwPKIyTIyxiBlNw0WhbWlTHN75we+BjpMOE7ZxxN+Ce6zsvneK75y Iadv4+fLHgpFK1JTYzBnUvhe7MUNuLuw3gHY2ySdtOebbGZKZqkQ+VrgimRE7ShFLV3b 2SVBuGf6sTNW8D+tERRZZ8pwdiucA5ikQOydL5e3Ksig6zhF2de5WjuT9nvlSJ1eHUxG MfXxa+YHCdmEiwsPwFJkGVrd+VOfz4SB5y5/7RQWlyDGUbXndX4gCkbu/V+YvWw3RQzx hRcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=5tXB6Zc00ZTp7DLru1Wucqh2wzaW9FE1y5/idqI+BNw=; b=BZ/M5bCzs3dizDZyPUV61D6OQbGjvE77trNPvVEtO+0h+Rmzt8cI36JTEhzG79Zmy8 sxaVCA5WNSXH+ylo6voyYM3gohwO4VyYMiQ59KIJ/owvgqwtYu+HMjc+Arcc1DBbHFZP xolL/VOYUMQhJbUl4kroc73cwGDwaBR4Cqsm5/Up0df/WgRxKg/zEibR14ssnWIg8Xrk ldvWngSU4YNRWcNOaPj4DD8/ceDhGyTzLPyDYtBJkW1PSz5XFZnweOOlE2Tv4vaklbON AR5JW8pGacPS8/pVCgm8fMZuPULjTbMxPPVMGoRU7f6/n0AkKlLm9mM/a1SXBU/p0r5h cZxg== X-Gm-Message-State: AE9vXwOQ8LCYLlrQ0tcRJdhrjxLmxR2ECxR99PRMTnxdzYlpqYDdUo76eBCgWSP/TSIp7g== X-Received: by 10.36.184.65 with SMTP id m62mr12545372ite.55.1473307730444; Wed, 07 Sep 2016 21:08:50 -0700 (PDT) Original-Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id p7sm5493843itg.14.2016.09.07.21.08.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Sep 2016 21:08:50 -0700 (PDT) In-Reply-To: (Dan Nicolaescu's message of "Tue, 19 Nov 2013 14:51:16 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:123078 Archived-At: close 15929 24.4 quit Dan Nicolaescu writes: > emacs -Q > M-x electric-pair-mode RET > > f o o C-SPC C-a > > The point should now be at the beginning of a line that contains the > string: foo > > Typing " inserts quotes around foo, but the point is moved to the end of > the line. After inserting a pair, the point is moved after the last > item in the pair, regardless if the point was at the begging of the > region. > > It would be better if the point stayed in the same location. Or at > least offer a configuration variable to allow that behavior. > > Thanks > > This appears to have been fixed in 24.4.