aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ring.h
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2025-12-19 23:25:48 +0100
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2025-12-19 23:25:48 +0100
commit2592ef74ab2eba57c32fe21993ce01e9698b106f (patch)
treeb733680e79aab862c0ba748bb91016a752c8773a /src/ring.h
parent714875f3c0c22ed01a8e777755b281c97f2b52b8 (diff)
fixup: renamed "backups" to "recovery files"HEADmaster-fmsbw-cimaster
* Other editors call "backup files" previous copies of saved files. This role would be served by savepoint files in SciTECO. * Likewise filename~ would point to such a backup file. It therefore makes sense that savepoint files also end in tildes (.teco-n-filename~). * Security copies of modified buffers would be called "auto-saves" (Emacs) or "swap files" (Vim). Both of these terms is IMHO misleading, so SciTECO now uses the term "recovery file". * "Recovery files" are now named #filename# just like in Emacs.
Diffstat (limited to 'src/ring.h')
-rw-r--r--src/ring.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ring.h b/src/ring.h
index 1b1727e..e6b0658 100644
--- a/src/ring.h
+++ b/src/ring.h
@@ -29,8 +29,8 @@ typedef enum {
TECO_BUFFER_CLEAN = 0,
/** buffer modified */
TECO_BUFFER_DIRTY,
- /** modified and backup already written */
- TECO_BUFFER_DIRTY_BACKEDUP
+ /** buffer modified and recovery file already written */
+ TECO_BUFFER_DIRTY_DUMPED
} teco_buffer_state_t;
typedef struct teco_buffer_t {
@@ -83,9 +83,9 @@ void teco_ring_dirtify(void);
guint teco_ring_get_first_dirty(void);
gboolean teco_ring_save_all_dirty_buffers(GError **error);
-extern guint teco_ring_backup_interval;
+extern guint teco_ring_recovery_interval;
-void teco_ring_backup(void);
+void teco_ring_dump_recovery(void);
gboolean teco_ring_edit_by_name(const gchar *filename, GError **error);
gboolean teco_ring_edit_by_id(teco_int_t id, GError **error);