From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Trevor Murphy Newsgroups: gmane.emacs.bugs Subject: bug#18712: 24.3; IELM fails to move point in a working buffer that is also displayed Date: Fri, 17 Oct 2014 15:05:18 -0400 Message-ID: <87bnpams9d.fsf@gmail.com> References: <8761fnlioq.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1413572790 30234 80.91.229.3 (17 Oct 2014 19:06:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2014 19:06:30 +0000 (UTC) Cc: 18712@debbugs.gnu.org To: Glenn Morris , Stefan Monnier , Josh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 17 21:06:22 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 1XfCqu-0006zg-Uj for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2014 21:06:17 +0200 Original-Received: from localhost ([::1]:34259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfCqu-0006vO-Ew for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2014 15:06:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfCqm-0006tx-8I for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2014 15:06:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfCqh-0005kA-1i for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2014 15:06:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfCqg-0005k6-UF for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2014 15:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XfCqf-0008OI-U8 for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2014 15:06:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <8761fnlioq.fsf@gmail.com> Resent-From: Trevor Murphy Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Oct 2014 19:06:01 +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.141357273032213 (code B ref 18712); Fri, 17 Oct 2014 19:06:01 +0000 Original-Received: (at 18712) by debbugs.gnu.org; 17 Oct 2014 19:05:30 +0000 Original-Received: from localhost ([127.0.0.1]:47655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XfCq9-0008NV-TY for submit@debbugs.gnu.org; Fri, 17 Oct 2014 15:05:30 -0400 Original-Received: from mail-yh0-f47.google.com ([209.85.213.47]:61226) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XfCq5-0008NI-3N for 18712@debbugs.gnu.org; Fri, 17 Oct 2014 15:05:26 -0400 Original-Received: by mail-yh0-f47.google.com with SMTP id c41so637431yho.34 for <18712@debbugs.gnu.org>; Fri, 17 Oct 2014 12:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; bh=CSRxoE25xUaFuzAIASO+GWm13dZrb9igjC4UbliZhbk=; b=CsS7BvNiOGJHYczhrxHIXL+RqTxqa7SoSDwoqgStyG6TxB0V1A13Z6L5CgRFdIYKMs 36Fp6a7Tozli/VsGha5KU3hYSRUJTSb3j0084TONmmfc0PVYLy86EU4HRW3okcHobGhL 2oP44Sz1nCD4Yvd8k7RBainPdMwqX8Z+ZhCJuElybhkgDs9mYZPl0t61/X+r9rm/bWDM tlbx75oI99MMGgTyXVBZbKifEs34fPUtmFRv9i1uqv0AFziM3SrLfrpxWXednNPCvP37 MvyJO/Outn7cShOTsF/fMrzBad2g9v2OpvJh1wGTJvQ+5jnDU4PQ+joxI/PE6eghhF/X K7qw== X-Received: by 10.236.45.74 with SMTP id o50mr14429272yhb.68.1413572724376; Fri, 17 Oct 2014 12:05:24 -0700 (PDT) Original-Received: from organize (z65-50-91-81.ips.direcpath.com. [65.50.91.81]) by mx.google.com with ESMTPSA id d60sm3370764yha.39.2014.10.17.12.05.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Oct 2014 12:05:19 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) 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:94689 Glenn Morris writes: > I think this is not a bug; you are seeing the difference between > "window point" and "point". See section "Windows and Point" in > the elisp manual. Thank you for the manual reference, Glenn. Stefan Monnier writes: > > 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'. Window points! That makes so much sense now. Rather than rewrite the `ielm-change-working-buffer' code, I've just after-advised `ielm-send-input' to set the window point in the working buffer. Thanks, all! -- Trevor Murphy GnuPG Key: 0x83881C0A