From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: goto-char doesn't stick Date: Wed, 14 Jun 2017 07:05:39 -0700 (PDT) Message-ID: <79e9bd82-8c75-4281-92e8-38719fde9beb@default> References: <03485ABD-CF71-4FF8-B887-ED7607341EBD@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1497449537 21664 195.159.176.226 (14 Jun 2017 14:12:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Jun 2017 14:12:17 +0000 (UTC) To: Eli Zaretskii , emacs-devel@gnu.org, =?utf-8?B?RWxpYXMgTcOlcnRlbnNvbg==?= , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 14 16:12:14 2017 Return-path: Envelope-to: ged-emacs-devel@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 1dL91p-0005P3-4X for ged-emacs-devel@m.gmane.org; Wed, 14 Jun 2017 16:12:13 +0200 Original-Received: from localhost ([::1]:49302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dL91u-000700-Ec for ged-emacs-devel@m.gmane.org; Wed, 14 Jun 2017 10:12:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dL8vf-0001tJ-FT for emacs-devel@gnu.org; Wed, 14 Jun 2017 10:05:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dL8ve-00028A-KH for emacs-devel@gnu.org; Wed, 14 Jun 2017 10:05:51 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:46552) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dL8vY-00026B-Ou; Wed, 14 Jun 2017 10:05:45 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v5EE5fkq029669 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Jun 2017 14:05:41 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v5EE5f2w024028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Jun 2017 14:05:41 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v5EE5fsx008606; Wed, 14 Jun 2017 14:05:41 GMT In-Reply-To: <03485ABD-CF71-4FF8-B887-ED7607341EBD@gnu.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6767.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 156.151.31.81 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215621 Archived-At: > > (set-buffer "z") > > (goto-char LOCATION)) > > > >When I do this, point doesn't move. Or rather, it does move, but after > >the conclusion of the =E2=80=98progn=E2=80=99 form, the cursor returns t= o its original > >location... > > > >Has this behaviour changed recently? >=20 > It's a feature, new in Emacs 26. If you don't like it, turn off > switch-to-buffer-preserve-window-point. Interesting. But why was the default behavior changed to this new behavior possibility?