From siemsen at ucar.edu Mon Nov 2 00:32:18 2009 From: siemsen at ucar.edu (Pete Siemsen) Date: Mon Nov 2 00:33:00 2009 Subject: [OS X Emacs] fit-frame resizes frames too large in Aquamacs References: Message-ID: David, I've traded some email with Drew Adams about my problems with fit- frame in Aquamacs. The thread is appended. At this point, I think it's best to ask you for some help. On October 21, 2009 4:32:49 PM MDT wrote: >> I'm using Aquamacs "2.0preview2". >> >> When I open a file, I'd like the frame to automatically resize to >> fit the text, as much as possible. I found fit-frame on the web, >> which seems exactly what I want. I discovered that it's >> distributed with Aquamacs. When I did M-x fit-frame, it resized >> the frame. Very cool! >> >> Trouble is, it makes the frame wider than needed. I think this is >> because I've customized Aquamacs to use a default font height of >> "120", while fit-frame uses the height attribute of the "default" >> face, which is 130. In other words, in my customizations.el file I >> have >> >> (custom-set-faces >> '(autoface-default ((((type ns)) (:inherit default :height >> 120 :family "Monaco" :background "#02053c")))) >> >> ...but when I evaluate (face-attribute `default :height) I get >> 130. I think fit-frame is using 130, hence my frames are resized >> too large. Admittedly, I'm guessing a bit here. >> >> To try to fix it, I put this in my Preferences.el: >> >> (set-face-attribute `default nil :height 120) >> >> It didn't work. It doesn't set the value used by fit-frame. >> Instead, it seems to set the height of the font of the current >> frame, not of the height of the default face. >> >> Am I in the right ballpark? On October 21, 2009 4:59:59 PM MDT, David Reitter wrote: > Yes you are. Emacs calculates dimensions and coordinates based on > the frame font because you're setting the "frame size". You can > change the fit-frame function to be smarter - it should be pretty > easy. Convert to pixels based on the default face, then convert > back to frame chars. > But even so: the "width" of the default face is just an > approximation, because the default face may well be a variable-width > font. > > If you do improve fit-frame, please post the new code. (You can > check if Drew Adams has an updated version.) I asked for Drew Adams for help. Here's the relevant bits ( I've tried to put them into a sensible order): On October 21, 2009 12:10:05 PM MDT, Pete Siemsen wrote: > Drew, > > I'm a brand new user of fit-frame. Very cool, and I'm definitely > going to explore your other stuff. I have this problem: I use > Aquamacs, and I set the font size with this call in my > "customizations.el" startup file: > > '(autoface-default ((((type ns)) (:inherit default :height > 120 :family "Monaco" :background "#02053c")))) > > Fit-frame works, but miscalculates the frame size because it thinks > the font size is something other than the one I'm using. How can I > make fit-frame base its calculations on the "Monaco 12" that I use? > > -- Pete On October 21, 2009 12:25:07 PM MDT, Drew Adams wrote: > I never heard of `autoface-default'. I don't know much about > Aquamacs - perhaps that's an Aquamaces thing? I searched for > `autoface-default' throughout the vanilla Emacs libraries - no hits. > Googling for it suggests that it's an Aquamacs thing. You should > perhaps ask the Aquamacs folks about this. > > What I would use is just the `default' face. You can customize that. > The `font' attribute of face `default' corresponds to frame > parameter `font'. And it corresponds to what is returned by > functions `frame-char-height' and `frame-char-width', which is what > fit-frame.el uses. > > You can also use various commands to change the current font or font > size. > > HTH - Drew On October 22, 2009 3:38:35 PM MDT, Pete Siemsen wrote: > Yes, it's an Aquamacs thing. It was added to allow per-mode fonts. > It works well. > I tried doing this in my startup file: > > (set-face-attribute `default nil :height 120) > > ...but it didn't affect fit-frame's behavior. I confess to some > confusion. I can't do C-h v frame-char-width - Aquamacs doesn't > know the variable. Yet fit-frame works, sorta. On October 22, 2009 4:20:41 PM MDT, Drew Adams wrote: > Use M-: (face-attribute 'default :height) to see if the setting > actually took effect. > > Do also M-: (frame-char-height). It should show the same height that > you just set. If it does, then fit-frame should work, because it > uses that function. > > If, for some reason, set-face-attribute didn't work, try instead `M- > x customize-face default'. In the Customize buffer, change the > Height value to the height you want (use Height in 1/10 pt from the > Value Menu). Open a new Emacs session and see if that customization > worked. > > This works for me, on Windows (with normal Emacs 23.1.1, not with > Aquamacs). If I use `set-face-attribute' as you did, then `frame- > char-height' reflects that, and fit-frame works. On October 22, 2009 3:38:35 PM MDT, Pete Siemsen wrote: > David Reitter, the author of Aquamacs, has suggested that I might > "fix" fit-frame to make it work better. I doubt that there's a > problem in fit-frame. I am sure that my Lisp skills are > insufficient to "fix" it :-) On October 22, 2009 4:20:41 PM MDT, Drew Adams wrote: > To fix it, we need to first find out what the problem is. David > should be able to help you with that, as there seems to be some > interaction with Aquamacs changes to Emacs. I cannot reproduce the > problem (without Aquamacs). > > I will help if I can from my end, but I'll need to know more about > what's happening in your case, and why. Either you or David will > need to debug this a bit, to see where the problem is. > > The first thing to see is what the value of (frame-char-height) is. > That is what fit-frame uses. If it is correct (same as what you set > using set-face-attribute), then we can try to see why fit-frame > didn't do the right thing. If it is not correct (different from the > value you set), then I'd suggest that it's an Aquamacs problem. > AFAIK, set-face-attribute for the `default' face should always be > reflected in `frame-char-height' (and -width). The `default' face is > just shorthand for a certain number of frame parameters (or vice > versa). > > Let me know what you can find out. Sorry for your trouble. > > Thx - Drew On October 22, 2009 3:38:35 PM MDT, Pete Siemsen wrote: > Perhaps this is due to Aquamacs' incomplete implementation of your > libraries. Aquamacs comes with these: > > autofit-frame.el frame+.el icomplete+.el strings.el > upd2 > files+.el frame-cmds.el misc-fns.el thingatpt+.el > fit-frame.el frame-fns.el oneonone.el upd On October 22, 2009 4:20:41 PM MDT, Drew Adams wrote: > No; for fit-frame.el to work, you do not need any other libraries at > all. David, that's the thread. When I use set-face-attribute to change the height of the default font, my frames resize, but to a size that is too small vertically and too wide horizontally. It seems like things almost work, but I don't understand the missing piece. What I want is: when I open a "thin" file, containing, like, a column of numbers, I'd like the frame to appear sized just wide enough to contain the numbers. Similarly, when I open a file that contains only 10 lines, I'd like the frame to be large enough vertically to show the 10 lines, and no more. If a file is too big for its frame to fit horizontally or vertically on the screen, I'd like the initial frame to be some maximum number of lines or columns. If I add content to such a buffer, scroll bars should appear, and I can then evaluate fit-frame again to make the frames use the right amount of real estate. It seems that fit-frame can do all this. I realize fit-frame won't work well with proportional fonts, but I don't use proportional fonts. Thanks again for Aquamacs, it's fantastic! - Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20091101/d5960f7c/attachment.html From david.reitter at gmail.com Mon Nov 2 07:25:47 2009 From: david.reitter at gmail.com (David Reitter) Date: Mon Nov 2 08:33:18 2009 Subject: [OS X Emacs] fit-frame resizes frames too large in Aquamacs In-Reply-To: References: Message-ID: Could the problem be that fit-frame doesn't respect `face-remapping- alist'? The default face is remapped there (which is what `autoface-default' is about. - David On Nov 2, 2009, at 12:32 AM, Pete Siemsen wrote: > David, > > I've traded some email with Drew Adams about my problems with fit- > frame in Aquamacs. The thread is appended. At this point, I think > it's best to ask you for some help. > > > On October 21, 2009 4:32:49 PM MDT > wrote: > >>> I'm using Aquamacs "2.0preview2". >>> >>> When I open a file, I'd like the frame to automatically resize to >>> fit the text, as much as possible. I found fit-frame on the web, >>> which seems exactly what I want. I discovered that it's >>> distributed with Aquamacs. When I did M-x fit-frame, it resized >>> the frame. Very cool! >>> >>> Trouble is, it makes the frame wider than needed. I think this is >>> because I've customized Aquamacs to use a default font height of >>> "120", while fit-frame uses the height attribute of the "default" >>> face, which is 130. In other words, in my customizations.el file >>> I have >>> >>> (custom-set-faces >>> '(autoface-default ((((type ns)) (:inherit default :height >>> 120 :family "Monaco" :background "#02053c")))) >>> >>> ...but when I evaluate (face-attribute `default :height) I get >>> 130. I think fit-frame is using 130, hence my frames are resized >>> too large. Admittedly, I'm guessing a bit here. >>> >>> To try to fix it, I put this in my Preferences.el: >>> >>> (set-face-attribute `default nil :height 120) >>> >>> It didn't work. It doesn't set the value used by fit-frame. >>> Instead, it seems to set the height of the font of the current >>> frame, not of the height of the default face. >>> >>> Am I in the right ballpark? > > > On October 21, 2009 4:59:59 PM MDT, David Reitter wrote: > >> Yes you are. Emacs calculates dimensions and coordinates based on >> the frame font because you're setting the "frame size". You can >> change the fit-frame function to be smarter - it should be pretty >> easy. Convert to pixels based on the default face, then convert >> back to frame chars. >> But even so: the "width" of the default face is just an >> approximation, because the default face may well be a variable- >> width font. >> >> If you do improve fit-frame, please post the new code. (You can >> check if Drew Adams has an updated version.) > > > I asked for Drew Adams for help. Here's the relevant bits ( I've > tried to put them into a sensible order): > > > On October 21, 2009 12:10:05 PM MDT, Pete Siemsen wrote: > >> Drew, >> >> I'm a brand new user of fit-frame. Very cool, and I'm definitely >> going to explore your other stuff. I have this problem: I use >> Aquamacs, and I set the font size with this call in my >> "customizations.el" startup file: >> >> '(autoface-default ((((type ns)) (:inherit default :height >> 120 :family "Monaco" :background "#02053c")))) >> >> Fit-frame works, but miscalculates the frame size because it thinks >> the font size is something other than the one I'm using. How can I >> make fit-frame base its calculations on the "Monaco 12" that I use? >> >> -- Pete > > > On October 21, 2009 12:25:07 PM MDT, Drew Adams wrote: > >> I never heard of `autoface-default'. I don't know much about >> Aquamacs - perhaps that's an Aquamaces thing? I searched for >> `autoface-default' throughout the vanilla Emacs libraries - no >> hits. Googling for it suggests that it's an Aquamacs thing. You >> should perhaps ask the Aquamacs folks about this. >> >> What I would use is just the `default' face. You can customize >> that. The `font' attribute of face `default' corresponds to frame >> parameter `font'. And it corresponds to what is returned by >> functions `frame-char-height' and `frame-char-width', which is what >> fit-frame.el uses. >> >> You can also use various commands to change the current font or >> font size. >> >> HTH - Drew > > > On October 22, 2009 3:38:35 PM MDT, Pete Siemsen wrote: > > > >> Yes, it's an Aquamacs thing. It was added to allow per-mode >> fonts. It works well. > >> I tried doing this in my startup file: >> >> (set-face-attribute `default nil :height 120) >> >> ...but it didn't affect fit-frame's behavior. I confess to some >> confusion. I can't do C-h v frame-char-width - Aquamacs doesn't >> know the variable. Yet fit-frame works, sorta. > > > On October 22, 2009 4:20:41 PM MDT, Drew Adams wrote: > >> Use M-: (face-attribute 'default :height) to see if the setting >> actually took effect. >> >> Do also M-: (frame-char-height). It should show the same height >> that you just set. If it does, then fit-frame should work, because >> it uses that function. >> >> If, for some reason, set-face-attribute didn't work, try instead `M- >> x customize-face default'. In the Customize buffer, change the >> Height value to the height you want (use Height in 1/10 pt from the >> Value Menu). Open a new Emacs session and see if that customization >> worked. >> >> This works for me, on Windows (with normal Emacs 23.1.1, not with >> Aquamacs). If I use `set-face-attribute' as you did, then `frame- >> char-height' reflects that, and fit-frame works. > > > On October 22, 2009 3:38:35 PM MDT, Pete Siemsen wrote: > >> David Reitter, the author of Aquamacs, has suggested that I might >> "fix" fit-frame to make it work better. I doubt that there's a >> problem in fit-frame. I am sure that my Lisp skills are >> insufficient to "fix" it :-) > > On October 22, 2009 4:20:41 PM MDT, Drew Adams wrote: > >> To fix it, we need to first find out what the problem is. David >> should be able to help you with that, as there seems to be some >> interaction with Aquamacs changes to Emacs. I cannot reproduce the >> problem (without Aquamacs). >> >> I will help if I can from my end, but I'll need to know more about >> what's happening in your case, and why. Either you or David will >> need to debug this a bit, to see where the problem is. >> >> The first thing to see is what the value of (frame-char-height) is. >> That is what fit-frame uses. If it is correct (same as what you set >> using set-face-attribute), then we can try to see why fit-frame >> didn't do the right thing. If it is not correct (different from the >> value you set), then I'd suggest that it's an Aquamacs problem. >> AFAIK, set-face-attribute for the `default' face should always be >> reflected in `frame-char-height' (and -width). The `default' face >> is just shorthand for a certain number of frame parameters (or vice >> versa). >> >> Let me know what you can find out. Sorry for your trouble. >> >> Thx - Drew > > > On October 22, 2009 3:38:35 PM MDT, Pete Siemsen wrote: > >> Perhaps this is due to Aquamacs' incomplete implementation of your >> libraries. Aquamacs comes with these: >> >> autofit-frame.el frame+.el icomplete+.el strings.el >> upd2 >> files+.el frame-cmds.el misc-fns.el thingatpt+.el >> fit-frame.el frame-fns.el oneonone.el upd > > On October 22, 2009 4:20:41 PM MDT, Drew Adams wrote: > >> No; for fit-frame.el to work, you do not need any other libraries >> at all. > > > David, that's the thread. When I use set-face-attribute to change > the height of the default font, my frames resize, but to a size that > is too small vertically and too wide horizontally. > > It seems like things almost work, but I don't understand the missing > piece. What I want is: when I open a "thin" file, containing, like, > a column of numbers, I'd like the frame to appear sized just wide > enough to contain the numbers. Similarly, when I open a file that > contains only 10 lines, I'd like the frame to be large enough > vertically to show the 10 lines, and no more. If a file is too big > for its frame to fit horizontally or vertically on the screen, I'd > like the initial frame to be some maximum number of lines or > columns. If I add content to such a buffer, scroll bars should > appear, and I can then evaluate fit-frame again to make the frames > use the right amount of real estate. It seems that fit-frame can do > all this. > > I realize fit-frame won't work well with proportional fonts, but I > don't use proportional fonts. > > Thanks again for Aquamacs, it's fantastic! > > - Pete > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx From simpson at math.toronto.edu Sat Nov 7 19:07:47 2009 From: simpson at math.toronto.edu (Gideon Simpson) Date: Sat Nov 7 19:28:26 2009 Subject: [OS X Emacs] aquamacs 1.9 and skim Message-ID: <7588829C-6410-46D3-8D69-775ED2CC0AA0@math.toronto.edu> I'm new to using aquamacs, and while browsing the FAQ, I noticed a comment about using skim to get automatic synchronization between aquamacs latex and the pdf. I have since downloaded and installed skim (1.3.2), but I don't quite understand how to integrate it into aquamacs. Every time view the pdf output, it just opens the file with my default pdf viewer (acrobat). Must I change the default pdf viewer system wide for it to use skim instead? -gideon From david.reitter at gmail.com Sat Nov 7 22:49:27 2009 From: david.reitter at gmail.com (David Reitter) Date: Sat Nov 7 23:54:57 2009 Subject: [OS X Emacs] aquamacs 1.9 and skim In-Reply-To: <7588829C-6410-46D3-8D69-775ED2CC0AA0@math.toronto.edu> References: <7588829C-6410-46D3-8D69-775ED2CC0AA0@math.toronto.edu> Message-ID: On Nov 7, 2009, at 7:07 PM, Gideon Simpson wrote: > I'm new to using aquamacs, and while browsing the FAQ, I noticed a > comment about using skim to get automatic synchronization between > aquamacs latex and the pdf. I have since downloaded and installed > skim (1.3.2), but I don't quite understand how to integrate it into > aquamacs. Every time view the pdf output, it just opens the file > with my default pdf viewer (acrobat). Must I change the default pdf > viewer system wide for it to use skim instead? Command-Shift-Click into the text should start up Skim. -- http://aquamacs.org -- Aquamacs: Emacs on Mac OS X http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project! From vancleve at stanford.edu Sat Nov 14 20:40:56 2009 From: vancleve at stanford.edu (Jeremy Van Cleve) Date: Sat Nov 14 20:59:37 2009 Subject: [OS X Emacs] Aquamacs 2.0p3 and forward search with Skim Message-ID: <4AFF5C28.5060907@stanford.edu> Hello, I'm working with a copy of Aquamacs 2.0p3 and am finding that the forward search in latex-mode with Skim isn't working and returns the following error when I hit "Jump to PDF": "Symbols value as variable is void: %". Strangely, I also have two entries for "Jump to PDF" under the Tex Command List, one whose command is (aquamacs-call-viewer "%o" %(FileLine) "%b") and the other whose command is (aquamacs-call-viewer "%o" %n "%b") Any thoughts? Thanks! Jeremy -- Jeremy Van Cleve Graduate Student Department of Biology Stanford University E-mail: vancleve@stanford.edu Webpage: http://charles.stanford.edu/~vancleve/ From frederic.dupont at univ-brest.fr Sun Nov 15 12:15:08 2009 From: frederic.dupont at univ-brest.fr (=?iso-8859-1?Q?Fr=E9d=E9ric_Dupont?=) Date: Sun Nov 15 13:17:12 2009 Subject: [OS X Emacs] Aquamacs 2.0p3 and forward search with Skim In-Reply-To: <4AFF5C28.5060907@stanford.edu> References: <4AFF5C28.5060907@stanford.edu> Message-ID: Le 15 nov. 2009 à 02:40, Jeremy Van Cleve a écrit : > > Hello, > > I'm working with a copy of Aquamacs 2.0p3 and am finding that the forward search in latex-mode with Skim isn't working and returns the following error when I hit "Jump to PDF": > "Symbols value as variable is void: %". > May I suggest: in aquamacs' menu tools --> Install command line tools frederic From vancleve at stanford.edu Sun Nov 15 16:45:39 2009 From: vancleve at stanford.edu (Jeremy Van Cleve) Date: Sun Nov 15 17:01:26 2009 Subject: [OS X Emacs] Re: Aquamacs 2.0p3 and forward search with Skim In-Reply-To: References: <4AFF5C28.5060907@stanford.edu> Message-ID: Thanks for the suggestion. I just tried that but it still returns the error when I hit "Jump to PDF" On 11/15/09 10:15 AM, Frédéric Dupont wrote: > > Le 15 nov. 2009 à 02:40, Jeremy Van Cleve a écrit : > >> >> Hello, >> >> I'm working with a copy of Aquamacs 2.0p3 and am finding that the forward search in latex-mode with Skim isn't working and returns the following error when I hit "Jump to PDF": >> "Symbols value as variable is void: %". >> > May I suggest: in aquamacs' menu > tools --> Install command line tools > > frederic > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx > From david.reitter at gmail.com Sun Nov 15 17:57:34 2009 From: david.reitter at gmail.com (David Reitter) Date: Sun Nov 15 18:05:04 2009 Subject: [OS X Emacs] Re: Aquamacs 2.0p3 and forward search with Skim In-Reply-To: References: <4AFF5C28.5060907@stanford.edu> Message-ID: <1E1855E5-0140-49AB-86A2-2226C742CD0B@gmail.com> On Nov 15, 2009, at 4:45 PM, Jeremy Van Cleve wrote: > Thanks for the suggestion. I just tried that but it still returns the error when I hit "Jump to PDF" Help -> Diagnose -> Start w/o customizations. Can you reproduce then? If not, the answer may well lie in your own customizations. -- http://aquamacs.org -- Aquamacs: Emacs on Mac OS X http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project! From vancleve at stanford.edu Mon Nov 16 00:50:09 2009 From: vancleve at stanford.edu (Jeremy Van Cleve) Date: Mon Nov 16 00:52:00 2009 Subject: [OS X Emacs] Re: Aquamacs 2.0p3 and forward search with Skim In-Reply-To: <1E1855E5-0140-49AB-86A2-2226C742CD0B@gmail.com> References: <4AFF5C28.5060907@stanford.edu> <1E1855E5-0140-49AB-86A2-2226C742CD0B@gmail.com> Message-ID: Yup, there must have been something wrong with customizations.el. Thanks! Jeremy On 11/15/09 3:57 PM, David Reitter wrote: > On Nov 15, 2009, at 4:45 PM, Jeremy Van Cleve wrote: > >> Thanks for the suggestion. I just tried that but it still returns the error when I hit "Jump to PDF" > > Help -> Diagnose -> Start w/o customizations. > Can you reproduce then? > If not, the answer may well lie in your own customizations. > > > -- > http://aquamacs.org -- Aquamacs: Emacs on Mac OS X > http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project! > > > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx From simpson at math.toronto.edu Mon Nov 23 16:41:05 2009 From: simpson at math.toronto.edu (Gideon Simpson) Date: Mon Nov 23 16:42:43 2009 Subject: [OS X Emacs] mercurial and aquamacs Message-ID: <13058E70-87CB-471D-9371-9134623E8D94@math.toronto.edu> How do I use mercurial with aquamacs (version 1.9)? I'm vaguely aware that this can be done with a traditional emacs installation, but have no idea how to get started. -gideon From saptarshi.guha at gmail.com Mon Nov 23 17:46:25 2009 From: saptarshi.guha at gmail.com (Saptarshi Guha) Date: Mon Nov 23 18:11:30 2009 Subject: [OS X Emacs] Re: EPG and Aquamacs 2.0p3 In-Reply-To: <1e7471d50911231443g22720276lc10d5475959b1115@mail.gmail.com> References: <1e7471d50911231443g22720276lc10d5475959b1115@mail.gmail.com> Message-ID: <1e7471d50911231446r4df2f1ffo17224729b5a32a98@mail.gmail.com> Actually, I correct myself. The package is called epa and comes with emacs so there was no need for me load extra libs. My fault. Sorry Saptarshi On Mon, Nov 23, 2009 at 5:43 PM, Saptarshi Guha wrote: > Hello, >  On Carbon Aquamacs, epg worked alright. However upon upgrading > I can open a file using epg (the file being password protected) but > cannot save the file, instead getting the following error: > > Saving file /Users/yanger/mystuff/passwd.gpg... > byte-code: Opening output file: integer-or-marker-p, nil > > What can I provide to help? The only library loaded is epg, i had > commented out everything else > > Regards > Saptarshi > From saptarshi.guha at gmail.com Mon Nov 23 17:43:37 2009 From: saptarshi.guha at gmail.com (Saptarshi Guha) Date: Mon Nov 23 18:18:21 2009 Subject: [OS X Emacs] EPG and Aquamacs 2.0p3 Message-ID: <1e7471d50911231443g22720276lc10d5475959b1115@mail.gmail.com> Hello, On Carbon Aquamacs, epg worked alright. However upon upgrading I can open a file using epg (the file being password protected) but cannot save the file, instead getting the following error: Saving file /Users/yanger/mystuff/passwd.gpg... byte-code: Opening output file: integer-or-marker-p, nil What can I provide to help? The only library loaded is epg, i had commented out everything else Regards Saptarshi From saptarshi.guha at gmail.com Mon Nov 23 18:46:42 2009 From: saptarshi.guha at gmail.com (Saptarshi Guha) Date: Mon Nov 23 18:54:10 2009 Subject: [OS X Emacs] Flyspell mode - error on Aquamacs -nw (2.0p3) Message-ID: <1e7471d50911231546i3e91b019kbe580740932894cc@mail.gmail.com> Hello, I got this error while trying to load Aquamacs in text mode: i.e /Applications/Aquamacs.app/Contents/MacOS/Aquamacs -nw -q Enabling Flyspell mode gave an error. Error in post-command-hook: (error No match for the current dictionary) Regards Saptarshi (Aquamacs - 2.0p3)