5/1/2023 0 Comments Aquamacs keyboard shortcutsTo disable, place the following at the top of your emacs config: (ns-set-resource nil "ApplePressAndHoldEnabled" "NO") This is especially problematic if you use gnus mode, viper mode, or any mode that encourages the use of navigation via the alphanumeric keys on the keyboard.įortunately, there is a work-around, revealed by hober of #emacs. With the exception of vowels (AEIOU) and Y, if you press a alphanumeric key and hold it, rather than it repeating according to your OS keyboard repeat rate setting, it sends the key once and then stops all together (does not apply when keyboard modifier is pressed in combination with key). Unfortunately, as of Emacs 23 (OS X build, x11 / terminal / maybe others not affected) this is not only enabled by default but also completely broken. OS X lion has introduced a new input feature known as “Press and Hold”, where you hold a letter and are prompted with a popup menu allowing you to choose which accent/version of the vowel you want to type. KamenNedev OS X Lion Tips / Workarounds How to disable "Press and Hold" It wouldn’t be too hard to write up an Emacs Lisp interface to it, but Emacs’ own locate interface makes it even easier - just bind the variable ‘locate-command’ to mdfind, and you’re done now you can get your Spotlight searches straight in your Emacs buffer. – JamesFelixBlack Use M-x locate to use Spotlight for searchingĪpple’s Spotlight search facility has its command-line version in the mdfind command (man mdfind). This will start gnus if it’s not already running, btw. (gnus))) (setq url-mail-command ( lambda () ( progn (switch-to-or-start-gnus) (gnus-group-mail)))) (switch-to-buffer (get-buffer "*Group*")) "If there is no buffer *Group*, call (gnus-start)" Try this: ( defun switch-to-or-start-gnus () Also the messages I’ve downloaded to my laptop with the gnus agent are entirely disregarded by spotlight. Following mailto links with Firefox raises my emacs window, but apparently nothing happens. I’ve already selected Emacs.app as my defaul mail client (I did this within the Mail.app preferences). UPDATE There is a gnus spotlight interface! Check out. In other words, if there were a way to search for messages with spotlight and then select the found messages with, for example, gnus. It would also be fantastic if there were a Spotlight interface for gnus. )) Using Emacs and Gnus as the system's default mail clientĪnyone know of a way to make Mac OS X regard gnus, as part of CarbonEmacsPackage, as the Mac OS X mail application? In other words, it would be great if when following “mailto” links in web pages with, say, Firefox.app, a Message buffer is configured and sending or aborting the message with C-c C-c or C-c C-k brings the focus back to the browser. (setq dir (file-name-directory (buffer-file-name)))) ((and (local-variable-p 'dired-directory) dired-directory) Open Terminal.app ( defun mac-open-terminal () You can download eudc-mab.el, by JohnWiegley, which implements a back-end to EUDC that can query AddressBook.app. It is required for Macports, which in turn is required for many packages. In org-mode, C-c C-j for search doesn’t work in Aquamacsįor future installation of *.el files and other cool stuff, you also want to install xcode from Mac Appstore. Although Aquamacs is also available, there is some funky behavior that’s different from regular emacs. Integration with Mac OS Programs Installation Emacs on Mac OS 9 and OS X Tweaks … (and tricks, trifles, traps, and other tips that start with ‘t’ (or not.) )
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |