all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* automatically save org-index after it changes?
@ 2016-02-04 12:42 Alan Schmitt
  2016-02-04 16:35 ` Nick Dokos
  2016-02-05 13:07 ` Alan Schmitt
  0 siblings, 2 replies; 4+ messages in thread
From: Alan Schmitt @ 2016-02-04 12:42 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

Hello,

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?

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated February 3, 2016, Mauna Loa Obs.): 402.43 ppm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

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

* Re: automatically save org-index after it changes?
  2016-02-04 12:42 automatically save org-index after it changes? Alan Schmitt
@ 2016-02-04 16:35 ` Nick Dokos
  2016-02-05  8:46   ` Alan Schmitt
  2016-02-05 13:07 ` Alan Schmitt
  1 sibling, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2016-02-04 16:35 UTC (permalink / raw)
  To: emacs-orgmode

Alan Schmitt <alan.schmitt@polytechnique.org> 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?
>

Does something *really* change or is the file marked modified with no
other visible change? If the lattter, it's probably a bug.

--
Nick

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

* Re: automatically save org-index after it changes?
  2016-02-04 16:35 ` Nick Dokos
@ 2016-02-05  8:46   ` Alan Schmitt
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Schmitt @ 2016-02-05  8:46 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 626 bytes --]

On 2016-02-04 11:35, Nick Dokos <ndokos@gmail.com> writes:

> Alan Schmitt <alan.schmitt@polytechnique.org> 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?
>>
>
> Does something *really* change or is the file marked modified with no
> other visible change? If the lattter, it's probably a bug.

Something does change: the jumping count.

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated February 3, 2016, Mauna Loa Obs.): 402.43 ppm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

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

* Re: automatically save org-index after it changes?
  2016-02-04 12:42 automatically save org-index after it changes? Alan Schmitt
  2016-02-04 16:35 ` Nick Dokos
@ 2016-02-05 13:07 ` Alan Schmitt
  1 sibling, 0 replies; 4+ messages in thread
From: Alan Schmitt @ 2016-02-05 13:07 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

Hello,

On 2016-02-04 13:42, Alan Schmitt <alan.schmitt@polytechnique.org> 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’ve 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

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated February 4, 2016, Mauna Loa Obs.): 403.08 ppm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

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

end of thread, other threads:[~2016-02-05 13:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04 12:42 automatically save org-index after it changes? Alan Schmitt
2016-02-04 16:35 ` Nick Dokos
2016-02-05  8:46   ` Alan Schmitt
2016-02-05 13:07 ` Alan Schmitt

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.