本文介绍了在Emacs中同步文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Emacs的新手,我对计算机不是很好。不过我在几个星期前才发现了Emacs,而且我对这个可能性感到非常惊讶。我期待着将它用于LaTeX文档编辑,一些编程,创建自己的elisp功能,当然也可以使用组织模式创建计划和注释。对我来说,主要的不便在于我在几个地方使用Emacs(笔记本电脑,家用和工作电脑)。在工作中我没有安装软件。如果我在.emacs文件或待办事项列表中进行一些更改,我需要它在任何地方同步。我正在使用dropbox,但是这有点烦人,因为在工作中我需要下载它覆盖旧的等等。我需要一些实用的建议,如何同步一些私人文件,一个地方的更改可以快速加载到其他



PS对于我可怜的英语,抱歉):

解决方案

根据org-mode的任务和事件,一个选项是与Toodledo服务器 - 大多数流行的移动计算设备都有Toodledo应用程序。图书馆位于以下链接:





我修改了 org-toodledo 图书馆使其更像Toodledo,而在我的 .emacs 文件中,我使用:

 (setq org-todo-keywords'(
(sequence
Active(a)
Next Action(n)
Cancelled c)
持有(h)
参考(r)
委托(d)
等待(w)
推迟P)
有一天
计划(p)
|
无(N))))

(setq org-toodledo-status-to-org-map'(
(Active。Active)
(Next Action。Next Action)

(委托,委托)
(等待$等待)
(有一天,有一天)
(规划规划)
(无。无)
( d。 hold)
(推迟,推迟)
(已取消。已取消)))

另外,DONE org-toodledo 图书馆,我将其更改为 - 我用于完成的任务/事件。



我还修改了代码的另一个区域,以便我可以像Toodledo一样拥有五(5)个优先级。


I am new to Emacs and I am not very good with computing. However I discovered Emacs few weeks ago and I am absolutely amazed with possibilities that it has. I am looking forward to use it for LaTeX documents editing, some programing, creating my own elisp functions and of course creating plans and notes with org-mode. The main inconvenience for me is that I am using Emacs at several places (my laptop, home and work computers). At work I am unauthorized to install software. If i make some changes in my .emacs file or to-do list I need it to be synchronized everywhere. I am using dropbox but it is a bit annoying because at work I need to download it overwrite older one and etc. I need some practical advice on how can I synchronize some private files, that changes made in one place could be quickly loaded in other place.

P.S. sorry for my poor English :)

解决方案

In terms of the tasks and events with org-mode, one option is synchronization with the Toodledo server -- there are Toodledo applications for most of the popular mobile computing devices. The library is located at the following link:

https://github.com/christopherjwhite/org-toodledo

I have modified the org-toodledo library to make it behave more like Toodledo, and in my .emacs file, I use:

(setq org-todo-keywords '(
  (sequence
  "Active(a)"
  "Next Action(n)"
  "Canceled(c)"
  "Hold(h)"
  "Reference(r)"
  "Delegated(d)"
  "Waiting(w)"
  "Postponed(P)"
  "Someday(s)"
  "Planning(p)"
  "|"
  "None(N)") ))

(setq org-toodledo-status-to-org-map '(
    ("Active" . "Active")
    ("Next Action" . "Next Action")
    ("Reference" . "Reference")
    ("Delegated" . "Delegated")
    ("Waiting" . "Waiting")
    ("Someday" . "Someday")
    ("Planning" . "Planning")
    ("None" . "None")
    ("Hold" . "Hold")
    ("Postponed" . "Postponed")
    ("Canceled" . "Canceled") ))

In addition, wherever "DONE" is mentioned in the org-toodledo library, I changed it to "None" -- which I use for completed tasks / events.

I also modified another area of the code so that I can have five (5) priorities just like Toodledo.

这篇关于在Emacs中同步文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 04:52