From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Josh Newsgroups: gmane.emacs.bugs Subject: bug#18712: 24.3; IELM fails to move point in a working buffer that is also displayed Date: Tue, 14 Oct 2014 12:57:53 -0700 Message-ID: References: <8761fnlioq.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2d9dc12517e050567706c X-Trace: ger.gmane.org 1413316770 5166 80.91.229.3 (14 Oct 2014 19:59:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2014 19:59:30 +0000 (UTC) Cc: Trevor Murphy , 18712@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 14 21:59:23 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 1Xe8Fb-0005DD-Ow for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Oct 2014 21:59:19 +0200 Original-Received: from localhost ([::1]:40219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xe8FZ-00039R-CU for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Oct 2014 15:59:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xe8FS-00039I-D2 for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2014 15:59:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xe8FL-0000X7-90 for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2014 15:59:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xe8FL-0000X3-5y for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2014 15:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xe8FK-0000ho-G0 for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2014 15:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Josh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Oct 2014 19:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18712 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 18712-submit@debbugs.gnu.org id=B18712.14133167072639 (code B ref 18712); Tue, 14 Oct 2014 19:59:02 +0000 Original-Received: (at 18712) by debbugs.gnu.org; 14 Oct 2014 19:58:27 +0000 Original-Received: from localhost ([127.0.0.1]:43526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xe8Ek-0000gV-TU for submit@debbugs.gnu.org; Tue, 14 Oct 2014 15:58:27 -0400 Original-Received: from mail-ob0-f178.google.com ([209.85.214.178]:45893) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xe8Ei-0000gJ-Da for 18712@debbugs.gnu.org; Tue, 14 Oct 2014 15:58:25 -0400 Original-Received: by mail-ob0-f178.google.com with SMTP id wn1so28032obc.37 for <18712@debbugs.gnu.org>; Tue, 14 Oct 2014 12:58:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=HtRhACs8Yqp66BZMEeQzfpZIhpHD8+romn9U2PRLD+E=; b=VMM4AIdhw/33o2vA4b1Fj2bsmMLiv5S8pLqzsxl/+2//wkRODguABqyoowZ7QZz8uB LZ6PK0kTqPJEeocKzq5bDiP3dqN1mOyn/nBxePrnrAjDpuA4+Rx/PkxcQFRGFmCCboqg 3xfJaua0ozR+6MaydtXHu+S/Ds26AWLXFMynyCd3RwJ/nk6ucAnLAMRSHCQ7PxQRaW8d 65e+Baq/rQrqxU+tN7QkzE+yiPyNjjLpm0xZnRq7yvWee6iYFujtINwQLWwp3JHtst/0 /hWEyKOP3SbqU72PNkVOmL6QU0oUVUsAyZRehaPV+Hhumifico1Lq9uEtHIHVMzgA6UB MdSg== X-Gm-Message-State: ALoCoQn97r5fLqQlhWQAzKLMCCOrZqZldllcnTY9H62C252DYiM8s78IIBjQrfPRq69Mez1rhE5F X-Received: by 10.182.56.163 with SMTP id b3mr3792385obq.54.1413316703561; Tue, 14 Oct 2014 12:58:23 -0700 (PDT) Original-Received: by 10.202.102.32 with HTTP; Tue, 14 Oct 2014 12:57:53 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: H8DvqKKXcI349aZj4DL5qNLbEvU 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:94494 --001a11c2d9dc12517e050567706c Content-Type: text/plain; charset=UTF-8 On Tue, Oct 14, 2014 at 11:53 AM, Stefan Monnier wrote: > > Is this a bug? > > No, but it's a common trap. Every buffer has as many "points" as it has > windows displaying it (plus one for the buffer itself). > So if you want to move point in a specific window, you need to either > select the window before moving, or use `set-window-point'. > What would be involved in implementing something like a `ielm-change-working-window-buffer' that behaved as the OP expected? --001a11c2d9dc12517e050567706c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Tue, Oct 14, 2014 at 11:53 AM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> Is this a bug= ?

No, but it's a common trap.=C2=A0 Every buffer has as many "points= " as it has
windows displaying it (plus one for the buffer itself).
So if you want to move point in a specific window, you need to either
select the window before moving, or use `set-window-point'.

What would be involved in implementing something like a=C2=A0
`ie= lm-change-working-window-buffer' that behaved as the OP=C2=A0
expected?


--001a11c2d9dc12517e050567706c--