emacs24

Emacs markdown-mode error on preview: “bin / bash: markdown: command not found”

痴心易碎 提交于 2020-01-30 14:32:14
问题 I am using emacs 24 on fedora 17. I installed markdown-mode , but whenever I try to export a file by typing C-c C-c m or C-c C-c p in emacs, I got this error: /bin/bash: markdown: command not found I read that this is probably an issue with the path variable, so I compared the env variable by typing $ env at the command line and Esc-! env RET in emacs. I found the path variable description is the same in both cases. What is this error? How can I fix it and execute markdown previews from

eterm-color: Unknown terminal type

☆樱花仙子☆ 提交于 2020-01-10 10:46:30
问题 In an ansi-term terminal in Emacs, when I ssh to a specific remote host, the terminal is not recognized properly, and I get the error: 'eterm-color': unknown terminal type. I added export TERMINFO=~/.terminfo to .bashrc on the remote machine, and I have tried the following on the remote machine: cp -r /usr/share/emacs/21.4/etc/e ~/.terminfo Just in case, I also tried copying over my own local copy of /etc/e (Emacs 24.3) to ~/.terminfo on the remote machine. Also, in case it matters, if I try

eterm-color: Unknown terminal type

女生的网名这么多〃 提交于 2020-01-10 10:46:11
问题 In an ansi-term terminal in Emacs, when I ssh to a specific remote host, the terminal is not recognized properly, and I get the error: 'eterm-color': unknown terminal type. I added export TERMINFO=~/.terminfo to .bashrc on the remote machine, and I have tried the following on the remote machine: cp -r /usr/share/emacs/21.4/etc/e ~/.terminfo Just in case, I also tried copying over my own local copy of /etc/e (Emacs 24.3) to ~/.terminfo on the remote machine. Also, in case it matters, if I try

howto send emacs control-quote (C-') via terminal (iTerm2)

半世苍凉 提交于 2020-01-05 03:06:51
问题 I have seen this answer for the case of xterm Send "C-(" to Emacs in VT100/xterm terminal (Mac OS X's Terminal)? Yet, how would i represent the conrol key in ctrl + char combinations (like emacs C-') while sending escape-sequences or hex-codes via iTerm2 ? Experimenting in accord with the link above, I can send C - & and C - ( BUT NOT C - ' . Why? ^[[27;6;38~ yields C-& as expected ^[[27;6;39~ yields ~ only tilde ^[[27;6;40~ yields C-( as expected 来源: https://stackoverflow.com/questions

emacs sr-speedbar ubuntu - same window

瘦欲@ 提交于 2020-01-04 12:48:51
问题 I am on ubuntu. Just installed sr-speebar via marmalade. I know speedbar comes built in but I was not able using the wiki directions to get it into the same frame. So I installed via marmalde this package speedar Maramalade I have put (require 'sr-speedbar) in my .emacs. The issue is that on Ubuntu windows key opens a window mode. So I can't test it. there are a whole pile of comands but I can't get it too work. `sr-speedbar-open' Open `sr-speedbar' window. `sr-speedbar-close' Close `sr

emacs sr-speedbar ubuntu - same window

自古美人都是妖i 提交于 2020-01-04 12:48:11
问题 I am on ubuntu. Just installed sr-speebar via marmalade. I know speedbar comes built in but I was not able using the wiki directions to get it into the same frame. So I installed via marmalde this package speedar Maramalade I have put (require 'sr-speedbar) in my .emacs. The issue is that on Ubuntu windows key opens a window mode. So I can't test it. there are a whole pile of comands but I can't get it too work. `sr-speedbar-open' Open `sr-speedbar' window. `sr-speedbar-close' Close `sr

How do I fix a “Wrong Type Argument: listp,” error when trying to access remote file using tramp?

醉酒当歌 提交于 2020-01-04 03:02:00
问题 I am unable to access remote files in my usual way: C-x C-f [server]:[path][file] and am thrown this error: Wrong Type Argument: listp, [[server]:[path][file] I'm not even sure how to debug this further. any help is appreciated. edit: output when trying to debug: Debugger entered: nil (progn (debug) (ido-mode t) (progn (ad-add-advice (quote completing-read) (quote (foo nil t (advice lambda nil (if (boundp ...) ad-do-it (setq ad-return-value ...))))) (quote around) (quote nil)) (ad-activate

How do I fix a “Wrong Type Argument: listp,” error when trying to access remote file using tramp?

穿精又带淫゛_ 提交于 2020-01-04 03:01:14
问题 I am unable to access remote files in my usual way: C-x C-f [server]:[path][file] and am thrown this error: Wrong Type Argument: listp, [[server]:[path][file] I'm not even sure how to debug this further. any help is appreciated. edit: output when trying to debug: Debugger entered: nil (progn (debug) (ido-mode t) (progn (ad-add-advice (quote completing-read) (quote (foo nil t (advice lambda nil (if (boundp ...) ad-do-it (setq ad-return-value ...))))) (quote around) (quote nil)) (ad-activate

Emacs, how to auto turn on flyspell for LaTeX file

感情迁移 提交于 2020-01-02 08:34:29
问题 I use Emacs only for \LaTeX and python programming. Is there a way to automatically turn on flyspell-mode when I work on a .tex file, and turn on flyspell-prog-mode when I work on a .py file? How can I do this in my .emacs file? 回答1: Add those functions to hooks of python-mode and latex-mode (require 'python) ;; If you use tex-mode (require 'tex-mode)` (add-hook 'latex-mode-hook 'flyspell-mode) ;; If you use AUCTeX (load "auctex.el" nil t t)` (add-hook 'LaTeX-mode-hook 'flyspell-mode) (add

Which Emacs mail package should I use? [closed]

家住魔仙堡 提交于 2020-01-02 01:11:12
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I'm overwhelmed by the number of (apparently) capable mail reading and writing packages that come with GNU Emacs, let alone the 3rd party ones. I don't even know where to begin, so let me just say what kind of functionality I'm looking for, and hopefully someone can persuade me that one choice is better than the