我的emacs "ispell“命令在点击emacs乳胶缓冲区中引用的部分(我使用的是AucTEX)时中断。使用我以前的emacs/Linux发行版,它没有这个问题。示例:
as you like to say, vbfs ``You won't know what to do with yourself.''正确运行M-x ispell标记vbfs。然而,
as you like to say, ``You won't know what to do with yourself.'' vbfs不注册任何错误。此外,一旦它被击中,引用的部分文本,似乎是跳过其余的文档。是什么导致的?作为参考,这里是我的ispell-tex-skip-alists var:
((("\\\\addcontentsline" ispell-tex-arg-end 2)
("\\\\add\\(tocontents\\|vspace\\)" ispell-tex-arg-end)
("\\\\\\([aA]lph\\|arabic\\)" ispell-tex-arg-end)
("\\\\bibliographystyle" ispell-tex-arg-end)
("\\\\makebox" ispell-tex-arg-end 0)
("\\\\e?psfig" ispell-tex-arg-end)
("\\\\document\\(class\\|style\\)" . "\\\\begin[ \n]*{[ \n]*document[ \n]*}"))
(("\\(figure\\|table\\)\\*?" ispell-tex-arg-end 0)
("list" ispell-tex-arg-end 2)
("program" . "\\\\end[ \n]*{[ \n]*program[ \n]*}")
("verbatim\\*?" . "\\\\end[ \n]*{[ \n]*verbatim\\*?[ \n]*}")))在buildvm-15.phx2.fedoraproject.org上运行GNU 24.3.1 (x86_64-redhat-linux-gnu,GTK+ 3.8.2版)
发布于 2013-12-21 23:50:26
我法术将一对引号传递给Hun拼写,这并不能应付它。我们可以通过以下建议来避免这种情况:
(defadvice ispell-send-string (before kill-quotes activate)
(setq string (replace-regexp-in-string "''" " " string)))它用空格替换一对引号。这些空格是必需的,以避免不对齐.
https://stackoverflow.com/questions/20611169
复制相似问题