summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-08 18:37:49 +0200
committerThanos Apollo <[email protected]>2024-02-08 18:38:24 +0200
commitf62414695c04d4facc6a4c1e330fa8b6a8d69cec (patch)
tree3c220dc5b42270bf7f9b9fba1f9b0e7b7acafe29
parent006de80905d9628e51687975c08d2a080adc5ca4 (diff)
doc: Add `Auto Push Changes` section
-rw-r--r--doc/gnosis.info53
-rw-r--r--doc/gnosis.org11
-rw-r--r--doc/gnosis.texi15
3 files changed, 59 insertions, 20 deletions
diff --git a/doc/gnosis.info b/doc/gnosis.info
index a96d4c1..712033c 100644
--- a/doc/gnosis.info
+++ b/doc/gnosis.info
@@ -50,6 +50,7 @@ Customization & Extension
* Adjust string comparison::
* Creating Custom Note Types::
* Customizing Gnosis Algorithm::
+* Auto push changes::
Customizing Gnosis Algorithm
@@ -276,6 +277,7 @@ enter ‘n’ (no) at the prompt "Start development env?"
* Adjust string comparison::
* Creating Custom Note Types::
* Customizing Gnosis Algorithm::
+* Auto push changes::

File: gnosis.info, Node: Adjust string comparison, Next: Creating Custom Note Types, Up: Customization & Extension
@@ -331,7 +333,7 @@ should be done.
‘gnosis-display’ functions

-File: gnosis.info, Node: Customizing Gnosis Algorithm, Prev: Creating Custom Note Types, Up: Customization & Extension
+File: gnosis.info, Node: Customizing Gnosis Algorithm, Next: Auto push changes, Prev: Creating Custom Note Types, Up: Customization & Extension
5.3 Customizing Gnosis Algorithm
================================
@@ -404,28 +406,41 @@ by being multiplied with last interval.
For a note with a value of last-interval of 6 days and a ff of 0.5,
upon an unsuccessful review the next interval will be 6 * 0.5
+
+File: gnosis.info, Node: Auto push changes, Prev: Customizing Gnosis Algorithm, Up: Customization & Extension
+
+5.4 Auto push changes
+=====================
+
+When setting ‘gnosis-auto-push’ to ‘t’, at the end of every review
+session the changes to ‘gnosis-db’ will be pushed to the pre-configured
+push remote. You have to set your push remote manually.
+
+ (setf gnosis-auto-push t)
+

Tag Table:
Node: Top246
-Node: Introduction1397
-Node: Installation1877
-Node: Using straightel2246
-Node: Installing manually from source2758
-Node: Adding notes3447
-Node: Note Types4863
-Node: Cloze5087
-Node: Basic Type6060
-Node: Double6338
-Node: MCQ (Multiple Choice Question)6684
-Node: y-or-n7093
-Node: Customization & Extension7519
-Node: Adjust string comparison8223
-Node: Creating Custom Note Types9019
-Node: Customizing Gnosis Algorithm10154
-Node: Gnosis Algorithm Initial Interval10470
-Node: Gnosis Algorithm Easiness Factor11061
-Node: Gnosis Algorithm Forgetting Factor12065
+Node: Introduction1419
+Node: Installation1899
+Node: Using straightel2268
+Node: Installing manually from source2780
+Node: Adding notes3469
+Node: Note Types4885
+Node: Cloze5109
+Node: Basic Type6082
+Node: Double6360
+Node: MCQ (Multiple Choice Question)6706
+Node: y-or-n7115
+Node: Customization & Extension7541
+Node: Adjust string comparison8267
+Node: Creating Custom Note Types9063
+Node: Customizing Gnosis Algorithm10198
+Node: Gnosis Algorithm Initial Interval10540
+Node: Gnosis Algorithm Easiness Factor11131
+Node: Gnosis Algorithm Forgetting Factor12135
+Node: Auto push changes12713

End Tag Table
diff --git a/doc/gnosis.org b/doc/gnosis.org
index 29c4188..c2ffcf1 100644
--- a/doc/gnosis.org
+++ b/doc/gnosis.org
@@ -291,3 +291,14 @@ Example:
For a note with a value of last-interval of 6 days and a ff of 0.5,
upon an unsuccessful review the next interval will be 6 * 0.5
+
+
+** Auto push changes
+When setting =gnosis-auto-push= to =t=, at the end of every review
+session the changes to ~gnosis-db~ will be pushed to the pre-configured
+push remote. You have to set your push remote manually.
+
+#+begin_src emacs-lisp
+(setf gnosis-auto-push t)
+#+end_src
+
diff --git a/doc/gnosis.texi b/doc/gnosis.texi
index f2762af..efb9e18 100644
--- a/doc/gnosis.texi
+++ b/doc/gnosis.texi
@@ -76,6 +76,7 @@ Customization & Extension
* Adjust string comparison::
* Creating Custom Note Types::
* Customizing Gnosis Algorithm::
+* Auto push changes::
Customizing Gnosis Algorithm
@@ -288,6 +289,7 @@ enter @samp{n} (no) at the prompt ``Start development env?''
* Adjust string comparison::
* Creating Custom Note Types::
* Customizing Gnosis Algorithm::
+* Auto push changes::
@end menu
@node Adjust string comparison
@@ -420,4 +422,15 @@ Example:
For a note with a value of last-interval of 6 days and a ff of 0.5,
upon an unsuccessful review the next interval will be 6 * 0.5
-@bye \ No newline at end of file
+@node Auto push changes
+@section Auto push changes
+
+When setting @samp{gnosis-auto-push} to @samp{t}, at the end of every review
+session the changes to @code{gnosis-db} will be pushed to the pre-configured
+push remote. You have to set your push remote manually.
+
+@lisp
+(setf gnosis-auto-push t)
+@end lisp
+
+@bye