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: master 69521ffcb0: Clarify the doc string of 'with-buffer-unmodified-if-unchanged' Date: Wed, 04 May 2022 13:10:09 +0300 Message-ID: <83zgjx38xq.fsf@gnu.org> References: <165165398176.31589.14519991900728099034@vcs2.savannah.gnu.org> <20220504084622.0F678C009A8@vcs2.savannah.gnu.org> <87h765vf2q.fsf@gnus.org> <831qx94pcu.fsf@gnu.org> <87czgtvd0g.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37383"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 04 13:31:57 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 1nmDEa-0009Yl-AZ for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 13:31:56 +0200 Original-Received: from localhost ([::1]:44026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmDEY-0000CO-UY for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 07:31:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmBxI-00027e-6k for emacs-devel@gnu.org; Wed, 04 May 2022 06:10:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50014) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmBxH-0007Sr-Fg; Wed, 04 May 2022 06:09:59 -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=S0OUY7ROrIxfxh1uceNi4ogidjy3Rci0xeY8/KIzrnQ=; b=TtKHvRYqYb7u Wgi3kNzg5S2KKqNDJKJ/moDXZk6n0QG5yR9Gssx0Fniaq70MfJmRhDCuNvkZkQFUIHJv86Qnfuytc koTxUUpk16BTR3pYtuWzvL+TOuIFpl807aruFtzYbzJRcNiyYVnCijsdIbUAjk7062wu1dWzKgbR5 JnKZ6Gz9lMHQat6tz0VfyI1zN4vOIY/q2vXrRvs0Bbk767WIikJ+CXJVwYL1wlw0po03lklPuSVdu Zmgw1BjypsKkue3K+GRcT9hne//7b+pyyKlHKksTO20ts10IHx6g6QgYrTJkD4yl9w04Obvn0zbJf 4EQ3o3Z+FMkGXaBzwwUupw==; Original-Received: from [87.69.77.57] (port=2537 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 1nmBxE-0007k7-Ca; Wed, 04 May 2022 06:09:59 -0400 In-Reply-To: <87czgtvd0g.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 04 May 2022 11:54:39 +0200) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289162 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Wed, 04 May 2022 11:54:39 +0200 > > Eli Zaretskii writes: > > >> > +multibytenes, etc. -- will still cause the buffer to become modified." > >> > >> This is pretty unclear -- the point is that if BODY does any of those > >> "buffer modifications", the buffer will won't be marked as modified. > >> This seems to say the opposite. > > > > Which part(s) say the opposite? > > "Become modified" is most easily interpreted as (buffer-modified-p) => t. Ah, yes. Should be fixed now, thanks.