From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 13 18:30:39 2014 Received: (at submit) by debbugs.gnu.org; 13 Oct 2014 22:30:39 +0000 Received: from localhost ([127.0.0.1]:42943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xdo8U-0008F0-2I for submit@debbugs.gnu.org; Mon, 13 Oct 2014 18:30:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50958) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xdnul-0007s7-8i for submit@debbugs.gnu.org; Mon, 13 Oct 2014 18:16:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xdnuf-0004i6-1v for submit@debbugs.gnu.org; Mon, 13 Oct 2014 18:16:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xdnue-0004i2-Um for submit@debbugs.gnu.org; Mon, 13 Oct 2014 18:16:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdnuY-0006rw-PN for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 18:16:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdnuS-0004gd-Ox for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 18:16:14 -0400 Received: from mail-yh0-x22e.google.com ([2607:f8b0:4002:c01::22e]:64736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdnuS-0004gX-Jd for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 18:16:08 -0400 Received: by mail-yh0-f46.google.com with SMTP id f73so4006027yha.19 for ; Mon, 13 Oct 2014 15:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=yZLWLWRtrpdDNgNUz1pct/c+u7WExQZXM7GH0zah1cg=; b=Lrx0RpnkbHTLzspcrrLn/b5adRIN0GcgNwZbAau8IadA6zqAvpeubw9RX2acrlzdPs mmWjO8GgYOydXkuh5MWVgLMAm1FQwVUjTcVYKF3/5CG7x9flsz7BdivrKzllzW4Rw2C8 9dIVtAQNLis2dtgqJ6SaOaMnHnCMv7l75uWkYWtHXu0tswB7kbqNUX87Z3dwXPclQ0Ek PI2+jV2Ng+tLeGWqrFVCpcxcI1BP35TbCJJHVgbD11sSY1sTQNRTq+tjiX0AbQVyaLll mJhKfizLqrcEiWS9z4bBZMTdJhWlsX9ftlNEbd30FORkqcMAnYTfakHHygIJaYpVKRar IbNg== X-Received: by 10.236.2.34 with SMTP id 22mr1326449yhe.124.1413238567769; Mon, 13 Oct 2014 15:16:07 -0700 (PDT) Received: from organize (z65-50-91-81.ips.direcpath.com. [65.50.91.81]) by mx.google.com with ESMTPSA id n36sm7183514yhp.49.2014.10.13.15.16.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Oct 2014 15:16:06 -0700 (PDT) From: Trevor Murphy To: bug-gnu-emacs@gnu.org Subject: 24.3; IELM fails to move point in a working buffer that is also displayed Date: Mon, 13 Oct 2014 18:16:05 -0400 Message-ID: <8761fnlioq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 13 Oct 2014 18:30:36 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hi, list. I just noticed the following. If I start from `emacs -Q', then go: 1. M-x ielm RET 2. C-c C-b *scratch* RET 3. Type `(goto-char 1)' at the ELISP prompt and hit RET 4. C-x 4 C-o *scratch* RET Then I see the *scratch* buffer in the other window with its point on the first character in the buffer (the first `;' on the first line). However, if I reverse the order of steps (3) and (4) above, again starting from `emacs -Q': 1. M-x ielm RET 2. C-c C-b *scratch* RET 3. C-x 4 C-o *scratch* RET 4. Type `(goto-char 1)' at the ELISP prompt and hit RET Then I see the *scratch* buffer in the other window with its point unmoved (still at the start of the second line after the initial scratch message). Is this a bug? And, if so, is it reproducible given the info below? Thanks in advance. In GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.12.2) of 2014-06-11 on var-lib-archbuild-staging-i686-jgc Windowing system distributor `The X.Org Foundation', version 11.0.11601000 System Description: Arch Linux Configured using: `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft' 'CFLAGS=-march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t -- Trevor Murphy GnuPG Key: 0x83881C0A From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 14 11:41:12 2014 Received: (at 18712) by debbugs.gnu.org; 14 Oct 2014 15:41:12 +0000 Received: from localhost ([127.0.0.1]:43424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xe4Dn-0005v3-KP for submit@debbugs.gnu.org; Tue, 14 Oct 2014 11:41:11 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:33883) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xe4Dk-0005ut-GG for 18712@debbugs.gnu.org; Tue, 14 Oct 2014 11:41:09 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Xe4Di-0005Ie-Tl; Tue, 14 Oct 2014 11:41:06 -0400 From: Glenn Morris To: Trevor Murphy Subject: Re: bug#18712: 24.3; IELM fails to move point in a working buffer that is also displayed References: <8761fnlioq.fsf@gmail.com> X-Spook: Mena ANZUS Forte HAMASMOIS pink noise Taiwan BROMURE Uzi X-Ran: $k)7PUv@%Hl-%_q:>(a`B<;i?JG)\\+F|nlqfHkBE6C8'OjXCHv>J_w@m*s15,Uh,)L_-- X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 14 Oct 2014 11:41:06 -0400 Message-ID: <087g02k6b1.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 18712 Cc: 18712@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Trevor Murphy wrote: > 1. M-x ielm RET > 2. C-c C-b *scratch* RET > 3. Type `(goto-char 1)' at the ELISP prompt and hit RET > 4. C-x 4 C-o *scratch* RET > > Then I see the *scratch* buffer in the other window with its point on > the first character in the buffer (the first `;' on the first line). > > However, if I reverse the order of steps (3) and (4) above, again > starting from `emacs -Q': > 1. M-x ielm RET > 2. C-c C-b *scratch* RET > 3. C-x 4 C-o *scratch* RET > 4. Type `(goto-char 1)' at the ELISP prompt and hit RET > > Then I see the *scratch* buffer in the other window with its point > unmoved (still at the start of the second line after the initial > scratch message). 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 14 11:44:16 2014 Received: (at control) by debbugs.gnu.org; 14 Oct 2014 15:44:16 +0000 Received: from localhost ([127.0.0.1]:43434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xe4Gm-000639-90 for submit@debbugs.gnu.org; Tue, 14 Oct 2014 11:44:16 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:33976) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xe4Gk-000632-GU for control@debbugs.gnu.org; Tue, 14 Oct 2014 11:44:14 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Xe4Gk-0005sK-9X for control@debbugs.gnu.org; Tue, 14 Oct 2014 11:44:14 -0400 Date: Tue, 14 Oct 2014 11:44:14 -0400 Message-Id: Subject: control message for bug 18712 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tag 18712 notabug From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 14 14:53:57 2014 Received: (at 18712) by debbugs.gnu.org; 14 Oct 2014 18:53:58 +0000 Received: from localhost ([127.0.0.1]:43507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xe7EL-0006Vy-EL for submit@debbugs.gnu.org; Tue, 14 Oct 2014 14:53:57 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:37418) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xe7EI-0006Vn-SR for 18712@debbugs.gnu.org; Tue, 14 Oct 2014 14:53:55 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s9EIrrHM017903; Tue, 14 Oct 2014 14:53:53 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 6C20B66089; Tue, 14 Oct 2014 14:53:53 -0400 (EDT) From: Stefan Monnier To: Trevor Murphy Subject: Re: bug#18712: 24.3; IELM fails to move point in a working buffer that is also displayed Message-ID: References: <8761fnlioq.fsf@gmail.com> Date: Tue, 14 Oct 2014 14:53:53 -0400 In-Reply-To: <8761fnlioq.fsf@gmail.com> (Trevor Murphy's message of "Mon, 13 Oct 2014 18:16:05 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV5094=0 X-NAI-Spam-Version: 2.3.0.9378 : core <5094> : inlines <1396> : streams <1316782> : uri <1824902> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 18712 Cc: 18712@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) > 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'. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 14 15:58:27 2014 Received: (at 18712) by debbugs.gnu.org; 14 Oct 2014 19:58:27 +0000 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 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 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) MIME-Version: 1.0 Received: by 10.202.102.32 with HTTP; Tue, 14 Oct 2014 12:57:53 -0700 (PDT) In-Reply-To: References: <8761fnlioq.fsf@gmail.com> From: Josh Date: Tue, 14 Oct 2014 12:57:53 -0700 X-Google-Sender-Auth: H8DvqKKXcI349aZj4DL5qNLbEvU Message-ID: Subject: Re: bug#18712: 24.3; IELM fails to move point in a working buffer that is also displayed To: Stefan Monnier Content-Type: multipart/alternative; boundary=001a11c2d9dc12517e050567706c X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18712 Cc: Trevor Murphy , 18712@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --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-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 14 19:49:17 2014 Received: (at 18712) by debbugs.gnu.org; 14 Oct 2014 23:49:17 +0000 Received: from localhost ([127.0.0.1]:43706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XeBq8-0004Ud-BI for submit@debbugs.gnu.org; Tue, 14 Oct 2014 19:49:16 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:41215) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XeBq5-0004UQ-R1 for 18712@debbugs.gnu.org; Tue, 14 Oct 2014 19:49:14 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNFxKjo/2dsb2JhbABZgwaDSsA1CIEXF3SCJQEBAQECAVYjBQsLNBIUGA0kiAQI0hkXjnoHhDgBA6kZgWqBcYFbIQ X-IPAS-Result: ArYGAIDvNVNFxKjo/2dsb2JhbABZgwaDSsA1CIEXF3SCJQEBAQECAVYjBQsLNBIUGA0kiAQI0hkXjnoHhDgBA6kZgWqBcYFbIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="94220075" Received: from 69-196-168-232.dsl.teksavvy.com (HELO ceviche.home) ([69.196.168.232]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 14 Oct 2014 19:49:13 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 0225C6607F; Tue, 14 Oct 2014 19:49:12 -0400 (EDT) From: Stefan Monnier To: Josh Subject: Re: bug#18712: 24.3; IELM fails to move point in a working buffer that is also displayed Message-ID: References: <8761fnlioq.fsf@gmail.com> Date: Tue, 14 Oct 2014 19:49:12 -0400 In-Reply-To: (josh@foxtail.org's message of "Tue, 14 Oct 2014 12:57:53 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 18712 Cc: Trevor Murphy , 18712@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > What would be involved in implementing something like a > `ielm-change-working-window-buffer' that behaved as the OP > expected? The same kind of code as used in ielm-change-working-buffer. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 17 15:05:30 2014 Received: (at 18712) by debbugs.gnu.org; 17 Oct 2014 19:05:30 +0000 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 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 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) 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) From: Trevor Murphy To: Glenn Morris , Stefan Monnier , Josh Subject: Re: bug#18712: 24.3; IELM fails to move point in a working buffer that is also displayed References: <8761fnlioq.fsf@gmail.com> Date: Fri, 17 Oct 2014 15:05:18 -0400 Message-ID: <87bnpams9d.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18712 Cc: 18712@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 10 20:29:43 2015 Received: (at control) by debbugs.gnu.org; 11 Feb 2015 01:29:44 +0000 Received: from localhost ([127.0.0.1]:39725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YLM7b-0006Kk-8n for submit@debbugs.gnu.org; Tue, 10 Feb 2015 20:29:43 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:41252 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YLM7Y-0006Kc-TF for control@debbugs.gnu.org; Tue, 10 Feb 2015 20:29:41 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YLM7X-0006Qh-Q0 for control@debbugs.gnu.org; Tue, 10 Feb 2015 20:29:40 -0500 Date: Tue, 10 Feb 2015 20:29:39 -0500 Message-Id: Subject: control message for bug 18712 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tag 18712 notabug close 18712 From unknown Sat Aug 16 16:19:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 11 Mar 2015 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator