From: "João Távora" <joaotavora@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: using text properties in a buffer that is older than its file
Date: Fri, 31 Jul 2015 21:17:07 +0100 [thread overview]
Message-ID: <CALDnm513Qxwx5TMgFt1Ocf8+A3nz1QwXqvod9x7Z02APm+DMiQ@mail.gmail.com> (raw)
In-Reply-To: <7af1a5b0-01c2-4095-9cc0-91da98738118@default>
On Fri, Jul 31, 2015 at 7:20 PM, Drew Adams <drew.adams@oracle.com> wrote:
> Saving, resetting, and restoring `buffer-modified-p' is not
> sufficient to inhibit this user prompting.
> [...]
> I'm hoping that there is already a feature for handling this
> kind of use case, which I'm just unaware of.
`with-silent-modifications' does the trick for me.
I tried with an externally modified file don't get the prompt.
João
next prev parent reply other threads:[~2015-07-31 20:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-31 18:20 using text properties in a buffer that is older than its file Drew Adams
2015-07-31 20:17 ` João Távora [this message]
2015-07-31 20:49 ` Drew Adams
2015-07-31 20:59 ` Drew Adams
2015-07-31 22:02 ` Stefan Monnier
2015-07-31 22:10 ` Drew Adams
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALDnm513Qxwx5TMgFt1Ocf8+A3nz1QwXqvod9x7Z02APm+DMiQ@mail.gmail.com \
--to=joaotavora@gmail.com \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.