From unknown Thu Jun 19 14:32:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35334: 26.2; Changes to position of point are undone during with-current-buffer if window is visible but not current Resent-From: Sean McAfee Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Apr 2019 04:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 35334@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15557328279367 (code B ref -1); Sat, 20 Apr 2019 04:01:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Apr 2019 04:00:27 +0000 Received: from localhost ([127.0.0.1]:45296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHhAx-0002R0-7H for submit@debbugs.gnu.org; Sat, 20 Apr 2019 00:00:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHhAw-0002Qo-8I for submit@debbugs.gnu.org; Sat, 20 Apr 2019 00:00:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:39648) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hHhAp-0004xD-HB for submit@debbugs.gnu.org; Sat, 20 Apr 2019 00:00:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHhAn-0000Rq-Vj for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 00:00:19 -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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHhAm-0004uu-4G for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 00:00:17 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:33659) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hHhAl-0004tD-Qw for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2019 00:00:16 -0400 Received: by mail-wr1-x436.google.com with SMTP id k1so7750085wrw.0 for ; Fri, 19 Apr 2019 21:00:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=HYSgTdxWQkltej0gxXC0NwQUm7CYGhD+uev5FFMdpGs=; b=uZVVl4yya6s9niA09c/pZcmX9i8LughdHbDyxA2lcwv3nYNPv6nAKK7OcpxsnsKpdj NQFdCuW+JZx3/VR7/OAj7mK5bG2E2xf5rSWhYA9GQMBvrltJnn2d2+oYpr9IMABOqKh/ 1Ga261XEONM/oVssesHvu657mp0Uj0euVowKeAKGiIKWBULU3pCgCNnYiWYCdKPd42Fz eqZ4Fmftmr4jKuNpa2kS26jaUkJmpaBPnaBCzkHEjdHLBlT6cFaIbNZn5sZPJxNY3h4g pvfgx/bTc2MNUvIyQYeF02Ha4f+/LwzZ5yD3vtfwswRdNpCj1/lr4fzyCtWzaEwfNi0I IUZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=HYSgTdxWQkltej0gxXC0NwQUm7CYGhD+uev5FFMdpGs=; b=n8F1SgmHu4nhy24pOvjEVj9hbLGWcsvBtnBtYOKYcAA0kF6OCwwGRmau7bJs8aEhvL 6UGXi+Kmm9qsS0ZUbmjWI/rkLWxfyQ8Kr6NMnGurYiI0TG4Je7uf4Trk5rVwpvoitU3+ Srtr30UC4Oj2m9V2oOeK4dFgYsbVUIbSpKI8+V8aZN7fI1BWu3CFcMeycwAhIXmy4t00 LdCwGXTMQlAVRzTyfwZWWvaIANTeAxfomZlnq6uLZzQEDsi8rzpOTt8/BkFX6OSx2zBk odtoi8KeTh9cIyUc6Jvf+zZ6KRD8bL2DCNSKhv7D5yCOMsYZDEUvQVa79kAlC67P3Wjw nt8g== X-Gm-Message-State: APjAAAVqiwX88PvUnl75OxxWDiMK9rFm/e2xm6iYaW3ZE0xk6j1EsavM MlYEMuYdwq+O4yA9wXX1N4+hlDsV4j4pRMu8GbVs8b7w X-Google-Smtp-Source: APXvYqz/mVJgwiulFoPdiW0atQR1n0f51jm+UvaZX6cDr4KQhdCKvbBdBPb09YAM6zXaJsKfeVPfjfo5RBuYSyqbd+8= X-Received: by 2002:a5d:5745:: with SMTP id q5mr5358268wrw.118.1555732813623; Fri, 19 Apr 2019 21:00:13 -0700 (PDT) MIME-Version: 1.0 From: Sean McAfee Date: Fri, 19 Apr 2019 21:00:02 -0700 Message-ID: Content-Type: multipart/alternative; boundary="000000000000b8b45c0586ee450d" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::436 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.3 (--) --000000000000b8b45c0586ee450d Content-Type: text/plain; charset="UTF-8" Starting from emacs -Q: Create a new buffer named "a". Insert ten asterisks and move point to the beginning of the buffer. Split the window and select the scratch buffer in one of them, leaving buffer "a" visible in the other. In the scratch buffer, evaluate this Lisp expression: (with-current-buffer "a" (goto-char 5) (insert "foo")) You can see "foo" inserted at position 5 in buffer "a", but point remains at the beginning of the buffer. Go to buffer "a", delete the "foo", and move to the beginning of the buffer again. Go to the scratch buffer and make it the sole visible window. Evaluate the above Lisp expression again. Go to buffer "a". "foo" has been inserted at position 5 as before, but now point is at position 8, after the "foo". 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. In GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2019-04-19 built on SeanMc Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 18.04.2 LTS Recent messages: C-x C-g is undefined C-. is undefined Undo! C-. is undefined nil Undo! Mark activated nil Quit Undo! Configured features: XAW3D XPM JPEG TIFF GIF PNG SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM THREADS LCMS2 Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 96878 15032) (symbols 48 20303 1) (miscs 40 69 168) (strings 32 29315 1561) (string-bytes 1 758564) (vectors 16 14757) (vector-slots 8 508710 8162) (floats 8 51 278) (intervals 56 278 13) (buffers 992 12)) --000000000000b8b45c0586ee450d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Startin= g from emacs -Q:

Create a new buffer named "a".=C2=A0 Inse= rt ten asterisks and move point to
the beginning of the buffer.

S= plit the window and select the scratch buffer in one of them, leaving
bu= ffer "a" visible in the other.=C2=A0 In the scratch buffer, evalu= ate this
Lisp expression:

(with-current-buffer "a" (got= o-char 5) (insert "foo"))

You can see "foo" inse= rted at position 5 in buffer "a", but point
remains at the beg= inning of the buffer.

