From joseph.slater at wright.edu Tue Sep 1 11:35:44 2009 From: joseph.slater at wright.edu (Joseph C. Slater PE, PhD) Date: Tue Sep 1 11:36:25 2009 Subject: [OS X Emacs] Aquamacs+Skim inverse search In-Reply-To: References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> Message-ID: On Aug 31, 2009, at 1:51 PM, David Reitter wrote: > On Aug 31, 2009, at 1:17 PM, Christopher Menzel wrote: >> I did file one. Forward/inverse searching is so critical to how I >> and, I know, many others work that it seems to me important enough >> to address before the 2.0 release. > > > Ok, if it's important, perhaps somebody could work on it! Maybe I'm lazy (alright, I'm lazy), but the easier solution is to just set the default Aquamacs setting in Skim to use the full path. > Is the problem perhaps that Skim runs the wrong emacsclient - the > one that comes with OSX and is built for 22, which is incompatible > with the 23 Emacs? > Yes. I tested this by: sudo mv /usr/bin/emacsclient /usr/bin/emacsclient_old This leads to a handful of solutions (in my meager programing skill set): a) Aquamacs on first run replaces the /usr/bin/emacsclient with its own on first run b) Users are asked to do this c) The standard Skim setting for Aquamacs points to the binary explicitly. Anyone crazy enough to be using Aquamacs now should understand that they may have to fix stuff like this themselves, if only as a crutch, so I'm happy with it. David: Do you think we (I) ought to file a bug report with Skim to put the full path in? I think it's really Skim's job to find emacs in the inverse search. Joe \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ (+1) 937-775-5085 http://www.cs.wright.edu/~jslater http://www.cs.wright.edu/~jslater/JosephSlater.vcf.zip From ealdrov at math.fsu.edu Tue Sep 1 11:22:34 2009 From: ealdrov at math.fsu.edu (Ettore Aldrovandi) Date: Tue Sep 1 11:39:33 2009 Subject: [OS X Emacs] Re: Aquamacs+Skim inverse search In-Reply-To: <91A980E7-5619-4566-A7EB-D76B90FFC33D@tamu.edu> References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> <91A980E7-5619-4566-A7EB-D76B90FFC33D@tamu.edu> Message-ID: <1251818554.18429.17.camel@abel> On Mon, 2009-08-31 at 23:50, Christopher Menzel wrote: > On Aug 31, 2009, at 3:08 PM, Leo wrote: > > FWIW, I had to specify the full path to emacsclient in order to get > > skim > > to work with Emacs 23. > > Yes, I did that as well. > > Chris Menzel I did the same. My problem is that upon shift-clicking on the skim window, the Aquamacs window does not rise. --Ettore -- Ettore Aldrovandi Department of Mathematics, Florida State University 1017 Academic Way * http://www.math.fsu.edu/~ealdrov Tallahassee, FL 32306-4510, USA * * aldrovandi at math dot fsu dot edu From david.reitter at gmail.com Tue Sep 1 11:48:53 2009 From: david.reitter at gmail.com (David Reitter) Date: Tue Sep 1 11:49:39 2009 Subject: [OS X Emacs] Aquamacs+Skim inverse search In-Reply-To: References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> Message-ID: <5F81A1C6-8E9E-428D-8B6C-E77A0B9C11DA@gmail.com> M-x rant-mode Rant minor mode enabled. On Sep 1, 2009, at 11:35 AM, Joseph C. Slater PE, PhD wrote: > Maybe I'm lazy (alright, I'm lazy), but the easier solution is to > just set the default Aquamacs setting in Skim to use the full path. Right, but... that doesn't solve the problem for anyone but you! > >> Is the problem perhaps that Skim runs the wrong emacsclient - the >> one that comes with OSX and is built for 22, which is incompatible >> with the 23 Emacs? >> > > Yes. I tested this by: > sudo mv /usr/bin/emacsclient /usr/bin/emacsclient_old > > This leads to a handful of solutions (in my meager programing skill > set): > a) Aquamacs on first run replaces the /usr/bin/emacsclient with its > own on first run Can't do. You're running as a user, not as root. > b) Users are asked to do this > c) The standard Skim setting for Aquamacs points to the binary > explicitly. Skim can't easily find out where the "correct" Aquamacs.app is located. > David: Do you think we (I) ought to file a bug report with Skim to > put the full path in? I think it's really Skim's job to find emacs > in the inverse search. No, the problem lies with Emacs. The devs thought they could simply break compatibility with the new emacsclient. This works if you do system-central installations like in Windows and GNU/Linux ("sudo make install"), but not with a modern, self-contained .app bundle. Just one more example of bad design + cross-platform ignorance... I forgot to mention that I have actually done something about this a while ago, and it should be in the nightly builds already. Tools -> Install Command Line Tools should install a new emacsclient now. Please test. And if I remember correctly Aquamacs will also check and give a warning if the installed emacsclient is old. Please check. If it's not working, maybe I need to merge the feature from my dr/dev branch. > Anyone crazy enough to be using Aquamacs now should understand that > they may have to fix stuff like this themselves, if only as a > crutch, so I'm happy with it. Did you mean to say "Aquamacs 2.0 preview"? I can only reiterate: if people keep coming up with hacks that patch up the problem locally, we'll never make progress and we'll never have an Aquamacs release. You're all smart enough to learn to fix the real problem. And, excuse the sarcasm, unlike me, many of the Aquamacs users have tenure and could do with a bit of hacking :-) -- 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/20090901/647187b7/smime.bin From david.reitter at gmail.com Tue Sep 1 11:50:21 2009 From: david.reitter at gmail.com (David Reitter) Date: Tue Sep 1 11:58:56 2009 Subject: [OS X Emacs] Re: Aquamacs+Skim inverse search In-Reply-To: <1251818554.18429.17.camel@abel> References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> <91A980E7-5619-4566-A7EB-D76B90FFC33D@tamu.edu> <1251818554.18429.17.camel@abel> Message-ID: <0FF29571-942B-4DAB-98E3-90E5EBE242CB@gmail.com> On Sep 1, 2009, at 11:22 AM, Ettore Aldrovandi wrote: > I did the same. My problem is that upon shift-clicking on the skim > window, the Aquamacs window does not rise. You could look into what the call mechanism is and add a (raise-frame) somewhere. That should do it. They used to have the same problem in Carbon Emacs years ago, so there's some (maybe compatible) code out there in the Wikis. -- 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/20090901/53c808f4/smime.bin From joseph.slater at wright.edu Tue Sep 1 12:31:35 2009 From: joseph.slater at wright.edu (Joseph C. Slater PE, PhD) Date: Tue Sep 1 13:32:15 2009 Subject: [OS X Emacs] Aquamacs+Skim inverse search In-Reply-To: <5F81A1C6-8E9E-428D-8B6C-E77A0B9C11DA@gmail.com> References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> <5F81A1C6-8E9E-428D-8B6C-E77A0B9C11DA@gmail.com> Message-ID: <9BAAD2A6-3A19-4A1B-BEEE-A3802AA65C50@wright.edu> On Sep 1, 2009, at 11:48 AM, David Reitter wrote: > M-x rant-mode > Rant minor mode enabled. > > On Sep 1, 2009, at 11:35 AM, Joseph C. Slater PE, PhD wrote: > >> Maybe I'm lazy (alright, I'm lazy), but the easier solution is to >> just set the default Aquamacs setting in Skim to use the full path. > > Right, but... that doesn't solve the problem for anyone but you! > >> >>> Is the problem perhaps that Skim runs the wrong emacsclient - the >>> one that comes with OSX and is built for 22, which is incompatible >>> with the 23 Emacs? >>> >> >> Yes. I tested this by: >> sudo mv /usr/bin/emacsclient /usr/bin/emacsclient_old >> >> This leads to a handful of solutions (in my meager programing skill >> set): >> a) Aquamacs on first run replaces the /usr/bin/emacsclient with its >> own on first run > > Can't do. You're running as a user, not as root. It could launch the "Install Command Line Tools" installer, though, right? > >> b) Users are asked to do this >> c) The standard Skim setting for Aquamacs points to the binary >> explicitly. > > Skim can't easily find out where the "correct" Aquamacs.app is > located. I forget that I keep my applications in /Applications and that it's not necessary. > >> David: Do you think we (I) ought to file a bug report with Skim to >> put the full path in? I think it's really Skim's job to find emacs >> in the inverse search. > > No, the problem lies with Emacs. The devs thought they could simply > break compatibility with the new emacsclient. This works if you do > system-central installations like in Windows and GNU/Linux ("sudo > make install"), but not with a modern, self-contained .app bundle. > Just one more example of bad design + cross-platform ignorance... Mine too. > I forgot to mention that I have actually done something about this a > while ago, and it should be in the nightly builds already. > > Tools -> Install Command Line Tools should install a new emacsclient > now. Please test. Yes, that works. > > And if I remember correctly Aquamacs will also check and give a > warning if the installed emacsclient is old. OK, I restored the old files to see if I get the error (I should have read ahead), and didn't get any warning or such listed in *Messages*. > > Please check. If it's not working, maybe I need to merge the > feature from my dr/dev branch. Let me know what else you need me to do (that I'm capable of) > >> Anyone crazy enough to be using Aquamacs now should understand that >> they may have to fix stuff like this themselves, if only as a >> crutch, so I'm happy with it. > > Did you mean to say "Aquamacs 2.0 preview"? I'm using Nightly because... heck if I know... to provide some usage reports that may be useful. > I can only reiterate: if people keep coming up with hacks that patch > up the problem locally, we'll never make progress and we'll never > have an Aquamacs release. > > You're all smart enough to learn to fix the real problem. You overstate my programing skills. All three of my solutions were rightfully torched. Now give me a numerical computation task and I have a fair shot. > And, excuse the sarcasm, unlike me, many of the Aquamacs users have > tenure and could do with a bit of hacking :-) Understood. That's why I took on the TeX on mac Wiki... it's what I have the skill set for. Fortran 77 isn't in much demand anymore, and my octave code was rejected by that project. I've got a dozen charity efforts going on (non-programing), so I do the best I can. Joe From david.reitter at gmail.com Tue Sep 1 13:39:55 2009 From: david.reitter at gmail.com (David Reitter) Date: Tue Sep 1 13:40:44 2009 Subject: [OS X Emacs] Aquamacs+Skim inverse search In-Reply-To: <9BAAD2A6-3A19-4A1B-BEEE-A3802AA65C50@wright.edu> References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> <5F81A1C6-8E9E-428D-8B6C-E77A0B9C11DA@gmail.com> <9BAAD2A6-3A19-4A1B-BEEE-A3802AA65C50@wright.edu> Message-ID: <85CFD8F5-331B-4A8B-AA83-31D1A9BF3101@gmail.com> On Sep 1, 2009, at 12:31 PM, Joseph C. Slater PE, PhD wrote: > It could launch the "Install Command Line Tools" installer, though, > right? >> Tools -> Install Command Line Tools should install a new >> emacsclient now. Please test. > > Yes, that works. Excellent. The problem with running it automatically is that the new binary is incompatible with the pre-2.0 Aquamacs (Emacs 22). Besides, I don't want to bother users with another installation procedure when they start up Aquamacs. We could make the tools available from the DMG, though. >> Did you mean to say "Aquamacs 2.0 preview"? > > I'm using Nightly because... heck if I know... to provide some usage > reports that may be useful. Yes, thanks: we need more crazy people who do that! -- 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 Peter_Dyballa at Web.DE Tue Sep 1 14:10:35 2009 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue Sep 1 14:11:17 2009 Subject: [OS X Emacs] Aquamacs+Skim inverse search In-Reply-To: References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> Message-ID: <475A50F5-9BA2-434B-8D87-8B62A8F2CD44@Web.DE> Am 01.09.2009 um 17:35 schrieb Joseph C. Slater PE, PhD: > I think it's really Skim's job to find emacs in the inverse search. No, no, this is your task: set correct search paths, make sure, the real things are found. One such measure is to rename Apple's emacsclient as you did, another would be to copy Aquamacs' emacsclient from inside the application bundle to /usr/local/bin ? and this directory should be in $PATH and in a "pole position." -- Greetings Pete I hope to die before I *have* to use Microsoft Word. - Donald E. Knuth, 2001-10-02 in Tübingen. From Peter_Dyballa at Web.DE Tue Sep 1 14:14:36 2009 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue Sep 1 14:15:20 2009 Subject: [OS X Emacs] Aquamacs+Skim inverse search In-Reply-To: <5F81A1C6-8E9E-428D-8B6C-E77A0B9C11DA@gmail.com> References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> <5F81A1C6-8E9E-428D-8B6C-E77A0B9C11DA@gmail.com> Message-ID: <456EC583-FAA6-4100-B13A-252AD48964B4@Web.DE> Am 01.09.2009 um 17:48 schrieb David Reitter: > This works if you do system-central installations like in Windows > and GNU/Linux ("sudo make install"), but not with a modern, self- > contained .app bundle. Just one more example of bad design + cross- > platform ignorance... This ignorance is on your side. You could easily provide an installer package which puts emacsclient in a more useful place. Your old command line tools installation routine could be used when Aquamacs is first invoked after "installation" and it found that the command line tools need an update. -- Mit friedvollen Grüßen Pete Don't force it; get a larger hammer. ? Anthony's Law of Force From joseph.slater at wright.edu Tue Sep 1 14:33:32 2009 From: joseph.slater at wright.edu (Joseph C. Slater PE, PhD) Date: Tue Sep 1 14:34:23 2009 Subject: [OS X Emacs] Aquamacs+Skim inverse search In-Reply-To: <456EC583-FAA6-4100-B13A-252AD48964B4@Web.DE> References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> <5F81A1C6-8E9E-428D-8B6C-E77A0B9C11DA@gmail.com> <456EC583-FAA6-4100-B13A-252AD48964B4@Web.DE> Message-ID: On Sep 1, 2009, at 2:14 PM, Peter Dyballa wrote: > > Am 01.09.2009 um 17:48 schrieb David Reitter: > >> This works if you do system-central installations like in Windows >> and GNU/Linux ("sudo make install"), but not with a modern, self- >> contained .app bundle. Just one more example of bad design + cross- >> platform ignorance... > > > This ignorance is on your side. That's really uncalled for. His shot was at a nebulous group of people, while yours is personal. Can we be friends? > You could easily provide an installer package which puts emacsclient > in a more useful place. Your old command line tools installation > routine could be used when Aquamacs is first invoked after > "installation" and it found that the command line tools need an > update. One could easily argue that Aquamacs shouldn't install emacsclient at all, as in then messes up Apple's 22.1 emacs installation. Anyplace else in the path will leave either the terminal emacs or Aquamacs with the wrong emacsclient. Installing the binaries for 23.1 does indeed break Aquamacs Emacs (based on Emacs 22), so that it's not really possible to use this solution and work with both on the same machine without jockeying. One solution that allows testing of the new Aquamacs and usage of the older Aquamacs Emacs (since it's not in prerelease state... a good idea) is to leave the old binaries in place and explicitly set the path in Skim. David correctly points out that this path isn't the same on every machine unless Aquamacs has a defined location. The other is (apprently?) to install the 23 binary elsewhere, and make sure it is ahead in the path as observed by Aquamacs, but not by AquamacsEmacs/other emacs 22. Joe From Peter_Dyballa at Web.DE Tue Sep 1 15:09:07 2009 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue Sep 1 15:12:49 2009 Subject: [OS X Emacs] Aquamacs+Skim inverse search In-Reply-To: References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> <5F81A1C6-8E9E-428D-8B6C-E77A0B9C11DA@gmail.com> <456EC583-FAA6-4100-B13A-252AD48964B4@Web.DE> Message-ID: <4A44E8A5-A88A-427E-8CE2-9D5A0B6F05DC@Web.DE> Am 01.09.2009 um 20:33 schrieb Joseph C. Slater PE, PhD: > Can we be friends? Why not? > >> You could easily provide an installer package which puts >> emacsclient in a more useful place. Your old command line tools >> installation routine could be used when Aquamacs is first invoked >> after "installation" and it found that the command line tools need >> an update. > > One could easily argue that Aquamacs shouldn't install emacsclient > at all, as in then messes up Apple's 22.1 emacs installation. I wouldn't do that and I wouldn't call that reasonable. Apple's emacs stuff is crippled, there is really no sense in using it. > Anyplace else in the path will leave either the terminal emacs or > Aquamacs with the wrong emacsclient. Not necessarily. For Emacsen you can set in your init file: (setenv "PATH" (concat "/some/directory/inside/the/application/ bundle" ":" (getenv "PATH"))) Every process outside Emacs that is not created to first run in it a login shell, which can easily override inherited settings, will then search emacsclient inside this Emacs' application bundle. When running a shell interpreter inside Emacs, in *shell* or as a shell command or such, this setting will not be valid. > Installing the binaries for 23.1 does indeed break Aquamacs Emacs > (based on Emacs 22) Not completely for this Emacs instance, as mentioned before. > so that it's not really possible to use this solution and work with > both on the same machine without jockeying. Mac OS X is no testbed. You can only have one application running. If you want to deviate from Mac OS X principles, you can do it. But then don't blame others. > One solution that allows testing of the new Aquamacs and usage of > the older Aquamacs Emacs (since it's not in prerelease state... a > good idea) is to leave the old binaries in place and explicitly set > the path in Skim. Then Skim can only work with one of the two or more Emacsen. > David correctly points out that this path isn't the same on every > machine unless Aquamacs has a defined location. The other is > (apprently?) to install the 23 binary elsewhere, and make sure it > is ahead in the path as observed by Aquamacs, but not by > AquamacsEmacs/other emacs 22. Therefore my recommendation of /usr/local/bin. And I also recommend to install the X client. Two real good working Emacsen is better than one with limited abilities. And both can share 77 or more MB of Elisp files. -- Greetings Pete Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. ? Georges W. Bush From david.reitter at gmail.com Tue Sep 1 16:35:45 2009 From: david.reitter at gmail.com (David Reitter) Date: Tue Sep 1 16:44:41 2009 Subject: [OS X Emacs] Aquamacs+Skim inverse search In-Reply-To: References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> <5F81A1C6-8E9E-428D-8B6C-E77A0B9C11DA@gmail.com> <456EC583-FAA6-4100-B13A-252AD48964B4@Web.DE> Message-ID: On Sep 1, 2009, at 2:33 PM, Joseph C. Slater PE, PhD wrote: > One could easily argue that Aquamacs shouldn't install emacsclient > at all, as in then messes up Apple's 22.1 emacs installation. We could install "aquamacsclient" in a location that is usually in PATH. At least the failure mode wouldn't be a silent fail, but a complaint such as "can't find aquamacsclient". The current tools installer allows people to manually select /usr/ local/bin as target, warning them about the fact that this is not normally in PATH. And it warns people about the incompatibility. The Aquamacs (and Mac) philosophy is to not require people to mess with their .bash_profile file or wherever PATHs can be set. Aquamacs and Skim need to work out of the box. -- 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/20090901/0d6d75dc/smime.bin From adhocrocker at gmail.com Wed Sep 2 11:50:59 2009 From: adhocrocker at gmail.com (Johannes) Date: Wed Sep 2 14:45:05 2009 Subject: [OS X Emacs] Issues with alt key as option key (M-^) in Aquamacs 2.0preview 2 Message-ID: Hi, I tried to use the M-^, unfortunately this combination does not work on my german keyboard. Instead of getting the delete-indentation command, I get ? (which is the normal MacOS key mapping). I tried this with several different option key settings ("standard mac characters", "meta", "meta & german" <- this is what I want to use), but the outcome was the same. In the end, I created a new key mapping to circumvent the problem. Any ideas what the reason for this issue could be? Kind regards Johannes From cmenzel at tamu.edu Wed Sep 2 20:01:55 2009 From: cmenzel at tamu.edu (Christopher Menzel) Date: Wed Sep 2 20:30:56 2009 Subject: [OS X Emacs] Aquamacs+Skim inverse search In-Reply-To: References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> Message-ID: <446A4ADB-FCD2-47D8-96EE-78A39E6C4A17@tamu.edu> On Sep 1, 2009, at 10:35 AM, Joseph C. Slater PE, PhD wrote: On Aug 31, 2009, at 1:51 PM, David Reitter wrote: > >> On Aug 31, 2009, at 1:17 PM, Christopher Menzel wrote: >>> I did file one. Forward/inverse searching is so critical to how I >>> and, I know, many others work that it seems to me important enough >>> to address before the 2.0 release. >> >> Ok, if it's important, perhaps somebody could work on it! > > Maybe I'm lazy (alright, I'm lazy), but the easier solution is to > just set the default Aquamacs setting in Skim to use the full path. No, as I note, that was the first thing I did, and it does not solve the problems I pointed out. There are two problems: (1) If you have split your source window into two panes and each pane is looking at a different part of your source document, an inverse search (i.e., Shift- Cmd- in the Skim preview) moves the cursor in *both* Aquamacs panes to the corresponding point in the source document instead of only the most recently active pane. An inverse search does not make Aquamacs the active application. Chris Menzel From skip at pobox.com Thu Sep 3 09:31:20 2009 From: skip at pobox.com (skip@pobox.com) Date: Thu Sep 3 09:32:07 2009 Subject: [OS X Emacs] Aquamacs+Skim inverse search In-Reply-To: <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> Message-ID: <19103.50472.196789.373302@montanaro.dyndns.org> Perhaps dumb question, but: * what is "inverse search"? * what is "Skim"? -- Skip Montanaro - skip@pobox.com - http://www.smontanaro.net/ Getting old sucks, but it beats dying young From ulissesroc at gmail.com Thu Sep 3 09:51:19 2009 From: ulissesroc at gmail.com (Giovanni Lanzani) Date: Thu Sep 3 09:55:52 2009 Subject: [OS X Emacs] Re: Aquamacs+Skim inverse search References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> <19103.50472.196789.373302@montanaro.dyndns.org> Message-ID: writes: > Perhaps dumb question, but: > > * what is "inverse search"? I guess what they wanted is that when you click on a pdf (created with TeX/LaTeX) within Skim (see below), Emacs automatically brings you to the corresponding point in the .tex file. > > * what is "Skim"? It is a very capable (and opensource) pdf-reader for Mac Os X. Giovanni From joseph.slater at wright.edu Thu Sep 3 10:08:48 2009 From: joseph.slater at wright.edu (Joseph C. Slater PE, PhD) Date: Thu Sep 3 10:09:43 2009 Subject: [OS X Emacs] Aquamacs+Skim inverse search In-Reply-To: <446A4ADB-FCD2-47D8-96EE-78A39E6C4A17@tamu.edu> References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> <446A4ADB-FCD2-47D8-96EE-78A39E6C4A17@tamu.edu> Message-ID: <3E5305CB-6D30-40EB-8D14-99019F7621FE@wright.edu> On Sep 2, 2009, at 8:01 PM, Christopher Menzel wrote: > On Sep 1, 2009, at 10:35 AM, Joseph C. Slater PE, PhD wrote: > On Aug 31, 2009, at 1:51 PM, David Reitter wrote: >> >>> On Aug 31, 2009, at 1:17 PM, Christopher Menzel wrote: >>>> I did file one. Forward/inverse searching is so critical to how >>>> I and, I know, many others work that it seems to me important >>>> enough to address before the 2.0 release. >>> >>> Ok, if it's important, perhaps somebody could work on it! >> >> Maybe I'm lazy (alright, I'm lazy), but the easier solution is to >> just set the default Aquamacs setting in Skim to use the full path. > > No, as I note, that was the first thing I did, and it does not solve > the problems I pointed out. There are two problems: (1) If you have > split your source window into two panes and each pane is looking at > a different part of your source document, an inverse search (i.e., > Shift-Cmd- in the Skim preview) moves the cursor in > *both* Aquamacs panes to the corresponding point in the source > document instead of only the most recently active pane. An inverse > search does not make Aquamacs the active application. > I should have said "partial", since it at least gets syncing working in some form. I saw these, and didn't know if they were important enough to be addressed now. I rue submitting bug reports so early in development since there are likely more important issues, and as David noted... we could fix them ourselves. He thinks more highly of our skills than I do. :) Joe \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ (+1) 937-775-5085 http://www.cs.wright.edu/~jslater http://www.cs.wright.edu/~jslater/JosephSlater.vcf.zip From joseph.slater at wright.edu Thu Sep 3 10:12:25 2009 From: joseph.slater at wright.edu (Joseph C. Slater PE, PhD) Date: Thu Sep 3 10:13:15 2009 Subject: [OS X Emacs] Re: Aquamacs+Skim inverse search In-Reply-To: References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> <19103.50472.196789.373302@montanaro.dyndns.org> Message-ID: <57FD9AEF-A420-4DC6-A3FF-E97DE6659D03@wright.edu> On Sep 3, 2009, at 9:51 AM, Giovanni Lanzani wrote: > writes: > >> Perhaps dumb question, but: >> >> * what is "inverse search"? > > I guess what they wanted is that when you click on a pdf (created with > TeX/LaTeX) within Skim (see below), Emacs automatically brings you to > the corresponding point in the .tex file. Right. This happens, but it happens in all frames the have the document in them, not just the active one. When working across sections in a document (trying to refer to one while modifying another), separate frames are helpful. > >> >> * what is "Skim"? > > It is a very capable (and opensource) pdf-reader for Mac Os X. If you don't use LaTeX, it may still be useful, but it's invaluable to those who use latex editors lacking a built in pdf previewer. Joe From cmenzel at tamu.edu Thu Sep 3 18:04:30 2009 From: cmenzel at tamu.edu (Christopher Menzel) Date: Thu Sep 3 18:05:25 2009 Subject: [OS X Emacs] Re: Aquamacs+Skim inverse search In-Reply-To: References: <5C32DF25-6BAF-454B-96F1-55EDDD5CCD55@wright.edu> <1E7B02A0-FAB5-446D-8ADA-D84344CB510E@tamu.edu> <19103.50472.196789.373302@montanaro.dyndns.org> Message-ID: On Sep 3, 2009, at 8:51 AM, Giovanni Lanzani wrote: writes: >> Perhaps dumb question, but: >> >> * what is "inverse search"? > > I guess what they wanted is that when you click on a pdf (created with > TeX/LaTeX) within Skim (see below), Emacs automatically brings you to > the corresponding point in the .tex file. I was just composing that answer. :-) To dispel a possible misimpression, though, I would note that other OS X LaTeX environments also support inverse search (notably, TeXShop) and that inverse search is also possible under Linux/FreeBSD and Windows. Notably, under Linux/FreeBSD, inverse search works nicely between Emacs and the DVI viewer xdvi and under Windows it works with both Emacs (with some tweaking) and WinEdt in conjunction with the Yap DVI viewer. (None of these platforms seems to support pdfsync in the robust way that OS X does.) I would also note that the opposite capability -- clicking at a point in one's source .tex file and having the PDF/DVI preview jump to the corresponding point -- is usually called "forward search". This is also possible on all the platforms noted as well. >> * what is "Skim"? > > It is a very capable (and opensource) pdf-reader for Mac Os X. It also enables you to annotate PDFs very nicely. Really a terrific program. Chris Menzel From hindiogine at gmail.com Wed Sep 16 20:09:13 2009 From: hindiogine at gmail.com (Salvatore Enrico Indiogine) Date: Wed Sep 16 20:31:59 2009 Subject: [OS X Emacs] I must have done something stupid Message-ID: <62622fe70909161709oe665bfeq9a57ace1a51f281@mail.gmail.com> Howdy! I am running Aquamacs 2.0 preview 2 on OSX 10.5.8. I must have done something stupid because I lost my spellcheck. I tried doing what is written on the Aquamacs web site. Actually I tried both methods. It all installs OK. I turn on one of the libraries. M-x ispell gives Error: No word lists can be found for the language en_US I tried stuff from the Edit -> Spelling menu, but nothing works. Thanks, Enrico -- Enrico Indiogine Mathematics Education Texas A&M University Email: hindiogine@gmail.com Skype: hindiogine Website: http://www.coe.tamu.edu/~enrico "Rien ne va de soi. Rien n'est donné. Tous est construit." Gaston Bachelard, 1934 From nathaniel.cunningham at gmail.com Wed Sep 16 23:24:03 2009 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Wed Sep 16 23:24:39 2009 Subject: [OS X Emacs] I must have done something stupid In-Reply-To: <62622fe70909161709oe665bfeq9a57ace1a51f281@mail.gmail.com> References: <62622fe70909161709oe665bfeq9a57ace1a51f281@mail.gmail.com> Message-ID: <20ecf6c70909162024t2d7f547at7871e65b6da0ae2c@mail.gmail.com> On Wed, Sep 16, 2009 at 7:09 PM, Salvatore Enrico Indiogine < hindiogine@gmail.com> wrote: > > I am running Aquamacs 2.0 preview 2 on OSX 10.5.8. I must have done > something stupid because I lost my spellcheck. I tried doing what is > written on the Aquamacs web site. Actually I tried both methods. It > all installs OK. I turn on one of the libraries. > > M-x ispell gives Error: No word lists can be found for the language en_US > > I tried stuff from the Edit -> Spelling menu, but nothing works. > > Spell checking has not yet been incorporated into the 2.0 master, although it has been added to the spelling branch. This will include integration with the OS X spellchecker, as well as the cocoAspell integration improvements from version 1.4+. There is bug I have not yet squashed in the code that integrates the OS X spellchecker into Aquamacs, causing a hang depending on the face of the buffer being spellchecked. Once this is fixed and tested, the spelling branch will be merged into the 2.0 master. --Nathaniel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090916/489b61ee/attachment.html From santagada at gmail.com Thu Sep 17 02:48:14 2009 From: santagada at gmail.com (Leonardo Santagada) Date: Thu Sep 17 03:53:38 2009 Subject: [OS X Emacs] I must have done something stupid In-Reply-To: <20ecf6c70909162024t2d7f547at7871e65b6da0ae2c@mail.gmail.com> References: <62622fe70909161709oe665bfeq9a57ace1a51f281@mail.gmail.com> <20ecf6c70909162024t2d7f547at7871e65b6da0ae2c@mail.gmail.com> Message-ID: <3B3267AA-B80B-4F36-B93B-9051EC8EDBE6@gmail.com> On Sep 17, 2009, at 12:24 AM, Nathaniel Cunningham wrote: > > > On Wed, Sep 16, 2009 at 7:09 PM, Salvatore Enrico Indiogine > wrote: > > I am running Aquamacs 2.0 preview 2 on OSX 10.5.8. I must have done > something stupid because I lost my spellcheck. I tried doing what is > written on the Aquamacs web site. Actually I tried both methods. It > all installs OK. I turn on one of the libraries. > > M-x ispell gives Error: No word lists can be found for the language > en_US > > I tried stuff from the Edit -> Spelling menu, but nothing works. > > > Spell checking has not yet been incorporated into the 2.0 master, > although it has been added to the spelling branch. This will > include integration with the OS X spellchecker, as well as the > cocoAspell integration improvements from version 1.4+. There is bug > I have not yet squashed in the code that integrates the OS X > spellchecker into Aquamacs, causing a hang depending on the face of > the buffer being spellchecked. Once this is fixed and tested, the > spelling branch will be merged into the 2.0 master. Integration with the OS X spellchecker is something I really wanted for Aquamacs, specially in snow leopard where you can choose the languageS to spellcheck from what I understand, so for example I would normally turn on english and portuguese something that I think is not possible with aspell and the leopard spellchecker. Thanks a lot for the hard work on aquamacs. -- Leonardo Santagada santagada at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090917/85c28146/attachment.html From hindiogine at gmail.com Thu Sep 17 09:43:54 2009 From: hindiogine at gmail.com (Salvatore Enrico Indiogine) Date: Thu Sep 17 09:44:32 2009 Subject: [OS X Emacs] I must have done something stupid In-Reply-To: <20ecf6c70909162024t2d7f547at7871e65b6da0ae2c@mail.gmail.com> References: <62622fe70909161709oe665bfeq9a57ace1a51f281@mail.gmail.com> <20ecf6c70909162024t2d7f547at7871e65b6da0ae2c@mail.gmail.com> Message-ID: <62622fe70909170643m668cd418j30723c443bc7cdb8@mail.gmail.com> Hi Nathaniel: 2009/9/16 Nathaniel Cunningham : > Spell checking has not yet been incorporated into the 2.0 master, although > it has been added to the spelling branch.  This will include integration > with the OS X spellchecker, as well as the cocoAspell integration > improvements from version 1.4+.  There is bug I have not yet squashed in the > code that integrates the OS X spellchecker into Aquamacs, causing a hang > depending on the face of the buffer being spellchecked.  Once this is fixed > and tested, the spelling branch will be merged into the 2.0 master. Thanks for the explanation and many thanks for your work on Aquamacs. I am a recent convert to Emacs (and LaTeX) and find myself using Emacs for more and more tasks. I am really looking forward to Aquamacs 2.0. Best regards, Enrico -- Enrico Indiogine Mathematics Education Texas A&M University Email: hindiogine@gmail.com Skype: hindiogine Website: http://www.coe.tamu.edu/~enrico "Rien ne va de soi. Rien n'est donné. Tous est construit." Gaston Bachelard, 1934 From prathouz at uchicago.edu Thu Sep 17 16:30:49 2009 From: prathouz at uchicago.edu (Paul Rathouz) Date: Thu Sep 17 17:07:04 2009 Subject: [OS X Emacs] R slow in ESS in Aquamacs Message-ID: Hi All -- I am running R withing ESS within Aquamacs. I am running a simple program which defines two functions and tests them. It looks like this: -------------- starttime <- proc.time() ... proc.time()-starttime ------------- When I select this code and then run it in ESS using the command ess-eval-region, the result in the R window is: > proc.time()-starttime user system elapsed 0.059 0.005 12.149 (the last number is the actual real time I waited for the code to execute). When I run the program in batch mode from a terminal window (using R CMD BATCH...), the result is: > proc.time() user system elapsed 0.839 0.054 0.890 Does anyone know how come this executes so much more slowly in ESS in Aquamacs? I vaguely remember this issue arising before, but it was a long time ago and much appears to have changed in Aquamacs since then. Thanks much -- pr ========================================================================== Paul Rathouz, Assoc. Professor of Biostatistics ph 773-834-1970 Dept. of Health Studies, Rm. W-264 fax 773-702-1979 University of Chicago prathouz@uchicago.edu 5841 S. Maryland Ave. MC 2007 Chicago, IL 60637 ========================================================================= From bonelake at gmail.com Thu Sep 17 19:15:40 2009 From: bonelake at gmail.com (Brad Miller) Date: Thu Sep 17 20:46:35 2009 Subject: [OS X Emacs] Re: emacs and Snow Leopard woes In-Reply-To: <01BD3CDE-ECAB-4BCC-B08E-FE8AB49F7302@gmail.com> References: <20090829190005.0A34490FC8C@email> <01BD3CDE-ECAB-4BCC-B08E-FE8AB49F7302@gmail.com> Message-ID: Hi David, Tried to build from source today on Snow Leopard, Is this an example of the problem you were writing about? Or is it something new? `/bin/pwd`/temacs --batch --load loadup bootstrap Loading loadup.el (source)... Using load-path (/Users/bmiller/src/aquamacs-emacs/lisp /Users/bmiller/src/aquamacs-emacs/lisp/emacs-lisp /Users/bmiller/src/aquamacs-emacs/lisp/language /Users/bmiller/src/aquamacs-emacs/lisp/international /Users/bmiller/src/aquamacs-emacs/lisp/textmodes) Loading emacs-lisp/byte-run (source)... Loading emacs-lisp/backquote (source)... Loading subr (source)... Loading version.el (source)... Loading widget (source)... Loading custom (source)... Loading emacs-lisp/map-ynp (source)... Loading cus-start (source)... Loading international/mule (source)... Loading international/mule-conf.el (source)... temacs(26481) malloc: *** error for object 0x1009307f8: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug make[1]: *** [bootstrap-emacs] Abort trap make: *** [src] Error 2 Brad Miller Computer Science, Luther College On Sat, Aug 29, 2009 at 5:06 PM, David Reitter wrote: > On Aug 29, 2009, at 4:28 PM, Artemio González López wrote: > >> Even if you fix the source so you can compile your initial "temacs" on >>> 10.6, Emacs will fail to dump or the dumped binary will crash. >>> >> >> >> Do you know if there's a way to compile other versions of emacs (23.1 with >> Cocoa libraries, or even the old 22.1 source in the Darwin 10 opensource >> distribution) using the Snow Leopard Developer tools? >> > > None of that. > (I've been trying to fix this on and off for 2+ months.) > > I recommend using a binary distro such as Aquamacs, or, if you want it less > adapted to the Mac, Carbon Emacs or a binary obtained elsewhere ( > porkrind.org ?) > > Given latest developments, I think we'll have the problem fixed 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! > > _____________________________________________________________ > 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/20090917/5729351d/attachment.html From david.reitter at gmail.com Thu Sep 17 21:11:29 2009 From: david.reitter at gmail.com (David Reitter) Date: Thu Sep 17 21:12:21 2009 Subject: [OS X Emacs] Re: emacs and Snow Leopard woes In-Reply-To: References: <20090829190005.0A34490FC8C@email> <01BD3CDE-ECAB-4BCC-B08E-FE8AB49F7302@gmail.com> Message-ID: On Sep 17, 2009, at 7:15 PM, Brad Miller wrote: > Hi David, > > Tried to build from source today on Snow Leopard, Is this an example > of the problem you were writing about? Or is it something new? Yes, that's a symptom of one of the issues. - 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/20090917/81ba0e6c/smime.bin From david.reitter at gmail.com Tue Sep 22 17:02:27 2009 From: david.reitter at gmail.com (David Reitter) Date: Tue Sep 22 17:08:48 2009 Subject: [OS X Emacs] Emacs 23 (master branch) on 10.5.8 Message-ID: <21980515-03E6-43D7-8339-D9BD25B980F4@gmail.com> Has anyone here had success building and running the GNU Emacs (23) master / head branch from CVS or git on 10.5? I have trouble getting the menus to appear (works on 10.6). -- 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 sdl.web at gmail.com Tue Sep 22 17:11:29 2009 From: sdl.web at gmail.com (Leo) Date: Tue Sep 22 17:13:02 2009 Subject: [OS X Emacs] Re: Emacs 23 (master branch) on 10.5.8 References: <21980515-03E6-43D7-8339-D9BD25B980F4@gmail.com> Message-ID: On 2009-09-22 22:02 +0100, David Reitter wrote: > Has anyone here had success building and running the GNU Emacs (23) > master / head branch from CVS or git on 10.5? > > I have trouble getting the menus to appear (works on 10.6). I am running cvs20090922 from http://atomized.org/wp-content/cocoa-emacs-nightly/. Best, Leo From david.reitter at gmail.com Tue Sep 22 17:25:32 2009 From: david.reitter at gmail.com (David Reitter) Date: Tue Sep 22 17:26:32 2009 Subject: [OS X Emacs] Re: Emacs 23 (master branch) on 10.5.8 In-Reply-To: References: <21980515-03E6-43D7-8339-D9BD25B980F4@gmail.com> Message-ID: <2636D40A-62B0-4428-B236-9D922C81686B@gmail.com> On Sep 22, 2009, at 5:11 PM, Leo wrote: > I am running cvs20090922 from > http://atomized.org/wp-content/cocoa-emacs-nightly/. Thanks. Tried that and reproduced the same problem with missing menus. Turns out it has to do with VNC - I access my 10.5 machine remotely via Apple's VNC. Jean-Philippe, is this what you did when you experienced the "missing submenu" issue with Aquamacs? Thanks - 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/20090922/0dc44cd5/smime.bin From vqnguyen at uci.edu Tue Sep 29 12:06:32 2009 From: vqnguyen at uci.edu (Vinh Nguyen) Date: Tue Sep 29 12:28:00 2009 Subject: [OS X Emacs] Disable mac os x keybindings in emacs In-Reply-To: <13c5a0ae0909290905o75807e41s3b3a7327e6fb0d79@mail.gmail.com> References: <13c5a0ae0909290905o75807e41s3b3a7327e6fb0d79@mail.gmail.com> Message-ID: <13c5a0ae0909290906q5ed4962sf3c925073d91bda8@mail.gmail.com> dear list, i swear i ran into a blog post somewhere that shows how to do this, but could not find it again (googled many times). i compiled emacs 23 from source with nextstep. i use option as meta. i would like to disable the mac os x keybindings that come with emacs (command-v as paste, etc) since i sometimes accidentally press these keys and not even notice it, and my files can get messed up. i would have searched the list first instead, but could not find a place i could search through the list. thanks for your help. vinh From david.reitter at gmail.com Wed Sep 30 10:18:46 2009 From: david.reitter at gmail.com (David Reitter) Date: Wed Sep 30 11:17:01 2009 Subject: [OS X Emacs] Aquamacs Emacs 1.9 release candidate 1 Message-ID: <2AEFB5A3-F82A-4B64-9F09-1E5C3EAA819C@gmail.com> I'm making a preview version available of Aquamacs 1.9: Aquamacs Emacs 1.9rc1 is available for testing from http://aquamacs.org/download-preview1.9.shtml See below for a list of changes. Your feedback is appreciated - please e-mail bug reports to aquamacs-bugs@aquamacs.org. -- 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! --- Aquamacs 1.9rc1 - News ? Copy (Command-C) works again reliably for text selected by mouse. However, the previous improvement avoiding duplicate entries in the kill ring has been reverted. Reported by Tom van Vleck. ? Jumping to a LaTeX error after compilation works more reliably now. The LaTeX-command setting has been changed to include `file-line- error' style. Suggested by Enrico Franconi. ? Recognize Objective C files (extensions .m and .h) by their content. Patch by Kendall Gelner and D.R. ? Automatic word wrapping works better in large hard-wrapped (auto- fill-mode) documents with occasional (6+) over-long lines. ? The Apple Help books (for Aquamacs, Emacs and the Emacs Lisp Reference) now work on 10.6 ``Snow Leopard''. Reported by Philippe Sismondi. ? Aquamacs now by default enables synctex when compiling latex documents. ? CSS-Mode has been revised to match the GNU Emacs 22/23 CSS mode. -------------- 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/20090930/b47f940a/smime.bin