]> git.lyx.org Git - features.git/commit
Add \save_transient_properties parameter (#9841)
authorGuillaume Munch <gm@lyx.org>
Sun, 20 Dec 2015 16:37:29 +0000 (16:37 +0000)
committerGuillaume Munch <gm@lyx.org>
Tue, 12 Jan 2016 21:25:34 +0000 (21:25 +0000)
commit5c2d04999619f8b8890d931e28c133212ce20fd0
tree1a92a553210b54af4144d1262f6422fafcf290ef
parentf475795b920a45d76a44081b109c1cfce60f6112
Add \save_transient_properties parameter (#9841)

Increment LyX format to 504.

With this new parameter, the user can indicate that some other parameters that
are frequently switched must not be recorded in the file (as if they were a
setting specific to the user or transient, rather than a document setting). This
will play nicer with version control systems.

See the discussion, e.g.:
http://thread.gmane.org/gmane.editors.lyx.devel/157824/focus=157993 (third
solution mentioned)

TODO:
* The interface remains to be set up. We cannot change this setting from LyX
  for now.
* If save_transient_properties is false, we should read the user setting as a
  per-user-per-document (session) setting (e.g. like the cursor position).
* Once the above is done, we can treat \justification the same way (but it would
  be even better if \justification was moved to lyxrc).
development/FORMAT
lib/lyx2lyx/LyX.py
lib/lyx2lyx/lyx_2_2.py
src/Buffer.cpp
src/BufferParams.cpp
src/BufferParams.h
src/tex2lyx/Preamble.cpp
src/tex2lyx/Preamble.h
src/version.h