From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Edebug corrupting point in buffers; we need buffer-point and set-buffer-point, perhaps. Date: Mon, 31 Oct 2022 20:10:43 +0200 Message-ID: <83h6zjeue4.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25418"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 31 19:12:55 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1opZHK-0006PE-VP for ged-emacs-devel@m.gmane-mx.org; Mon, 31 Oct 2022 19:12:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opZH1-0003vw-4r; Mon, 31 Oct 2022 14:12:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opZFa-0002mG-TM for emacs-devel@gnu.org; Mon, 31 Oct 2022 14:11:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opZFa-0005Db-5Q; Mon, 31 Oct 2022 14:11:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=U3tJkiRfmS8AeOuo+/7XF5RwPoqcv//S7QKaktCywMQ=; b=j/kAreubWXfj 4fCB4Jl060NWDi+VprM3iqJpFAT43gnTbrFpwYnzdpeS5sDXu2Oncya0bwPZ6he+KspXXiVM5NlXJ esAFZnJPtFOjwxDHG9tu5cFT2SJt9XxbZXAMzT1FXBmuD/cgAwltflguA5e5JF2vHiK7LXuyH5ngt M6V3jdr1cTh7pudxvMkN+mNqCqmiJU08BayAK20w3rQt0E4O03eABD1+LqeQBSQgLNk6gBiu8x9iK 1YgG0W9fvTXqj9P9XDFvqER9qBoE6xLcONx3PPA9P1JxB/jPJlpeFRzj+0TN6y0Tng3D/FTNqs5Pf jWDPiavxLC9Z8rJsKQ0b3w==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opZFR-0008L7-E4; Mon, 31 Oct 2022 14:10:58 -0400 In-Reply-To: (message from Stefan Monnier on Mon, 31 Oct 2022 13:21:57 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298884 Archived-At: > From: Stefan Monnier > Cc: emacs-devel@gnu.org > Date: Mon, 31 Oct 2022 13:21:57 -0400 > > Maybe we should try and make sure redisplay itself (rather than, or > in addition, I'm not sure) preserves buffer points? We do try and make sure it does. There are quite a few places in the code where we jump through many hoops to make sure this is true.