Aquamacs 和 g-client 错误
我已经从 安装了 g-client 库emacspeak google 代码存储库,并通过在 Makefile 中将“emacs”替换为 Aquamacs 的完整路径,成功将 make 链接到 Aquamacs。该模块似乎在某些情况下工作正常,而在其他情况下则不然。
- 我可以使用文本和简单的 html 缓冲区来
gdoc-publish-from-html
和gdoc-publish-from-text
。 - 我无法
gdoc-publish-from-org
,消息缓冲区显示:
正在导出... HTML 导出完成,推送至杀环和剪贴板
广告原始错误:收到 400
我也无法导出从 org-mode 生成的 html,除非我从标题中删除以下内容:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
lang="en" xml:lang="en">
我开始怀疑 OrgMode html 和 google 文档的兼容性。
此外,Vivek Haldar 建议人们应该能够使用 gdocs-fetch-document-html
或 text
从现有 Google 文档中获取 html 或文本。在提示符下传递文档 ID 后,没有任何反应,尽管我期望打开一个包含文档内容的 *g scrap*
缓冲区。我怀疑这里有两个问题;一个是 org-mode html--google doc 兼容性,另一个是 g-client lisp 代码的 aquamacs 特定问题。
I have installed the g-client library from the emacspeak google code repository and successfully linked the make to Aquamacs by replacing 'emacs' with the the full path to Aquamacs in the Makefile. The module seems to work fine in some cases and not in others.
- I can
gdoc-publish-from-html
andgdoc-publish-from-text
with text and simple html buffers. - I cannot
gdoc-publish-from-org
, the Messages buffer shows:
Exporting...
HTML export done, pushed to kill ring and clipboard
ad-Orig-error: Received 400
I also cannot export the html generated from org-mode unless I remove the following from the header:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
lang="en" xml:lang="en">
I am becoming suspicious bout the compatibility of OrgMode html and google docs.
Further, Vivek Haldar suggests that one should be able to grab html or text from an existing google doc using gdocs-fetch-document-html
or text
. Upon passing the document ID at the prompt, nothing happens, though I am expecting a *g scratch*
buffer to open containing the content from the document. I suspect that there are two issues afoot here; one being org-mode html--google doc compatibility and the other being an aquamacs specific issue with the g-client lisp code.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论