http://xtalk.msk.su/~ott/common/emacs/rc/emacs-rc-cedet.el.html
http://cedet.sourceforge.net/
http://cscope.sourceforge.net/
http://ecb.sourceforge.net/
2. How can I use emacs without gui when I work on a remote machine with a slow connection?
emacs -nw
3. In emacs shell mode, what setting need I modify to make the shell promote PS1 display correctly, e.g. with color like in a terminal?
Add the following code in your .emacs
(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
4. After I update to emacs 23, invoking flyspell-mode gives the following error "Enabling flyspell-mode gave an error".
This is caused by the conflicts between site dictionaries and the dictionaries in emacs 23.It can be fixed as following:
cd /usr/share/emacs23/site-lisp/dictionaries-common5. How do I enable double spaces in emacs?
sudo rm *.el *.elc
This feature is provided in the package setspace. Add the following commands in the preamble of your tex file.
\usepackage{setspace}6. Which font looks pretty in emacs?
\doublespacing
My personal favourite is Nimbus Mono L regular.
7. In org-mode, how can I change the default browser?
Add the following two lines in your .emacs file:
(setq browse-url-browser-function (quote browse-url-generic))Similarly, if you want to use the open sourced version of Chrome Browser instead of the Google rebranded version, replace "google-chrome" with "chromium-browser"; if you want to use firefox, replace "google-chrome" with "firefox".
(setq browse-url-generic-program "google-chrome")
8. I copy some text in emacs, how can I paste the text another application?
In your .emacs file. add the follow line
(setq x-select-enable-clipboard t)
No comments:
Post a Comment