From agw at comcast.net Sun Feb 1 16:22:00 2009 From: agw at comcast.net (Art Werschulz) Date: Sun Feb 1 16:22:03 2009 Subject: [OS X Emacs] trying to debug problem with Aquamacs 1.6 Message-ID: <5C7BE1B2-8EAC-49F4-B0B4-214DF0CD3BD0@comcast.net> Hi. I have a little additional info on a problem I mentioned earlier. Maybe somebody will have some insight. When I start up Aquamacs, C-x u is bound to the function advertised- undo. After running gnus, C-x u is bound to the function gnus-undo. This problem only occurs with Aquamacs 1.6; I didn't have this problem with version 1.5. It's certainly possible that my customizations (which have grown by accretion over the quarter-century I've been using emacs on one platform or another) are to blame. Indeed, when I start up Aquamacs without customizations, this problem doesn't arise, so that C-x u is still bound to advertised-undo after I finish up in gnus. In an attempt to trace this problem, I commented out ~/Library/ Preferences/Aquamacs Emacs/Preferences.el. Now my ~/.emacs file consists of (defvar aquamacs-p (string-match "Aquamacs" (version))) (if (not aquamacs-p) (load (expand-file-name "~/.emacs-nonaqua"))) which means that it should have no effect under Aquamacs Emacs. Just to play it safe, I commented *this* out as well. Despite all this, the problem still persists; C-x u is bound to the wrong undo after I leave gnus. I thought that I had nuked all my customizations; maybe I missed another place where customizations take place. Suggestions? Thanks. Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y? Internet: agw STRUDEL comcast.net From david.reitter at gmail.com Mon Feb 2 09:59:03 2009 From: david.reitter at gmail.com (David Reitter) Date: Mon Feb 2 10:23:24 2009 Subject: [OS X Emacs] trying to debug problem with Aquamacs 1.6 In-Reply-To: <5C7BE1B2-8EAC-49F4-B0B4-214DF0CD3BD0@comcast.net> References: <5C7BE1B2-8EAC-49F4-B0B4-214DF0CD3BD0@comcast.net> Message-ID: <873CAD36-3424-4C51-9C79-E943FE3E622C@gmail.com> On 1 Feb 2009, at 16:22, Art Werschulz wrote: > > which means that it should have no effect under Aquamacs Emacs. > Just to play it safe, I commented *this* out as well. "Help -> Diagnose -> start without customizations" works pretty well in these cases. > Despite all this, the problem still persists; C-x u is bound to the > wrong undo after I leave gnus. > I thought that I had nuked all my customizations; maybe I missed > another place where customizations take place. > > Suggestions? Thanks. Even with your customization, this shouldn't be. I would first look up where it is bound, using C-h m. Then, I would do a "grep" over all the gnus source (.el) files to see where and how advertised-undo is bound. If that doesn't turn up anything, try to find where C-x u is bound. Perhaps it's a bug in gnus. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090202/1ed5e973/smime.bin From agw at comcast.net Wed Feb 4 10:04:04 2009 From: agw at comcast.net (Art Werschulz) Date: Wed Feb 4 10:04:11 2009 Subject: [OS X Emacs] trying to debug problem with Aquamacs 1.6 In-Reply-To: <873CAD36-3424-4C51-9C79-E943FE3E622C@gmail.com> References: <5C7BE1B2-8EAC-49F4-B0B4-214DF0CD3BD0@comcast.net> <873CAD36-3424-4C51-9C79-E943FE3E622C@gmail.com> Message-ID: <0BFF8A3E-D731-4AC6-9E66-2839466822B4@comcast.net> Hi. I finally found the problem. I had forgotten about the file ~/Library/Preferences/Aquamacs Emacs/customizations.el Sure enough, that file had a line that appeared to always enable gnus- undo. The reason I'm broadcasting the solution is that I wouldn't be surprised if other folks (with a GNU Emacs background) might also forget about the customizations.el file. Thanks, Dave, for being a good sounding board for this problem. Art Werschulz 207 Stoughton Avenue, Cranford NJ 07016-2838 (908) 272-1146 From hindiogine at gmail.com Wed Feb 4 12:16:52 2009 From: hindiogine at gmail.com (Salvatore Enrico Indiogine) Date: Wed Feb 4 12:22:54 2009 Subject: [OS X Emacs] Minibuffer appearance Message-ID: <62622fe70902040916i2f36edeeyb05c13bfb1252922@mail.gmail.com> Greetings! I am running today's Aquamacs 1.7CVS. I would like to know how to change the appearance of the minibuffer. I like to have a black background and a white foreground (text characters). I was able to do so for the main panel: Options -> Appearance -> Background color ... then choose black Options -> Appearance -> Foreground color .... then choose white However, the minibuffer remains white with black text. Is it possible to change that? Thanks, Enrico -- Enrico Indiogine Mathematics Education Texas A&M University Email: hindiogine@gmail.com Skype: hindiogine Website: http://www.coe.tamu.edu/~enrico "On ne voit bien qu'avec le coeur. L'essentiel est invisible pour les yeux." Saint-Exupéry From vollmar at nf.mpg.de Thu Feb 5 07:24:05 2009 From: vollmar at nf.mpg.de (Stefan Vollmar) Date: Thu Feb 5 08:24:11 2009 Subject: [OS X Emacs] switching buffers - fast Message-ID: <56126AC3-E09F-4367-82D0-42403D4D5469@nf.mpg.de> Hello, one of the few things I am not enthusiastic about in Aquamacs 1.6 is the way to change the current buffer in a frame, unfortunately something one needs to do quite frequently and thus something that deserves optimization. Of these methods C-x b (iswitchb-buffer) C-x-left/right (previous-buffer, next-buffer) C-M-left/right (cycling the tags of a frame) the last one is my favourite. However this only works well (I think) for the few visible tags (I cannot see the names of the others) and is also not as fast I would like it to be: if, say, I am on tab one and want to change to tab five, Emacs needs to switch modes and do a lot of housekeeping on the way from tab one to tab two, then to tab three, etc. although only the effort of changing from tab one to five would be needed. I would suggest a complementary approach which I have first seen with MS VisualStudio and which has found its way into QtCreator, a fairly new multi-platform and OpenSource IDE from Nokia. Attached is a screenshot of what appears if you press the M-tab keys in QtCreator 0.9.2: a centered, native window that remains open until you release the Alt-key. Repeatedly pressing Tab while Alt is still pressed will select the next file in the list, Shift-Alt the previous file. Releasing Alt will change the frame's buffer to the one selected in the list. The list of buffers starts with the current buffers followed by the previously visited one, and the latter is initially selected so a single Alt-Tab will get you back to the previously visited file (I know that I could bind previous-buffer to M- tab in order to mimick this is in Emacs). I realize that much of its attraction (for me) is in the speed: the native window with the list of buffers appears instantly and I believe this could be implemented similarly in Aquamacs - something that would give it an edge over other flavours of Emacs in my opinion. Warm regards, Stefan -- Dr. Stefan Vollmar, Dipl.-Phys. Max-Planck-Institut für neurologische Forschung Gleuelerstr. 50, 50931 Köln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: vollmar@nf.mpg.de http://www.nf.mpg.de -------------- next part -------------- A non-text attachment was scrubbed... Name: Qt-Creator-QuickSelect.png Type: image/png Size: 23982 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090205/71aa0780/Qt-Creator-QuickSelect.png From david.reitter at gmail.com Fri Feb 6 07:03:59 2009 From: david.reitter at gmail.com (David Reitter) Date: Fri Feb 6 07:04:06 2009 Subject: [OS X Emacs] trying to debug problem with Aquamacs 1.6 In-Reply-To: <0BFF8A3E-D731-4AC6-9E66-2839466822B4@comcast.net> References: <5C7BE1B2-8EAC-49F4-B0B4-214DF0CD3BD0@comcast.net> <873CAD36-3424-4C51-9C79-E943FE3E622C@gmail.com> <0BFF8A3E-D731-4AC6-9E66-2839466822B4@comcast.net> Message-ID: <75B9A0C8-153E-4F3C-B1D9-B1276A81FC6C@gmail.com> On 4 Feb 2009, at 10:04, Art Werschulz wrote: > Hi. > > I finally found the problem. I had forgotten about the file > ~/Library/Preferences/Aquamacs Emacs/customizations.el > Sure enough, that file had a line that appeared to always enable > gnus-undo. > What was that line? This file is written by "Save Options" and not meant to be user-editable, so I am wondering whether a customization that Aquamacs wrote could have caused the behavior you saw. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090206/58ebfbaf/smime.bin From david.reitter at gmail.com Fri Feb 6 07:06:22 2009 From: david.reitter at gmail.com (David Reitter) Date: Fri Feb 6 07:06:38 2009 Subject: [OS X Emacs] Minibuffer appearance In-Reply-To: <62622fe70902040916i2f36edeeyb05c13bfb1252922@mail.gmail.com> References: <62622fe70902040916i2f36edeeyb05c13bfb1252922@mail.gmail.com> Message-ID: <8402B2FA-A9DE-4682-B298-FA50BBC3B9F1@gmail.com> On 4 Feb 2009, at 12:16, Salvatore Enrico Indiogine wrote: > > Options -> Appearance -> Background color ... then choose black > Options -> Appearance -> Foreground color .... then choose white > > However, the minibuffer remains white with black text. Is it > possible to change that? There is no face in emacs meant specifically for the echo area (and I presume you want to change that rather than just minibuffers). There are several ways, but the easiest one would be: - Turn off Autofaces - use the "Background color" function to choose a color for the frame (rather than for the major mode) - Turn Autofaces on again. Hope that helps. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090206/65d6476e/smime.bin From agw at comcast.net Fri Feb 6 08:06:07 2009 From: agw at comcast.net (Art Werschulz) Date: Fri Feb 6 08:06:10 2009 Subject: [OS X Emacs] trying to debug problem with Aquamacs 1.6 In-Reply-To: <75B9A0C8-153E-4F3C-B1D9-B1276A81FC6C@gmail.com> References: <5C7BE1B2-8EAC-49F4-B0B4-214DF0CD3BD0@comcast.net> <873CAD36-3424-4C51-9C79-E943FE3E622C@gmail.com> <0BFF8A3E-D731-4AC6-9E66-2839466822B4@comcast.net> <75B9A0C8-153E-4F3C-B1D9-B1276A81FC6C@gmail.com> Message-ID: <9587206F-BCD8-4716-98C5-25079DC844D5@comcast.net> Hi. On Feb 6, 2009, at 7:03 AM, David Reitter wrote: > On 4 Feb 2009, at 10:04, Art Werschulz wrote: > >> Hi. >> >> I finally found the problem. I had forgotten about the file >> ~/Library/Preferences/Aquamacs Emacs/customizations.el >> Sure enough, that file had a line that appeared to always enable >> gnus-undo. >> > > > What was that line? This file is written by "Save Options" and not > meant to be user-editable, so I am wondering whether a customization > that Aquamacs wrote could have caused the behavior you saw. I no longer have the exact text. IIRC, something like (gnus-undo) appeared in the file. Sorry I can't be more precise. Art Werschulz 207 Stoughton Avenue, Cranford NJ 07016-2838 (908) 272-1146 From hindiogine at gmail.com Fri Feb 6 09:57:59 2009 From: hindiogine at gmail.com (Salvatore Enrico Indiogine) Date: Fri Feb 6 09:58:02 2009 Subject: [OS X Emacs] Minibuffer appearance In-Reply-To: <8402B2FA-A9DE-4682-B298-FA50BBC3B9F1@gmail.com> References: <62622fe70902040916i2f36edeeyb05c13bfb1252922@mail.gmail.com> <8402B2FA-A9DE-4682-B298-FA50BBC3B9F1@gmail.com> Message-ID: <62622fe70902060657n3a0b86a5t211932e788c2766@mail.gmail.com> David: 2009/2/6 David Reitter : > There is no face in emacs meant specifically for the echo area (and I > presume you want to change that rather than just minibuffers). > There are several ways, but the easiest one would be: > > - Turn off Autofaces > - use the "Background color" function to choose a color for the frame > (rather than for the major mode) > - Turn Autofaces on again. Thanks, it worked perfectly. I guess I still do not understand "faces" and "autofaces". I just ordered the "GNU Emacs Manual" by Richard Stallman, 2007. I need to better understand this wonderful software application. Actually, I just use Emacs+LaTeX+R, Firefox, iTunes, and VLC. That is it, and Emacs + Firefox are 95% of all my usage. Enrico -- Enrico Indiogine Mathematics Education Texas A&M University Email: hindiogine@gmail.com Skype: hindiogine Website: http://www.coe.tamu.edu/~enrico "On ne voit bien qu'avec le coeur. L'essentiel est invisible pour les yeux." Saint-Exupéry From david.reitter at gmail.com Fri Feb 6 10:03:05 2009 From: david.reitter at gmail.com (David Reitter) Date: Fri Feb 6 10:03:13 2009 Subject: [OS X Emacs] Minibuffer appearance In-Reply-To: <62622fe70902060657n3a0b86a5t211932e788c2766@mail.gmail.com> References: <62622fe70902040916i2f36edeeyb05c13bfb1252922@mail.gmail.com> <8402B2FA-A9DE-4682-B298-FA50BBC3B9F1@gmail.com> <62622fe70902060657n3a0b86a5t211932e788c2766@mail.gmail.com> Message-ID: On 6 Feb 2009, at 09:57, Salvatore Enrico Indiogine wrote: > > Thanks, it worked perfectly. I guess I still do not understand > "faces" and "autofaces". I just ordered the "GNU Emacs Manual" by > Richard Stallman, 2007. I need to better understand this wonderful > software application. You won't find anything about autofaces there - that's a feature of Aquamacs. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090206/730c40c3/smime.bin From jrosinsk at gmail.com Sat Feb 7 01:38:12 2009 From: jrosinsk at gmail.com (Jan Rosinski) Date: Sat Feb 7 01:38:19 2009 Subject: [OS X Emacs] Abbrevs In-Reply-To: <62622fe70902060657n3a0b86a5t211932e788c2766@mail.gmail.com> References: <62622fe70902040916i2f36edeeyb05c13bfb1252922@mail.gmail.com> <8402B2FA-A9DE-4682-B298-FA50BBC3B9F1@gmail.com> <62622fe70902060657n3a0b86a5t211932e788c2766@mail.gmail.com> Message-ID: I was trying to define, unsuccessfully, abbrev of \frac{}{} to be triggered by \f with the cursor between the first braces at the end, in the local latex mode. I can do it with fr as a trigger but \f does not work. Eventually, I would like to have several such abbrevs for the math. Is it possible with the prefix \ ? If not, what is the best solution? Concrete examples are the best. Thanks. Jan From nathaniel.cunningham at gmail.com Sat Feb 7 14:22:55 2009 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Sat Feb 7 14:54:04 2009 Subject: [OS X Emacs] Abbrevs In-Reply-To: References: <62622fe70902040916i2f36edeeyb05c13bfb1252922@mail.gmail.com> <8402B2FA-A9DE-4682-B298-FA50BBC3B9F1@gmail.com> <62622fe70902060657n3a0b86a5t211932e788c2766@mail.gmail.com> Message-ID: <20ecf6c70902071122p2e453173x8c0dc0ff0f0c9eb9@mail.gmail.com> I know this has come up at least a few times before on this list. Links to the past exchanges: http://thread.gmane.org/gmane.emacs.macintosh.osx/4413 http://thread.gmane.org/gmane.emacs.macintosh.osx/4414 Hope they're useful. --Nathaniel On Sat, Feb 7, 2009 at 12:38 AM, Jan Rosinski wrote: > I was trying to define, unsuccessfully, abbrev of \frac{}{} to be triggered > by \f > with the cursor between the first braces at the end, in the local latex > mode. > I can do it with fr as a trigger but \f does not work. > Eventually, I would like to have several such abbrevs for the math. Is it > possible with > the prefix \ ? If not, what is the best solution? Concrete examples are the > best. Thanks. > > Jan > > > > _____________________________________________________________ > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090207/89744504/attachment.html From markoilcan at gmail.com Sat Feb 7 14:55:32 2009 From: markoilcan at gmail.com (M A) Date: Sat Feb 7 15:20:56 2009 Subject: [OS X Emacs] Abbrevs In-Reply-To: References: <62622fe70902040916i2f36edeeyb05c13bfb1252922@mail.gmail.com> <8402B2FA-A9DE-4682-B298-FA50BBC3B9F1@gmail.com> <62622fe70902060657n3a0b86a5t211932e788c2766@mail.gmail.com> Message-ID: <9ab34dfc0902071155t7306a0b7tdb623d86da7342f9@mail.gmail.com> On Sat, Feb 7, 2009 at 12:38 AM, Jan Rosinski wrote: > I was trying to define, unsuccessfully, abbrev of \frac{}{} to be triggered > by \f > with the cursor between the first braces at the end, in the local latex > mode. > I can do it with fr as a trigger but \f does not work. > Eventually, I would like to have several such abbrevs for the math. Is it > possible with > the prefix \ ? If not, what is the best solution? Concrete examples are the > best. Thanks. > In emacs abbrevs only work, I believe, on word characters, which rules out using \ in the key for the abbrev. I would recommend trying out yasnippet, which is what I use these day since it is both easy to define a "snippet" and to move the point (cursor) around. For instance, you would put the following text in a file in your snippet directory for latex mode, #key:\f #name: \frac{}{} # -- \frac{$1}{$2}$0 (without a newline after $0), then after typing \f you press TAB it expands into \frac{}{} placing the cursor between the first two braces. Press TAB again and the cursor moves between the second pair of braces. Press TAB a third time and the cursor is placed after the last brace. There does appear to be a bug where \f does not expand if the \ is the first character on the line, but otherwise it works for me. You can find yasnippet at http://code.google.com/p/yasnippet/ MarkA From jrosinsk at gmail.com Sat Feb 7 22:06:19 2009 From: jrosinsk at gmail.com (Jan Rosinski) Date: Sat Feb 7 22:06:24 2009 Subject: [OS X Emacs] Abbrevs In-Reply-To: <9ab34dfc0902071155t7306a0b7tdb623d86da7342f9@mail.gmail.com> References: <62622fe70902040916i2f36edeeyb05c13bfb1252922@mail.gmail.com> <8402B2FA-A9DE-4682-B298-FA50BBC3B9F1@gmail.com> <62622fe70902060657n3a0b86a5t211932e788c2766@mail.gmail.com> <9ab34dfc0902071155t7306a0b7tdb623d86da7342f9@mail.gmail.com> Message-ID: Thanks for all suggestions. yasnippet from http://code.google.com/p/yasnippet/ works great. Jan On Feb 7, 2009, at 2:55 PM, M A wrote: > On Sat, Feb 7, 2009 at 12:38 AM, Jan Rosinski > wrote: >> I was trying to define, unsuccessfully, abbrev of \frac{}{} to be >> triggered >> by \f >> with the cursor between the first braces at the end, in the local >> latex >> mode. >> I can do it with fr as a trigger but \f does not work. >> Eventually, I would like to have several such abbrevs for the math. >> Is it >> possible with >> the prefix \ ? If not, what is the best solution? Concrete examples >> are the >> best. Thanks. >> > > In emacs abbrevs only work, I believe, on word characters, which rules > out using \ in > the key for the abbrev. I would recommend trying out yasnippet, which > is what I use > these day since it is both easy to define a "snippet" and to move the > point (cursor) > around. For instance, you would put the following text in a file in > your snippet directory > for latex mode, > > #key:\f > #name: \frac{}{} > # -- > \frac{$1}{$2}$0 > > (without a newline after $0), then after typing \f you press TAB it > expands into \frac{}{} > placing the cursor between the first two braces. Press TAB again and > the cursor moves > between the second pair of braces. Press TAB a third time and the > cursor is placed after > the last brace. There does appear to be a bug where \f does not expand > if the \ is the first > character on the line, but otherwise it works for me. You can find > yasnippet at > http://code.google.com/p/yasnippet/ > > MarkA > _____________________________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090207/6a227427/attachment.html From jrosinsk at gmail.com Sun Feb 8 08:54:03 2009 From: jrosinsk at gmail.com (Jan Rosinski) Date: Sun Feb 8 09:46:00 2009 Subject: [OS X Emacs] sync with Skim In-Reply-To: References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> Message-ID: <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> I have noticed that if I use preview in line in latex mode, update a formula and regenerate its preview (at point), then Skim does not update the pdf, no matter how many typesettings I run. I have to close Skim's preview file and generate a new one. I have observed this annoying behavior syncing with the newest Skim 1.2.1, I do not know whether it was present in earlier versions. Jan From Peter_Dyballa at Web.DE Sun Feb 8 10:26:57 2009 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Sun Feb 8 10:27:10 2009 Subject: [OS X Emacs] sync with Skim In-Reply-To: <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> Message-ID: <4F640C41-618A-42CB-84E9-6D275F38CC43@Web.DE> Am 08.02.2009 um 14:54 schrieb Jan Rosinski: > I have noticed that if I use preview in line in latex mode, > update a formula and regenerate its preview (at point), > then Skim does not update the pdf, no matter how many > typesettings I run. It might help to read the preview-latex manual (C-c C-p TAB) and understand that not the file in the buffer is latex'ed ... -- Greetings Pete If it should exist, it doesn't. ? Arnold's First Law of Documentation From d.stegmueller at gmail.com Sun Feb 8 09:48:01 2009 From: d.stegmueller at gmail.com (Daniel Stegmueller) Date: Sun Feb 8 10:37:43 2009 Subject: [OS X Emacs] sync with Skim In-Reply-To: <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> Message-ID: <7BEBB084-2BD6-4542-84CF-45B2BAD1C51F@gmail.com> Jan, I observed the same behavior in the previous version of Skim, too. Daniel On 8 Feb 2009, at 14:54, Jan Rosinski wrote: > I have noticed that if I use preview in line in latex mode, > update a formula and regenerate its preview (at point), > then Skim does not update the pdf, no matter how many > typesettings I run. > I have to close Skim's preview file and generate a new one. > I have observed this annoying behavior syncing with the newest Skim > 1.2.1, > I do not know whether it was present in earlier versions. > > Jan > _____________________________________________________________ > 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 "Prediction is very difficult, especially about the future." - Niels Bohr Daniel Stegmueller Landgrafenstr. 14 60486 Frankfurt/M. From jrosinsk at gmail.com Sun Feb 8 10:40:08 2009 From: jrosinsk at gmail.com (Jan Rosinski) Date: Sun Feb 8 10:40:12 2009 Subject: [OS X Emacs] sync with Skim In-Reply-To: <4F640C41-618A-42CB-84E9-6D275F38CC43@Web.DE> References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> <4F640C41-618A-42CB-84E9-6D275F38CC43@Web.DE> Message-ID: It also helps to read carefully before replying. I said, I typeset (Latex) the file after applying in line preview. Connection with Skim is lost. Jan On Feb 8, 2009, at 10:26 AM, Peter Dyballa wrote: > > Am 08.02.2009 um 14:54 schrieb Jan Rosinski: > >> I have noticed that if I use preview in line in latex mode, >> update a formula and regenerate its preview (at point), >> then Skim does not update the pdf, no matter how many >> typesettings I run. > > > It might help to read the preview-latex manual (C-c C-p TAB) and > understand that not the file in the buffer is latex'ed ... > > -- > Greetings > > Pete > > If it should exist, it doesn't. > ? Arnold's First Law of Documentation > > _____________________________________________________________ > 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 Feb 8 10:55:45 2009 From: david.reitter at gmail.com (David Reitter) Date: Sun Feb 8 10:55:53 2009 Subject: [OS X Emacs] sync with Skim In-Reply-To: <7BEBB084-2BD6-4542-84CF-45B2BAD1C51F@gmail.com> References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> <7BEBB084-2BD6-4542-84CF-45B2BAD1C51F@gmail.com> Message-ID: <8B879FD9-7FEC-487D-AE5B-2D6B1874EC06@gmail.com> Jan / Daniel, If this did not change with a Skim version change, then please let us know which version of Aquamacs/Emacs you're using exactly, and make sure that this problem replicates when (in Aquamacs) you start without customizations (Help -> Diagnose -> Start without...). If we can replicate the bug, we'll be happy to help of course. -- 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! On 8 Feb 2009, at 09:48, Daniel Stegmueller wrote: > Jan, > > I observed the same behavior in the previous version of Skim, too. > > Daniel > > > > On 8 Feb 2009, at 14:54, Jan Rosinski wrote: > >> I have noticed that if I use preview in line in latex mode, >> update a formula and regenerate its preview (at point), >> then Skim does not update the pdf, no matter how many >> typesettings I run. >> I have to close Skim's preview file and generate a new one. >> I have observed this annoying behavior syncing with the newest Skim >> 1.2.1, >> I do not know whether it was present in earlier versions. >> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090208/c4a4977a/smime.bin From d.stegmueller at gmail.com Sun Feb 8 10:43:49 2009 From: d.stegmueller at gmail.com (Daniel Stegmueller) Date: Sun Feb 8 11:14:26 2009 Subject: [OS X Emacs] sync with Skim In-Reply-To: References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> <4F640C41-618A-42CB-84E9-6D275F38CC43@Web.DE> Message-ID: <1F907F52-EC2C-43AD-BB3B-7029EC07F9E3@gmail.com> Jan (and Peter), I think this is unrelated to inline-previewing. I experience the phenomenon now and then and I never use inline-preview. Daniel On 8 Feb 2009, at 16:40, Jan Rosinski wrote: > It also helps to read carefully before replying. > I said, I typeset (Latex) the file after applying in line preview. > Connection with Skim is lost. > Jan > > On Feb 8, 2009, at 10:26 AM, Peter Dyballa wrote: > >> >> Am 08.02.2009 um 14:54 schrieb Jan Rosinski: >> >>> I have noticed that if I use preview in line in latex mode, >>> update a formula and regenerate its preview (at point), >>> then Skim does not update the pdf, no matter how many >>> typesettings I run. >> >> >> It might help to read the preview-latex manual (C-c C-p TAB) and >> understand that not the file in the buffer is latex'ed ... >> >> -- >> Greetings >> >> Pete >> >> If it should exist, it doesn't. >> ? Arnold's First Law of Documentation >> >> _____________________________________________________________ >> 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 > > _____________________________________________________________ > 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 "Prediction is very difficult, especially about the future." - Niels Bohr Daniel Stegmueller Landgrafenstr. 14 60486 Frankfurt/M. From jrosinsk at gmail.com Sun Feb 8 11:24:44 2009 From: jrosinsk at gmail.com (Jan Rosinski) Date: Sun Feb 8 11:24:52 2009 Subject: [OS X Emacs] sync with Skim In-Reply-To: <8B879FD9-7FEC-487D-AE5B-2D6B1874EC06@gmail.com> References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> <7BEBB084-2BD6-4542-84CF-45B2BAD1C51F@gmail.com> <8B879FD9-7FEC-487D-AE5B-2D6B1874EC06@gmail.com> Message-ID: <67F97D60-7AEE-4B41-9F5F-73E9A1FA9F88@gmail.com> Aquamacs 1.6 build 0110 - Feb-07 Same behavior when starting without customization On Feb 8, 2009, at 10:55 AM, David Reitter wrote: > Jan / Daniel, > > If this did not change with a Skim version change, then please let > us know which version of Aquamacs/Emacs you're using exactly, and > make sure that this problem replicates when (in Aquamacs) you start > without customizations (Help -> Diagnose -> Start without...). > > If we can replicate the bug, we'll be happy to help of course. > > -- > 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! > > On 8 Feb 2009, at 09:48, Daniel Stegmueller wrote: > >> Jan, >> >> I observed the same behavior in the previous version of Skim, too. >> >> Daniel >> >> >> >> On 8 Feb 2009, at 14:54, Jan Rosinski wrote: >> >>> I have noticed that if I use preview in line in latex mode, >>> update a formula and regenerate its preview (at point), >>> then Skim does not update the pdf, no matter how many >>> typesettings I run. >>> I have to close Skim's preview file and generate a new one. >>> I have observed this annoying behavior syncing with the newest >>> Skim 1.2.1, >>> I do not know whether it was present in earlier versions. >>> > _____________________________________________________________ > 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 Feb 8 11:50:21 2009 From: david.reitter at gmail.com (David Reitter) Date: Sun Feb 8 11:50:30 2009 Subject: [OS X Emacs] sync with Skim In-Reply-To: <67F97D60-7AEE-4B41-9F5F-73E9A1FA9F88@gmail.com> References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> <7BEBB084-2BD6-4542-84CF-45B2BAD1C51F@gmail.com> <8B879FD9-7FEC-487D-AE5B-2D6B1874EC06@gmail.com> <67F97D60-7AEE-4B41-9F5F-73E9A1FA9F88@gmail.com> Message-ID: <6FB80C24-EF04-4FEE-BC63-BDE2691AC0EC@gmail.com> OK, I reproduce the behavior. I see that the .pdf is correctly generated with a new time stamp. I did get correct Skim behavior the first time around, but not after using "generate preview at point". It's unclear to me what the interaction with AUCTeX/preview is, but I would say that as soon as the PDF is regenerated, Skim should update. (After doing a "revert" in Skim, things work fine.) I can imagine that Skim looses the handle on the file. Maybe (!) Aquamacs/AUCTeX deletes the .pdf or does something else to it, and the file system can't keep track of it. Something like that perhaps. Thus, I defer to the Skim team for now! PS., Christiaan, the Report Bug link on the Skim website links to the main Sourceforge homepage or their login screen. -- 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! On 8 Feb 2009, at 11:24, Jan Rosinski wrote: > Aquamacs 1.6 build 0110 - Feb-07 > Same behavior when starting without customization > > > On Feb 8, 2009, at 10:55 AM, David Reitter wrote: > >> Jan / Daniel, >> >> If this did not change with a Skim version change, then please let >> us know which version of Aquamacs/Emacs you're using exactly, and >> make sure that this problem replicates when (in Aquamacs) you start >> without customizations (Help -> Diagnose -> Start without...). >> >> If we can replicate the bug, we'll be happy to help of course. >> >> -- >> 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! >> >> On 8 Feb 2009, at 09:48, Daniel Stegmueller wrote: >> >>> Jan, >>> >>> I observed the same behavior in the previous version of Skim, too. >>> >>> Daniel >>> >>> >>> >>> On 8 Feb 2009, at 14:54, Jan Rosinski wrote: >>> >>>> I have noticed that if I use preview in line in latex mode, >>>> update a formula and regenerate its preview (at point), >>>> then Skim does not update the pdf, no matter how many >>>> typesettings I run. >>>> I have to close Skim's preview file and generate a new one. >>>> I have observed this annoying behavior syncing with the newest >>>> Skim 1.2.1, >>>> I do not know whether it was present in earlier versions. >>>> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090208/2778e5cd/smime.bin From franconi at inf.unibz.it Sun Feb 8 13:41:14 2009 From: franconi at inf.unibz.it (Enrico Franconi) Date: Sun Feb 8 14:08:00 2009 Subject: [OS X Emacs] sync with Skim In-Reply-To: <6FB80C24-EF04-4FEE-BC63-BDE2691AC0EC@gmail.com> References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> <7BEBB084-2BD6-4542-84CF-45B2BAD1C51F@gmail.com> <8B879FD9-7FEC-487D-AE5B-2D6B1874EC06@gmail.com> <67F97D60-7AEE-4B41-9F5F-73E9A1FA9F88@gmail.com> <6FB80C24-EF04-4FEE-BC63-BDE2691AC0EC@gmail.com> Message-ID: I suspect (since it makes sense) that preview generates a new pdf file at each invocation - even if it has the same name. In this case, skim's behaviour is as expected. --e. On 8 Feb 2009, at 17:50, David Reitter wrote: > OK, I reproduce the behavior. I see that the .pdf is correctly > generated with a new time stamp. I did get correct Skim behavior > the first time around, but not after using "generate preview at > point". It's unclear to me what the interaction with AUCTeX/preview > is, but I would say that as soon as the PDF is regenerated, Skim > should update. (After doing a "revert" in Skim, things work fine.) > > I can imagine that Skim looses the handle on the file. Maybe (!) > Aquamacs/AUCTeX deletes the .pdf or does something else to it, and > the file system can't keep track of it. Something like that perhaps. > > Thus, I defer to the Skim team for now! > > PS., Christiaan, the Report Bug link on the Skim website links to > the main Sourceforge homepage or their login screen. > > -- > 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! > > > > On 8 Feb 2009, at 11:24, Jan Rosinski wrote: > >> Aquamacs 1.6 build 0110 - Feb-07 >> Same behavior when starting without customization >> >> >> On Feb 8, 2009, at 10:55 AM, David Reitter wrote: >> >>> Jan / Daniel, >>> >>> If this did not change with a Skim version change, then please let >>> us know which version of Aquamacs/Emacs you're using exactly, and >>> make sure that this problem replicates when (in Aquamacs) you >>> start without customizations (Help -> Diagnose -> Start without...). >>> >>> If we can replicate the bug, we'll be happy to help of course. >>> >>> -- >>> 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! >>> >>> On 8 Feb 2009, at 09:48, Daniel Stegmueller wrote: >>> >>>> Jan, >>>> >>>> I observed the same behavior in the previous version of Skim, too. >>>> >>>> Daniel >>>> >>>> >>>> >>>> On 8 Feb 2009, at 14:54, Jan Rosinski wrote: >>>> >>>>> I have noticed that if I use preview in line in latex mode, >>>>> update a formula and regenerate its preview (at point), >>>>> then Skim does not update the pdf, no matter how many >>>>> typesettings I run. >>>>> I have to close Skim's preview file and generate a new one. >>>>> I have observed this annoying behavior syncing with the newest >>>>> Skim 1.2.1, >>>>> I do not know whether it was present in earlier versions. >>>>> > _____________________________________________________________ > 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 Feb 8 14:39:14 2009 From: david.reitter at gmail.com (David Reitter) Date: Sun Feb 8 14:39:25 2009 Subject: [OS X Emacs] sync with Skim In-Reply-To: References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> <7BEBB084-2BD6-4542-84CF-45B2BAD1C51F@gmail.com> <8B879FD9-7FEC-487D-AE5B-2D6B1874EC06@gmail.com> <67F97D60-7AEE-4B41-9F5F-73E9A1FA9F88@gmail.com> <6FB80C24-EF04-4FEE-BC63-BDE2691AC0EC@gmail.com> Message-ID: Sorry, what do you mean? I thought the OP was complaining about the main pdf (of the whole document) not updating. AFAIK Preview doesn't generate PDFs at all. AUCTeX still uses the outdated DVI-PS-PNG (or GIF?) route. If they used PDF, we could make the whole process so much faster and less dependent on third-party add-ons. -- 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! On 8 Feb 2009, at 13:41, Enrico Franconi wrote: > I suspect (since it makes sense) that preview generates a new pdf > file at each invocation - even if it has the same name. In this > case, skim's behaviour is as expected. > --e. > > On 8 Feb 2009, at 17:50, David Reitter wrote: > >> OK, I reproduce the behavior. I see that the .pdf is correctly >> generated with a new time stamp. I did get correct Skim behavior >> the first time around, but not after using "generate preview at >> point". It's unclear to me what the interaction with AUCTeX/preview >> is, but I would say that as soon as the PDF is regenerated, Skim >> should update. (After doing a "revert" in Skim, things work fine.) >> >> I can imagine that Skim looses the handle on the file. Maybe (!) >> Aquamacs/AUCTeX deletes the .pdf or does something else to it, and >> the file system can't keep track of it. Something like that perhaps. >> >> Thus, I defer to the Skim team for now! >> >> PS., Christiaan, the Report Bug link on the Skim website links to >> the main Sourceforge homepage or their login screen. >> >> -- >> 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! >> >> >> >> On 8 Feb 2009, at 11:24, Jan Rosinski wrote: >> >>> Aquamacs 1.6 build 0110 - Feb-07 >>> Same behavior when starting without customization >>> >>> >>> On Feb 8, 2009, at 10:55 AM, David Reitter wrote: >>> >>>> Jan / Daniel, >>>> >>>> If this did not change with a Skim version change, then please >>>> let us know which version of Aquamacs/Emacs you're using exactly, >>>> and make sure that this problem replicates when (in Aquamacs) you >>>> start without customizations (Help -> Diagnose -> Start >>>> without...). >>>> >>>> If we can replicate the bug, we'll be happy to help of course. >>>> >>>> -- >>>> 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! >>>> >>>> On 8 Feb 2009, at 09:48, Daniel Stegmueller wrote: >>>> >>>>> Jan, >>>>> >>>>> I observed the same behavior in the previous version of Skim, too. >>>>> >>>>> Daniel >>>>> >>>>> >>>>> >>>>> On 8 Feb 2009, at 14:54, Jan Rosinski wrote: >>>>> >>>>>> I have noticed that if I use preview in line in latex mode, >>>>>> update a formula and regenerate its preview (at point), >>>>>> then Skim does not update the pdf, no matter how many >>>>>> typesettings I run. >>>>>> I have to close Skim's preview file and generate a new one. >>>>>> I have observed this annoying behavior syncing with the newest >>>>>> Skim 1.2.1, >>>>>> I do not know whether it was present in earlier versions. >>>>>> >> _____________________________________________________________ >> 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 > > _____________________________________________________________ > 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090208/749f0891/smime.bin From Peter_Dyballa at Web.DE Sun Feb 8 15:04:33 2009 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Sun Feb 8 15:04:44 2009 Subject: [OS X Emacs] sync with Skim In-Reply-To: <6FB80C24-EF04-4FEE-BC63-BDE2691AC0EC@gmail.com> References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> <7BEBB084-2BD6-4542-84CF-45B2BAD1C51F@gmail.com> <8B879FD9-7FEC-487D-AE5B-2D6B1874EC06@gmail.com> <67F97D60-7AEE-4B41-9F5F-73E9A1FA9F88@gmail.com> <6FB80C24-EF04-4FEE-BC63-BDE2691AC0EC@gmail.com> Message-ID: <17326123-76A7-4480-90DE-4EAB71F98CB9@Web.DE> Am 08.02.2009 um 17:50 schrieb David Reitter: > Maybe (!) Aquamacs/AUCTeX deletes the .pdf 'ls -li ' will show the inode. If this changes, then you / have/ a new file. -- Mit friedvollen Grüßen Pete Some day we may discover how to make magnets that can point in any direction. From david.reitter at gmail.com Sun Feb 8 15:46:24 2009 From: david.reitter at gmail.com (David Reitter) Date: Sun Feb 8 15:46:31 2009 Subject: [OS X Emacs] sync with Skim In-Reply-To: <17326123-76A7-4480-90DE-4EAB71F98CB9@Web.DE> References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> <7BEBB084-2BD6-4542-84CF-45B2BAD1C51F@gmail.com> <8B879FD9-7FEC-487D-AE5B-2D6B1874EC06@gmail.com> <67F97D60-7AEE-4B41-9F5F-73E9A1FA9F88@gmail.com> <6FB80C24-EF04-4FEE-BC63-BDE2691AC0EC@gmail.com> <17326123-76A7-4480-90DE-4EAB71F98CB9@Web.DE> Message-ID: <89158840-7572-4D28-8158-3B9C94A76553@gmail.com> On 8 Feb 2009, at 15:04, Peter Dyballa wrote: > > Am 08.02.2009 um 17:50 schrieb David Reitter: > >> Maybe (!) Aquamacs/AUCTeX deletes the .pdf > > 'ls -li ' will show the inode. If this changes, then you / > have/ a new file. Right. Turns out that "Toggle Preview at Point" actually deletes the main PDF file. That doesn't make sense to me. Jan, do you want to take it up with the AUCTeX Help group then? It's their code. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090208/01626fc7/smime.bin From jrosinsk at gmail.com Sun Feb 8 16:46:43 2009 From: jrosinsk at gmail.com (Jan Rosinski) Date: Sun Feb 8 16:46:50 2009 Subject: [OS X Emacs] sync with Skim In-Reply-To: <89158840-7572-4D28-8158-3B9C94A76553@gmail.com> References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> <6CC2F9F4-2E57-4024-8E70-F7CD013E3F6A@gmail.com> <7BEBB084-2BD6-4542-84CF-45B2BAD1C51F@gmail.com> <8B879FD9-7FEC-487D-AE5B-2D6B1874EC06@gmail.com> <67F97D60-7AEE-4B41-9F5F-73E9A1FA9F88@gmail.com> <6FB80C24-EF04-4FEE-BC63-BDE2691AC0EC@gmail.com> <17326123-76A7-4480-90DE-4EAB71F98CB9@Web.DE> <89158840-7572-4D28-8158-3B9C94A76553@gmail.com> Message-ID: Maybe this will give more clues... (It may be messed up even more.) I had a pdf preview of a paper opened by Skim. I toggled the preview of a formula in the file to its latex code (command-click) without making any change. Then I run preview for the document (just to avoid preview at point). Skim gave me all formulas from the paper, centered one under another, in a very long file. No text. Jan On Feb 8, 2009, at 3:46 PM, David Reitter wrote: > On 8 Feb 2009, at 15:04, Peter Dyballa wrote: > >> >> Am 08.02.2009 um 17:50 schrieb David Reitter: >> >>> Maybe (!) Aquamacs/AUCTeX deletes the .pdf >> >> 'ls -li ' will show the inode. If this changes, then you / >> have/ a new file. > > Right. Turns out that "Toggle Preview at Point" actually deletes > the main PDF file. That doesn't make sense to me. > > Jan, do you want to take it up with the AUCTeX Help group then? > It's their code. > > > -- > 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 nathaniel.cunningham at gmail.com Mon Feb 9 23:54:36 2009 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Mon Feb 9 23:54:41 2009 Subject: [OS X Emacs] freeing up C-RET Message-ID: <20ecf6c70902092054x13a1abc2v6eb8e178f13e7e0f@mail.gmail.com> I use org mode for daily notes, and I want to be able to use the C-return keybinding for (org-insert-heading-after-current). However, in Aquamacs, this is bound by default to 'cua-set-rectangle-mark, even in org-mode. I removed this binding from cua-global-keymap, but it's still bound somehow. How can I get the org behavior to override in org mode, or remove the cua binding entirely? Thanks, Nathaniel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090209/1fe7b24c/attachment.html From grenander at gmail.com Tue Feb 10 08:11:07 2009 From: grenander at gmail.com (Art) Date: Tue Feb 10 08:15:07 2009 Subject: [OS X Emacs] Using one font and color theme in Aquamacs 1.6 Message-ID: I would like to use one fixed-width font and one foreground and background color everywhere in Aquamacs that I can type text in. I would like these not to change as I change buffers, buffer types, frames, use modes that I haven't used before. I have seen many patient responses to a similar question in this list but I am still not sure how to do it. The wiki posts related to this seem to refer to older versions of Aquamacs as the menu options no longer appear. It would be great to make this change in an minimar way without interfering with other default Aquamacs functionality. Thanks, Art. From nathaniel.cunningham at gmail.com Tue Feb 10 09:36:14 2009 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Tue Feb 10 09:42:02 2009 Subject: [OS X Emacs] Re: freeing up C-RET In-Reply-To: <20ecf6c70902092054x13a1abc2v6eb8e178f13e7e0f@mail.gmail.com> References: <20ecf6c70902092054x13a1abc2v6eb8e178f13e7e0f@mail.gmail.com> Message-ID: <20ecf6c70902100636x1622232erd4a32de36dd2c006@mail.gmail.com> By the way, I did try customizing 'cua-rectangle-mark-key, but this has the effect of binding a new key to cua-set-rectangle-mark without removing the binding of C-return to the same. --Nathaniel On Mon, Feb 9, 2009 at 10:54 PM, Nathaniel Cunningham < nathaniel.cunningham@gmail.com> wrote: > I use org mode for daily notes, and I want to be able to use the C-return > keybinding for (org-insert-heading-after-current). However, in Aquamacs, > this is bound by default to 'cua-set-rectangle-mark, even in org-mode. I > removed this binding from cua-global-keymap, but it's still bound somehow. > How can I get the org behavior to override in org mode, or remove the cua > binding entirely? > > Thanks, > Nathaniel > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090210/1c2f8b1c/attachment.html From jrosinsk at gmail.com Tue Feb 10 10:08:50 2009 From: jrosinsk at gmail.com (Jan Rosinski) Date: Tue Feb 10 11:08:25 2009 Subject: [OS X Emacs] command-click In-Reply-To: <20ecf6c70902100636x1622232erd4a32de36dd2c006@mail.gmail.com> References: <20ecf6c70902092054x13a1abc2v6eb8e178f13e7e0f@mail.gmail.com> <20ecf6c70902100636x1622232erd4a32de36dd2c006@mail.gmail.com> Message-ID: I am aware that this is a trivial question but I did not have any luck looking at the manual. In latex mode I would like to disable 'command-click' for pasting. How to do it? Thanks. Jan From david.reitter at gmail.com Tue Feb 10 15:09:38 2009 From: david.reitter at gmail.com (David Reitter) Date: Tue Feb 10 15:09:48 2009 Subject: [OS X Emacs] Using one font and color theme in Aquamacs 1.6 In-Reply-To: References: Message-ID: <17247B48-C870-4892-92A4-B8BB8A396AC7@gmail.com> On 10 Feb 2009, at 08:11, Art wrote: > I would like to use one fixed-width font and one foreground and > background color > everywhere in Aquamacs that I can type text in. I would like these > not to change > as I change buffers, buffer types, frames, use modes that I haven't > used before. > > I have seen many patient responses to a similar question in this > list but I am > still not sure how to do it. The wiki posts related to this seem to > refer to > older versions of Aquamacs as the menu options no longer appear. It > would be > great to make this change in an minimar way without interfering with > other > default Aquamacs functionality. Easy: Turn off Autofaces mode, then choose the desired font, both in the Options -> Appearance menu. Save Options if desired. Then, please update Wiki (it is user-maintainable!) -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090210/4b164076/smime.bin From david.reitter at gmail.com Tue Feb 10 23:55:30 2009 From: david.reitter at gmail.com (David Reitter) Date: Tue Feb 10 23:55:36 2009 Subject: [OS X Emacs] Aquamacs Emacs 1.7preview-1 Message-ID: Aquamacs Emacs 1.7preview-1 is now available for download from http://aquamacs.org/download-preview.shtml (40MB) This public preview of Aquamacs 1.7 contains many bug fixes and also "smart word spacing" during copy&paste (configurable). JDEE and SLIME users, note that you will need to install a plugin. The full list of changes is available here: http://aquamacs.org/nightlies.shtml#changelog-latest The download size has been further reduced - so please grab it, work with it and get back to us if you notice a problem. We'd like to catch it before we'll release version 1.7 in a few days. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090210/d60037b5/smime.bin From thvv at multicians.org Wed Feb 11 10:09:06 2009 From: thvv at multicians.org (Tom Van Vleck) Date: Wed Feb 11 10:09:11 2009 Subject: [OS X Emacs] Tab mode in Aquamacs Emacs 1.7preview-1 In-Reply-To: References: Message-ID: The new Aquamacs 1.7 preview's tabs mode still behaves inconsistently. I have OBOF mode off, show tabs mode on. I did this: open three files, each with a tab on the tab bar. C-x-2 to split the current window The upper windowpane has a tab bar. The lower pane does not. It displays one of the files. C-x-o to switch to the lower windowpane C-x-f filename4 to open a new file Now I have a tab bar in each windowpane. If I hit the lower pane's close button on the tab for the file that has a tab in both windowpanes, the lower pane's tab bar vanishes. C-x-f filename2 with the cursor in the lower pane, naming a file with a tab in the upper pane, will switch to the upper pane, and display the file, switching tabs if necessary. It doesn't open a tab bar in the lower pane. (I was surprised.) C-x-f filename5 with the cursor in the lower pane, naming a file with NO tab in the upper pane, will create a tab bar in the lower pane, and display the file. C-x-f filename2 with the cursor in the lower pane, naming a file with a tab both panes, will switch to the upper pane, and display the file, switching tabs if necessary, even if the cursor was in filename2 in the lower pane. (Surprising.) C-x-0 will close the split and display one file. A tab bar will show or not, depending on whether the pane that was not closed had a tab bar or not. (I think it should show a tab bar with the remaining open files.) If there is no tab bar, the Window menu still shows the other files that have buffers, and selecting them will cause tabs to return one by one. I have not tried more than one split. From wsacks at wisc.edu Wed Feb 11 11:05:14 2009 From: wsacks at wisc.edu (Bill Sacks) Date: Wed Feb 11 12:05:27 2009 Subject: [OS X Emacs] Fortran syntax highlighting in Aquamacs In-Reply-To: References: Message-ID: <71F2C9B3-E5F3-4B4C-AB18-E44026F0827E@wisc.edu> I am using Aquamacs version 1.6.0. I am editing some Fortran 77 files where the column width can be as wide as 132 characters. The syntax highlighting works fine for lines less than 72 characters wide, but breaks with wider lines. Mostly this means that the end of the line is colored as if it were a comment. More annoyingly, if a string runs past column 72, so that the closing quotation is past this point, then all future lines are colored as if they are a part of this string (until the next quotation mark). Does anyone know how to change this behavior - for example, to configure the Fortran syntax highlighting so that it can handle 132- character lines rather than 72-character lines? Thanks, Bill From nathaniel.cunningham at gmail.com Wed Feb 11 13:57:21 2009 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Wed Feb 11 14:23:31 2009 Subject: [OS X Emacs] Fortran syntax highlighting in Aquamacs In-Reply-To: <71F2C9B3-E5F3-4B4C-AB18-E44026F0827E@wisc.edu> References: <71F2C9B3-E5F3-4B4C-AB18-E44026F0827E@wisc.edu> Message-ID: <20ecf6c70902111057t209307b8j70f9d55e39f793d0@mail.gmail.com> On Wed, Feb 11, 2009 at 10:05 AM, Bill Sacks wrote: > > Does anyone know how to change this behavior - for example, to configure > the Fortran syntax highlighting so that it can handle 132-character lines > rather than 72-character lines? > > >From taking a look at the fortran.el, this line length doesn't appear to be customizable. The docstring for fortran-mode does say: "Major mode for editing Fortran code in fixed format. For free format code, use `f90-mode'." ... so you could see if f90-mode gives you the highlighting you want while still working OK otherwise with f77 code. --Nathaniel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090211/734258b7/attachment.html From Peter_Dyballa at Web.DE Wed Feb 11 14:26:32 2009 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed Feb 11 14:26:38 2009 Subject: [OS X Emacs] Fortran syntax highlighting in Aquamacs In-Reply-To: <71F2C9B3-E5F3-4B4C-AB18-E44026F0827E@wisc.edu> References: <71F2C9B3-E5F3-4B4C-AB18-E44026F0827E@wisc.edu> Message-ID: <406481D2-EA6C-4C22-9A26-E430188FB837@Web.DE> Am 11.02.2009 um 17:05 schrieb Bill Sacks: > Does anyone know how to change this behavior - for example, to > configure the Fortran syntax highlighting so that it can handle 132- > character lines rather than 72-character lines? There is no way to switch to a Fortran 90 or such mode? There is also a variable fortran-line-length that supports g77's - ffixed-line-length-N. The *info* buffer should have more support. -- Greetings Pete Klingon function calls do not have "parameters" - they have "arguments"- and they ALWAYS WIN THEM. From kuepper.jochen at googlemail.com Wed Feb 11 14:39:32 2009 From: kuepper.jochen at googlemail.com (=?ISO-8859-1?Q?Jochen_K=FCpper?=) Date: Wed Feb 11 15:51:10 2009 Subject: [OS X Emacs] Fortran syntax highlighting in Aquamacs In-Reply-To: <20ecf6c70902111057t209307b8j70f9d55e39f793d0@mail.gmail.com> References: <71F2C9B3-E5F3-4B4C-AB18-E44026F0827E@wisc.edu> <20ecf6c70902111057t209307b8j70f9d55e39f793d0@mail.gmail.com> Message-ID: On 11.02.2009, at 19:57, Nathaniel Cunningham wrote: > > On Wed, Feb 11, 2009 at 10:05 AM, Bill Sacks wrote: > > Does anyone know how to change this behavior - for example, to > configure the Fortran syntax highlighting so that it can handle 132- > character lines rather than 72-character lines? fortran-line-length is a variable defined in `fortran.el'. Its value is 72 Automatically becomes buffer-local when set in any fashion. This variable is safe as a file local variable if its value satisfies the predicate `integerp'. Documentation: Maximum number of characters in a line of fixed-form Fortran code. Characters beyond this point are treated as comments. Setting this variable directly (after fortran mode is loaded) does not take effect. Use either M-x customize (which affects all Fortran buffers and the default) or the function `fortran-line-length' (which can also operate on just the current buffer). This corresponds to the g77 compiler option `-ffixed-line-length-N'. You can customize this variable. This variable was introduced, or its default value was changed, in version 23.1 of Emacs. > > > > From taking a look at the fortran.el, this line length doesn't > appear to be customizable. > > The docstring for fortran-mode does say: > "Major mode for editing Fortran code in fixed format. > For free format code, use `f90-mode'." > > ... so you could see if f90-mode gives you the highlighting you want > while still working OK otherwise with f77 code. > > --Nathaniel > _____________________________________________________________ > 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 Schöne Grüße, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll From wsacks at wisc.edu Wed Feb 11 17:09:16 2009 From: wsacks at wisc.edu (Bill Sacks) Date: Wed Feb 11 17:09:28 2009 Subject: [OS X Emacs] Fortran syntax highlighting in Aquamacs In-Reply-To: References: <71F2C9B3-E5F3-4B4C-AB18-E44026F0827E@wisc.edu> <20ecf6c70902111057t209307b8j70f9d55e39f793d0@mail.gmail.com> Message-ID: <94DEB290-60DB-4125-825D-B30A1946BEE1@wisc.edu> Thank you all for your responses. From what I can tell, fortran-line-length does not appear to be customizable in Aquamacs 1.6, which is based on GNU Emacs 22.3.2. Perhaps this variable was added in a later version of emacs (such as version 23.1, as suggested by Jochen's email)? If I use f90-mode, as some people suggested, that fixes some problems but creates others. For example, it causes comments and indentation to be handled incorrectly. I know that the best solution would just be to not work with Fortran 77 code at all ;-) Sadly, that's not a possibility right now. Thanks, Bill On Feb 11, 2009, at 1:39 PM, Jochen Küpper wrote: > On 11.02.2009, at 19:57, Nathaniel Cunningham wrote: > >> >> On Wed, Feb 11, 2009 at 10:05 AM, Bill Sacks wrote: >> >> Does anyone know how to change this behavior - for example, to >> configure the Fortran syntax highlighting so that it can handle >> 132-character lines rather than 72-character lines? > > fortran-line-length is a variable defined in `fortran.el'. > Its value is 72 > > Automatically becomes buffer-local when set in any fashion. > This variable is safe as a file local variable if its value > satisfies the predicate `integerp'. > > Documentation: > Maximum number of characters in a line of fixed-form Fortran code. > Characters beyond this point are treated as comments. Setting > this variable directly (after fortran mode is loaded) does not > take effect. Use either M-x customize (which affects all Fortran > buffers and the default) or the function > `fortran-line-length' (which can also operate on just the current > buffer). This corresponds to the g77 compiler option > `-ffixed-line-length-N'. > > You can customize this variable. > > This variable was introduced, or its default value was changed, in > version 23.1 of Emacs. > > >> >> >> >> From taking a look at the fortran.el, this line length doesn't >> appear to be customizable. >> >> The docstring for fortran-mode does say: >> "Major mode for editing Fortran code in fixed format. >> For free format code, use `f90-mode'." >> >> ... so you could see if f90-mode gives you the highlighting you >> want while still working OK otherwise with f77 code. >> >> --Nathaniel >> _____________________________________________________________ >> 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 > > Schöne Grüße, > Jochen > -- > Einigkeit und Recht und Freiheit http://www.Jochen- > Kuepper.de > Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D > Sex, drugs and rock-n-roll > > > _____________________________________________________________ > 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 nathaniel.cunningham at gmail.com Wed Feb 11 17:12:03 2009 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Wed Feb 11 18:03:57 2009 Subject: [OS X Emacs] Fortran syntax highlighting in Aquamacs In-Reply-To: <94DEB290-60DB-4125-825D-B30A1946BEE1@wisc.edu> References: <71F2C9B3-E5F3-4B4C-AB18-E44026F0827E@wisc.edu> <20ecf6c70902111057t209307b8j70f9d55e39f793d0@mail.gmail.com> <94DEB290-60DB-4125-825D-B30A1946BEE1@wisc.edu> Message-ID: <20ecf6c70902111412l2b082e9as4ab60a9de01d9b83@mail.gmail.com> On Wed, Feb 11, 2009 at 4:09 PM, Bill Sacks wrote: > Thank you all for your responses. > > From what I can tell, fortran-line-length does not appear to be > customizable in Aquamacs 1.6, which is based on GNU Emacs 22.3.2. Perhaps > this variable was added in a later version of emacs (such as version 23.1, > as suggested by Jochen's email)? > Is there any reason why this later version of fortran.el won't work with Aquamacs? Is there some kind of compatibility issue with Emacs 22? It's worth a try, at least. --Nathaniel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090211/653ba8b0/attachment.html From davepeck at gmail.com Wed Feb 11 18:51:48 2009 From: davepeck at gmail.com (Dave Peck) Date: Wed Feb 11 19:12:16 2009 Subject: [OS X Emacs] Full-Screen, Spaces, and Minimize? Message-ID: <9f60c1ba0902111551l7fb888ach86ea0f8b068f45fe@mail.gmail.com> I run Leopard (the latest rev) with three spaces. I tend to run Aquamacs full-screen in the center space. I've noticed that when I flip back to other spaces, many windows (Safari, Mail, Net News Wire) have disabled minimize buttons. It's pretty frustrating, since minimizing windows (with Command-M) is a large part of my workflow. Has anyone else noticed this behavior? My hunch is that it's Leopard, not Aquamacs, but I wonder if anyone has discovered a workaround? Cheers, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090211/585b581d/attachment.html From david.reitter at gmail.com Wed Feb 11 19:01:25 2009 From: david.reitter at gmail.com (David Reitter) Date: Wed Feb 11 20:12:03 2009 Subject: [OS X Emacs] command-click In-Reply-To: References: <20ecf6c70902092054x13a1abc2v6eb8e178f13e7e0f@mail.gmail.com> <20ecf6c70902100636x1622232erd4a32de36dd2c006@mail.gmail.com> Message-ID: On 10 Feb 2009, at 10:08, Jan Rosinski wrote: > I am aware that this is a trivial question but I did not have any luck > looking at the manual. > In latex mode I would like to disable 'command-click' for pasting. > How to do it? Thanks. (global-set-key [(mouse-2)] 'ignore) This should do it everywhere. To just change it in latex-mode, simply use the `define-key' command on `latex-mode-map' in a similar fashion. Hope that helps - David -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090211/ff5dd1d8/smime.bin From wsacks at wisc.edu Thu Feb 12 15:29:36 2009 From: wsacks at wisc.edu (Bill Sacks) Date: Thu Feb 12 15:30:02 2009 Subject: [OS X Emacs] Fortran syntax highlighting in Aquamacs In-Reply-To: <20ecf6c70902111412l2b082e9as4ab60a9de01d9b83@mail.gmail.com> References: <71F2C9B3-E5F3-4B4C-AB18-E44026F0827E@wisc.edu> <20ecf6c70902111057t209307b8j70f9d55e39f793d0@mail.gmail.com> <94DEB290-60DB-4125-825D-B30A1946BEE1@wisc.edu> <20ecf6c70902111412l2b082e9as4ab60a9de01d9b83@mail.gmail.com> Message-ID: <6DACEABB-B959-41BE-B649-46E640641A8D@wisc.edu> I just tried to use the latest version of fortran.el, but I couldn't get it to work. When I installed that in place of Aquamacs' built-in fortran.el, my .f files were no longer recognized as FORTRAN files. Perhaps the problem is related to the following warnings that I got while trying to byte-compile the file: fortran.el:693:2:Warning: define-abbrev-table called with 5 arguments, but accepts only 2 In fortran-mode: fortran.el:833:28:Warning: reference to free variable `fortran-mode-abbrev-table' In end of data: fortran.el:2173:25:Warning: the following functions are not known to be defined: characterp, gud-find-c-expr Oh well, it's not that big of a deal - I will just deal with this syntax highlighting problem until Aquamacs is updated to use the changes in emacs v. 23, whenever that is released. Thanks, Bill On Feb 11, 2009, at 4:12 PM, Nathaniel Cunningham wrote: > > On Wed, Feb 11, 2009 at 4:09 PM, Bill Sacks wrote: > Thank you all for your responses. > > >From what I can tell, fortran-line-length does not appear to be > customizable in Aquamacs 1.6, which is based on GNU Emacs 22.3.2. > Perhaps this variable was added in a later version of emacs (such > as version 23.1, as suggested by Jochen's email)? > > Is there any reason why this later version of fortran.el won't work > with Aquamacs? Is there some kind of compatibility issue with > Emacs 22? It's worth a try, at least. > > --Nathaniel > > _____________________________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090212/8d050897/attachment.html From Peter_Dyballa at Web.DE Thu Feb 12 16:13:34 2009 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Thu Feb 12 16:13:41 2009 Subject: [OS X Emacs] Fortran syntax highlighting in Aquamacs In-Reply-To: <6DACEABB-B959-41BE-B649-46E640641A8D@wisc.edu> References: <71F2C9B3-E5F3-4B4C-AB18-E44026F0827E@wisc.edu> <20ecf6c70902111057t209307b8j70f9d55e39f793d0@mail.gmail.com> <94DEB290-60DB-4125-825D-B30A1946BEE1@wisc.edu> <20ecf6c70902111412l2b082e9as4ab60a9de01d9b83@mail.gmail.com> <6DACEABB-B959-41BE-B649-46E640641A8D@wisc.edu> Message-ID: Am 12.02.2009 um 21:29 schrieb Bill Sacks: > I will just deal with this syntax highlighting problem until > Aquamacs is updated to use the changes in emacs v. 23, whenever > that is released. You could use the Cocoa variant of GNU Emacs 23.0.90 ... -- Greetings Pete What is this talk of 'release?' Klingons do not make software 'releases.' Our software 'escapes,' leaving a bloody trail of designers and quality assurance people in its wake. From wsacks at wisc.edu Thu Feb 12 16:43:08 2009 From: wsacks at wisc.edu (Bill Sacks) Date: Thu Feb 12 16:43:25 2009 Subject: [OS X Emacs] Fortran syntax highlighting in Aquamacs In-Reply-To: References: <71F2C9B3-E5F3-4B4C-AB18-E44026F0827E@wisc.edu> <20ecf6c70902111057t209307b8j70f9d55e39f793d0@mail.gmail.com> <94DEB290-60DB-4125-825D-B30A1946BEE1@wisc.edu> <20ecf6c70902111412l2b082e9as4ab60a9de01d9b83@mail.gmail.com> <6DACEABB-B959-41BE-B649-46E640641A8D@wisc.edu> Message-ID: Great - yes, it works there - thanks a lot! Bill On Feb 12, 2009, at 3:13 PM, Peter Dyballa wrote: > > Am 12.02.2009 um 21:29 schrieb Bill Sacks: > >> I will just deal with this syntax highlighting problem until >> Aquamacs is updated to use the changes in emacs v. 23, whenever >> that is released. > > > You could use the Cocoa variant of GNU Emacs 23.0.90 ... > > -- > Greetings > > Pete > > What is this talk of 'release?' Klingons do not make software > 'releases.' Our software 'escapes,' leaving a bloody trail of > designers and quality assurance people in its wake. > > > > _____________________________________________________________ > 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 jrosinsk at gmail.com Mon Feb 16 20:50:07 2009 From: jrosinsk at gmail.com (Jan Rosinski) Date: Mon Feb 16 20:50:19 2009 Subject: [OS X Emacs] View icon In-Reply-To: References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> Message-ID: I have noticed sometime ago that when I click on the 'View' icon, on the tool bar (Latex mode), then X11 starts and nothing happens afterwards. Previously, my default pdf viewer, 'preview.app' would display the pdf file, which was understandable. It seems, I have not changed any configuration... I am running 1.7preview-2. BTW, it would be nice to change settings of the 'View' icon to invoke Skim. Is there a way to do it? Thanks. Jan From david.reitter at gmail.com Mon Feb 16 21:39:33 2009 From: david.reitter at gmail.com (David Reitter) Date: Mon Feb 16 21:39:40 2009 Subject: [OS X Emacs] View icon In-Reply-To: References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> Message-ID: On 16 Feb 2009, at 20:50, Jan Rosinski wrote: > I have noticed sometime ago that when I click on the 'View' icon, on > the tool bar > (Latex mode), then X11 starts and nothing happens afterwards. > Previously, my default pdf viewer, 'preview.app' would display the > pdf file, > which was understandable. It seems, I have not changed any > configuration... > I am running 1.7preview-2. It normally starts the application bound to PDF files (change that via Finder, "Get Info", with a PDF file). If not in PDF mode, then it should probably start the DVI viewer (or the PS viewer? Not sure). So check what application is associated with such files. > BTW, it would be nice to change settings of the 'View' icon to > invoke Skim. Is there a way to do it? > Thanks. Absolutely, it should be documented in the AUCTeX manual, available online. - D -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090216/b2984da7/smime.bin From jrosinsk at gmail.com Mon Feb 16 22:36:33 2009 From: jrosinsk at gmail.com (Jan Rosinski) Date: Mon Feb 16 22:36:38 2009 Subject: [OS X Emacs] View icon In-Reply-To: References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> Message-ID: Thanks, here is more information. Finder, "Get Info", with a PDF file, gives Preview (default). I am running Aquamacs in Latex PDF mode and a click on View icon opens X11. When I use menu item Jump To PDF in AUCTeX, it opens Skim; thus only View behaves strangely. I want to keep Preview.app as default for the system but only change to Skim in Aquamacs. Thanks. Jan On Feb 16, 2009, at 9:39 PM, David Reitter wrote: > On 16 Feb 2009, at 20:50, Jan Rosinski wrote: > >> I have noticed sometime ago that when I click on the 'View' icon, >> on the tool bar >> (Latex mode), then X11 starts and nothing happens afterwards. >> Previously, my default pdf viewer, 'preview.app' would display the >> pdf file, >> which was understandable. It seems, I have not changed any >> configuration... >> I am running 1.7preview-2. > > It normally starts the application bound to PDF files (change that > via Finder, "Get Info", with a PDF file). > If not in PDF mode, then it should probably start the DVI viewer (or > the PS viewer? Not sure). So check what application is associated > with such files. > >> BTW, it would be nice to change settings of the 'View' icon to >> invoke Skim. Is there a way to do it? >> Thanks. > > Absolutely, it should be documented in the AUCTeX manual, available > online. > > - D > > -- > 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 david.reitter at gmail.com Tue Feb 17 07:26:14 2009 From: david.reitter at gmail.com (David Reitter) Date: Tue Feb 17 07:26:25 2009 Subject: [OS X Emacs] View icon In-Reply-To: References: <60A6CD2E-0457-41D7-8C7D-72E4536F502A@gmail.com> <9ab34dfc0901141018p4dc6665ckbef8c8487697f8c8@mail.gmail.com> Message-ID: <1D195947-1C40-4856-96C2-98CD6CF233C6@gmail.com> On 16 Feb 2009, at 22:36, Jan Rosinski wrote: > Thanks, here is more information. > > Finder, "Get Info", with a PDF file, gives Preview (default). > I am running Aquamacs in Latex PDF mode and a click on View icon > opens X11. Can you start Aquamacs with Help -> Diagnose -> Start w/o customizations, and then try again? > When I use menu item Jump To PDF in AUCTeX, it opens Skim; > thus only View behaves strangely. Yes, Jump To PDF is wired to Skim. > I want to keep Preview.app as default for the system but > only change to Skim in Aquamacs. Thanks. Yes, the AUCTeX configuration allows you to do that. (That said, if it starts X11 instead of Preview, it seems to have a problem.) -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090217/04bab0b1/smime.bin From david.reitter at gmail.com Wed Feb 18 09:15:35 2009 From: david.reitter at gmail.com (David Reitter) Date: Wed Feb 18 09:15:44 2009 Subject: [OS X Emacs] Text and Code Editor Aquamacs Emacs 1.7 Released Message-ID: <7C6DC242-1357-4BF9-B392-DF300340650B@gmail.com> The Aquamacs Project is proud to announce the release of Aquamacs Emacs 1.7. Download: http://aquamacs.org/download-release.shtml Aquamacs Emacs 1.7 now includes smart space handling to keep words and phrases separated during copy&paste in texts. It also comes with a number of updated major modes and bug fixes. The update is recommended for all users of previous Aquamacs Emacs versions. Other features recently added include better support for tabs, for mode-specific fonts and colors, zooming, and opening Aquamacs from the terminal. PS.: Join the fun. If you speak Lisp and/or Objective C, subscribe to the mailing list and help us with the project! -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090218/b9bd1083/smime.bin From hmelman at gmail.com Wed Feb 18 11:42:47 2009 From: hmelman at gmail.com (Howard) Date: Wed Feb 18 11:50:11 2009 Subject: [OS X Emacs] Re: Text and Code Editor Aquamacs Emacs 1.7 Released References: <7C6DC242-1357-4BF9-B392-DF300340650B@gmail.com> Message-ID: So what does C-z do now that is no longer does minimize? I used it as an alias for C-x5 using: (global-set-key "\C-z" ctl-x-5-map) and now had to figure out to change it to this: (define-key osx-key-mode-map '[(control z)] ctl-x-5-map) I'd like to understand what improvement I'm giving up for this customization. From david.reitter at gmail.com Wed Feb 18 14:52:04 2009 From: david.reitter at gmail.com (David Reitter) Date: Wed Feb 18 15:21:28 2009 Subject: [OS X Emacs] Re: Text and Code Editor Aquamacs Emacs 1.7 Released In-Reply-To: References: <7C6DC242-1357-4BF9-B392-DF300340650B@gmail.com> Message-ID: <53244CC7-A48F-4F99-8C0B-6CA4107340AE@gmail.com> On 18 Feb 2009, at 11:42, Howard wrote: > So what does C-z do now that is no longer does minimize? > > I used it as an alias for C-x5 using: (global-set-key "\C-z" ctl-x-5- > map) > > and now had to figure out to change it to this: > (define-key osx-key-mode-map '[(control z)] ctl-x-5-map) > > I'd like to understand what improvement I'm giving up for this > customization. People kept hitting C-z because of where 'z' is located on an English keyboard. C-z is bound to `ignore', so you're not giving up anything. -- 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 morelli at flux.utah.edu Wed Feb 18 16:35:37 2009 From: morelli at flux.utah.edu (Robert Morelli) Date: Wed Feb 18 16:49:14 2009 Subject: [OS X Emacs] Bug with visual-line-down? Message-ID: <499C7F29.6020706@flux.utah.edu> I ran into an unexpected behavior running a keyboard macro with an argument. The macro has a ctrl-n in it, but every time it reaches the bottom of the window it fails with: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) visual-line-down(1) call-interactively(visual-line-down) call-last-kbd-macro(10 kmacro-loop-setup-function) kmacro-call-macro(10 nil) kmacro-end-and-call-macro(10) call-interactively(kmacro-end-and-call-macro) From david.reitter at gmail.com Wed Feb 18 17:32:36 2009 From: david.reitter at gmail.com (David Reitter) Date: Wed Feb 18 17:32:44 2009 Subject: [OS X Emacs] Bug with visual-line-down? In-Reply-To: <499C7F29.6020706@flux.utah.edu> References: <499C7F29.6020706@flux.utah.edu> Message-ID: <1DBDEE14-0682-405F-96D5-639FE2025509@gmail.com> On 18 Feb 2009, at 16:35, Robert Morelli wrote: > I ran into an unexpected behavior running a keyboard macro with an > argument. > The macro has a ctrl-n in it, but every time it reaches the bottom > of the window > it fails with: It's a bit hard to tell without knowing what version of Aquamacs you're using, and which customizations are in effect. Do you have track-eol set to `t' ? If so, the patch below might help; but I then again, the error message doesn't quite match. (Don't forget to byte-compile or remove visual-line.elc after applying the patch.) -- 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! *** site-lisp/visual-line.el 17 Dec 2008 16:04:03 -0500 1.22 --- site-lisp/visual-line.el 18 Feb 2009 17:29:51 -0500 *************** *** 203,213 **** (setq rel-next-line-start (- (point) beg-of-line 1))) (unless (= beg-of-line (point-max)) ;; handle track-eol... - ;; handle track-eol... (if (and track-eol (= old-point (1- next-line-start)) ;; Don't count beg of empty line as end of line ;; unless we just did explicit end-of-line. ! (or (not (= 0 visual-col)) (eq last-command 'end-of-line))) (setq visual-movement-temporary-goal-column 9999)) --- 203,212 ---- (setq rel-next-line-start (- (point) beg-of-line 1))) (unless (= beg-of-line (point-max)) ;; handle track-eol... (if (and track-eol (= old-point (1- next-line-start)) ;; Don't count beg of empty line as end of line ;; unless we just did explicit end-of-line. ! (or (not (= 0 visual-pixel-col)) (eq last-command 'end-of-line))) (setq visual-movement-temporary-goal-column 9999)) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090218/e270c157/smime.bin From yangguo47 at gmail.com Wed Feb 18 16:21:42 2009 From: yangguo47 at gmail.com (yang guo) Date: Wed Feb 18 18:13:08 2009 Subject: [OS X Emacs] Hiding menu bar without fullscreen Message-ID: <2e5fef940902181321k323f2a5dgd17a9efc76a03d19@mail.gmail.com> I recently started using Aquamacs and I like it a lot. Is there a way to hide the mac osx menu bar properly? For other apps, I can edit the Info.plist to set LSUIPresentationMode to "4". The procedure is described in detail at http://www.macworld.com/article/55321/2007/02/hidemenubar.html. Aquamacs seems to ignore this setting. I also found the related Aquamacs functions, though neither does exactly what I need: mac-hide-menu-bar: Hides the menu bar, but it reappears after Aquamacs loses, then regains focus. aquamacs-toggle-full-frame: Hides the menu bar, but also does full screen which I don't want. Is there a quick way to permanently hide the menu bar when using Aquamacs? Thanks. Yang Guo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090218/c087e6b3/attachment.html From velman at cox.net Wed Feb 18 17:31:23 2009 From: velman at cox.net (John Velman) Date: Wed Feb 18 18:13:46 2009 Subject: [OS X Emacs] Tab completion for .mailrc, and Xcode external editor Message-ID: <20090218223123.3C3424E71DA@jrv.local> This is kind of a test -- I just got my email in gnus working (I'm quite new to emacs, but that's a long story), but I do have a couple of questions: 1) Putting (add-hook 'mail-mode-hook 'mail-abbrevs-setup) in my Preferences.el works as advertised with my .mailrc, but is there a way to get tab completion to work? I can't always remember my aliases! 2) I usually use the XCode default editor, but sometimes like to open in a separate editor for some special purpose. Was using MacVim, which works fine. The problem with aquamacs is -- I usually keep my xcode running in spaces-space2, while aquamacs is running is spaces-space1. When I double click on the file name in xcode, it indeed opens a tab in aquamacs -- back in space 1. Does anyone know how to get it to go to the space where I did the double-click? (Or should I go back to MacVim ;-)? Thanks, John Velman From morelli at flux.utah.edu Wed Feb 18 20:16:48 2009 From: morelli at flux.utah.edu (Robert Morelli) Date: Wed Feb 18 20:33:03 2009 Subject: [OS X Emacs] Bug with visual-line-down? In-Reply-To: <1DBDEE14-0682-405F-96D5-639FE2025509@gmail.com> References: <499C7F29.6020706@flux.utah.edu> <1DBDEE14-0682-405F-96D5-639FE2025509@gmail.com> Message-ID: <499CB300.6050803@flux.utah.edu> David Reitter wrote: > On 18 Feb 2009, at 16:35, Robert Morelli wrote: > >> I ran into an unexpected behavior running a keyboard macro with an >> argument. >> The macro has a ctrl-n in it, but every time it reaches the bottom >> of the window >> it fails with: > > It's a bit hard to tell without knowing what version of Aquamacs > you're using, and which customizations are in effect. > Do you have track-eol set to `t' ? Sorry, this was meant to be a response to the 1.7 announcement. This behavior is new for me with 1.7. It never appeared in earlier versions. My track-eol variable is set to nil. Where/why would I set this variable? I wasn't aware of it. From david.reitter at gmail.com Wed Feb 18 21:56:53 2009 From: david.reitter at gmail.com (David Reitter) Date: Wed Feb 18 21:57:02 2009 Subject: [OS X Emacs] Hiding menu bar without fullscreen In-Reply-To: <2e5fef940902181321k323f2a5dgd17a9efc76a03d19@mail.gmail.com> References: <2e5fef940902181321k323f2a5dgd17a9efc76a03d19@mail.gmail.com> Message-ID: <962776C7-4C3C-434A-923E-24143304E6FF@gmail.com> Hello Yang Guo, applications running without a menu bar aren't really typical on OS X. Emacs (and also Aquamacs) don't support this property, but we'll take this into account once we have a working Cocoa Aquamacs. If you or somebody else supplied a patch, then I'd be happy to apply it. For now, you can probably use mac-hide-menu-bar together with a mod of the function bound to the Apple Event that should be called when the application regains focus: (defun aquamacs-de-iconify-some-frame (event) (interactive "e") ; no operation) Hope that helps - David  -- 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! On 18 Feb 2009, at 16:21, yang guo wrote: > I recently started using Aquamacs and I like it a lot. > > Is there a way to hide the mac osx menu bar properly? For other > apps, I can edit the Info.plist to set LSUIPresentationMode to "4". > The procedure is described in detail at http://www.macworld.com/article/55321/2007/02/hidemenubar.html > . Aquamacs seems to ignore this setting. > > I also found the related Aquamacs functions, though neither does > exactly what I need: > mac-hide-menu-bar: Hides the menu bar, but it reappears after > Aquamacs loses, then regains focus. > aquamacs-toggle-full-frame: Hides the menu bar, but also does full > screen which I don't want. > > Is there a quick way to permanently hide the menu bar when using > Aquamacs? Thanks. > > Yang Guo > > > _____________________________________________________________ > 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090218/34f19bbc/smime.bin From david.reitter at gmail.com Wed Feb 18 21:58:29 2009 From: david.reitter at gmail.com (David Reitter) Date: Wed Feb 18 21:58:39 2009 Subject: [OS X Emacs] Bug with visual-line-down? In-Reply-To: <499CB300.6050803@flux.utah.edu> References: <499C7F29.6020706@flux.utah.edu> <1DBDEE14-0682-405F-96D5-639FE2025509@gmail.com> <499CB300.6050803@flux.utah.edu> Message-ID: On 18 Feb 2009, at 20:16, Robert Morelli wrote: >> >> It's a bit hard to tell without knowing what version of Aquamacs >> you're using, and which customizations are in effect. >> Do you have track-eol set to `t' ? > Sorry, this was meant to be a response to the 1.7 announcement. This > behavior is new for me with 1.7. It never appeared > in earlier versions. > > My track-eol variable is set to nil. Where/why would I set this > variable? I wasn't aware of it. That's a misunderstanding; I didn't mean to say that you should set track-eol to t. That wouldn't help. We would need a proper bug report with reproducible steps (starting from Help -> Diagnose -> start w/o customizations), sent to the aquamacs-bugs mailing list, and I'll see what I can do! -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090218/28ab375c/smime.bin From david.reitter at gmail.com Wed Feb 18 22:33:06 2009 From: david.reitter at gmail.com (David Reitter) Date: Wed Feb 18 22:33:14 2009 Subject: [OS X Emacs] Hiding menu bar without fullscreen In-Reply-To: <2e5fef940902181321k323f2a5dgd17a9efc76a03d19@mail.gmail.com> References: <2e5fef940902181321k323f2a5dgd17a9efc76a03d19@mail.gmail.com> Message-ID: On 18 Feb 2009, at 16:21, yang guo wrote: > Is there a way to hide the mac osx menu bar properly? For other > apps, I can edit the Info.plist to set LSUIPresentationMode to "4". > The procedure is described in detail at http://www.macworld.com/article/55321/2007/02/hidemenubar.html > . Aquamacs seems to ignore this setting. further to my last message: The method I proposed won't work, because the menu bar reappears and it's not always getting the reopen-application event when it regains focus. (There's another even for that, I believe, but I don't think we're getting it.) You could probably use an idle timer event to just call mac-hide-menu- bar all the time. It's not pretty, but it should work. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090218/957db083/smime.bin From velman at cox.net Wed Feb 18 22:49:02 2009 From: velman at cox.net (John Velman) Date: Wed Feb 18 22:49:07 2009 Subject: [OS X Emacs] Tab completion for .mailrc, and Xcode external editor In-Reply-To: <20090218223123.3C3424E71DA@jrv.local> (John Velman's message of "Wed\, 18 Feb 2009 14\:31\:23 -0800") References: <20090218223123.3C3424E71DA@jrv.local> Message-ID: Wow. That was a test all right. A test of how different Mutt+.mail_alias is from Gnus + .mailrc. I got every word in the quoted "Emacs on Mac OS X Mailing List" +cox.net as a CC. address. I've got a bigger problem than alias tab completion! I haven't used vanila mail + .mailrc since about 1986. Well, my mailrc isn't very long. I can fix this with some editing. Best John Velman From wrg at acm.org Thu Feb 19 01:58:57 2009 From: wrg at acm.org (William R. (Bill) Greene) Date: Thu Feb 19 03:13:01 2009 Subject: [OS X Emacs] Re: Text and Code Editor Aquamacs Emacs 1.7 Released In-Reply-To: <53244CC7-A48F-4F99-8C0B-6CA4107340AE@gmail.com> References: <7C6DC242-1357-4BF9-B392-DF300340650B@gmail.com> <53244CC7-A48F-4F99-8C0B-6CA4107340AE@gmail.com> Message-ID: <828BDA9C-C870-4C14-93D7-9A80E74562F6@acm.org> On 2009-02-18 , at 14:52:04, David Reitter wrote: > On 18 Feb 2009, at 11:42, Howard wrote: > >> So what does C-z do now that is no longer does minimize? >> >> I used it as an alias for C-x5 using: (global-set-key "\C-z" ctl- >> x-5-map) >> >> and now had to figure out to change it to this: >> (define-key osx-key-mode-map '[(control z)] ctl-x-5-map) >> >> I'd like to understand what improvement I'm giving up for this >> customization. > > People kept hitting C-z because of where 'z' is located on an > English keyboard. > > C-z is bound to `ignore', so you're not giving up anything. Those of us who had to settle for Epsilon instead of GNU Emacs on the PC back in the day still reach for C-z to scroll the current line upward. :-) No problem, I just added this to my .emacs: (define-key osx-key-mode-map '[(control z)] 'wrg-scroll-up-one-line) ________________________________________________________________________ Bill Greene http://www.linkedin.com/in/williamrgreene http://bill2u.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090219/957f18fe/attachment.html From jander at jandernet.com Fri Feb 20 13:26:44 2009 From: jander at jandernet.com (Jim Anderson) Date: Fri Feb 20 13:45:03 2009 Subject: [OS X Emacs] accessing remotely connected hosts Message-ID: <81EA7258-B01E-4EB6-930A-A4FFC17F3B59@jandernet.com> Could someone let me know the name of the package for accessing remote hosts? I used one of these packages years ago but have forgotten the name. Thanks, Jim From ian at digg.com Fri Feb 20 13:50:39 2009 From: ian at digg.com (Ian Eure) Date: Fri Feb 20 13:50:44 2009 Subject: [OS X Emacs] accessing remotely connected hosts In-Reply-To: <81EA7258-B01E-4EB6-930A-A4FFC17F3B59@jandernet.com> References: <81EA7258-B01E-4EB6-930A-A4FFC17F3B59@jandernet.com> Message-ID: <2B3FB9E4-2A39-452E-ABF2-4E5D47FBC0AE@digg.com> On Feb 20, 2009, at 10:26 AM, Jim Anderson wrote: > Could someone let me know the name of the package for accessing > remote hosts? I used one of these packages years ago but have > forgotten the name. > For opening files, you want Tramp. Emacs has built-in rsh and telnet commands. For SSH, I use ssh-mode: http://www.splode.com/~friedman/software/emacs-lisp/src/ssh.el - Ian From jander at jandernet.com Fri Feb 20 14:10:03 2009 From: jander at jandernet.com (Jim Anderson) Date: Fri Feb 20 14:10:07 2009 Subject: [OS X Emacs] accessing remotely connected hosts In-Reply-To: <2B3FB9E4-2A39-452E-ABF2-4E5D47FBC0AE@digg.com> References: <81EA7258-B01E-4EB6-930A-A4FFC17F3B59@jandernet.com> <2B3FB9E4-2A39-452E-ABF2-4E5D47FBC0AE@digg.com> Message-ID: Thanks. Am I correct in assuming that this has the same functionality as ange-ftp? On Feb 20, 2009, at 1:50 PM, Ian Eure wrote: > On Feb 20, 2009, at 10:26 AM, Jim Anderson wrote: > >> Could someone let me know the name of the package for accessing >> remote hosts? I used one of these packages years ago but have >> forgotten the name. >> > For opening files, you want Tramp. > > Emacs has built-in rsh and telnet commands. For SSH, I use ssh-mode: http://www.splode.com/~friedman/software/emacs-lisp/src/ssh.el > > > - Ian > From ian at digg.com Fri Feb 20 14:12:19 2009 From: ian at digg.com (Ian Eure) Date: Fri Feb 20 14:12:24 2009 Subject: [OS X Emacs] accessing remotely connected hosts In-Reply-To: References: <81EA7258-B01E-4EB6-930A-A4FFC17F3B59@jandernet.com> <2B3FB9E4-2A39-452E-ABF2-4E5D47FBC0AE@digg.com> Message-ID: <78127DE7-B430-4369-BF5D-692F77E31CF8@digg.com> On Feb 20, 2009, at 11:10 AM, Jim Anderson wrote: > Thanks. Am I correct in assuming that this has the same > functionality as ange-ftp? > Yes, though with many more transport options. - Ian From skip at pobox.com Wed Feb 25 09:06:16 2009 From: skip at pobox.com (skip@pobox.com) Date: Wed Feb 25 09:06:21 2009 Subject: [OS X Emacs] emacsclient works differently than gnuclient (XEmacs) Message-ID: <20090225140616.1E60BE06606@montanaro.dyndns.org> The emacsclient program with Aquamacs Emacs (and presumably GNU Emacs) doesn't work the same way the old gnuclient program used to. It latter took a -q argument which allowed a new frame to open up without giving a specific filename to edit. You'd just close that frame in the usual way (C-x 5 0). I don't see a way to do that. More importantly, it appears that when giving a filename arg it still opens the file in the current frame. Is it not possible to have a glass tty (no gui window) frame with Aquamacs Emacs? Thanks, -- Skip Montanaro - skip@pobox.com - http://www.smontanaro.net/ From david.reitter at gmail.com Wed Feb 25 19:06:19 2009 From: david.reitter at gmail.com (David Reitter) Date: Wed Feb 25 19:06:29 2009 Subject: [OS X Emacs] emacsclient works differently than gnuclient (XEmacs) In-Reply-To: <20090225140616.1E60BE06606@montanaro.dyndns.org> References: <20090225140616.1E60BE06606@montanaro.dyndns.org> Message-ID: <5043A833-2BC6-4BE5-B4DD-929E2701CA2B@gmail.com> On 25 Feb 2009, at 09:06, wrote: > The emacsclient program with Aquamacs Emacs (and presumably GNU Emacs) > doesn't work the same way the old gnuclient program used to. It > latter took > a -q argument which allowed a new frame to open up without giving a > specific > filename to edit. You'd just close that frame in the usual way (C-x > 5 0). > I don't see a way to do that. > > More importantly, it appears that when giving a filename arg it > still opens > the file in the current frame. emacsclient in Aquamacs is unchanged from GNU Emacs 22. GNU Emacs 23 will have a -c (--create-frame) that seems to do what you want. In Aquamacs / Emacs 22, why not use the -e (--eval) argument to do a '(make-frame)' ? > Is it not possible to have a glass tty (no > gui window) frame with Aquamacs Emacs? Not sure what you mean. You can run Aquamacs in a terminal (start binary, not emacsclient, with -nw). Emacs 23 will allow you to reuse the existing process thanks to its Multi-TTY capability, but there's little reason to do so on modern machines except in special circumstances. Hope that helps. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090225/54f80072/smime.bin From skip at pobox.com Wed Feb 25 19:32:15 2009 From: skip at pobox.com (skip@pobox.com) Date: Wed Feb 25 19:48:19 2009 Subject: [OS X Emacs] emacsclient works differently than gnuclient (XEmacs) In-Reply-To: <5043A833-2BC6-4BE5-B4DD-929E2701CA2B@gmail.com> References: <20090225140616.1E60BE06606@montanaro.dyndns.org> <5043A833-2BC6-4BE5-B4DD-929E2701CA2B@gmail.com> Message-ID: <18853.58127.606425.300364@montanaro.dyndns.org> >> Is it not possible to have a glass tty (no gui window) frame with >> Aquamacs Emacs? David> Not sure what you mean. You can run Aquamacs in a terminal David> (start binary, not emacsclient, with -nw). Emacs 23 will allow David> you to reuse the existing process thanks to its Multi-TTY David> capability, but there's little reason to do so on modern machines David> except in special circumstances. Here's my usage scenario. I run Emacs on my laptop and leave it running for days or weeks (like most serious Emacs users I suppose). I use VM to read my mail. I'd like to be able to ssh into my laptop from work, fire up a new non-gui frame using emacsclient, then run VM. This is how I used XEmacs/gnuclient/VM. Skip From david.reitter at gmail.com Wed Feb 25 21:15:43 2009 From: david.reitter at gmail.com (David Reitter) Date: Wed Feb 25 21:22:02 2009 Subject: [OS X Emacs] emacsclient works differently than gnuclient (XEmacs) In-Reply-To: <18853.58127.606425.300364@montanaro.dyndns.org> References: <20090225140616.1E60BE06606@montanaro.dyndns.org> <5043A833-2BC6-4BE5-B4DD-929E2701CA2B@gmail.com> <18853.58127.606425.300364@montanaro.dyndns.org> Message-ID: <73C2AEF0-AF2B-4E5A-A06F-36D769D92DC2@gmail.com> On 25 Feb 2009, at 19:32, wrote: > > Here's my usage scenario. I run Emacs on my laptop and leave it > running for > days or weeks (like most serious Emacs users I suppose). I use VM > to read > my mail. I'd like to be able to ssh into my laptop from work, fire > up a new > non-gui frame using emacsclient, then run VM. This is how I used > XEmacs/gnuclient/VM. Ah, XEmacs... different story. Like I said, Emacs 23 will support just this scenario. A new pretest for the upcoming 23.1 was just released today, if you want to try it out. But we warned, the Cocoa port (if you need that) is "experimental" w.r.t. GUI details and certain underpinnings. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090225/9f76682f/smime.bin From fusion at mx6.tiki.ne.jp Thu Feb 26 09:06:22 2009 From: fusion at mx6.tiki.ne.jp (Jean-Christophe Helary) Date: Thu Feb 26 09:24:47 2009 Subject: [OS X Emacs] Aquamacs and fonts settings Message-ID: <9AF8222D-3F0F-4FFF-99E6-111A884C30CD@mx6.tiki.ne.jp> I've made a few modifications to the defaults but I now have problems with Calendar: I can't properly move through it with the arrows and even when it looks like I am on a date click "d" triggers the message "you are not on a date". I've tried to revert to the defaults (at least for the calendar mode) with: Options > Appearance > Auto Faces > Remove Mode Face But I was left with something that did not work either. How can I revert the whole thing to the defaults ? In the Appearance menu, I'd love to see a "Revert to defaults" item... Jean-Christophe Helary From pjm at spe.com Thu Feb 26 17:24:07 2009 From: pjm at spe.com (Patrick May) Date: Thu Feb 26 17:50:53 2009 Subject: [OS X Emacs] turn-on-auto-fill not working Message-ID: <5FA52A01-A7F8-410D-BBAA-8BE147C78854@spe.com> I just upgraded to 1.7 and it appears that turn-on-auto-fill isn't working. I have the following lines in my .emacs: ;; default to text mode (setq default-major-mode 'text-mode) ;; set word wrap in text mode (add-hook 'text-mode-hook 'turn-on-auto-fill) (set-fill-column 72) This worked fine with 1.4, but with 1.7 auto-fill-function is nil. Is this a known issue? Thanks for a great Emacs port, by the way. Regards, Patrick ---- pjm@spe.com S P Engineering, Inc. Large scale, mission-critical, distributed OO systems design and implementation. (C++, Java, Common Lisp, Jini, middleware, SOA) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090226/18a87ae5/attachment.html From david.reitter at gmail.com Fri Feb 27 12:04:18 2009 From: david.reitter at gmail.com (David Reitter) Date: Fri Feb 27 12:10:18 2009 Subject: [OS X Emacs] Aquamacs and fonts settings In-Reply-To: <9AF8222D-3F0F-4FFF-99E6-111A884C30CD@mx6.tiki.ne.jp> References: <9AF8222D-3F0F-4FFF-99E6-111A884C30CD@mx6.tiki.ne.jp> Message-ID: <5030CF13-6B19-4265-BF67-6EA9A3D901D7@gmail.com> On 26 Feb 2009, at 09:06, Jean-Christophe Helary wrote: > I've made a few modifications to the defaults but I now have > problems with Calendar: I can't properly move through it with the > arrows and even when it looks like I am on a date click "d" triggers > the message "you are not on a date". > > I've tried to revert to the defaults (at least for the calendar > mode) with: > > Options > Appearance > Auto Faces > Remove Mode Face > > But I was left with something that did not work either. What exactly is the problem? It works for me - If I'm on a Wednesday and press , I get to Wed next week, even with a variable-width font. Perhaps you can debug some more and find out what's wrong. > How can I revert the whole thing to the defaults ? In the Appearance > menu, I'd love to see a "Revert to defaults" item... "Adopt Faces + Frame Parameters" primarily sets `default-frame-alist' and `initial-frame-alist'. If you revert those to their defaults via the customization interface, you should get back to what you get with "start Aquamacs w/o 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090227/594b9220/smime.bin From david.reitter at gmail.com Fri Feb 27 12:19:36 2009 From: david.reitter at gmail.com (David Reitter) Date: Fri Feb 27 12:25:06 2009 Subject: [OS X Emacs] turn-on-auto-fill not working In-Reply-To: <5FA52A01-A7F8-410D-BBAA-8BE147C78854@spe.com> References: <5FA52A01-A7F8-410D-BBAA-8BE147C78854@spe.com> Message-ID: <1C1067CA-2B47-4A20-8E84-2D3779A776C8@gmail.com> Hi Patrick, On 26 Feb 2009, at 17:24, Patrick May wrote: > I just upgraded to 1.7 and it appears that turn-on-auto-fill isn't > working. I have the following lines in my .emacs: > > ;; default to text mode > (setq default-major-mode 'text-mode) > > ;; set word wrap in text mode > (add-hook 'text-mode-hook 'turn-on-auto-fill) > (set-fill-column 72) Settings in ~/.emacs may be overwritten by customization settings defined in Emacs; `text-mode-hook' is one of these customization settings. The difference in Aquamacs vs. Emacs is that Aquamacs saves customization settings not at the end of ~/.emacs where they are in plain sight, but in a file called customizations.el. You can either change text-mode-hook through the customization interface, or simply move your code to the Preferences.el file, which is designed to contain your own Lisp code settings. These will override the customizations. I hope this helps. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090227/8ec78e32/smime.bin From christian.liesen at hfh.ch Fri Feb 27 12:04:03 2009 From: christian.liesen at hfh.ch (Christian Liesen) Date: Fri Feb 27 12:30:32 2009 Subject: [OS X Emacs] Newbie question: Aquamacs autoscroll in second frame or buffer Message-ID: <8BEAE8E8-1BE6-4D5F-BCB7-0A6373EAA83B@hfh.ch> Hi, I began working with Aquamacs only last week and hope that someone can point me to a solution for auto-scrolling other frames or buffers. I'm lost. What I do is this: -- open Aquamacs -- open a file with R syntax in a first frame -- open a "New Buffer in New Frame", start R in that second frame Everything works fine except that the second frame with R does not autoscroll. In order to see the results of the commands I'm sending from the syntax frame, I always have to switch to the R frame, scroll down to see the output, then go back again to the syntax frame. This is getting pretty tiresome over time. I tried the Aquamacs settings with Follow-mode and other scrolling options, but I cannot get it to work. I'd be extremely grateful if someone could point me in the right direction. To clarify, two frames are not a must-have. I'd be happy with a split window view as well -- as long as the output buffer does autoscrolling. Many thanks, Christian From david.reitter at gmail.com Fri Feb 27 12:23:43 2009 From: david.reitter at gmail.com (David Reitter) Date: Fri Feb 27 12:30:35 2009 Subject: [OS X Emacs] turn-on-auto-fill not working In-Reply-To: <5FA52A01-A7F8-410D-BBAA-8BE147C78854@spe.com> References: <5FA52A01-A7F8-410D-BBAA-8BE147C78854@spe.com> Message-ID: On 26 Feb 2009, at 17:24, Patrick May wrote: > ;; default to text mode > (setq default-major-mode 'text-mode) I generally recommend against that, because it slows down Aquamacs (and any Emacs). Many buffers are created for internal functions, and every time this happens, it will do all the things needed for `text- mode', which can be a lot (e.g., auto fill mode, spell checking, etc.). Earlier Aquamacs versions had this set like you do, but I've learned from experience :) Instead, in recent Aquamacs versions, just set `initial-major-mode'. This will apply to buffers created with Command-N or Command-T. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090227/c14a8c3e/smime.bin From david.reitter at gmail.com Fri Feb 27 12:40:07 2009 From: david.reitter at gmail.com (David Reitter) Date: Fri Feb 27 12:40:14 2009 Subject: [OS X Emacs] Newbie question: Aquamacs autoscroll in second frame or buffer In-Reply-To: <8BEAE8E8-1BE6-4D5F-BCB7-0A6373EAA83B@hfh.ch> References: <8BEAE8E8-1BE6-4D5F-BCB7-0A6373EAA83B@hfh.ch> Message-ID: Hi Christian, On 27 Feb 2009, at 12:04, Christian Liesen wrote: > I began working with Aquamacs only last week and hope that someone > can point me to a solution for auto-scrolling other frames or > buffers. I'm lost. > > What I do is this: > > -- open Aquamacs > -- open a file with R syntax in a first frame > -- open a "New Buffer in New Frame", start R in that second frame > > Everything works fine except that the second frame with R does not > autoscroll. In order to see the results of the commands I'm sending > from the syntax frame, I always have to switch to the R frame, > scroll down to see the output, then go back again to the syntax > frame. This is getting pretty tiresome over time. Starting R with M-x R, and executing code with C-c C-j, the R buffer always scrolls to the bottom after execution - as you would want it. How do you execute your code? -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090227/e89b70cd/smime.bin From kaeufl at ira.uka.de Fri Feb 27 15:09:10 2009 From: kaeufl at ira.uka.de (=?ISO-8859-1?Q?Thomas_K=E4ufl?=) Date: Fri Feb 27 15:25:17 2009 Subject: [OS X Emacs] Aquamacs: Latex does not work Message-ID: <94416941-0181-4AF0-A354-D8D679B84BC6@ira.uka.de> Hi, I hope this is an Aquamacs and not an Auctex problem. Since version 1.6 of Aquamacs the Latex commands do not work. They are unknown to Aquamacs. So, I started the most recent version of Aquamacs without customizations. Using a (very) old G4 processing a Latex file was possible but not on a G5. (Both machines run OS 10.4.) Then I opened a shell in Aquamacs (without customizations) and checked the path variables. My BASHRC g5:... kaeufl$ echo $PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/ sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/texlive/ 2008/bin:/usr/local/texlive/2008/bin The pathes to the Tex binaries are wrong -- and why do they appear twice? g5:... kaeufl$ tcsh My TCSHRC [g5:~/Documents/latex/mathdesign] kaeufl% echo $PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/ sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/texlive/ 2008/bin:/usr/local/texlive/2008/bin The same as in the bash. To be complete: When checking the values of PATH in the Terminal application, the correct pathes to the Tex binaries appear. I use also the Carbon Emacs. There, the Tex commands work fine. Thomas Käufl From pjm at spe.com Fri Feb 27 15:40:41 2009 From: pjm at spe.com (Patrick May) Date: Fri Feb 27 15:40:48 2009 Subject: [OS X Emacs] turn-on-auto-fill not working In-Reply-To: References: <5FA52A01-A7F8-410D-BBAA-8BE147C78854@spe.com> Message-ID: On 27 Feb 2009, at 12:23, David Reitter wrote: > On 26 Feb 2009, at 17:24, Patrick May wrote: > >> ;; default to text mode >> (setq default-major-mode 'text-mode) > > I generally recommend against that, because it slows down Aquamacs > (and any Emacs). Many buffers are created for internal functions, > and every time this happens, it will do all the things needed for > `text-mode', which can be a lot (e.g., auto fill mode, spell > checking, etc.). Earlier Aquamacs versions had this set like you > do, but I've learned from experience :) > > Instead, in recent Aquamacs versions, just set `initial-major- > mode'. This will apply to buffers created with Command-N or Command- > T. Thanks, I'll make that change. Regards, Patrick ---- pjm@spe.com S P Engineering, Inc. Large scale, mission-critical, distributed OO systems design and implementation. (C++, Java, Common Lisp, Jini, middleware, SOA) From pjm at spe.com Fri Feb 27 15:44:07 2009 From: pjm at spe.com (Patrick May) Date: Fri Feb 27 15:44:15 2009 Subject: [OS X Emacs] turn-on-auto-fill not working In-Reply-To: <1C1067CA-2B47-4A20-8E84-2D3779A776C8@gmail.com> References: <5FA52A01-A7F8-410D-BBAA-8BE147C78854@spe.com> <1C1067CA-2B47-4A20-8E84-2D3779A776C8@gmail.com> Message-ID: On 27 Feb 2009, at 12:19, David Reitter wrote: > Hi Patrick, > > On 26 Feb 2009, at 17:24, Patrick May wrote: > >> I just upgraded to 1.7 and it appears that turn-on-auto-fill isn't >> working. I have the following lines in my .emacs: >> >> ;; default to text mode >> (setq default-major-mode 'text-mode) >> >> ;; set word wrap in text mode >> (add-hook 'text-mode-hook 'turn-on-auto-fill) >> (set-fill-column 72) > > Settings in ~/.emacs may be overwritten by customization settings > defined in Emacs; `text-mode-hook' is one of these customization > settings. The difference in Aquamacs vs. Emacs is that Aquamacs > saves customization settings not at the end of ~/.emacs where they > are in plain sight, but in a file called customizations.el. > > You can either change text-mode-hook through the customization > interface, or simply move your code to the Preferences.el file, > which is designed to contain your own Lisp code settings. These > will override the customizations. Thanks. Out of curiosity, what is the reason for these extra files? I don't really mind making the changes there, but it does make it difficult to use the same .emacs file on multiple platforms. Regards, Patrick ---- pjm@spe.com S P Engineering, Inc. Large scale, mission-critical, distributed OO systems design and implementation. (C++, Java, Common Lisp, Jini, middleware, SOA) From david.reitter at gmail.com Fri Feb 27 16:33:29 2009 From: david.reitter at gmail.com (David Reitter) Date: Fri Feb 27 16:41:32 2009 Subject: [OS X Emacs] turn-on-auto-fill not working In-Reply-To: References: <5FA52A01-A7F8-410D-BBAA-8BE147C78854@spe.com> <1C1067CA-2B47-4A20-8E84-2D3779A776C8@gmail.com> Message-ID: <1ECB4AFA-A8BA-409E-B4F9-F7A7C18B1CB4@gmail.com> On 27 Feb 2009, at 15:44, Patrick May wrote: > Thanks. Out of curiosity, what is the reason for these extra > files? I don't really mind making the changes there, but it does > make it difficult to use the same .emacs file on multiple platforms. The change is because the canonical place for preferences / customization is in the user's ~/Library/Preferences/AppName/ directory on Mac OS X. Also, I find it sensible to separate user-editable configuration code from material that is written and overwritten by Aquamacs ("Save Options"). You can easily customize the `custom-file' in your .emacs, setting it to "~/.emacs" itself: (setq custom-file "~/.emacs") Aquamacs will respect that and ignore the customizations.el file. Note that, however, the customization that Aquamacs writes is not guaranteed to be compatible with other Emacsen; some customization variables (specifically `text-mode-hook') will contain calls to functions not present in other Emacs variants. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090227/ef3653d6/smime.bin From david.reitter at gmail.com Fri Feb 27 16:26:31 2009 From: david.reitter at gmail.com (David Reitter) Date: Fri Feb 27 16:48:33 2009 Subject: [OS X Emacs] Aquamacs: Latex does not work In-Reply-To: <94416941-0181-4AF0-A354-D8D679B84BC6@ira.uka.de> References: <94416941-0181-4AF0-A354-D8D679B84BC6@ira.uka.de> Message-ID: <11D17BA9-948A-4D3A-A1DA-E8E466BEF0F6@gmail.com> Hi Thomas, On 27 Feb 2009, at 15:09, Thomas Käufl wrote: > > My BASHRC > g5:... kaeufl$ echo $PATH > /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/ > usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/ > texlive/2008/bin:/usr/local/texlive/2008/bin > > The pathes to the Tex binaries are wrong -- and why do they > appear twice? > > > g5:... kaeufl$ tcsh > My TCSHRC > [g5:~/Documents/latex/mathdesign] kaeufl% echo $PATH > /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/ > usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/ > texlive/2008/bin:/usr/local/texlive/2008/bin > > The same as in the bash. To be complete: When checking the > values of PATH in the Terminal application, the correct pathes > to the Tex binaries appear. Aquamacs sets a few additional paths (to TeXLive) in case the user hasn't set them. This is why you see additional paths. However, they should be additional; other paths are imported from your default login shell. This import works well for bash, and is designed to work with tcsh as well. What is the value of your `shell-file-name'? What is the value of $PATH when you start Terminal.app (without starting another shell)? The default login shell is essential here. The $PATH needs to be correct there. You can find out what the login shell is by typing "login" (plus u/n and password), then "echo $SHELL". If there is a bug in Aquamacs, let's fix it! - David -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090227/23c6692a/smime.bin From christian.liesen at hfh.ch Fri Feb 27 16:33:44 2009 From: christian.liesen at hfh.ch (Christian Liesen) Date: Fri Feb 27 16:56:17 2009 Subject: [OS X Emacs] Newbie question: Aquamacs autoscroll in second frameor buffer In-Reply-To: References: <8BEAE8E8-1BE6-4D5F-BCB7-0A6373EAA83B@hfh.ch> Message-ID: <06C11D5D-E0BB-4975-83B8-2A2A0900D6AC@hfh.ch> Hi David, many thanks for this hint and the quick reply. Unfortunately, the problem persists. I send code to R with C-c C-j, C-c C-p and C-c C-b. I followed your advice to call R with M-x R, but to no avail. It does not scroll, no matter where I open it (separate frame or split view or another tab) or if I open it first or second. I erased all customization in all groups, too, but there is no difference. Anything else I could try? Many thanks, Christian Am 27.02.2009 um 18:40 schrieb David Reitter: > Hi Christian, > > On 27 Feb 2009, at 12:04, Christian Liesen wrote: > > I began working with Aquamacs only last week and hope that someone > > can point me to a solution for auto-scrolling other frames or > > buffers. I'm lost. > > > > What I do is this: > > > > -- open Aquamacs > > -- open a file with R syntax in a first frame > > -- open a "New Buffer in New Frame", start R in that second frame > > > > Everything works fine except that the second frame with R does not > > autoscroll. In order to see the results of the commands I'm sending > > from the syntax frame, I always have to switch to the R frame, > > scroll down to see the output, then go back again to the syntax > > frame. This is getting pretty tiresome over time. > > > Starting R with M-x R, and executing code with C-c C-j, the R buffer > always scrolls to the bottom after execution - as you would want it. > > How do you execute your code? > > > -- > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090227/a9496be3/attachment.html From pjm at spe.com Fri Feb 27 17:22:19 2009 From: pjm at spe.com (Patrick May) Date: Fri Feb 27 17:22:25 2009 Subject: [OS X Emacs] turn-on-auto-fill not working In-Reply-To: <1ECB4AFA-A8BA-409E-B4F9-F7A7C18B1CB4@gmail.com> References: <5FA52A01-A7F8-410D-BBAA-8BE147C78854@spe.com> <1C1067CA-2B47-4A20-8E84-2D3779A776C8@gmail.com> <1ECB4AFA-A8BA-409E-B4F9-F7A7C18B1CB4@gmail.com> Message-ID: <93788592-A193-4737-BAF9-5173DF4CC225@spe.com> On 27 Feb 2009, at 16:33, David Reitter wrote: > On 27 Feb 2009, at 15:44, Patrick May wrote: >> Thanks. Out of curiosity, what is the reason for these extra >> files? I don't really mind making the changes there, but it does >> make it difficult to use the same .emacs file on multiple platforms. > > The change is because the canonical place for preferences / > customization is in the user's ~/Library/Preferences/AppName/ > directory on Mac OS X. > > Also, I find it sensible to separate user-editable configuration > code from material that is written and overwritten by Aquamacs > ("Save Options"). > > You can easily customize the `custom-file' in your .emacs, setting > it to "~/.emacs" itself: > > (setq custom-file "~/.emacs") > > Aquamacs will respect that and ignore the customizations.el file. > > Note that, however, the customization that Aquamacs writes is not > guaranteed to be compatible with other Emacsen; some customization > variables (specifically `text-mode-hook') will contain calls to > functions not present in other Emacs variants. Thanks for the explanation. Regards, Patrick ---- pjm@spe.com S P Engineering, Inc. Large scale, mission-critical, distributed OO systems design and implementation. (C++, Java, Common Lisp, Jini, middleware, SOA) From david.reitter at gmail.com Fri Feb 27 17:16:48 2009 From: david.reitter at gmail.com (David Reitter) Date: Fri Feb 27 17:24:27 2009 Subject: [OS X Emacs] Newbie question: Aquamacs autoscroll in second frameor buffer In-Reply-To: <06C11D5D-E0BB-4975-83B8-2A2A0900D6AC@hfh.ch> References: <8BEAE8E8-1BE6-4D5F-BCB7-0A6373EAA83B@hfh.ch> <06C11D5D-E0BB-4975-83B8-2A2A0900D6AC@hfh.ch> Message-ID: On 27 Feb 2009, at 16:33, Christian Liesen wrote: > I send code to R with C-c C-j, C-c C-p and C-c C-b. I followed your > advice to call R with M-x R, but to no avail. It does not scroll, no > matter where I open it (separate frame or split view or another tab) > or if I open it first or second. I erased all customization in all > groups, too, but there is no difference. > > Anything else I could try? OK, I managed to reproduce it with these steps: Yes, start Aquamacs without customization (Help -> Diagnose) menu. Type this: M-x R-mode RET 1+1 M-x R RET RET Command-2 C-x C-o Command-{ (or select the *scratch* tab with the mouse) C-c C-j C-c C-j C-c C-j C-c C-j That's roughly the level of detail needed to reproduce such problems... Now, I'm reproducing the same without most of the Aquamacs configuration, i.e. with what is close to GNU Emacs 22. This suggests that it's ESS that causes this (non-)behavior. In Google, I type "ESS eval scroll bottom". The first result is a page on xemacs.org, showing me the answer to the question: comint- scroll-to-bottom-on-output. I set that variable to 'others, which can be done easily through the customization interface (Options -> Customize Aquamacs -> Specific Option). Works for me. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090227/250af482/smime.bin From christian.liesen at hfh.ch Fri Feb 27 19:23:30 2009 From: christian.liesen at hfh.ch (Christian Liesen) Date: Fri Feb 27 19:23:35 2009 Subject: [OS X Emacs] Newbie question: Aquamacs autoscroll in secondframeor buffer In-Reply-To: References: <8BEAE8E8-1BE6-4D5F-BCB7-0A6373EAA83B@hfh.ch><06C11D5D-E0BB-4975-83B8-2A2A0900D6AC@hfh.ch> Message-ID: <4494E566-8180-4924-B8EB-2B7EBCE6C9A2@hfh.ch> Thanks a lot. I didn't know what to look for. Worked for me, too. I copied the code from https://stat.ethz.ch/pipermail/ess-help/2006-October/003742.html to my preferences.el and everything is running smoothly now. -- Christian Am 27.02.2009 um 23:24 schrieb David Reitter: > On 27 Feb 2009, at 16:33, Christian Liesen wrote: > > > I send code to R with C-c C-j, C-c C-p and C-c C-b. I followed your > > advice to call R with M-x R, but to no avail. It does not scroll, no > > matter where I open it (separate frame or split view or another tab) > > or if I open it first or second. I erased all customization in all > > groups, too, but there is no difference. > > > > Anything else I could try? > > > OK, I managed to reproduce it with these steps: > > Yes, start Aquamacs without customization (Help -> Diagnose) menu. > Type this: > > M-x R-mode RET > 1+1 > M-x R RET RET > Command-2 > C-x C-o > Command-{ (or select the *scratch* tab with the mouse) > C-c C-j > C-c C-j > C-c C-j > C-c C-j > > That's roughly the level of detail needed to reproduce such > problems... > > Now, I'm reproducing the same without most of the Aquamacs > configuration, i.e. with what is close to GNU Emacs 22. > This suggests that it's ESS that causes this (non-)behavior. > > In Google, I type "ESS eval scroll bottom". The first result is a > page on xemacs.org, showing me the answer to the question: comint- > scroll-to-bottom-on-output. > > I set that variable to 'others, which can be done easily through the > customization interface (Options -> Customize Aquamacs -> Specific > Option). Works for me. > > > -- > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090228/826f1bd8/attachment.html From pjm at spe.com Fri Feb 27 19:40:57 2009 From: pjm at spe.com (Patrick May) Date: Fri Feb 27 19:41:06 2009 Subject: [OS X Emacs] turn-on-auto-fill not working In-Reply-To: <1C1067CA-2B47-4A20-8E84-2D3779A776C8@gmail.com> References: <5FA52A01-A7F8-410D-BBAA-8BE147C78854@spe.com> <1C1067CA-2B47-4A20-8E84-2D3779A776C8@gmail.com> Message-ID: On 27 Feb 2009, at 12:19, David Reitter wrote: > Hi Patrick, > > On 26 Feb 2009, at 17:24, Patrick May wrote: > >> I just upgraded to 1.7 and it appears that turn-on-auto-fill isn't >> working. I have the following lines in my .emacs: >> >> ;; default to text mode >> (setq default-major-mode 'text-mode) >> >> ;; set word wrap in text mode >> (add-hook 'text-mode-hook 'turn-on-auto-fill) >> (set-fill-column 72) > > Settings in ~/.emacs may be overwritten by customization settings > defined in Emacs; `text-mode-hook' is one of these customization > settings. The difference in Aquamacs vs. Emacs is that Aquamacs > saves customization settings not at the end of ~/.emacs where they > are in plain sight, but in a file called customizations.el. > > You can either change text-mode-hook through the customization > interface, or simply move your code to the Preferences.el file, > which is designed to contain your own Lisp code settings. These > will override the customizations. I added the calls to add-hook and set-fill-column to ~/Library/ Preferences/Aquamacs Emacs/Preferences.el and restarted, but they haven't taken effect. Is there something else I have to set? Thanks, Patrick From david.reitter at gmail.com Fri Feb 27 20:06:43 2009 From: david.reitter at gmail.com (David Reitter) Date: Fri Feb 27 20:06:51 2009 Subject: [OS X Emacs] turn-on-auto-fill not working In-Reply-To: References: <5FA52A01-A7F8-410D-BBAA-8BE147C78854@spe.com> <1C1067CA-2B47-4A20-8E84-2D3779A776C8@gmail.com> Message-ID: <5AC06C6B-25D8-43E7-9EE6-7AE67B6B6B51@gmail.com> On 27 Feb 2009, at 19:40, Patrick May wrote: > > > I added the calls to add-hook and set-fill-column to ~/Library/ > Preferences/Aquamacs Emacs/Preferences.el and restarted, but they > haven't taken effect. Is there something else I have to set? Hmm, precisely this works for me just fine! Did you check the value of text-mode-hook? Perhaps the auto wrap detection function is coming after your auto- fill-mode call, so it'll override. Just a guess... If you set the `auto-word-wrap-default-function' to `auto-fill-mode', you can get a very similar effect (while preserving soft-wrap editing for files that are written specifically in this mode). Perhaps that's more reliable/convenient for you. -- 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090227/97404655/smime.bin From stefan.strohmeier at gmx.de Sat Feb 28 04:37:15 2009 From: stefan.strohmeier at gmx.de (Stefan Strohmeier) Date: Sat Feb 28 05:04:17 2009 Subject: [OS X Emacs] Newbie question: Aquamacs autoscroll in second, frame or buffer In-Reply-To: <20090227200004.ED0FF50EB8E@email> References: <20090227200004.ED0FF50EB8E@email> Message-ID: <49A905CB.2060108@gmx.de> Hi Christian, On 27 Feb 2009, at 12:04, Christian Liesen wrote: > I began working with Aquamacs only last week and hope that someone can > point me to a solution for auto-scrolling other frames or buffers. I'm > lost. > > What I do is this: > > -- open Aquamacs > -- open a file with R syntax in a first frame > -- open a "New Buffer in New Frame", start R in that second frame > > Everything works fine except that the second frame with R does not > autoscroll. In order to see the results of the commands I'm sending > from the syntax frame, I always have to switch to the R frame, scroll > down to see the output, then go back again to the syntax frame. This > is getting pretty tiresome over time. I use the following code to see the results of a data object in the *R* buffer when a transcript buffer is active: (setq comint-scroll-to-bottom-on-input t) (setq comint-scroll-to-bottom-on-output t) (setq comint-move-point-for-output t) For a better workflow you can try the following code. It finds out whether you want to evaluate a marked region or a line and binds it to just one shortcut. (defun my-ess-eval () (interactive) ;;(my-ess-start-R) (if (and transient-mark-mode mark-active) (call-interactively 'ess-eval-region) (call-interactively 'ess-eval-line-and-step))) (add-hook 'ess-mode-hook '(lambda() (local-set-key [(shift return)] 'my-ess-eval))) Hope that helps, Stefan Strohmeier Universität Bayreuth From pjm at spe.com Sat Feb 28 10:38:44 2009 From: pjm at spe.com (Patrick May) Date: Sat Feb 28 10:38:51 2009 Subject: [OS X Emacs] turn-on-auto-fill not working In-Reply-To: <5AC06C6B-25D8-43E7-9EE6-7AE67B6B6B51@gmail.com> References: <5FA52A01-A7F8-410D-BBAA-8BE147C78854@spe.com> <1C1067CA-2B47-4A20-8E84-2D3779A776C8@gmail.com> <5AC06C6B-25D8-43E7-9EE6-7AE67B6B6B51@gmail.com> Message-ID: On 27 Feb 2009, at 20:06, David Reitter wrote: > On 27 Feb 2009, at 19:40, Patrick May wrote: >> I added the calls to add-hook and set-fill-column to ~/Library/ >> Preferences/Aquamacs Emacs/Preferences.el and restarted, but they >> haven't taken effect. Is there something else I have to set? > > Hmm, precisely this works for me just fine! > Did you check the value of text-mode-hook? > Perhaps the auto wrap detection function is coming after your auto- > fill-mode call, so it'll override. Just a guess... text-mode-hook is (turn-on-auto-fill smart-spacing-mode auto-detect- wrap). fill-column is 70, even though I explicitly set it to 72 in Preferences.el. Very confusing. Thanks, Patrick From pjm at spe.com Sat Feb 28 12:38:25 2009 From: pjm at spe.com (Patrick May) Date: Sat Feb 28 12:38:29 2009 Subject: [OS X Emacs] turn-on-auto-fill not working In-Reply-To: References: <5FA52A01-A7F8-410D-BBAA-8BE147C78854@spe.com> <1C1067CA-2B47-4A20-8E84-2D3779A776C8@gmail.com> <5AC06C6B-25D8-43E7-9EE6-7AE67B6B6B51@gmail.com> Message-ID: <6B4C7127-4D93-456A-A94B-04C07B83BD02@spe.com> On 28 Feb 2009, at 10:38, Patrick May wrote: > On 27 Feb 2009, at 20:06, David Reitter wrote: >> On 27 Feb 2009, at 19:40, Patrick May wrote: >>> I added the calls to add-hook and set-fill-column to ~/Library/ >>> Preferences/Aquamacs Emacs/Preferences.el and restarted, but they >>> haven't taken effect. Is there something else I have to set? >> >> Hmm, precisely this works for me just fine! >> Did you check the value of text-mode-hook? >> Perhaps the auto wrap detection function is coming after your auto- >> fill-mode call, so it'll override. Just a guess... > > text-mode-hook is (turn-on-auto-fill smart-spacing-mode auto-detect- > wrap). > > fill-column is 70, even though I explicitly set it to 72 in > Preferences.el. > > Very confusing. Adding the call to make the default text mode to Preferences.el seems to have fixed the issue. Regards, Patrick