unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 21171@debbugs.gnu.org
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	[thread overview]
Message-ID: <877ffeaie7.fsf@gnus.org> (raw)
In-Reply-To: <5a5ff08e-0a5f-4ef9-bdd1-5e4afd08b4d1@default> (Drew Adams's message of "Fri, 31 Jul 2015 13:58:38 -0700 (PDT)")

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





  reply	other threads:[~2016-04-30 21:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-31 20:48 bug#21171: 25.0.50; Please document (and index) `with-silent-modifications' in Elisp manual Drew Adams
2015-07-31 20:58 ` Drew Adams
2016-04-30 21:36   ` Lars Ingebrigtsen [this message]
2016-04-30 21:41 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877ffeaie7.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=21171@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).