emacs

idris-mode – Buffer has no process

点点圈 提交于 2020-02-03 08:56:26
问题 I'm new to emacs (coming from vim, where I can't get idris-vim to work) and have these packages installed via el-get: ace-jump-mode installed A quick cursor location minor mode for emacs. el-get installed Manage the external elisp bits and pieces you depend upon. evil-leader installed Add <leader> shortcuts to Evil, the extensible vim emulation layer evil-numbers installed Increment/decrement numbers in Evil, the extensible vim emulation layer. Like C-a/C-x in vim. After installation, you

Emacs: How can I find a file in my project quickly?

假如想象 提交于 2020-02-02 14:14:12
问题 Now, I'm using ede to manage my cpp project, and I try to find a file in my project quickly, but I failed. I used ede-find-file to find "db.h", it sits in "d:/projects/leveldb/include/db.h", unfortunately, it said cannot find. My config is put below (setq leveldb_root "d:/projects/leveldb/") (ede-cpp-root-project "leveldb" :file (concat leveldb_root ".gitignore") :system-include-path '("C:/Program Files/Microsoft SDKs/Windows/v7.1/Include" "C:/Program Files (x86)/Microsoft Visual Studio 9.0

Mirroring location in file in two opened buffers side by side

末鹿安然 提交于 2020-02-02 11:04:19
问题 I am trying to find a package/function in emacs where it would have both files opened side by side to be at same line location mirroring the movement of whichever buffer is moving. Meaning, for two buffers opened side by side, moving in one of the buffers (page up/down, moving cursor.,..etc) would have the same movements in the other buffer. More specifically, when opening a buffer (and while activating this mode) the opened buffer should already be at the line position of the one that is

Mirroring location in file in two opened buffers side by side

爱⌒轻易说出口 提交于 2020-02-02 11:03:33
问题 I am trying to find a package/function in emacs where it would have both files opened side by side to be at same line location mirroring the movement of whichever buffer is moving. Meaning, for two buffers opened side by side, moving in one of the buffers (page up/down, moving cursor.,..etc) would have the same movements in the other buffer. More specifically, when opening a buffer (and while activating this mode) the opened buffer should already be at the line position of the one that is

Open dired and select the file associated with the previous buffer?

送分小仙女□ 提交于 2020-02-02 01:53:52
问题 Let's say I am editing blah.txt with Emacs and I decide to open dired to rename the file blah.txt. When I press C-x d RET (or C-x C-f RET ), a dired buffer will show up to display the content of the directory containing blah.txt , but the cursor will not be on blah.txt . So I need to search my file first ( C-s blah.txt ) to place my cursor on it and then I can rename it ( R ). How do I automate or remove the step C-s blah.txt ? 回答1: dired-jump is exactly what you want. (autoload 'dired-jump

How can I use DoctorJS with Emacs?

僤鯓⒐⒋嵵緔 提交于 2020-02-01 20:13:07
问题 Is there a way to use DoctorJS (apparently it used to be called jsctags) to generate a TAGS file for Emacs? I've been looking around and it seems to always use the vi tags style, but I could be missing something very obvious. 回答1: doctorjs does not appear to output emacs style tags. It does not accept the -e option. Probably it would not be that difficult to add emacs tag support, as both emacs and vim tag files are a very simple format. 回答2: Please try this fork, which does support the -e

How can I use DoctorJS with Emacs?

心不动则不痛 提交于 2020-02-01 20:12:02
问题 Is there a way to use DoctorJS (apparently it used to be called jsctags) to generate a TAGS file for Emacs? I've been looking around and it seems to always use the vi tags style, but I could be missing something very obvious. 回答1: doctorjs does not appear to output emacs style tags. It does not accept the -e option. Probably it would not be that difficult to add emacs tag support, as both emacs and vim tag files are a very simple format. 回答2: Please try this fork, which does support the -e

How to preserve emacs colors from regular terminal to gnu screen

早过忘川 提交于 2020-02-01 00:48:52
问题 I'm using OSX snow leopard, for the record. When I use emacs straight from terminal, I have a color set (e.g. for c/c++) that I'm very happy with---green on black, red comments, colored key words... etc etc. Some of this is set in my 'terminal preferences', and some is in my ~/.emacs file (see below). When I run emacs from screen, the basic color-scheme is the same (green on black), but the coloring is different (e.g. comment characters are red, but not the entire comments) -- and really

How to preserve emacs colors from regular terminal to gnu screen

≯℡__Kan透↙ 提交于 2020-02-01 00:47:13
问题 I'm using OSX snow leopard, for the record. When I use emacs straight from terminal, I have a color set (e.g. for c/c++) that I'm very happy with---green on black, red comments, colored key words... etc etc. Some of this is set in my 'terminal preferences', and some is in my ~/.emacs file (see below). When I run emacs from screen, the basic color-scheme is the same (green on black), but the coloring is different (e.g. comment characters are red, but not the entire comments) -- and really

How to remove an entry from ispell private dictionary?

只谈情不闲聊 提交于 2020-02-01 00:13:22
问题 I was wondering how could I remove one (wrongly inserted) entry/word from the ispell private-dictionary. EDIT after more digging i am still unable to delete entries from default dictionary, but I think the solution could be around buildhash program. The problem is to generate the list of entries to delete... i do not find a simple example. 回答1: On my cygwin install ispell is just a wrapper around aspell : $ ispell Ispell compatibility script for Aspell. Usage: /usr/bin/ispell [options] -a|-l|