运行 Emacs ispell 命令不会要求确认保存到私有字典
每次我运行 ispell-buffer 并将内容添加到私人字典中时。它最后询问我是否要保存它。我可以关掉这个吗?所以它不会要求我确认,只是自动保存。
除此之外还有一个旁注。在我向个人词典添加一些内容后,直到下次我跳过该单词时,它似乎才取消标记红色下划线。我可以让 ispell 在运行后立即重新扫描文档,以便这些红色下划线消失吗?我已将该词保存在私人词典中,但仍无法将其删除。这真是让人分心。
感谢您的任何帮助。
Everytime I run ispell-buffer and add things to the private dictionary. It asks me confirmation whether I want to save it or not at the end. Can I turn this off?? So it doesn't ask me the confirmation and just automatically saves it.
Then on a side note in addition to that. After I add something to the personal dictionary it doesn't seem to unmark the red underline until next time I pass over the word. Can I have ispell immediately rescan the document after running it so these red underlines disappear. I have saved the word in the private dictionary but still won't remove it. It is just quite distracting.
Thanks for any help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
添加
到 .emacs 文件中。
鲁珀特的回答让我知道要设置的功能。似乎这样做时,如果您在该单词上运行它,它也可以解决问题 2。如果您在某个区域上运行它,红色下划线仍然保留。
Added
to the .emacs file.
Rupert's answer let me know the function to set. Seems when doing this that it also solves problem 2 if you are running it on that word. If you run it on a region the red underline still remains.
对于个人字典保存的事情,我认为你想将变量 ispell-silently-savep 设置为 true (你可以通过 Mxcustomize-group ispell 更改它)。
For the personal dictionary saving thing, I think you want to set the variable ispell-silently-savep to true (you can change it via M-x customize-group ispell).