emacs24

emacs 24 on windows 7, tramp cannot find plink program

孤街醉人 提交于 2019-12-04 12:43:43
I am trying to use Emacs 24.2 with Tramp on windows 7 to remotely edit files on a linux server. I installed the Putty suit program and OpenSSH. I also placed the plink.exe in the putty suit into the bin folder under the emacs 24 folder, and added the folder emacs24/bin into the PATH environment variable. However, when I try to access the remote file from emacs with the command in the minibuffer: /username@host:filename, I get the following error message from emacs: plink is not recognized as an internal or external command. It seems that emacs cannot find the plink program. But, when I try to

How can I tell if CEDET is using GNU Global?

这一生的挚爱 提交于 2019-12-04 11:57:00
I have CEDET working for the most part on emacs 24.2 with the latest from bzr repository. When I am searching for symbols or definitions, I see that the cedet mini-buffer shows parses through a lot of files, some that are not there as header-files, the files do not have any reference to the symbols I am searching. I will leave CEDET to its job, let it search for symbols as it sees fit. Is there any debug mechanism or verbose mode that I can turn on to see 1) What are all the files it is searching. 2) If it has found the GTAGS file at the base of my project. I understand that CEDET only

IPython auto-completion emacs24 doesn't work

拈花ヽ惹草 提交于 2019-12-04 07:48:10
I'm using emacs24.0.92 with IPython 12. I took ipython.el file from IPython repository and also tried this patch however auto-completion still does not work for me. Can someone give any hint about it ? That's an old question but since I was looking for it: 1- python-mode.el A quick search lead me to this working solution: http://www.emacswiki.org/emacs/PythonProgrammingInEmacs#toc5 2- jedi You still can use the completion given by jedi.el : http://jedi.jedidjah.ch/en/latest/ http://wikemacs.org/index.php/Python#Jedi http://aliquote.org/memos/2013/02/11/emacs-auto-completion-for-python Install

Sublime Text 2's “Goto Anything” (or instant search) for Emacs?

ε祈祈猫儿з 提交于 2019-12-04 07:44:14
问题 I tried out Sublime Text 2 recently, and I found Goto Anything superbly useful for navigating source code (Ctrl-P file@symbol seems to work really well). Is there something similar for Emacs? Preferably something that just works, without a ton of custom elisp. What I've tried so far: I've seen Helm and Anything, but as far as I understand neither of them is capable of actual "instant" search (see edit below). I've used multi-occur-in-matching-buffers, but it too seems unable to satisfy the

Python dictionary or map in elisp

余生颓废 提交于 2019-12-04 05:08:23
What is the equivalent of a python dictionary like {'a':1, 'b':2} in elisp? And again, does elisp have any map-reduce api? Association lists are the most commonly used associative containers in elisp. It is just a list of key-value cons cells like this ((key . value)) . You can use the assoc function to get a value corresponding to a key and rassoc to get a key with the required value. Elisp comes with the built-in function mapcar which does map, but AFAIK there is no good fold facility. You could emulate it using any of the looping facilities provided. However, the better solution is to use

What are the new rules for variable scoping in Emacs 24?

左心房为你撑大大i 提交于 2019-12-03 16:30:14
问题 Emacs 24 now has lexically-scoped variables. It also still has dynamically-scoped variables, of course. Now that it has both, I'm quite confused about when a variable will have which kind of scope. There's a lexical-binding variable that controls when lexical binding is enabled, and I think I read something about defvar now declaring a dynamically-scoped variable, but in general I'm pretty lost. Is there a good explanation somewhere of Emacs 24's new scoping rules? Or put another way, when I

why cant emacs 24 find a custom theme I added?

萝らか妹 提交于 2019-12-03 10:20:09
问题 My entire emacs setup is here I loaded my init-theme.el file here And supposedly that should make the darkclean theme available. But when I type M-x load-theme TAB the darkclean theme is not listed. How can I register it for Emacs 24? 回答1: If you install themes via elpa / package.el you'll notice that you need to add each theme folder into your custom-theme-load-path - this is a bit of a pain to do manually, especially when you take into account upgrades will create a new folder, e.g. 0.1.0 -

What are the new rules for variable scoping in Emacs 24?

馋奶兔 提交于 2019-12-03 05:52:15
Emacs 24 now has lexically-scoped variables. It also still has dynamically-scoped variables, of course. Now that it has both, I'm quite confused about when a variable will have which kind of scope. There's a lexical-binding variable that controls when lexical binding is enabled, and I think I read something about defvar now declaring a dynamically-scoped variable, but in general I'm pretty lost. Is there a good explanation somewhere of Emacs 24's new scoping rules? Or put another way, when I look at a variable in Emacs Lisp code written for Emacs 24, how do I tell what scope that variable is

How to save a list of all the installed packages in Emacs 24?

淺唱寂寞╮ 提交于 2019-12-03 00:53:11
问题 I am using prelude as a base Emacs configuration. I have installed lots of packages from the package manager, and I want to use my settings on another machine. I don't want to carry the installed packages and also I don't want to create a list manually. What is the way of saving a list all the installed packages into prelude-package.el or any other file so that when I take this configuration to my other machine, they automatically get installed there on first use? 回答1: You can get a list of

How to remove an installed package in Emacs (ver 24+)?

怎甘沉沦 提交于 2019-12-02 16:59:21
I'd like to remove several packages that I've installed. When I invoke package-list-packages , I notice that there is a ' d ' (mark for deletion) command and an ' x ' (execute). However, it seems like this simply removes the package name/description from the list and not the actual files under ~/.emacs.d/elpa . What am I doing wrong or missing? Surely there must be some way to remove installed packages. Ted Feng The command package-menu-mark-delete (key 'd') followed by package-menu-execute (key 'x') worked for me. Also here is very good introduction: Package management in emacs - The good,