People who code: we want your input. Take the Survey
25

A few factual corrections about Aquamacs. While it maintains its own source tree, it is very regularly merged with Emacs, and pretty much immediately so with every Emacs release. Aquamacs 3.1 came out the day Emacs 24.4 was released (and it incorporated all of Emacs 24.4 features and a subset of its bugs). Aquamacs has >10k regular users, is actively ...


13

I discovered that just setting in the file: ~/Library/Preferences/Aquamacs Emacs/Preferences.el (setq org-babel-python-command "python3") Does the job. However, i don't really understand why it worked here and not in the ob-python.el file directly. If anyone has a view, please share.


11

I have tried all of the above options (even the tap recommended by Reiner in a comment above) by none have worked well for me (trackpad scrolling problems, hangings, etc.). I am quite happy, however, with Yamamoto Mitsuharu's fork, as mantained by railway's github page. It is up-to-date with respect to the official GNU version. Simply download the .dmg image ...


7

The following answer relates to current public release of Aquamacs available for download at http://aquamacs.org/download.shtml -- i.e., Aquamacs 3.2 GNU Emacs 24.4.51.2 (x86_64-apple-darwin14.0.0, NS apple-appkit-1343.14) of 2014-11-07 (Aquamacs-3.2) on watson.local Aquamacs does indeed read the init.el that can be placed inside ~/.emacs.d/init.el. This ...


5

You can always insert a character literally by typing C-q first (quoted-insert). Many “electric” characters (that's what Emacs usually calls characters whose insertion has extra effects such as inserting extra braces, reindenting, etc.) are designed to revert to a plain insertion if you pass a numeric prefix argument, i.e. type ESC 1 _ or M-1 _ to insert ...


5

last-command-char was a variable made obsolete in Emacs-19.34 when it was replaced by last-command-event (because in older Emacsen, events were only characters). It was finally removed in Emacs-24. So some Elisp code you're using still refers to that variable and needs to be updated. Just grep for that name in your files to see which thing needs to be ...


4

The patches (referred to below) were created by @lawlist from select portions of the Aquamacs: https://github.com/davidswelt/aquamacs-emacs To enable native spellchecking on OSX in the vanilla/generic version of Emacs, it is necessary to patch the C-source-code prior building, and a few lisp files also need to be modified. The patch is too big to post in ...


3

Try buffer-face-set, which accepts either a face name like (buffer-face-set "error") or a property list of face attributes and values like (buffer-face-set :weight 'bold :height 150). I think your specific example would be something like (buffer-face-set :font-family "American Typewriter" :height 150). You can M-: and at the "Eval:" prompt enter one of ...


3

I've switched to the railwaycat/homebrew-emacsmacport so I can't test this easily but I used to do this on Aquamacs: (define-key osx-key-mode-map (kbd "C-;") nil) ; was toggle-mac-option-modifier


3

In Aquamacs, I had the Option ...Meta & German activated, which seemed to be the problem. Now with another setting, I can enter also commands which contain the @ sign. We'll see, if there are some side effects...


3

I think I found out why. The variable user-emacs-directory is set to "~/Library/Preferences/Aquamacs Emacs/Packages/" by default. When I add this to ~/.emacs.d/init.el, (setq user-emacs-directory "~/.emacs.d") the problem is resolved.


3

I had the problem that Aquamacs was reading my ~/.emacs.d/init.el file and then I changed the default font via the Aquamacs pull down menus. Once I saved the new options, Aquamacs stopped reading my ~/.emacs.d/init.el file. The solution I used was to put a soft link from ~/.emacs to ~/.emacs.d/init.el: ln -s ~/.emacs.d/init.el ~/.emacs There are other ways ...


2

Thanks, @Dan and @Matthew Piziak for your help! Indeed, Aquamacs seems to have its own font definitions: Switching to a mono-spaced (fixed pitch) font throughout Aquamacs uses a mono-spaced font (Monaco) as a default, but uses the system’s variable-width font (Lucida Grande) for all text modes, including those derived from ‘text-mode’. To use ...


2

You're probably using an old version of AUCTeX, which had indeed the bug you're reporting: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22417 This was due to an error in the style/subfigure.el file in AUCTeX code and it was raised by a change in the syntax of setq in Emacs 25 (now setq takes an even number of arguments). If you installed AUCTeX using the ...


2

Building upon lawlist's answer, I've applied the necessary changes for Emacs 26 (as of 7th April 2018). The patched source code can be found here: https://github.com/dangom/emacs/tree/ns-spellchecker


2

As I said in https://emacs.stackexchange.com/questions/28155/unable-to-update-packages-on-emacs-25-1#comment43164_28155 one of the changes in emacs is that now setq requires an even number of arguments. If you set the debug-on-error variable to t then when you get this error you should enter the debugger and see where the error is coming from. Adding nil as ...


2

The best way to get this addressed is to: Confirm that your bug occurs with open -a Aquamacs --args -Q. Confirm that your bug occurs with the latest release (August) and/or the latest nightly. Report bugs with the "Send Bug Report" function (Help menu) from within Aquamacs. If you are unable to use the bug reporting function, please send your bug report to ...


2

You are using Emacs version 24, but the online manual is for Emacs 27. You either need to upgrade, or to read the Emacs manual that came with your copy of Emacs. Type C-h i to open the info viewer, then select Emacs.


2

diff-buffers is a new command in Emacs 27.1. Do you really want to see the diff output, rather than compare the buffers? Emacs has a nice built-in interface to compare two files: Ediff. (Note that Ediff has its own manual, separate from the Emacs user manual, even though it's been bundled with Emacs since the last century.) Run M-x ediff-buffers and choose ...


1

With respect to what you tried using set-face-attribute: The error message tells you that the first argument needs to be a symbol. At that point you should use C-h f set-face-attribute, which tells you that the first argument needs to be a face. Here's an example of its use. (set-face-attribute 'default nil ':font "American Typewriter" ':height 150) That ...


1

I finally find the problem is caused by using 'subfigure' package in my latex file. And this problem has been solved by changing 'subfigure.el'. And specific salutation is given in thread on google groups. Hope this helps.


1

I found the reason for the behaviour myself. It is not a dired problem. Aquamacs has the Options menu where you can select "Show buffers in new frames" what was set accidentally.


1

Turns out I was using an old version of emacsclient. To fix this I had to do Tools->Install Command Line Tools as per this page: https://www.emacswiki.org/emacs/AquamacsFAQ#toc25 I also had to use the versions installed in /usr/local/bin.


1

The actual root cause of the problem was that aquamacs only loads ~/.emacs and not ~/.emacs.d/init.el Having moved my .emacs to the right place, the following config took effect as expected: (global-set-key [(meta g)] 'goto-line)


1

The file you reference is an old-style "color-theme". These can be dropped anywhere in your load-path. You can also add any directory to your load path. Personally I like to keep my color-themes in ~/.emacs.d/lisp. A minimal init-file that updates your load path and loads your theme would look like: ;; prepend personal lisp directory to the load-path ...


1

My problem was solved using (setq default-frame-alist '( (width . 140) )) 85 did not work, probably because the number is font-dependent.


1

If you are looking for a way to set the default frame width, then just customize option default-frame-alist to specify parameter width as 85: M-x customize-option RET default-frame-alist RET Save your customization.


Only top voted, non community-wiki answers of a minimum length are eligible