From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Lars Ingebrigtsen <larsi@gnus.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#21171: 25.0.50;
	Please document (and index) `with-silent-modifications' in Elisp
	manual
Date: Sat, 30 Apr 2016 23:36:32 +0200
Message-ID: <877ffeaie7.fsf@gnus.org>
References: <71a1f5f8-8295-419b-a5bc-33c36662c2d6@default>
	<5a5ff08e-0a5f-4ef9-bdd1-5e4afd08b4d1@default>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: ger.gmane.org 1462052264 9851 80.91.229.3 (30 Apr 2016 21:37:44 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sat, 30 Apr 2016 21:37:44 +0000 (UTC)
Cc: 21171@debbugs.gnu.org
To: Drew Adams <drew.adams@oracle.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 30 23:37:30 2016
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1awcZt-00072i-QX
	for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 23:37:29 +0200
Original-Received: from localhost ([::1]:59810 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1awcZp-00038f-Ts
	for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 17:37:25 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54359)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1awcZh-0002y4-0U
	for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 17:37:23 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1awcZV-0004co-4N
	for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 17:37:11 -0400
Original-Received: from debbugs.gnu.org ([208.118.235.43]:46272)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1awcZV-0004bn-0M
	for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 17:37:05 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1awcZS-0003xE-Cs
	for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 17:37:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Lars Ingebrigtsen <larsi@gnus.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 30 Apr 2016 21:37:02 +0000
Resent-Message-ID: <handler.21171.B21171.146205219715167@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 21171
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
Original-Received: via spool by 21171-submit@debbugs.gnu.org id=B21171.146205219715167
	(code B ref 21171); Sat, 30 Apr 2016 21:37:02 +0000
Original-Received: (at 21171) by debbugs.gnu.org; 30 Apr 2016 21:36:37 +0000
Original-Received: from localhost ([127.0.0.1]:58609 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1awcZ3-0003wZ-8K
	for submit@debbugs.gnu.org; Sat, 30 Apr 2016 17:36:37 -0400
Original-Received: from hermes.netfonds.no ([80.91.224.195]:60663)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <larsi@gnus.org>) id 1awcZ1-0003wR-Bc
	for 21171@debbugs.gnu.org; Sat, 30 Apr 2016 17:36:35 -0400
Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse)
	by hermes.netfonds.no with esmtpsa
	(TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2) (envelope-from <larsi@gnus.org>)
	id 1awcYy-0006za-Ja; Sat, 30 Apr 2016 23:36:34 +0200
In-Reply-To: <5a5ff08e-0a5f-4ef9-bdd1-5e4afd08b4d1@default> (Drew Adams's
	message of "Fri, 31 Jul 2015 13:58:38 -0700 (PDT)")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs/>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
	<bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.bugs:117453
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/117453>

Drew Adams <drew.adams@oracle.com> writes:

>> Subject line says it all.
>
> Nope.  And please state explicitly everything that it does -
> just what it saves and restores, inhibits, etc.  Otherwise,
> from the simple doc string alone it is not obvious what
> code (bindings etc.) this can replace.  Yes, a user can
> consult the source code, but there is no reason not to
> describe what it does in more detail than just "pretending
> it does not modify the buffer".

There is one use case only for the macro: Adding text properties to the
buffer without having the buffer-modified flag go off.

I've now rearranged the doc string to make that clearer.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no