From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: force reparse of file variables Date: Thu, 13 Aug 2015 11:23:07 -0700 (PDT) Message-ID: <538f3869-f7ea-4ed3-ac45-dc40a3a283c9@default> References: <79a7c233-3819-4aef-89ec-7d1e6bc317ee@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1439490222 9141 80.91.229.3 (13 Aug 2015 18:23:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Aug 2015 18:23:42 +0000 (UTC) To: Dan Espen , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 13 20:23:30 2015 Return-path: Envelope-to: geh-help-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 ) id 1ZPxA1-0002F6-VY for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Aug 2015 20:23:30 +0200 Original-Received: from localhost ([::1]:43749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPxA1-00028n-8x for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Aug 2015 14:23:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPx9n-00025U-Ch for help-gnu-emacs@gnu.org; Thu, 13 Aug 2015 14:23:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPx9j-0005k1-BQ for help-gnu-emacs@gnu.org; Thu, 13 Aug 2015 14:23:15 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:39547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPx9j-0005jx-4G for help-gnu-emacs@gnu.org; Thu, 13 Aug 2015 14:23:11 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t7DIN9GI021231 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 13 Aug 2015 18:23:10 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t7DIN814012667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 13 Aug 2015 18:23:09 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t7DIN8YQ017217; Thu, 13 Aug 2015 18:23:08 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106547 Archived-At: > > Is there a way to force (re)-load all the file variables in a buffer? > > > > I have a template (with yasnippet) that populates files of certain > > types and derives some file variables (such as the 'compile-command), > > but I need to save/open to load it. >=20 > Do that lots of times. I save the file, then revert-buffer. C-x C-v RET IOW, `find-alternate-file' should do what you want, I think. It kills the buffer and revisits the file.