aquamacs

web-mode won't start automatically in Aquamacs

旧城冷巷雨未停 提交于 2019-12-12 01:36:11
问题 I can't seem to get the configuration to work properly, only if I create a new HTML it goes into web-mode, any other way it goes into de default html-mode. I'm using Aquamacs 3.2 GNU Emacs 2.4.4.51.2 Though I have had this same problem with previous versions. Here's my config file (Preferences.el): ;; This is the Aquamacs Preferences file. ;; Add Emacs-Lisp code here that should be executed whenever ;; you start Aquamacs Emacs. If errors occur, Aquamacs will stop ;; evaluating this file and

What causes `M-S-t` (meta + shift + t) key binding not to take? [duplicate]

回眸只為那壹抹淺笑 提交于 2019-12-11 02:47:51
问题 This question already has an answer here : Why the key binding M-S-t fails while C-S-t works? (1 answer) Closed last year . By default, C-S-t and M-S-t are both unbound in my Emacs. Hence, when I press them, they are translated into C-t and M-t . Fine, but I want to use them for a tweak on the original function, and therefore put these lines in my .emacs : (global-set-key (kbd "C-S-t") 'transpose-chars-backward) (global-set-key (kbd "M-S-t") 'transpose-words-backward) The functions there are

How to get support for '✖' and the like in the Emacs shell buffer?

时光毁灭记忆、已成空白 提交于 2019-12-10 13:49:00
问题 I'm running a process that, on failing error, outputs the character '✖'(as defined in Unicode). However, I don't see the error at all if running the process in an Emacs shell buffer (Aquamacs distro of GNU Emacs). Using: GNU Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2011-03-18 on braeburn.aquamacs.org - Aquamacs Distribution 2.2 How to get the Emacs shell buffer to support such unicode characters? 回答1: To tell an individual shell buffer to treat the output from the

What's the magic behind the ELPA?

二次信任 提交于 2019-12-04 02:59:52
I use Aquamacs, and I use ELPA that installs files in ~/.emacs.d/elpa? What's the magic behind this ELPA? I mean, without ELPA, I should download and install the packages in a specific directory, and add those two lines in .emacs. (add-to-list 'load-path "PACKAGE_DIRECTORY") (require 'PACKAGE) But, with ELPA, I don't see anything added to .emacs or /Users/smcho/Library/Preferences/Aquamacs Emacs/{Preferences.el, customizations.el}. How is this possible? Added This is what I found with Aquamacs. Aquamacs reads ~/Preference/Aquamacs Emacs/Preference, and it has "(add-to-list 'load-path kitfiles

What is the best Emacs workspaces plugin?

雨燕双飞 提交于 2019-12-02 21:59:52
By workspace, I mean - I need to save the state of my open buffers (possibly in a user specified workspace file) and quickly switch to another set of open buffers, e.g. to continue working on files related to another project. Is there an Emacs plugin which allows this? Which one would you recommend? I use a combination of save-visited-files and workgroups . In fact, workgroups will probably do most of what you want by itself. My config: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; workgroups for windows (setq wg-prefix-key (kbd "C-c z") wg-no-confirm t wg-file

web-mode won't start automatically in Aquamacs

谁都会走 提交于 2019-12-02 20:08:24
问题 I can't seem to get the configuration to work properly, only if I create a new HTML it goes into web-mode, any other way it goes into de default html-mode. I'm using Aquamacs 3.2 GNU Emacs 2.4.4.51.2 Though I have had this same problem with previous versions. Here's my config file (Preferences.el): ;; This is the Aquamacs Preferences file. ;; Add Emacs-Lisp code here that should be executed whenever ;; you start Aquamacs Emacs. If errors occur, Aquamacs will stop ;; evaluating this file and

The function to show current file's full path in mini buffer

对着背影说爱祢 提交于 2019-11-29 18:56:10
I need to get the full path of the file that I'm editing with emacs. Is there a function for that? If not, what would be the elisp function for getting that? How can I copy the result (path name) to a clipboard so that I can reuse it? I'm using Mac OS X and Aqumacs. (setq filepath (get-fullpath-current-file)) ??? (copy-to-clipboard 'filepath) ??? ADDED (defun show-file-name () "Show the full path file name in the minibuffer." (interactive) (message (buffer-file-name)) (kill-new (file-truename buffer-file-name)) ) (global-set-key "\C-cz" 'show-file-name) Combining the two answers that I got, I

How can I get Emacs to revert all unchanged buffers when switching branches in git?

梦想的初衷 提交于 2019-11-28 16:17:22
问题 Often, when I switch branches in git, if the files are open in emacs, then emacs asks if I want to revert them (as it thinks they've changed on disk) even though the contents are identical. Firstly I'd like to find a way for emacs to not ask me about it at all if the contents on disk are identical to those in the buffer. Secondly I'd like a command that reverted (without query) all my open buffers that have no unsaved changes, and queried me about those that do have unsaved changes.

Running Clojure with 'lein swank' on Aquamacs problem

别来无恙 提交于 2019-11-28 10:34:40
I installed leiningen and ran lein swank, sudo lein deps lein swank Aquamacs has everything about SLIME , so it's OK. Solution to this problem David helped me to be out of trouble. As Aquamacs has built-in SLIME, I didn't need anything complex about the setup. I just needed one line - (slime-setup '(slime-repl)). I had the same problem if I used (slime-setup '(slime-fancy)). Changing it to (slime-setup '(slime-repl)) fixed it. I found this the easiest setup for the latest version of everything. Here's a quick summary where I"m assuming you have leiningen installed. Install the swank-clojure

Emacs (Cocoa Emacs) vs Aquamacs for running Clojure on Mac OS X

£可爱£侵袭症+ 提交于 2019-11-27 18:52:30
I used Aquamacs so far, and I need to install and run Clojure using SLIME . I googled to get some way to use Clojure on SLIME of Aquamacs, but without success. Questions Is it possible to install Clojure on Aquamacs? Or, can you guess why Clojure on Aquamacs doesn't work? Is it normal that Emacs and Aquamacs can't share the same ELPA ? Is it possible to use ELPA to install Conjure on Emacs/Aquamacs? I was told that one can use 'lein swank' to run as a server, do you know how to do that? Sequences that I tried (and half succeeded) I tried with Mac OS X Emacs , and by following the steps I could