Skip to content

[200_33] 增加自动备份功能#3240

Merged
da-liii merged 5 commits intomainfrom
hongwei/200_33/auto_backup
Apr 28, 2026
Merged

[200_33] 增加自动备份功能#3240
da-liii merged 5 commits intomainfrom
hongwei/200_33/auto_backup

Conversation

@GatsbyUSTC
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread TeXmacs/progs/startup-tab/startup-tab-settings.scm Outdated
Comment thread TeXmacs/progs/init-research.scm Outdated
Comment thread TeXmacs/progs/texmacs/texmacs/tm-files.scm
Comment thread TeXmacs/progs/texmacs/texmacs/tm-files.scm
Comment thread TeXmacs/progs/texmacs/texmacs/tm-files.scm
Comment thread TeXmacs/progs/texmacs/texmacs/tm-files.scm Outdated
Comment thread TeXmacs/progs/texmacs/texmacs/tm-files.scm
Comment thread TeXmacs/progs/texmacs/texmacs/tm-files.scm Outdated
Comment thread TeXmacs/progs/texmacs/texmacs/tm-files.scm Outdated
Comment thread TeXmacs/progs/texmacs/texmacs/tm-server.scm Outdated
Comment thread TeXmacs/progs/texmacs/texmacs/tm-server.scm
Comment thread TeXmacs/progs/texmacs/texmacs/tm-server.scm
Comment thread TeXmacs/progs/texmacs/texmacs/tm-server.scm Outdated
(define (auto-backup-home-path)
(path-from-env "TEXMACS_HOME_PATH"))

(define (auto-backup-texmacs-path)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get-texmacs-path

Comment thread TeXmacs/progs/texmacs/texmacs/tm-files.scm
(auto-backup-url-stree->path (url->stree name)))))
(lambda args "untitled")))

(define (auto-backup-path-descends? child parent)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(liii path) 里面应该有函数的

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

利用 path-parent 来简化代码

Copy link
Copy Markdown
Contributor

@da-liii da-liii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@da-liii da-liii merged commit 2162ea2 into main Apr 28, 2026
@da-liii da-liii deleted the hongwei/200_33/auto_backup branch April 28, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants