Turning off Scratch Pad when Aquamacs Starts

If you get driven crazy by the scratch pad being opened up in a new window every time Aquamacs is opening a file for you to view, then you are not alone. This drives me crazy. I figured that if I right click on a file, and select Aquamacs as the program to open it, Aquamacs would just show me the file to view. Instead I get the file to view along with the stupid scratch pad.

To get this behavior to stop, you have to set the scratch buffer from going to a file to the nil value. This is easier said than done, since the setting is way hidden in Aquamacs. To set this setting follow the following instructions, and you headaches will be gone.

  1. Open Aquamacs
  2. Then select the following menu item Options/Customize EMACS/Browse Customization Groups
  3. A new window should be opened up with all of the option customization groups. Go to this window.
  4. Expand “Aquamacs Group” by clicking on the [+] sign next to the name
  5. Click on the Option Link next to "Aquamacs Scratch File"
  6. Set the “~/Library/Application Support/Aquamacs Emacs/scratch buffer” to the value of nil
  7. Click on the “Save for Future Sessions” button to save this value

And there you go, you scratch pad buffer will not be displayed anymore when you open a file directly with Aquamacs.

Posted on Dec 02, 2008 by Mike Jennings in Open Source | 2 Comments | Permalink



Comments:

Could you please elaborate on point 6? Do I completely delete the text "~/Library/Application Support/Aquamacs Emacs/scratch buffer" and type the word "nil" (and with or without quotation marks)? Or do I delete the text and leave the field empty? Thanks for your help.

Posted by John on April 17, 2009 at 10:10 PM EDT #

John,

You do completely remove the text "~/Library/Application Support/Aquamacs Emacs/scratch buffer" and replace it with the "nil" value without quotes.

Posted by Mike Jennings on April 18, 2009 at 03:18 AM EDT #

Post a Comment:
Comments are closed for this entry.