From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: automatically save org-index after it changes? Date: Fri, 05 Feb 2016 14:07:07 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRg6S-0002ql-EW for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 08:07:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRg6P-0007sn-8Y for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 08:07:12 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:45543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRg6P-0007qp-2n for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 08:07:09 -0500 In-Reply-To: (Alan Schmitt's message of "Thu, 04 Feb 2016 13:42:13 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, On 2016-02-04 13:42, Alan Schmitt writes: > Each time I use org-index to jump to some headline, the file where the > table lives is modified. Is there a way to automatically save the file > after each such change? The solution I=E2=80=99ve found is not org specific, but it may still be of interest here. I looked into how autosave work, and I can tweak it for that particular file using: # -*- auto-save-visited-file-name: t; -*- This way the file is autosaved (for instance when emacs is idle) as if it was really saved (and not in another file). Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Athmospheric CO=E2=82=82 (Updated February 4, 2016, Mauna Loa Obs.): 403.08= ppm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJWtJ57AAoJEAQNCjtO0uXHZ3oIAJYLAk8FXo3G2a5ANckyldSQ 1haCQvxjeGTDQEkJmlAKm2Kxwq0kaVS+dhkDlVc6eWwCLcyvF9crTQG+NeiK2wY8 Aq4mNkwDG9tqWo6RWYLkdmBu9lFynF7nqAT9Au9722KJMwQr/KErBWU0U7VdvsGf 3hyfVNXYijVSvQmrIEZ9tBq+FHRy9pM1hm7vOFOs3kwfxfYNI6cPtr8rhWQRm8Uq aiOvLApc/1wgMih4HXz/j/n65TCqyHKhlEkCs9KJ3fnWVCr8ndJOV2qUa8PLmFFk QwjlkfoL5f8Gg8QhZWO7pJt53srDZsm0wwTXy0b8d28V4zR0q+HrF3YL5IS8bsE= =BdXI -----END PGP SIGNATURE----- --=-=-=--