Go to buffer "a", delete the "f= oo", and move to the beginning of the
buffer again.=C2=A0 Go to the= scratch buffer and make it the sole visible
window.=C2=A0 Evaluate the = above Lisp expression again.=C2=A0 Go to buffer "a".
"foo= " has been inserted at position 5 as before, but now point is at
po= sition 8, after the "foo".

I would expect point to move to= position 8 in both cases, and I don't
see anything in the documenta= tion for with-current-buffer or goto-char
to suggest that it ever wouldn= 't.



In GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, X t= oolkit, Xaw3d scroll bars)
=C2=A0of 2019-04-19 built on SeanMc
Window= ing system distributor 'The X.Org Foundation', version 11.0.1190600= 0
System Description:=C2=A0=C2=A0=C2=A0 Ubuntu 18.04.2 LTS

Recent= messages:
C-x C-g is undefined
C-. is undefined
Undo!
C-. is u= ndefined
nil
Undo!
Mark activated
nil
Quit
Undo!

C= onfigured features:
XAW3D XPM JPEG TIFF GIF PNG SOUND GPM DBUS GSETTINGS= GLIB NOTIFY ACL
LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT = ZLIB
TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM THREADS LCMS2

Importa= nt settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of $XMOD= IFIERS: @im=3Dibus
=C2=A0 locale-coding-system: utf-8-unix

Major = mode: Fundamental

Minor modes in effect:
=C2=A0 tooltip-mode: t=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 m= ouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2= =A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composi= tion-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-m= ode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t
Load-path shadows:
None found.

Features:
(shadow sort mail-e= xtr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile ccon= v cl-loaddefs cl-lib dired dired-loaddefs
format-spec rfc822 mml easymen= u mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmai= l-loaddefs mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev g= mm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prs= vr mail-utils elec-pair time-date
mule-util tooltip eldoc electric uniqu= ify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/com= mon-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-lis= t replace newcomment
text-mode elisp-mode lisp-mode prog-mode register p= age menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock = font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cha= m georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao kor= ean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech europea= n
ethiopic indian cyrillic chinese composite charscript charprop
case= -table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-p= reloaded nadvice loaddefs button faces cus-face macroexp files
text-prop= erties overlay sha1 md5 base64 format env code-pages mule
custom widget = hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynami= c-setting system-font-setting font-render-setting
x-toolkit x multi-tty = make-network-process emacs)

Memory information:
((conses 16 96878= 15032)
=C2=A0(symbols 48 20303 1)
=C2=A0(miscs 40 69 168)
=C2=A0(= strings 32 29315 1561)
=C2=A0(string-bytes 1 758564)
=C2=A0(vectors 1= 6 14757)
=C2=A0(vector-slots 8 508710 8162)
=C2=A0(floats 8 51 278)=C2=A0(intervals 56 278 13)
=C2=A0(buffers 992 12))

