unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21171: 25.0.50; Please document (and index) `with-silent-modifications' in Elisp manual
@ 2015-07-31 20:48 Drew Adams
  2015-07-31 20:58 ` Drew Adams
  2016-04-30 21:41 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 4+ messages in thread
From: Drew Adams @ 2015-07-31 20:48 UTC (permalink / raw)
  To: 21171

Subject line says it all.

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2015-07-03 on LEG570
Bzr revision: 2b848fadd51e805b2f46da64c5958ea7f009048a
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --host=i686-pc-mingw32 --enable-checking=yes,glyphs'





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#21171: 25.0.50; Please document (and index) `with-silent-modifications' in Elisp manual
  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
  2016-04-30 21:41 ` Lars Ingebrigtsen
  1 sibling, 1 reply; 4+ messages in thread
From: Drew Adams @ 2015-07-31 20:58 UTC (permalink / raw)
  To: 21171

> 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".





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#21171: 25.0.50; Please document (and index) `with-silent-modifications' in Elisp manual
  2015-07-31 20:58 ` Drew Adams
@ 2016-04-30 21:36   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-30 21:36 UTC (permalink / raw)
  To: Drew Adams; +Cc: 21171

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#21171: 25.0.50; Please document (and index) `with-silent-modifications' in Elisp manual
  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:41 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-30 21:41 UTC (permalink / raw)
  To: Drew Adams; +Cc: 21171

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

> Subject line says it all.

I've now mentioned it in the text property section.

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-30 21:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-04-30 21:41 ` Lars Ingebrigtsen

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).