Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/regex/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用emacs组织模式,如何在项目中发布未更改的文件?_Emacs_Publish_Org Mode - Fatal编程技术网

使用emacs组织模式,如何在项目中发布未更改的文件?

使用emacs组织模式,如何在项目中发布未更改的文件?,emacs,publish,org-mode,Emacs,Publish,Org Mode,我正在运行Emacs24.3和组织模式8.25f。当我使用M-x org publish命令时,组织模式仅将新的.org文件转换为.html,并跳过自上次发布操作以来未修改的所有其他文件 但是,通常我会在发布设置中进行一些更改,并对CSS代码进行一些更改。我希望它们对所有文件生效,而不仅仅是最近修改的文件 那么,我可以告诉组织模式不要跳过这些未更改的文件吗?这应该可以: M-: (org-publish "project name" t) 这将运行org publish,并将FORCE设置为t

我正在运行Emacs24.3和组织模式8.25f。当我使用M-x org publish命令时,组织模式仅将新的.org文件转换为.html,并跳过自上次发布操作以来未修改的所有其他文件

但是,通常我会在发布设置中进行一些更改,并对CSS代码进行一些更改。我希望它们对所有文件生效,而不仅仅是最近修改的文件

那么,我可以告诉组织模式不要跳过这些未更改的文件吗?

这应该可以:

M-: (org-publish "project name" t)
这将运行
org publish
,并将
FORCE
设置为
t
。从文档中:

When optional argument FORCE is non-nil, force publishing all
files in PROJECT.  With a non-nil optional argument ASYNC,
publishing will be done asynchronously, in another process.
作为一个:

C-u M-x org-publish