From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: using text properties in a buffer that is older than its file Date: Fri, 31 Jul 2015 21:17:07 +0100 Message-ID: References: <7af1a5b0-01c2-4095-9cc0-91da98738118@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1438373856 14550 80.91.229.3 (31 Jul 2015 20:17:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2015 20:17:36 +0000 (UTC) Cc: emacs-devel To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 31 22:17:35 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZLGkG-0006wE-Rp for ged-emacs-devel@m.gmane.org; Fri, 31 Jul 2015 22:17:33 +0200 Original-Received: from localhost ([::1]:45900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLGkG-00082h-47 for ged-emacs-devel@m.gmane.org; Fri, 31 Jul 2015 16:17:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLGkD-00082c-GC for emacs-devel@gnu.org; Fri, 31 Jul 2015 16:17:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLGkB-0005rN-Lz for emacs-devel@gnu.org; Fri, 31 Jul 2015 16:17:29 -0400 Original-Received: from mail-io0-x234.google.com ([2607:f8b0:4001:c06::234]:33226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLGkB-0005r4-HS for emacs-devel@gnu.org; Fri, 31 Jul 2015 16:17:27 -0400 Original-Received: by ioii16 with SMTP id i16so96262368ioi.0 for ; Fri, 31 Jul 2015 13:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=L5i1cIUULNEY+9HaYUG921RoqSvQo29lZdq5BjHEyUY=; b=TkbNGrlgoSqF1oJUrEWhRGJ+wIecwnBEW1ZuWqydKIadgL58vp+bPjwLHQxMif9SwJ Qyk4iDSSLcOyB5ZM7D42POURlgZG1iC90jqpZllXZDBTEQUNUuQJBmn96+NSNqJjTZ5s 004aDQUMu6Fp1jBQmryOYtiziRsPNf8RzdwetW6s/kmE4/bwWt2LOodY4SC0LF7GoA0T +rniFgm2bD8nOffBEjkYJpYLAjx254K+lLBRpomAytGA1aNUZ7ZAqvdh53JM56jOk3hM WvLcMWKvpB+aXodSeb6JP9bTcd1aBHQWRRbVLBtFJLVlFxBjKN6i6cGpAFxdWNR6jdU7 tcLA== X-Received: by 10.107.8.212 with SMTP id h81mr7923201ioi.125.1438373846615; Fri, 31 Jul 2015 13:17:26 -0700 (PDT) Original-Received: by 10.107.30.210 with HTTP; Fri, 31 Jul 2015 13:17:07 -0700 (PDT) In-Reply-To: <7af1a5b0-01c2-4095-9cc0-91da98738118@default> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c06::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188242 Archived-At: On Fri, Jul 31, 2015 at 7:20 PM, Drew Adams 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=C3=A3o