From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#35334: 26.2; Changes to position of point are undone during with-current-buffer if window is visible but not current Date: Sat, 20 Apr 2019 00:10:26 -0400 Message-ID: <8736mduxjh.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="228680"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: 35334@debbugs.gnu.org To: Sean McAfee Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 20 06:11:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hHhLN-000xOu-ST for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Apr 2019 06:11:13 +0200 Original-Received: from localhost ([127.0.0.1]:36650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHhLM-0002TQ-QH for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Apr 2019 00:11:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHhLD-0002SQ-PB for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 00:11:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHhLC-0004PH-T9 for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 00:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59992) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hHhLC-0004Oy-NY for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 00:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hHhLC-0002hH-GJ for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 00:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Apr 2019 04:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35334 X-GNU-PR-Package: emacs Original-Received: via spool by 35334-submit@debbugs.gnu.org id=B35334.155573343510327 (code B ref 35334); Sat, 20 Apr 2019 04:11:02 +0000 Original-Received: (at 35334) by debbugs.gnu.org; 20 Apr 2019 04:10:35 +0000 Original-Received: from localhost ([127.0.0.1]:45303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHhKl-0002gU-G7 for submit@debbugs.gnu.org; Sat, 20 Apr 2019 00:10:35 -0400 Original-Received: from mail-qt1-f176.google.com ([209.85.160.176]:38771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHhKj-0002gG-QR for 35334@debbugs.gnu.org; Sat, 20 Apr 2019 00:10:34 -0400 Original-Received: by mail-qt1-f176.google.com with SMTP id d13so7223863qth.5 for <35334@debbugs.gnu.org>; Fri, 19 Apr 2019 21:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=N/ZEmvYWQyFKI/q85mIRchh73tf1r1IgHLgdXS8jlRE=; b=itRcPHiXtwbSUW0uY6kdTvJRVyCZ0T7xIst4p9J7qzVe+y4XHoV7AEHDeugHOYrJW6 koukWXGNETflwwWokWsF/QLsqZxmIT6Oyrxdw7MrGOcNtuB0e/unvaf7a/ZE6E81jyJl 0dNNKU110KHvsi8C1gDcJD7Cp+4bDjrkOj6xLTeIosjsu4yShL7b7PcH75LXmCISMQt0 puyhLZNYuBvZhHEyhLOqsWTxCjFTZxF7VF6decpIBvkmDrl1dJ2fIP9npJAgnjgkn/Qv CnlXt8xuqUkHkgiYD8wNGarxkEZYys8tDhwlM9Ad455xmb/WVlDv3+hbC14VoiaMTDc+ u35w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=N/ZEmvYWQyFKI/q85mIRchh73tf1r1IgHLgdXS8jlRE=; b=p5/+vq8cJ2ZtRiWLksao+SfZuhxJ8EEGvn0+sOxklldNCh2CHVIhxxDngl/sXaEJHb DiE3pLyEcBFdcqSZIEngmoYWSXe4n5DqK7F9u4/tXOtmHewCNAqOHPCt9E+mxr4T8klQ nVyteMxl1+DTLPtIv2jutewPAERAykDUEvGq8LiHu/V6eaXvIuHvQPdCea+SiFehF9Zb 7arxuB9FMEkCNxVYY8rtWYVO+eL/0eEPtKHaKGG2qFYjwnstcqRJz7zuHWR80uIHtEfJ BU2pGjPtQtdAb7U+qMcBsVBJOPJuDtc0x4AZO7WFnyJv0Wr9RR8ENi39v1oUzfaL3dM4 q/GQ== X-Gm-Message-State: APjAAAVCv+tABsktoZ11jM2nSTCV9wJ6PJi5XgSlGZviRBR+VJ1BnwWW VjLYr4PKzgYhLAiucxyFGj7LsnVD X-Google-Smtp-Source: APXvYqxFblcCvIuPlnLqK0vM/ECc9+j3lbexjxtd6Wi2rfPLTPFvwzupAHYHtgebXzViRPMTPrKnBw== X-Received: by 2002:ac8:1c55:: with SMTP id j21mr6531716qtk.368.1555733428086; Fri, 19 Apr 2019 21:10:28 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id e33sm3957352qta.0.2019.04.19.21.10.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Apr 2019 21:10:27 -0700 (PDT) In-Reply-To: (Sean McAfee's message of "Fri, 19 Apr 2019 21:00:02 -0700") 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: 209.51.188.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:157882 Archived-At: Sean McAfee writes: > I would expect point to move to position 8 in both cases, and I don't > see anything in the documentation for with-current-buffer or goto-char > to suggest that it ever wouldn't. How about in (elisp) Window Point? * Selecting a window sets the value of point in its buffer from the window's value of point. Conversely, deselecting a window sets the window's value of point from that of the buffer.