--000000000000b8b45c0586ee450d-- From unknown Thu Jun 19 14:32:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35334: 26.2; Changes to position of point are undone during with-current-buffer if window is visible but not current 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 X-GNU-PR-Keywords: To: Sean McAfee Cc: 35334@debbugs.gnu.org Received: via spool by 35334-submit@debbugs.gnu.org id=B35334.155573343510327 (code B ref 35334); Sat, 20 Apr 2019 04:11:02 +0000 Received: (at 35334) by debbugs.gnu.org; 20 Apr 2019 04:10:35 +0000 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 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 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) 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) From: Noam Postavsky References: Date: Sat, 20 Apr 2019 00:10:26 -0400 In-Reply-To: (Sean McAfee's message of "Fri, 19 Apr 2019 21:00:02 -0700") Message-ID: <8736mduxjh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.0 (-) 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. From unknown Thu Jun 19 14:32:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35334: 26.2; Changes to position of point are undone during with-current-buffer if window is visible but not current Resent-From: Sean McAfee Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Apr 2019 23:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky Cc: 35334@debbugs.gnu.org Received: via spool by 35334-submit@debbugs.gnu.org id=B35334.15558895889524 (code B ref 35334); Sun, 21 Apr 2019 23:34:02 +0000 Received: (at 35334) by debbugs.gnu.org; 21 Apr 2019 23:33:08 +0000 Received: from localhost ([127.0.0.1]:49335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hILxL-0002TX-NV for submit@debbugs.gnu.org; Sun, 21 Apr 2019 19:33:08 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:37378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hILxJ-0002T3-Ln for 35334@debbugs.gnu.org; Sun, 21 Apr 2019 19:33:06 -0400 Received: by mail-wr1-f53.google.com with SMTP id t17so2219838wrr.4 for <35334@debbugs.gnu.org>; Sun, 21 Apr 2019 16:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y/D6tOJWW90Zl5QbHY6ea/x76dmFdpR4YNYrAotVhNI=; b=Gqek4h5M3dgrT4P5mRp0HaTkCde/Bq/1kzUMCizvRj9UCrAIjgsMJC7f13XHf4UCDF kLvheoJdqEp/areyvFd9dsn4QGbzNhF1eB4qJnZ53u6oD3N8o/2YKjuZXjnZa+5yQJQE Yl8bki0rWCme7NFWVyODj2igEl+L/hv3Ywot0rWp4YGyTHhP3VpI7jBrGAzhG85gWUar NBe+NL0Sg8HP3TFvtlM6IH/ko5GH4AoZ+QXxIdoaPenAojidzVjYTqmtdGYW1ih1jwrj F4feLQhIHecp+5Jr397D4NSxyH24O/shm9a0B3uo2/YcTZmNsbBweUl5Yk1HhVYt6AP6 ceUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y/D6tOJWW90Zl5QbHY6ea/x76dmFdpR4YNYrAotVhNI=; b=ooMQBOGJWcbKTaA9VXEjfwO34+KrQuCFo1xGzvJ38uVoy/UH/L2c1TcRwL8oIB6DYO ifQ9c8PeQ0KPumPH2ogb89kWKs8NKoYp1sGUpq/9aBxFP849TtLo/C4o2UAKIq2YRmjv upzZjKeE5pdvQDRqYtvPLqxg1YjQQXqDJhuhi93TVVNkz4a+wEXlUD/Vb6V2b+pBPggV FGRwS0mc7weMMWTbwg6hgtrwLWzyKQmo4nKkvq2+Z0uY6+rngxwMuZb0tenUSOEgtbej z4vECL6h0UgolvxKBUFRuu1kGDjL2nbiPPgF0v+vtUQW5t8KE8HNWzi0WwERp/vPBMjy vCFQ== X-Gm-Message-State: APjAAAX1FBqg64RlCUePprmDlptvQJNnLnVgCGaQ8LYottNFWAqDY5lY zng1dSyaOnqmTD9kp++NAbTeE8RJ9Nd+ws59/QY= X-Google-Smtp-Source: APXvYqxqD7ZjByDtaEb8/Zcz1UjArzb4dsKrDabal0bAQkRNLJEvQ2P0BUBIwx0zSvjde8mZjGQBcPpSQoFfN8ShEZI= X-Received: by 2002:a5d:488d:: with SMTP id g13mr11041485wrq.119.1555889579747; Sun, 21 Apr 2019 16:32:59 -0700 (PDT) MIME-Version: 1.0 References: <8736mduxjh.fsf@gmail.com> In-Reply-To: <8736mduxjh.fsf@gmail.com> From: Sean McAfee Date: Sun, 21 Apr 2019 16:32:48 -0700 Message-ID: Content-Type: multipart/alternative; boundary="000000000000b5ee9c058712c5bb" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.0 (-) --000000000000b5ee9c058712c5bb Content-Type: text/plain; charset="UTF-8" On Fri, Apr 19, 2019 at 9:10 PM Noam Postavsky wrote: > 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. > Okay, I wasn't fully aware of these window-point semantics. I'll take a step back and describe my actual problem, of which the bug I thought I was reporting was the simplest case I could reduce it to. Starting with two windows visible, the scratch buffer and a window showing empty buffer "a", I evaluate this expression in the scratch buffer: (start-process "count" "a" "bash" "-c" "for i in {1..10}; echo $i; sleep 1; done") I see the numbers 1-10 inserted into buffer "a", one second apart, as expected. The position of point in buffer "a" follows the new lines as they're inserted. Now I define the function ordinary-insertion-filter, as found on this page: https://www.gnu.org/software/emacs/manual/html_node/elisp/Filter-Functions.html That function is described as "mimicking the actions of the default filter." However, if I erase buffer "a" and evaluate this expression in the scratch buffer: (let ((proc (start-process "count" "a" "bash" "-c" "for i in {1..10}; echo $i; sleep 1; done"))) (set-process-filter proc #'ordinary-insertion-filter)) ...then I see the numbers inserted as before, but now the position of point in buffer "a" doesn't move; it stays at the beginning of the buffer. If I select the window showing buffer "a" as the numbers are still being inserted and move point to the end of the buffer, then point starts following the new numbers. But if I select the scratch buffer again, point in buffer "a" stops following the new numbers. Is this the expected behavior? --000000000000b5ee9c058712c5bb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Apr 19, 2019 at 9:10 PM Noam Post= avsky <npostavs@gmail.com> = wrote:
Sean McAfee <eefacm@gmail.com> writes:
> I would expect point to move to position 8 in both cases, and I don= 9;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?

=C2=A0 =C2=A0* Selecting a window sets the value of point in its buffer fro= m the
=C2=A0 =C2=A0 =C2=A0window's value of point.=C2=A0 Conversely, deselect= ing a window sets the
=C2=A0 =C2=A0 =C2=A0window's value of point from that of the buffer.

Okay, I wasn't fully aware of these w= indow-point semantics.=C2=A0 I'll take a step back and describe my actu= al problem, of which the bug I thought I was reporting was the simplest cas= e I could reduce it to.

Starting with two windows = visible, the scratch buffer and a window showing empty buffer "a"= , I evaluate this expression in the scratch buffer:

(start-process "count" "a" "bash" "-c&= quot; "for i in {1..10}; echo $i; sleep 1; done")

<= /div>
I see the numbers 1-10 inserted into buffer "a", one se= cond apart, as expected.=C2=A0 The position of point in buffer "a"= ; follows the new lines as they're inserted.

N= ow I define the function ordinary-insertion-filter, as found on this page:<= /div>


That function is described as "mimicking the actions of the default f= ilter."=C2=A0 However, if I erase buffer "a" and evaluate th= is expression in the scratch buffer:

(let ((proc (= start-process "count" "a" "bash" "-c&quo= t; "for i in {1..10}; echo $i; sleep 1; done")))
=C2=A0= (set-process-filter proc #'ordinary-insertion-filter))

<= /div>
...then I see the numbers inserted as before, but now the positio= n of point in buffer "a" doesn't move; it stays at the beginn= ing of the buffer.=C2=A0 If I select the window showing buffer "a"= ; as the numbers are still being inserted and move point to the end of the = buffer, then point starts following the new numbers.=C2=A0 But if I select = the scratch buffer again, point in buffer "a" stops following the= new numbers.

Is this the expected behavior?
=

--000000000000b5ee9c058712c5bb-- From unknown Thu Jun 19 14:32:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35334: 26.2; Changes to position of point are undone during with-current-buffer if window is visible but not current Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Apr 2019 02:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Sean McAfee Cc: 35334@debbugs.gnu.org Received: via spool by 35334-submit@debbugs.gnu.org id=B35334.15559007313127 (code B ref 35334); Mon, 22 Apr 2019 02:39:02 +0000 Received: (at 35334) by debbugs.gnu.org; 22 Apr 2019 02:38:51 +0000 Received: from localhost ([127.0.0.1]:49543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIOr5-0000oN-7j for submit@debbugs.gnu.org; Sun, 21 Apr 2019 22:38:51 -0400 Received: from mail-qt1-f172.google.com ([209.85.160.172]:41668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIOr2-0000o8-NI for 35334@debbugs.gnu.org; Sun, 21 Apr 2019 22:38:49 -0400 Received: by mail-qt1-f172.google.com with SMTP id f25so2017154qtc.8 for <35334@debbugs.gnu.org>; Sun, 21 Apr 2019 19:38:48 -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=/aLw4vBhxTDJGTv3SWzOSq4SmBU26DDdtz9RHAY6CG4=; b=jJ+YWHdtjjCwkdb7ebpkIkb4l7QiHb9k009TfXIEHceJJkhqbXbNi92Uiw8MGsEmRB Oupq3DhjPzxPjXPvJQKnMEz3JAWV431KDKbvcYUX1ksryq3H3nyovd6uvwu0thOG7oKs YCVKXyeVGVSth6jNSXbnNVukt8A5js4mHvtPR0i8vsExQkRYCt3shmFvn/EdyDKGx1GC f3m7bq3u3scQujiUsg1dajyYAe+epC6L7aO6Xxkssc5XaW9o8AZhz3rI2OiKdvq0aYgz xvcezof0eCytkFLrigsrz2QxX8ZdYZrMCcaEYP/dqjxfcj3nLL+vmX8t7mXqWQObn38n C8pw== 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=/aLw4vBhxTDJGTv3SWzOSq4SmBU26DDdtz9RHAY6CG4=; b=cERN6cZRA2uygVz+6vg8Vzua+j2t96ZMb+dlsZiT10Ud3IlGUJME2jy+dNTe4cwOct GjUQx0Z7ERjS/ccOIu90223X2bOGkfgidThp1odHM8a8KodUnJszn/sVx6eywcdPj+sO fV9ZowQ6aNudc3aGOQxASUolAip7JoAgdkJ+JkM4XYcsSO1ep/69MTnuot1qAHC84zlf uujV1wmIm6PuaoBucnu1Ilu5uouP6MmH6mlkdEpdx7EqbHeCFys23VjO71vhkii2gKKy RNLDbe5Agt2aBUuwe6i0hBHA7eBfy/6jD3z4elv8X4aRI4eJme/Mc8rkiNxvqpu0QLle Rzfg== X-Gm-Message-State: APjAAAXHGxpUcXK8S2BIU2U+gJ9ngEVkOZYgLTFgaGl/EQ3UsVx/2awk CUAOtQ6O2OEIdD4ZXJqu9urD8m28 X-Google-Smtp-Source: APXvYqzVTemv3PB2deMfjBv4CUnRM6Lvwj60Pmihpxy02A8aqGaz6qZc6+HCXr3pHQ5djFeppxZ4JA== X-Received: by 2002:ac8:192b:: with SMTP id t40mr13608592qtj.379.1555900723020; Sun, 21 Apr 2019 19:38:43 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id c21sm5355494qkm.8.2019.04.21.19.38.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 21 Apr 2019 19:38:42 -0700 (PDT) From: Noam Postavsky References: <8736mduxjh.fsf@gmail.com> Date: Sun, 21 Apr 2019 22:38:41 -0400 In-Reply-To: (Sean McAfee's message of "Sun, 21 Apr 2019 16:32:48 -0700") Message-ID: <87lg02sr0u.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.0 (-) Sean McAfee writes: > Starting with two windows visible, the scratch buffer and a window showing > empty buffer "a", I evaluate this expression in the scratch buffer: > > (start-process "count" "a" "bash" "-c" "for i in {1..10}; echo $i; sleep 1; done") [missing a "do" before the "echo $i", by the way] > I see the numbers 1-10 inserted into buffer "a", one second apart, as > expected. The position of point in buffer "a" follows the new lines as > they're inserted. > > Now I define the function ordinary-insertion-filter, as found on this page: > > https://www.gnu.org/software/emacs/manual/html_node/elisp/Filter-Functions.html > > That function is described as "mimicking the actions of the default > filter." However, if I erase buffer "a" and evaluate this expression in > the scratch buffer: > > (let ((proc (start-process "count" "a" "bash" "-c" "for i in {1..10}; echo $i; sleep 1; done"))) > (set-process-filter proc #'ordinary-insertion-filter)) > > ...then I see the numbers inserted as before, but now the position of point > in buffer "a" doesn't move Okay, interesting. The difference seems to be that `internal-default-process-filter' actually uses `insert-before-markers' rather than plain `insert'. I guess the window point is implemented as a marker, so inserting this way happens to move it as well. (defun ordinary-insertion-filter (proc string) (when (buffer-live-p (process-buffer proc)) (with-current-buffer (process-buffer proc) (let ((moving (= (point) (process-mark proc)))) (save-excursion ;; Insert the text, advancing the process marker. (goto-char (process-mark proc)) (insert-before-markers string) ; <------------ change here (set-marker (process-mark proc) (point))) (if moving (goto-char (process-mark proc))))))) From unknown Thu Jun 19 14:32:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35334: 26.2; Changes to position of point are undone during with-current-buffer if window is visible but not current Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Apr 2019 07:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky Cc: 35334@debbugs.gnu.org, eefacm@gmail.com Received: via spool by 35334-submit@debbugs.gnu.org id=B35334.15559177966688 (code B ref 35334); Mon, 22 Apr 2019 07:24:02 +0000 Received: (at 35334) by debbugs.gnu.org; 22 Apr 2019 07:23:16 +0000 Received: from localhost ([127.0.0.1]:49643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hITIJ-0001jo-UL for submit@debbugs.gnu.org; Mon, 22 Apr 2019 03:23:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hITII-0001jc-6k for 35334@debbugs.gnu.org; Mon, 22 Apr 2019 03:23:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hITIC-0001eL-Ie; Mon, 22 Apr 2019 03:23:08 -0400 Received: from [176.228.60.248] (port=4786 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hITIB-0003P7-Te; Mon, 22 Apr 2019 03:23:08 -0400 Date: Mon, 22 Apr 2019 10:22:58 +0300 Message-Id: <83bm0y8pwt.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87lg02sr0u.fsf@gmail.com> (message from Noam Postavsky on Sun, 21 Apr 2019 22:38:41 -0400) References: <8736mduxjh.fsf@gmail.com> <87lg02sr0u.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) > From: Noam Postavsky > Date: Sun, 21 Apr 2019 22:38:41 -0400 > Cc: 35334@debbugs.gnu.org > > I guess the window point is implemented as a marker Yes, see the comments in window.h. From unknown Thu Jun 19 14:32:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35334: 26.2; Changes to position of point are undone during with-current-buffer if window is visible but not current Resent-From: Sean McAfee Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Apr 2019 21:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky Cc: 35334@debbugs.gnu.org Received: via spool by 35334-submit@debbugs.gnu.org id=B35334.155639917516485 (code B ref 35334); Sat, 27 Apr 2019 21:07:01 +0000 Received: (at 35334) by debbugs.gnu.org; 27 Apr 2019 21:06:15 +0000 Received: from localhost ([127.0.0.1]:36133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKUWV-0004Ho-Ik for submit@debbugs.gnu.org; Sat, 27 Apr 2019 17:06:15 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:41136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKUWT-0004Hb-Qb for 35334@debbugs.gnu.org; Sat, 27 Apr 2019 17:06:14 -0400 Received: by mail-wr1-f43.google.com with SMTP id c12so9526528wrt.8 for <35334@debbugs.gnu.org>; Sat, 27 Apr 2019 14:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WEKmSIawDrWwAsr3nJP5uzSzEBfNxqZ0yyNPC0zlKY0=; b=O/A+w/9XYrUTAFPr+6kEFRdpMeBhwpPxtUvcmvJXrQREW/sjrJwFV+O+Lme8gjNgmz xPcio2X+s1eIM5soUYEttHZ9cLmnlC8z0/2YZhRHmVkQDz1zRN84XGok3+TjOxDwva5i gMNQVNvYoJE2iia4JDBnZTZ26Ug4T53ZEX3mJQ8evRxbfTrIGfr65tMuCHcnu0Z8NAA/ e+EIo7gm8NRPkV2bkQXleccT0RgW900EgSbE4kNmF0bbm3wFrkzEXA5Kd6l09mCOUc91 DEzYlNtr3sNcUJqNzlx8HE+VGMo18/nUl6ycqk10HJ4w20JywvTLSk4WGY20oMgpU5ip vhAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WEKmSIawDrWwAsr3nJP5uzSzEBfNxqZ0yyNPC0zlKY0=; b=h64fz+OfGZeAl6nl/OSY153Lm6u+HugvxyFdXEB5e0A+cnMxSmFH3l2s+Vxei6AmqK Zf6xgTq2xVvApnxI+N57HYsgtvGZCn12ytYAcTDQB0cNqU9bfMsYerxoWoUgFAIczbRb EZN5Ryj5ZiccL1O17pfxDhaHOCOa6biKfO6Rm4s6im+Emgc8vtjetN9tcVDoQsvFJs8B i/+7f1pwrFRgMCo7bw85owoOpyI2U4gmS7Z1WCMtdwJVEl4MyC22CsN87wkrEZwAwAFB 1QkEz4OwRfq5GCKQrEnb5/9WogbVh7okO6fJqGjgMoMu0sMh3O4vmBsFzl1heeTk6Fkz QyWA== X-Gm-Message-State: APjAAAUaDGqVoDqyds4h/OGL/Ok8UZE7JbhJI9V0R1hF/LuS1kNvDpj1 ALsa/ZwAEl1UkZWRMXWcOiBDWjgbSATsZXk5jNY= X-Google-Smtp-Source: APXvYqxwBd/Qp1P0NJC+sHrWGY48zZaReF7KiqN5G3ekVW0p9Ycfpd8PXB1T3o0sQZFHsCqAQi4ZhmKehz2PybI5Lbs= X-Received: by 2002:adf:da51:: with SMTP id r17mr7841258wrl.118.1556399168127; Sat, 27 Apr 2019 14:06:08 -0700 (PDT) MIME-Version: 1.0 References: <8736mduxjh.fsf@gmail.com> <87lg02sr0u.fsf@gmail.com> In-Reply-To: <87lg02sr0u.fsf@gmail.com> From: Sean McAfee Date: Sat, 27 Apr 2019 14:05:57 -0700 Message-ID: Content-Type: multipart/alternative; boundary="0000000000008b878f0587896b29" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.0 (-) --0000000000008b878f0587896b29 Content-Type: text/plain; charset="UTF-8" On Sun, Apr 21, 2019 at 7:38 PM Noam Postavsky wrote: > (insert-before-markers string) ; <------------ change here > OK, since I now have a workaround, or rather the appropriate code to use in my situation, the bug is resolved from my perspective. Perhaps the "Process Filter Functions" manual page could stand to be touched up a bit, though. --0000000000008b878f0587896b29 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Apr 21, 2019 at 7:38 PM Noam Postavsky <npostavs@gmail.com> wrote:
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 (insert-before-markers = string) ; <------------ change here

OK, since I now have a workaround, or rath= er the appropriate code to use in my situation, the bug is resolved from my= perspective.

Perhaps the "Process Filter Fun= ctions" manual page could stand to be touched up a bit, though.
<= div>
--0000000000008b878f0587896b29-- From unknown Thu Jun 19 14:32:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35334: 26.2; Changes to position of point are undone during with-current-buffer if window is visible but not current Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Apr 2019 21:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Sean McAfee Cc: 35334@debbugs.gnu.org Received: via spool by 35334-submit@debbugs.gnu.org id=B35334.155639928216646 (code B ref 35334); Sat, 27 Apr 2019 21:09:02 +0000 Received: (at 35334) by debbugs.gnu.org; 27 Apr 2019 21:08:02 +0000 Received: from localhost ([127.0.0.1]:36137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKUYD-0004KO-U9 for submit@debbugs.gnu.org; Sat, 27 Apr 2019 17:08:02 -0400 Received: from mail-qt1-f178.google.com ([209.85.160.178]:33346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKUYA-0004K6-P3 for 35334@debbugs.gnu.org; Sat, 27 Apr 2019 17:07:59 -0400 Received: by mail-qt1-f178.google.com with SMTP id g7so8066312qtc.0 for <35334@debbugs.gnu.org>; Sat, 27 Apr 2019 14:07:58 -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=TkI5m3sCgMbdl43pTxvwOkvWdFT6bzEU8l5B8GE6RAU=; b=HtoI+KFXM+Rz6/nG5Xn2AICgQn1QHZB+H5IufzBZPDBaYK1f+4vmI5ldcInZ/MKVSE GPodxpdQ4niSWXGvklSOo8j3Lf4NgjAoh0SBphGD/Cn6njUojp7L5aB/e/muLZ+X8tcs X+gy0zyB9VGSH7dfjhJg4td2BAMHCfTJi8ti+OiQozH/OJPtq4eOHWHvCpCjTeQsqbPZ 77mmt6pmvMJ1z9KXSm2KFjelYJZV66tKYrMU3O3ZfbP4WzZzGRC1qG/xCAsVCRu71PxC +wpOVLFlyllrjLF8t27ZeDMsTKZkGkBvUi/IfbSYarC/Nsdc9tidKmoS7b+E0qkCl3HJ fTxQ== 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=TkI5m3sCgMbdl43pTxvwOkvWdFT6bzEU8l5B8GE6RAU=; b=IcKpAiwSzMsshfaIC2mnrlCdS3Oq2iz8lKK2T+hjdJuHJkBBOKEEKmhrW/Tiao6Na9 0pl8dU4LJ3uPNrZfX+EeoKiojv9+XkrXm+dYXnCXNWesNgJVe3e62TZuRTorQLPu18/z k4rCdVIRsC48/bkb2srH7CY2e5gk1QQkKc7GSOfe7tQC+7DSmNdanIxCjZ7GcQJX6dB+ 2shyW37ItdpD/1rLhJfDkCm3A6BhebDnEfByvSw2p5tcgiUqq9dAgiLyoCRPCaG7tB63 9rlsxQE6qh2Sr9ucSxkNiKnSMyEMIjKLdODyeytfRt7Del51fhJiAx6rO98dKVY60T7W ZIYg== X-Gm-Message-State: APjAAAWLqZwCUi1Pt8sI9Lr7N7LOdkdq/a5ucB1PaNjpQWgWGtZqI66U nsFQF9qvqIRLRThzgzhSziuNziRo X-Google-Smtp-Source: APXvYqyUFHsDeTn54ivxbC0b5cdddhUrFtXP9rxgWLVhfZZTIcRtqJTINcGXpy7hhFeWoqiwCafrBg== X-Received: by 2002:a0c:92f9:: with SMTP id c54mr11878913qvc.194.1556399273058; Sat, 27 Apr 2019 14:07:53 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 25sm20695689qtw.70.2019.04.27.14.07.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 Apr 2019 14:07:52 -0700 (PDT) From: Noam Postavsky References: <8736mduxjh.fsf@gmail.com> <87lg02sr0u.fsf@gmail.com> Date: Sat, 27 Apr 2019 17:07:51 -0400 In-Reply-To: <87lg02sr0u.fsf@gmail.com> (Noam Postavsky's message of "Sun, 21 Apr 2019 22:38:41 -0400") Message-ID: <87k1ffp36g.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.0 (-) > (defun ordinary-insertion-filter (proc string) > (when (buffer-live-p (process-buffer proc)) > (with-current-buffer (process-buffer proc) > (let ((moving (= (point) (process-mark proc)))) > (save-excursion > ;; Insert the text, advancing the process marker. > (goto-char (process-mark proc)) > (insert-before-markers string) ; <------------ change here > (set-marker (process-mark proc) (point))) > (if moving (goto-char (process-mark proc))))))) If we make this update in the manual, would that sufficiently clarify the sitatuation, or do we need anything else? From unknown Thu Jun 19 14:32:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35334: 26.2; Changes to position of point are undone during with-current-buffer if window is visible but not current Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Apr 2019 02:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Sean McAfee Cc: 35334@debbugs.gnu.org Received: via spool by 35334-submit@debbugs.gnu.org id=B35334.155641796821105 (code B ref 35334); Sun, 28 Apr 2019 02:20:01 +0000 Received: (at 35334) by debbugs.gnu.org; 28 Apr 2019 02:19:28 +0000 Received: from localhost ([127.0.0.1]:36456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKZPc-0005UL-13 for submit@debbugs.gnu.org; Sat, 27 Apr 2019 22:19:28 -0400 Received: from mail-qk1-f179.google.com ([209.85.222.179]:43405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKZPa-0005U7-Dx for 35334@debbugs.gnu.org; Sat, 27 Apr 2019 22:19:26 -0400 Received: by mail-qk1-f179.google.com with SMTP id p19so4113409qkm.10 for <35334@debbugs.gnu.org>; Sat, 27 Apr 2019 19:19:26 -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=gwR0FGmrm5GZmcfH4VGt1M3TaY4+4tAusRaOPe+z+NI=; b=FL7v2yDK1ct9oy7qC+QYniRKjAebyg9pwm4niu2mQsytcA2QNg4jsMM89uAKdfyt+G FagW9JxGZNn1/PghM3AfxihwsRAQ/Q/Nwd0jw+gDu1of3vCIdjncdaS41GUaIce9zGde IRyZetCoHEGP1AyCkkhxqIvzZUy3sgA1s3LSbcO5zyFbZJZG1AtDMKVApMoMGAQ1KLTB vDMza0tTBEHy2EgbOBv9xWCwrKST2tUbbd31CZY1wKxK5sEXAYejJb0CUrePLo9XbgNW wp8+DHbKrRkzTtEVREdej4t25+XCcFmxmpnWhkU9WC0qhDCM3ZhzejwDpjafg72zs3Tg puIw== 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=gwR0FGmrm5GZmcfH4VGt1M3TaY4+4tAusRaOPe+z+NI=; b=PKoY6YNyk3fTWIj9X421pWfKiTea59ahBehW/h6YSgsHjLa1N9+qqlZtPq+TKDciRw OKJcsdnCo1fCpaAq85pns3e7H1F6FNCK57eu0hPZc4JQg8zC87ne0VI6XcVNvrtWzpLE kZX3x+/hAMODVmkJes7vrjeMF8vZ1oXntmNxTwKJXDSSkMywg9MhAfDol3yjyGiOX5zB SireiBm56d7LZmHoeuPMCRD4B35KCOQeYHHDHyKqCDQMq5GkmGRBTkk4UMCAm+Mr7zVh 0gkb9Kfl7jWNkr7ytM/bYSXd8OqynAfWh/PAnD8V1AL5ZhoBbdAIsB/i5zh/pTGCEgmO vVsA== X-Gm-Message-State: APjAAAXp1ATvaeEu4xUh6wc7G45vSaABEoFzAPfN/eloXmh1JDjvboi/ fMffTNNic8hkTBBunh4pZVKmb/uc X-Google-Smtp-Source: APXvYqyEUky8eUiHQO5NWdK4Dl9AQccHG6Uy31T7l0tMUVoRAWM9m7p6q/Ykp8/SOo0oLTlQr543tg== X-Received: by 2002:a37:7401:: with SMTP id p1mr2144117qkc.172.1556417960564; Sat, 27 Apr 2019 19:19:20 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id k4sm14038580qki.15.2019.04.27.19.19.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 Apr 2019 19:19:19 -0700 (PDT) From: Noam Postavsky References: <8736mduxjh.fsf@gmail.com> <87lg02sr0u.fsf@gmail.com> Date: Sat, 27 Apr 2019 22:19:17 -0400 In-Reply-To: (Sean McAfee's message of "Sat, 27 Apr 2019 14:05:57 -0700") Message-ID: <87ef5mq3bu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.2 (-) Sean McAfee writes: > On Sun, Apr 21, 2019 at 7:38 PM Noam Postavsky wrote: > >> (insert-before-markers string) ; <------------ change here >> > > OK, since I now have a workaround, or rather the appropriate code to use in > my situation, the bug is resolved from my perspective. > > Perhaps the "Process Filter Functions" manual page could stand to be > touched up a bit, though. Oh, we sent at the same time. By "touched up a bit" did you have in mind anything apart from making that change quoted above? From unknown Thu Jun 19 14:32:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35334: 26.2; Changes to position of point are undone during with-current-buffer if window is visible but not current Resent-From: Sean McAfee Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Apr 2019 22:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky Cc: 35334@debbugs.gnu.org Received: via spool by 35334-submit@debbugs.gnu.org id=B35334.155666154521431 (code B ref 35334); Tue, 30 Apr 2019 22:00:02 +0000 Received: (at 35334) by debbugs.gnu.org; 30 Apr 2019 21:59:05 +0000 Received: from localhost ([127.0.0.1]:42676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLamG-0005Za-QO for submit@debbugs.gnu.org; Tue, 30 Apr 2019 17:59:05 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:41418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLamF-0005Z6-4M for 35334@debbugs.gnu.org; Tue, 30 Apr 2019 17:59:03 -0400 Received: by mail-wr1-f42.google.com with SMTP id c12so22704611wrt.8 for <35334@debbugs.gnu.org>; Tue, 30 Apr 2019 14:59:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RhWBZui0uE6sNo5wfG9MIxDisOfq/NSrkLq5FBJCzdo=; b=IA6uwDb9K3kIqrPe2iuAal42IPMMCK4l4FZUO4iNxya6NU7+Xvgu9LhFCtGSDrHwcD t5/wJgvBhwOgKn/dzsAkAVeOiPkW+qkHOfU8u/V3+io+Y5oaiadAVlNljqFY187dy38o LxoAe9LecjPXu6jw67ZNp6cHc1q6NFj+KCFHdo2ELY317FEpVtAFNr7mjL2CUvMyB95g RFSsWnnxDKBp1CMjQ2PtqgJFwnXwVqw6OVLP1g6kUnpeUfzUBVziVvdMFBcWZbsmFwRK oRcnD4xg6LidxnATv3GuNm5LEtoeWrWHmKjelq9V70Y5kmXRiAJioTS9xZ6UpGPg/ZNY J+zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RhWBZui0uE6sNo5wfG9MIxDisOfq/NSrkLq5FBJCzdo=; b=eSmA8QIWVJVZUcrMYaYQn7Tw2vdN4ZDYhpOExRLeR5lcsWGq7FX6kc8sM0Qy7LshHx +vmSbo4uU+T8K5mXMAci+DRVtycXmv62acUyBGIJSpkBjfxkt8hb6RvSVSemXWlXNgqQ o1+8AiEdQOoNG9s2vMkPYE72lwS2DiQB3RQrDaB/zaSyLi9RUyrL8uqaNewv8XQWHXJe eMzTcgZy+XGTnSVWXC4tqLf6VRyzwzlYJQJfpxBtJTG3Iv+PHfa7EfoZviWyvew43cmn 5nYQKTHC2QeFEOvprpDynkMKXUo2owExTfetsZmuiKwXzabjXy+a4as5G0g2fRqWyqBP 9pPQ== X-Gm-Message-State: APjAAAXc1NUKD7h4oxIuiJPJCE0/EtXZBizdiSElOnxqHmNhSBadOekH lo3fG6C0Sd2uEfnMhS0T65qmTKqdQzZTt6NyCA0= X-Google-Smtp-Source: APXvYqxqC7na1k7ZoQL0SKv86++VtpInBt0ndlwlIOOIeGhsw3R6/CYlnCJkHUYe4SbrzBmNW163P/qgh330EQ+txt0= X-Received: by 2002:adf:da51:: with SMTP id r17mr7211349wrl.118.1556661537273; Tue, 30 Apr 2019 14:58:57 -0700 (PDT) MIME-Version: 1.0 References: <8736mduxjh.fsf@gmail.com> <87lg02sr0u.fsf@gmail.com> <87ef5mq3bu.fsf@gmail.com> In-Reply-To: <87ef5mq3bu.fsf@gmail.com> From: Sean McAfee Date: Tue, 30 Apr 2019 14:58:45 -0700 Message-ID: Content-Type: multipart/alternative; boundary="000000000000f6feee0587c6816c" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.0 (-) --000000000000f6feee0587c6816c Content-Type: text/plain; charset="UTF-8" On Sat, Apr 27, 2019 at 7:19 PM Noam Postavsky wrote: > Sean McAfee writes: > > Perhaps the "Process Filter Functions" manual page could stand to be > > touched up a bit, though. > > Oh, we sent at the same time. By "touched up a bit" did you have in > mind anything apart from making that change quoted above? > > Nope, that should do it. --000000000000f6feee0587c6816c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Apr 27, 2019 at 7:19 PM Noam Postavsky <npostavs@gmail.com> wrote:
Sean = McAfee <eefacm@gma= il.com> writes:
> Perhaps the "Process Filter Functions" manual page could sta= nd to be
> touched up a bit, though.

Oh, we sent at the same time.=C2=A0 By "touched up a bit" did you= have in
mind anything apart from making that change quoted above?


Nope, that should do it.
--000000000000f6feee0587c6816c-- From unknown Thu Jun 19 14:32:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35334: 26.2; Changes to position of point are undone during with-current-buffer if window is visible but not current Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 May 2019 00:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Sean McAfee Cc: 35334@debbugs.gnu.org Received: via spool by 35334-submit@debbugs.gnu.org id=B35334.15566721285288 (code B ref 35334); Wed, 01 May 2019 00:56:02 +0000 Received: (at 35334) by debbugs.gnu.org; 1 May 2019 00:55:28 +0000 Received: from localhost ([127.0.0.1]:42879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLdWy-0001N8-Fy for submit@debbugs.gnu.org; Tue, 30 Apr 2019 20:55:28 -0400 Received: from mail-qk1-f171.google.com ([209.85.222.171]:35632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLdWw-0001Mq-Mz; Tue, 30 Apr 2019 20:55:27 -0400 Received: by mail-qk1-f171.google.com with SMTP id b7so125114qkl.2; Tue, 30 Apr 2019 17:55:26 -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=E8andsWA4sb2pX0qzKZjpck8hxxPMNfTthdGT3L7Ff8=; b=eXszfZpWWCu05cQ3G58O0fjPPYB59HGhyyPe6tvNAHcCMVrD/CHsDG3hrp4BFaI+an 8AWmJJi97+UMG4Rnp/1jLSAqmxfvfFhnazgGCOBn+Sfyk6H6oZHzjQnIhANmIOs5+Qpn Iczx92AkcG+Lf6zcZZ1SSe7QohZLjFwWaWGwQ+EPwM/u3spNtbrBaC/3W+VonAX9n3MC Vnkp8wsE9iYQYka4Wf7KQLDfT+89+cXYJwPAnJpWFanOnDy8OSwRv9GhEpZ67w7krOca mBpE+7sb4KxtJ6wihqJKJ/RykO3iOktmCKft1iT0LdFfj1QBJV4BFSPI8Idn8BFZVnqU kT9Q== 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=E8andsWA4sb2pX0qzKZjpck8hxxPMNfTthdGT3L7Ff8=; b=a3b2nzZAJ9dGYi/GonuXxftDIcUcQ7ohETSokkIhWhgNiQHnkGVMK8QV8j3k9+56BT eRDjnpAZqRWcykbM2CzcXwSdtO7w5O2WDgAWkfIZXiLmNyFJtI9rmYA0xHzZ3IVQcjwM 7Rvn8mFkAuWesEBHtRfpQ4r8uRyBVp7jJtlZln7zcgpVfSRu54VFVtJabxzN8KvJArXZ Bo+fBKdGMaZsaZGxCLRCYUTl3IXaPz1EgVIActsuB0Ar66VpHW6UO6wjjLJRPaIym8FW JeNj0tgkmDlC9BqfDLAQiXYkZub5vgOcnyg7FztXHlWp53c48YS52XlmfSTY6Q46Qide NMLg== X-Gm-Message-State: APjAAAU1323Y68is1m+yxBu8Wmg8pJFsKif6efibQmdZNTSx6iTr/vj6 rOTbNVZqh7W6qcXmArjo0oBPJQNe X-Google-Smtp-Source: APXvYqynV1jwrbucCjO6+H0rjhbi4HccgtEGA5eF0KJ2/ucPNfwPptalwSjIq10L9slydWog9Shjsw== X-Received: by 2002:ae9:ee1a:: with SMTP id i26mr13388824qkg.13.1556672120911; Tue, 30 Apr 2019 17:55:20 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id q6sm6654592qta.28.2019.04.30.17.55.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Apr 2019 17:55:20 -0700 (PDT) From: Noam Postavsky References: <8736mduxjh.fsf@gmail.com> <87lg02sr0u.fsf@gmail.com> <87ef5mq3bu.fsf@gmail.com> Date: Tue, 30 Apr 2019 20:55:19 -0400 In-Reply-To: (Sean McAfee's message of "Tue, 30 Apr 2019 14:58:45 -0700") Message-ID: <87o94nngco.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.0 (-) close 35334 26.3 quit Sean McAfee writes: > On Sat, Apr 27, 2019 at 7:19 PM Noam Postavsky wrote: > >> Sean McAfee writes: >> > Perhaps the "Process Filter Functions" manual page could stand to be >> > touched up a bit, though. >> >> Oh, we sent at the same time. By "touched up a bit" did you have in >> mind anything apart from making that change quoted above? >> >> > Nope, that should do it. Okay, pushed to emacs-26 (I accidentally put the wrong bug number in the commit message though). ec02c736d6 2019-04-30T20:51:24-04:00 "Update process filter example (Bug#35044)" https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=ec02c736d65f2fd3a8a17e4e8dc143bf15d9600d