From Peter_Dyballa at Web.DE Tue Dec 2 18:12:48 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue Dec 2 18:12:59 2008 Subject: [OS X Emacs] Preview-latex errors In-Reply-To: <0075A589-5E5B-43B7-A319-16F8341AC22E@Web.DE> References: <42162478-B49F-4CD2-AE01-FE34FFC7570E@Web.DE> <0075A589-5E5B-43B7-A319-16F8341AC22E@Web.DE> Message-ID: <714A317F-DFE4-4795-8CFF-CD2CA5D1354B@Web.DE> Am 01.12.2008 um 00:41 schrieb Peter Dyballa: > Actually a second Emacs.app (launched as "/Applications/Emacs.app/ > Contents/MacOS/Emacs -l ~/.emacs-init.el -Q --debug-init &" where > ~/.emacs-init.el contains some customisation) shows the same > behaviour. Do both Emacsen communicate which each other? It's > strange ... To me the case is a bit clearer now: I had set in my init file for Emacs.app (or window system ns) DVI as default output mode. So in my first tests all went fine. Later I saw that the LaTeX buffer was in DVI mode, also with the above invocation, and switched it regularly and manually to PDF. From now on the creation of previews failed. When I start to create previews for the enumeration of the first (introductory) section of preview/circ.tex (inside the AUCTeX sources) with seven math expressions, the X client, or DVI mode, run only one conversion with gs. In PDF mode gs is invoked seven times for conversion(s), and fails seven times somehow. The successful X client runs gs only once. It's a mystery ... -- Greetings Pete Computers are good at following instructions, but not at reading your mind. - D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9 From sergio at village-buzz.com Thu Dec 4 09:52:52 2008 From: sergio at village-buzz.com (sergio) Date: Thu Dec 4 09:52:56 2008 Subject: [OS X Emacs] customizations.el on aquamacs Message-ID: <5DB605F1-49D9-4A19-966D-686B93EC9A73@village-buzz.com> this is a problem i have been battling since i installed aquamacs, and i just can't seem to get a handle on it.. it happens on two of my computers.. one has tiger, one has leopard.. what happens is.. if i edit customizations.el programmatically (using the menu options), changes i made to it using other modes (org-mode, or jabber-mode for instance) get deleted.. at first, i couldn't tell what was going on, as my options would just wildly change.. then, i kept customizations.el open while i worked through the day, and i can actually see the the modes and the system prefs fighting for dominance in the file.. one file deleting other pieces, and so on. i then made a blank customizations.el file, and started all over again.. everything works fine, until the next restart of aquamacs.. anyone have any ideas? thanks! ___ peace, sergio photographer, journalist, visionary www.village-buzz.com From sergio at village-buzz.com Fri Dec 5 15:42:21 2008 From: sergio at village-buzz.com (sergio) Date: Fri Dec 5 15:42:26 2008 Subject: [OS X Emacs] customizations. Message-ID: <7EA041F1-D0EF-4E64-9878-4C810E636290@village-buzz.com> in order to further delve into where my problems were in customization saving, i installed carbon emacs to see how it behaved... when i try to save my options, i get this in the *messages* buffer: custom-save-all: Cannot save customizations; init file was not fully loaded any ideas? thanks! ___ peace, sergio photographer, journalist, visionary www.village-buzz.com From sergiolist at village-buzz.com Mon Dec 8 01:59:42 2008 From: sergiolist at village-buzz.com (sergio_101) Date: Mon Dec 8 02:19:46 2008 Subject: [OS X Emacs] latex with images Message-ID: i realize that this is more of a latex issue, but i have a feeling that someone on this list will know the answer to this really quickly.. i am just starting to figure out latex, and i would like to include a logo file in my document. i have moved my logo file to the same directory as my document, and called it "logo.eps". in my document, i have the following called: \includegraphics{logo} when i try to export to pdf, i get: ! LaTeX Error: File `logo' not found. any help would be appreciated.. thanks! From hindiogine at gmail.com Mon Dec 8 09:52:44 2008 From: hindiogine at gmail.com (Salvatore Enrico Indiogine) Date: Mon Dec 8 09:59:02 2008 Subject: [OS X Emacs] latex with images In-Reply-To: References: Message-ID: <62622fe70812080652g1ad62160tb87099af7852d1ce@mail.gmail.com> Maybe you do not have \usepackage{graphicx} in the preamble? On Mon, Dec 8, 2008 at 00:59, sergio_101 wrote: > i realize that this is more of a latex issue, but i have a feeling that > someone on this list will know the answer to this really quickly.. > > i am just starting to figure out latex, and i would like to include a > logo file in my document. i have moved my logo file to the same > directory as my document, and called it "logo.eps". > > in my document, i have the following called: > > \includegraphics{logo} > > when i try to export to pdf, i get: > > ! LaTeX Error: File `logo' not found. > > any help would be appreciated.. > > thanks! > > _____________________________________________________________ > 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 > > -- Enrico Indiogine Mathematics Education Texas A&M University Email: hindiogine@gmail.com Skype: hindiogine From sergiolist at village-buzz.com Mon Dec 8 10:01:28 2008 From: sergiolist at village-buzz.com (sergio_101) Date: Mon Dec 8 10:01:32 2008 Subject: [OS X Emacs] latex with images In-Reply-To: <62622fe70812080652g1ad62160tb87099af7852d1ce@mail.gmail.com> (Salvatore Enrico Indiogine's message of "Mon\, 8 Dec 2008 08\:52\:44 -0600") References: <62622fe70812080652g1ad62160tb87099af7852d1ce@mail.gmail.com> Message-ID: "Salvatore Enrico Indiogine" writes: > Maybe you do not have \usepackage{graphicx} in the preamble? > i forgot to mention.. yes, i have this in the preamble.. the file looks like this: \documentclass{article} \usepackage{graphicx} \begin{document} this is a test \includegraphics{logo} \end{document} thanks! From hindiogine at gmail.com Mon Dec 8 10:08:51 2008 From: hindiogine at gmail.com (Salvatore Enrico Indiogine) Date: Mon Dec 8 10:08:54 2008 Subject: [OS X Emacs] latex with images In-Reply-To: References: <62622fe70812080652g1ad62160tb87099af7852d1ce@mail.gmail.com> Message-ID: <62622fe70812080708j304c7466pabcc82a92e39ec19@mail.gmail.com> Sergio, try using logo.eps instead of just logo and try using the complete path. Enrico On Mon, Dec 8, 2008 at 09:01, sergio_101 wrote: > "Salvatore Enrico Indiogine" writes: > >> Maybe you do not have \usepackage{graphicx} in the preamble? >> > > i forgot to mention.. yes, i have this in the preamble.. > > the file looks like this: > > \documentclass{article} > \usepackage{graphicx} > > \begin{document} > this is a test > > \includegraphics{logo} > > \end{document} > > thanks! > > > _____________________________________________________________ > 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 > > -- Enrico Indiogine Mathematics Education Texas A&M University Email: hindiogine@gmail.com Skype: hindiogine From kaeufl at ira.uka.de Mon Dec 8 10:15:03 2008 From: kaeufl at ira.uka.de (=?ISO-8859-1?Q?Thomas_K=E4ufl?=) Date: Mon Dec 8 10:14:52 2008 Subject: [OS X Emacs] latex with images In-Reply-To: References: Message-ID: <5FBD9580-A58E-4531-82DB-CD669844EB6C@ira.uka.de> Am 08.12.2008 um 07:59 schrieb sergio_101: > ... > > \includegraphics{logo} > > when i try to export to pdf, i get: > > ! LaTeX Error: File `logo' not found. > > any help would be appreciated.. > ... I assume, you use AucTex and process your document in PDF mode. Then, the file "logo.pdf" is searched and -- not found. As I have not installed Ghostscript, I use Preview to save an .eps file as .pdf. I think you can solve your problem also using Preview. Thomas Käufl From sergiolist at village-buzz.com Mon Dec 8 10:39:40 2008 From: sergiolist at village-buzz.com (sergio_101) Date: Mon Dec 8 10:59:44 2008 Subject: [OS X Emacs] latex with images In-Reply-To: <5FBD9580-A58E-4531-82DB-CD669844EB6C@ira.uka.de> ("Thomas =?iso-8859-1?Q?K=E4ufl=22's?= message of "Mon\, 8 Dec 2008 16\:15\:03 +0100") References: <5FBD9580-A58E-4531-82DB-CD669844EB6C@ira.uka.de> Message-ID: Thomas Käufl writes: > As I have not installed Ghostscript, I use Preview to > save an .eps file as .pdf. I think you can solve your hmm.. i tried this.. i saved the logo file to a pdf.. so my file looks like this: \documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics{logo.pdf} \end{document} now.. i get the following: LaTeX Warning: File `logo.pdf' not found on input line 6. Error: pdflatex (file logo.pdf): cannot find image file ==> Fatal error occurred, the output PDF file is not finished! LaTeX exited abnormally with code 255 at Mon Dec 8 10:38:46 but it says that it successfully built [0] pages.. strange.. From d.stegmueller at gmail.com Mon Dec 8 10:02:02 2008 From: d.stegmueller at gmail.com (Daniel Stegmueller) Date: Mon Dec 8 11:01:14 2008 Subject: [OS X Emacs] latex with images In-Reply-To: <62622fe70812080652g1ad62160tb87099af7852d1ce@mail.gmail.com> References: <62622fe70812080652g1ad62160tb87099af7852d1ce@mail.gmail.com> Message-ID: <45E7BB82-3C2B-4054-9EFF-82B57FC65EEC@gmail.com> I rather think he should convert his image to pdf first.... A short intro is here: http://www.math.northwestern.edu/comp-help/including_graphics.html Best, Daniel On 8 Dec 2008, at 15:52, Salvatore Enrico Indiogine wrote: > Maybe you do not have \usepackage{graphicx} in the preamble? > > On Mon, Dec 8, 2008 at 00:59, sergio_101 buzz.com> wrote: >> i realize that this is more of a latex issue, but i have a feeling >> that >> someone on this list will know the answer to this really quickly.. >> >> i am just starting to figure out latex, and i would like to include a >> logo file in my document. i have moved my logo file to the same >> directory as my document, and called it "logo.eps". >> >> in my document, i have the following called: >> >> \includegraphics{logo} >> >> when i try to export to pdf, i get: >> >> ! LaTeX Error: File `logo' not found. >> >> any help would be appreciated.. >> >> thanks! >> >> _____________________________________________________________ >> 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 >> >> > > > > -- > Enrico Indiogine > > Mathematics Education > Texas A&M University > Email: hindiogine@gmail.com > Skype: hindiogine > _____________________________________________________________ > 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 Peter_Dyballa at Web.DE Mon Dec 8 11:05:09 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Mon Dec 8 11:05:21 2008 Subject: [OS X Emacs] latex with images In-Reply-To: <62622fe70812080652g1ad62160tb87099af7852d1ce@mail.gmail.com> References: <62622fe70812080652g1ad62160tb87099af7852d1ce@mail.gmail.com> Message-ID: >> i am just starting to figure out latex, and i would like to include a >> logo file in my document. i have moved my logo file to the same >> directory as my document, and called it "logo.eps". PdfTeX does not support EPS files. It allows PDF, PNG, and JPEG. If you insist to use EPS files, you'll need to take the route over the interim DVI format. Then the shell script simpdftex (simulate pdfTeX that creates PDF directly) could be your friend. -- Greetings Pete Who the fsck is "General Failure," and why is he reading my disk? From sergiolist at village-buzz.com Mon Dec 8 11:10:58 2008 From: sergiolist at village-buzz.com (sergio_101) Date: Mon Dec 8 11:11:01 2008 Subject: [OS X Emacs] latex with images In-Reply-To: <45E7BB82-3C2B-4054-9EFF-82B57FC65EEC@gmail.com> (Daniel Stegmueller's message of "Mon\, 8 Dec 2008 16\:02\:02 +0100") References: <62622fe70812080652g1ad62160tb87099af7852d1ce@mail.gmail.com> <45E7BB82-3C2B-4054-9EFF-82B57FC65EEC@gmail.com> Message-ID: Daniel Stegmueller writes: > A short intro is here: > http://www.math.northwestern.edu/comp-help/including_graphics.html yes, this is exactly what i am doing.. even using pdflatex at the command line, i get: ! LaTeX Error: File `logo' not found. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. From d.stegmueller at gmail.com Mon Dec 8 11:20:03 2008 From: d.stegmueller at gmail.com (Daniel Stegmueller) Date: Mon Dec 8 11:20:07 2008 Subject: [OS X Emacs] latex with images In-Reply-To: References: <62622fe70812080652g1ad62160tb87099af7852d1ce@mail.gmail.com> <45E7BB82-3C2B-4054-9EFF-82B57FC65EEC@gmail.com> Message-ID: <0457B2C3-3F1E-4108-BD3E-663007546519@gmail.com> Are you sure you named the file properly? Maybe show us your output of ls -l Daniel On 8 Dec 2008, at 17:10, sergio_101 wrote: > Daniel Stegmueller writes: > >> A short intro is here: >> http://www.math.northwestern.edu/comp-help/including_graphics.html > > yes, this is exactly what i am doing.. > > even using pdflatex at the command line, i get: > > ! LaTeX Error: File `logo' not found. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > > _____________________________________________________________ > 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 sergiolist at village-buzz.com Mon Dec 8 11:28:58 2008 From: sergiolist at village-buzz.com (sergio_101) Date: Mon Dec 8 11:29:02 2008 Subject: [OS X Emacs] latex with images In-Reply-To: <0457B2C3-3F1E-4108-BD3E-663007546519@gmail.com> (Daniel Stegmueller's message of "Mon\, 8 Dec 2008 17\:20\:03 +0100") References: <62622fe70812080652g1ad62160tb87099af7852d1ce@mail.gmail.com> <45E7BB82-3C2B-4054-9EFF-82B57FC65EEC@gmail.com> <0457B2C3-3F1E-4108-BD3E-663007546519@gmail.com> Message-ID: Daniel Stegmueller writes: > Are you sure you named the file properly? > > Maybe show us your output of ls -l okay, you are all official witnesses to my stupidity.. i saved logo.pdf to the wrong directory.. From kaeufl at ira.uka.de Mon Dec 8 14:52:13 2008 From: kaeufl at ira.uka.de (=?ISO-8859-1?Q?Thomas_K=E4ufl?=) Date: Mon Dec 8 14:52:30 2008 Subject: [OS X Emacs] latex with images In-Reply-To: References: <5FBD9580-A58E-4531-82DB-CD669844EB6C@ira.uka.de> Message-ID: Am 8. Dez 2008 um 16:39 schrieb sergio_101: > ... > > i tried this.. i saved the logo file to a pdf.. > > so my file looks like this: > > \documentclass{article} > \usepackage{graphicx} > > \begin{document} > > \includegraphics{logo.pdf} > > \end{document} > > ... remove the suffix ".pdf" (and put the file "logo" into the directory where the LaTex document is) and it will work. Thomas Käufl From pdfinn at uwm.edu Mon Dec 8 21:22:26 2008 From: pdfinn at uwm.edu (pdfinn@uwm.edu) Date: Mon Dec 8 21:43:03 2008 Subject: [OS X Emacs] customizations. In-Reply-To: <7EA041F1-D0EF-4E64-9878-4C810E636290@village-buzz.com> References: <7EA041F1-D0EF-4E64-9878-4C810E636290@village-buzz.com> Message-ID: Hi Sergio, It seems to me I've experienced this issue before. Does Emacs issue any complaints when starting up? Also, try loading your init file manually: open it in a buffer and run M-x eval-buffer. Then try to save your customizations again. Also, if your .emacs.el file is under version control, make sure it is checkout and not locked---this can also cause problems saving customizations. Peter At Fri, 5 Dec 2008 15:42:21 -0500, sergio wrote: > > _____________________________________________________________ > 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 sergiolist at village-buzz.com Mon Dec 8 22:30:20 2008 From: sergiolist at village-buzz.com (sergio_101) Date: Mon Dec 8 22:30:26 2008 Subject: [OS X Emacs] customizations. In-Reply-To: (pdfinn@uwm.edu's message of "Mon\, 08 Dec 2008 20\:22\:26 -0600") References: <7EA041F1-D0EF-4E64-9878-4C810E636290@village-buzz.com> Message-ID: pdfinn@uwm.edu writes: > It seems to me I've experienced this issue before. Does Emacs issue any > complaints when starting up? Also, try loading your init file > manually: in the process of troubleshooting, i have done both of these.. but have not had any luck.. until i can get this fixed, i have been using carbon emacs.. carbon saves all the customizations to .emacs instead of customizations.el in the preferences files.. > open it in a buffer and run M-x eval-buffer. Then try to save your > customizations again. Also, if your .emacs.el file is under version > control, make sure it is checkout and not locked---this can also cause it's not under version control, but i am thinking of putting it under git.. From david.reitter at gmail.com Wed Dec 10 00:41:30 2008 From: david.reitter at gmail.com (David Reitter) Date: Wed Dec 10 00:41:37 2008 Subject: [OS X Emacs] customizations.el on aquamacs In-Reply-To: <5DB605F1-49D9-4A19-966D-686B93EC9A73@village-buzz.com> References: <5DB605F1-49D9-4A19-966D-686B93EC9A73@village-buzz.com> Message-ID: <035932FA-0B72-44A7-B34C-D16620E77532@gmail.com> Ciao Sergio, On 4 Dec 2008, at 09:52, sergio wrote: > if i edit customizations.el programmatically (using the menu > options), changes i made to it using other modes (org-mode, or > jabber-mode for instance) get deleted.. I'm not quite sure what would cause this. (custom-save-all) is called by org-mode (by way of Custom-save), but in my tests this does not destroy the menu settings that have been written to custom-file. > i then made a blank customizations.el file, and started all over > again.. > > everything works fine, until the next restart of aquamacs.. Without a reproducible (step-by-step) recipe, I can't really tell much, and I sure can't fix the bug. Start from an empty customization file, ideally, and use org-mode to demonstrate this problem. I'd gladly fix this for you if you can give me a test case. - 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/20081210/79f7a305/smime.bin From sergiolist at village-buzz.com Wed Dec 10 00:53:30 2008 From: sergiolist at village-buzz.com (sergio_101) Date: Wed Dec 10 00:53:34 2008 Subject: [OS X Emacs] customizations.el on aquamacs In-Reply-To: <035932FA-0B72-44A7-B34C-D16620E77532@gmail.com> (David Reitter's message of "Wed\, 10 Dec 2008 00\:41\:30 -0500") References: <5DB605F1-49D9-4A19-966D-686B93EC9A73@village-buzz.com> <035932FA-0B72-44A7-B34C-D16620E77532@gmail.com> Message-ID: David Reitter writes: > Start from an empty customization file, ideally, and use org-mode to > demonstrate this problem. > hi, david.. i have tried this with a whole bunch of different permutations of adding or deleting files and customizations.. i don't think it has anything to do with org-mode. it just seems like it randomly happens after about a day of usage.. and then when it does, it happens every time.. here is a play by play: 1. delete everything in customizations.el 2. set up options then save. 3. do anything in any package that modifies customizations.el 4. some random (but around 5 times) use will start erasing chunks of customizations.el . even those seem random. 5. you can do this all day, with a copy of the buffer open, and watch it delete chunks. 6. marvel at how strange this is.. thanks! From david.reitter at gmail.com Wed Dec 10 00:58:14 2008 From: david.reitter at gmail.com (David Reitter) Date: Wed Dec 10 01:03:41 2008 Subject: [OS X Emacs] customizations.el on aquamacs In-Reply-To: References: <5DB605F1-49D9-4A19-966D-686B93EC9A73@village-buzz.com> <035932FA-0B72-44A7-B34C-D16620E77532@gmail.com> Message-ID: <437A7DFD-B0B9-4BED-A50E-4698E8C47497@gmail.com> On 10 Dec 2008, at 00:53, sergio_101 wrote: > > it just seems like it randomly happens after about a day of usage.. > and > then when it does, it happens every time.. > > here is a play by play: > > 1. delete everything in customizations.el > 2. set up options then save. > 3. do anything in any package that modifies customizations.el > 4. some random (but around 5 times) use will start erasing chunks of > customizations.el . even those seem random. > 5. you can do this all day, with a copy of the buffer open, and watch > it delete chunks. > 6. marvel at how strange this is.. Sorry,you will have to be fully specific - only point 6 is reproducible. Which option do you set up (please, only one). What exactly do you do in the package (please use org-mode)? What "random" use do you do that allows you to REPRODUCE the problem? -------------- 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/20081210/efecb1c7/smime.bin From david.reitter at gmail.com Thu Dec 11 17:59:03 2008 From: david.reitter at gmail.com (David Reitter) Date: Thu Dec 11 17:59:11 2008 Subject: [OS X Emacs] Slime+OpenMCL: debugging Message-ID: <174F64ED-48BF-45A3-AAC9-76C57809A863@gmail.com> Is there a way to jump to the source code line from the stack trace shown in SLIME's debugger? I'm using OpenMCL / ccl (latest version) with Slime (latest release from 2006, but can also use CVS checkout if that's helpful). Thanks - David -------------- 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/20081211/bea7ecdc/smime.bin From billclem at gmail.com Thu Dec 11 18:11:16 2008 From: billclem at gmail.com (Bill Clementson) Date: Thu Dec 11 18:17:21 2008 Subject: [OS X Emacs] Slime+OpenMCL: debugging In-Reply-To: <174F64ED-48BF-45A3-AAC9-76C57809A863@gmail.com> References: <174F64ED-48BF-45A3-AAC9-76C57809A863@gmail.com> Message-ID: <8757cb490812111511k123444cbs48a4a790f3e71d33@mail.gmail.com> Hi David, On Thu, Dec 11, 2008 at 2:59 PM, David Reitter wrote: > Is there a way to jump to the source code line from the stack trace shown in > SLIME's debugger? Pressing "v" when on a stack trace line should take you to the source line (you may have to compile your code with (debug 2) or some such if it doesn't work for you). > I'm using OpenMCL / ccl (latest version) with Slime (latest release from > 2006, but can also use CVS checkout if that's helpful). It's preferable to use the CVS version of SLIME instead. If you have any problems, you'll have trouble getting help with the 2006 version of SLIME. - Bill From david.reitter at gmail.com Thu Dec 11 19:27:31 2008 From: david.reitter at gmail.com (David Reitter) Date: Thu Dec 11 20:35:15 2008 Subject: [OS X Emacs] Slime+OpenMCL: debugging In-Reply-To: <8757cb490812111511k123444cbs48a4a790f3e71d33@mail.gmail.com> References: <174F64ED-48BF-45A3-AAC9-76C57809A863@gmail.com> <8757cb490812111511k123444cbs48a4a790f3e71d33@mail.gmail.com> Message-ID: <0A78685B-8B15-4937-8412-CD5C0F13C2FD@gmail.com> On 11 Dec 2008, at 18:11, Bill Clementson wrote: > Pressing "v" when on a stack trace line should take you to the source > line (you may have to compile your code with (debug 2) or some such if > it doesn't work for you). OK, thanks, didn't know about "v". However, it only works for the internal code - pressing "v" for anything in my own code brings up l1-boot.lisp, which I presume is the highest level compiled with the right options. I tried adding (declare (optimize (debug 2))) to some interesting functions, which doesn't help. How would I declare something for a file? > It's preferable to use the CVS version of SLIME instead. If you have > any problems, you'll have trouble getting help with the 2006 version > of SLIME. Can you recommend a specific snapshot? Something that has seen some testing? C-c C-t doesn't work as expected in the current Slime CVS, for example - it is bound to trace/untrace, so I don't know how to clear the buffer... Thanks - David -------------- 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/20081211/98337331/smime.bin From billclem at gmail.com Thu Dec 11 21:30:44 2008 From: billclem at gmail.com (Bill Clementson) Date: Thu Dec 11 21:52:04 2008 Subject: [OS X Emacs] Slime+OpenMCL: debugging In-Reply-To: <0A78685B-8B15-4937-8412-CD5C0F13C2FD@gmail.com> References: <174F64ED-48BF-45A3-AAC9-76C57809A863@gmail.com> <8757cb490812111511k123444cbs48a4a790f3e71d33@mail.gmail.com> <0A78685B-8B15-4937-8412-CD5C0F13C2FD@gmail.com> Message-ID: <8757cb490812111830x76e3e4daq6914d0773945ade9@mail.gmail.com> On Thu, Dec 11, 2008 at 4:27 PM, David Reitter wrote: > On 11 Dec 2008, at 18:11, Bill Clementson wrote: > > >> Pressing "v" when on a stack trace line should take you to the source >> line (you may have to compile your code with (debug 2) or some such if >> it doesn't work for you). > > OK, thanks, didn't know about "v". "C-h m" or "C-h b" in the SLDB buffer will show you the available SLIME debugger key bindings. > However, it only works for the internal code - pressing "v" for anything in > my own code brings up l1-boot.lisp, which I presume is the highest level > compiled with the right options. > > I tried adding (declare (optimize (debug 2))) to some interesting > functions, which doesn't help. Hmm, looks like it should be (debug 3) instead. > How would I declare something for a file? At the top of the file use "declaim": (declaim (optimize (debug 3))) Note that CCL may optimize code such that the actual line isn't shown but it should get you to the right function. >> It's preferable to use the CVS version of SLIME instead. If you have >> any problems, you'll have trouble getting help with the 2006 version >> of SLIME. > > Can you recommend a specific snapshot? Something that has seen some > testing? I just use the current CVS SLIME and the latest development version of the CL that I'm working with and rarely have issues. > C-c C-t doesn't work as expected in the current Slime CVS, for example - it > is bound to trace/untrace, so I don't know how to clear the buffer... But C-c C-t is defined as a key binding in both slime mode and slime repl mode, so why do you think C-c C-t "doesn't work as expected" if it's bound to trace/untrace? You didn't say what buffer you wanted to clear, but I'm assuming it's the REPL buffer. The command there is C-c M-o. Have you built the documentation for SLIME? It's actually quite good and very readable. Just do "make" in the slime/doc directory and then you can view the slime.info or slime.pdf files. Don't read the on-line docs (on the SLIME home page) as they are terribly out-of-date. If you're just starting out with SLIME, you might also find some of the links from my recent post useful: http://bc.tech.coop/blog/081209.html Also, you would probably get better answers to slime-related questions on the slime development list: http://common-lisp.net/mailman/listinfo/slime-devel Cheers, Bill From david.reitter at gmail.com Fri Dec 12 01:03:01 2008 From: david.reitter at gmail.com (David Reitter) Date: Fri Dec 12 01:03:10 2008 Subject: [OS X Emacs] Slime+OpenMCL: debugging In-Reply-To: <8757cb490812111830x76e3e4daq6914d0773945ade9@mail.gmail.com> References: <174F64ED-48BF-45A3-AAC9-76C57809A863@gmail.com> <8757cb490812111511k123444cbs48a4a790f3e71d33@mail.gmail.com> <0A78685B-8B15-4937-8412-CD5C0F13C2FD@gmail.com> <8757cb490812111830x76e3e4daq6914d0773945ade9@mail.gmail.com> Message-ID: <6FF3B857-E606-4BE4-8EC0-BC8D9AE70FFC@gmail.com> On 11 Dec 2008, at 21:30, Bill Clementson wrote: > > "C-h m" or "C-h b" in the SLDB buffer will show you the available > SLIME debugger key bindings. > Hmm, looks like it should be (debug 3) instead. > >> How would I declare something for a file? > > At the top of the file use "declaim": > (declaim (optimize (debug 3))) > > Note that CCL may optimize code such that the actual line isn't shown > but it should get you to the right function. No dice. I even tried this: (declaim (optimize (speed 0) (space 0) (debug 3))) I still only get to l1-boot-3.lisp. Any other suggestions, perhaps were to look? (I will build the documentation now.) That's with SLIME CVS btw. > I just use the current CVS SLIME and the latest development version of > the CL that I'm working with and rarely have issues. OK, maybe we'll have to do that in Aquamacs, too, if no-one volunteers to make an installable .pkg so it can be updated independently. > > But C-c C-t is defined as a key binding in both slime mode and slime > repl mode, so why do you think C-c C-t "doesn't work as expected" if > it's bound to trace/untrace? You didn't say what buffer you wanted to > clear, but I'm assuming it's the REPL buffer. The command there is C-c > M-o. Thanks. I wish we had a consistent binding for that, e.g., in ESS (R) mode, C-c M-o doesn't work. Not SLIME's fault, but really an omission in Emacs (same for indentation functions). > Have you built the documentation for SLIME? It's actually quite good > and very readable. Just do "make" in the slime/doc directory and then > you can view the slime.info or slime.pdf files. Don't read the on-line > docs (on the SLIME home page) as they are terribly out-of-date. That's what I looked up when I was looking for the 'v' command. Didn't think the documentation online would be outdated. Why don't people update the online documentation (if it is so easy), or take it down? > Also, you would probably get better answers to slime-related questions > on the slime development list: > http://common-lisp.net/mailman/listinfo/slime-devel Yeah, I must say, I was subscribed to this a while ago. Recently I submitted a bug report with patch to the bugs mailing list, which bounced because I wasn't subscribed (I want to report a bug and its fix rather than reading all other people's bug reports or manage yet another mailing list subscription). I sent to Helmut Eller, I hope that was the right address (I haven't heard back). Thanks for your help, Bill! -------------- 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/20081212/da0afcaf/smime.bin From billclem at gmail.com Fri Dec 12 02:02:00 2008 From: billclem at gmail.com (Bill Clementson) Date: Fri Dec 12 02:02:04 2008 Subject: [OS X Emacs] Slime+OpenMCL: debugging In-Reply-To: <6FF3B857-E606-4BE4-8EC0-BC8D9AE70FFC@gmail.com> References: <174F64ED-48BF-45A3-AAC9-76C57809A863@gmail.com> <8757cb490812111511k123444cbs48a4a790f3e71d33@mail.gmail.com> <0A78685B-8B15-4937-8412-CD5C0F13C2FD@gmail.com> <8757cb490812111830x76e3e4daq6914d0773945ade9@mail.gmail.com> <6FF3B857-E606-4BE4-8EC0-BC8D9AE70FFC@gmail.com> Message-ID: <8757cb490812112302l35b81aa1g562dc9362c38fd03@mail.gmail.com> On Thu, Dec 11, 2008 at 10:03 PM, David Reitter wrote: > On 11 Dec 2008, at 21:30, Bill Clementson wrote: >> >> "C-h m" or "C-h b" in the SLDB buffer will show you the available >> SLIME debugger key bindings. > > > >> Hmm, looks like it should be (debug 3) instead. >> >>> How would I declare something for a file? >> >> At the top of the file use "declaim": >> (declaim (optimize (debug 3))) >> >> Note that CCL may optimize code such that the actual line isn't shown >> but it should get you to the right function. > > No dice. I even tried this: > > (declaim (optimize (speed 0) (space 0) (debug 3))) > > I still only get to l1-boot-3.lisp. > > Any other suggestions, perhaps were to look? (I will build the > documentation now.) > > That's with SLIME CVS btw. Hmm, that's odd. I haven't used CCL for a while now (I'm mostly using SBCL and Clojure at the moment); however, I do have a not-too-old copy of CCL on my Mac (dated 2008-09-18). My SLIME is 2008-12-02. I created a simple file, test.lisp: (declaim (optimize (debug 3))) (defun x (y z) (+ y z) (/ y z)) I do C-x C-s to save it and then do C-c C-k to compile the buffer. I then switch to the repl and I enter (x 3 0) and get an SLDB debugger buffer: DIVISION-BY-ZERO detected [Condition of type DIVISION-BY-ZERO] Restarts: 0: [RETRY] Retry SLIME REPL evaluation request. 1: [ABORT] Return to SLIME's top level. 2: [ABORT-BREAK] Reset this process 3: [ABORT] Kill this process Backtrace: 0: (CCL::%FIXNUM-TRUNCATE) 1: (CCL::INTEGER-/-INTEGER 3 0) 2: (/ 3 0) 3: (X 3 0) 4: (CCL::CALL-CHECK-REGS X 3 0) 5: (SWANK::EVAL-REGION "(x 3 0)\n") I place the cursor on #4 in the SLDB buffer and press 'v' - it goes to the beginning of the call-check-regs function. I then place the cursor on #3 in the SLDB buffer and press 'v' - it goes to the beginning of the x function. If you repeat the above steps, does this not work for you? >> I just use the current CVS SLIME and the latest development version of >> the CL that I'm working with and rarely have issues. > > OK, maybe we'll have to do that in Aquamacs, too, if no-one volunteers to > make an installable .pkg so it can be updated independently. I thought John Wiegley was going to do this (based on the earlier email exchange we had)? >> But C-c C-t is defined as a key binding in both slime mode and slime >> repl mode, so why do you think C-c C-t "doesn't work as expected" if >> it's bound to trace/untrace? You didn't say what buffer you wanted to >> clear, but I'm assuming it's the REPL buffer. The command there is C-c >> M-o. > > Thanks. I wish we had a consistent binding for that, e.g., in ESS (R) > mode, C-c M-o doesn't work. Not SLIME's fault, but really an omission in > Emacs (same for indentation functions). > >> Have you built the documentation for SLIME? It's actually quite good >> and very readable. Just do "make" in the slime/doc directory and then >> you can view the slime.info or slime.pdf files. Don't read the on-line >> docs (on the SLIME home page) as they are terribly out-of-date. > > That's what I looked up when I was looking for the 'v' command. Didn't > think the documentation online would be outdated. > Why don't people update the online documentation (if it is so easy), or take > it down? Yeah, it's crazy that the out-of-date stuff is left online (people have complained in the past; however, the old stuff is still there). It would be far better to not have any online documentation than to have out-of-date documentation. >> Also, you would probably get better answers to slime-related questions >> on the slime development list: >> http://common-lisp.net/mailman/listinfo/slime-devel > > Yeah, I must say, I was subscribed to this a while ago. > Recently I submitted a bug report with patch to the bugs mailing list, which > bounced because I wasn't subscribed (I want to report a bug and its fix > rather than reading all other people's bug reports or manage yet another > mailing list subscription). I sent to Helmut Eller, I hope that was the > right address (I haven't heard back). It would be better to submit patches to the developer's list and follow-up on the list if you don't hear back that someone committed the patch. There isn't a single "go to" person that handles patches submitted by developers who don't have commit privileges. > Thanks for your help, Bill! You're welcome. And, good luck with slime, it's worth the effort spent learning to use it if you intend to do any serious CL development work with emacs. -- Bill Clementson From david.reitter at gmail.com Fri Dec 12 10:36:43 2008 From: david.reitter at gmail.com (David Reitter) Date: Fri Dec 12 10:36:50 2008 Subject: [OS X Emacs] Slime+OpenMCL: debugging In-Reply-To: <8757cb490812112302l35b81aa1g562dc9362c38fd03@mail.gmail.com> References: <174F64ED-48BF-45A3-AAC9-76C57809A863@gmail.com> <8757cb490812111511k123444cbs48a4a790f3e71d33@mail.gmail.com> <0A78685B-8B15-4937-8412-CD5C0F13C2FD@gmail.com> <8757cb490812111830x76e3e4daq6914d0773945ade9@mail.gmail.com> <6FF3B857-E606-4BE4-8EC0-BC8D9AE70FFC@gmail.com> <8757cb490812112302l35b81aa1g562dc9362c38fd03@mail.gmail.com> Message-ID: <2ACF925C-B8A6-43A3-B40F-C9074F4E7E52@gmail.com> On 12 Dec 2008, at 02:02, Bill Clementson wrote: > I do C-x C-s to save it and then do C-c C-k to compile the buffer. I > then switch to the repl and I enter (x 3 0) and get an SLDB debugger > buffer: OK, progress. When I use C-c C-k to compile the file, it works as expected. It is only when I use C-c C-r or C-x C-e to redefine a single function (or evaluate the file) that debugging fails afterwards. As an Elisper, C-x C-e is pretty much what I'm used to and I'm surprised that compiling yields substantially (better) results than evaluating for debugging purposes... >> OK, maybe we'll have to do that in Aquamacs, too, if no-one >> volunteers to >> make an installable .pkg so it can be updated independently. > > I thought John Wiegley was going to do this (based on the earlier > email exchange we had)? Yes, but nothing has happened. I've e-mailed him (cc'ed you). - D -------------- 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/20081212/ee774a70/smime.bin From billclem at gmail.com Fri Dec 12 11:15:45 2008 From: billclem at gmail.com (Bill Clementson) Date: Fri Dec 12 12:19:25 2008 Subject: [OS X Emacs] Slime+OpenMCL: debugging In-Reply-To: <2ACF925C-B8A6-43A3-B40F-C9074F4E7E52@gmail.com> References: <174F64ED-48BF-45A3-AAC9-76C57809A863@gmail.com> <8757cb490812111511k123444cbs48a4a790f3e71d33@mail.gmail.com> <0A78685B-8B15-4937-8412-CD5C0F13C2FD@gmail.com> <8757cb490812111830x76e3e4daq6914d0773945ade9@mail.gmail.com> <6FF3B857-E606-4BE4-8EC0-BC8D9AE70FFC@gmail.com> <8757cb490812112302l35b81aa1g562dc9362c38fd03@mail.gmail.com> <2ACF925C-B8A6-43A3-B40F-C9074F4E7E52@gmail.com> Message-ID: <8757cb490812120815o1271696al1457314a2fe444ae@mail.gmail.com> Hi David, On Fri, Dec 12, 2008 at 7:36 AM, David Reitter wrote: > On 12 Dec 2008, at 02:02, Bill Clementson wrote: > >> I do C-x C-s to save it and then do C-c C-k to compile the buffer. I >> then switch to the repl and I enter (x 3 0) and get an SLDB debugger >> buffer: > > OK, progress. When I use C-c C-k to compile the file, it works as expected. > It is only when I use C-c C-r or C-x C-e to redefine a single function (or > evaluate the file) that debugging fails afterwards. > > As an Elisper, C-x C-e is pretty much what I'm used to and I'm surprised > that compiling yields substantially (better) results than evaluating for > debugging purposes... Ah, ok, that was your problem then. In SLIME, when you evaluate a single function or region, you are just sending the forms to SLIME for evaluation in CCL. When you compile a file (with C-c C-k), you are creating a fasl file from the source file. Without compiling the file, SLIME does not know what source file to use for debugging. >>> OK, maybe we'll have to do that in Aquamacs, too, if no-one volunteers to >>> make an installable .pkg so it can be updated independently. >> >> I thought John Wiegley was going to do this (based on the earlier >> email exchange we had)? > > Yes, but nothing has happened. I've e-mailed him (cc'ed you). -- Bill Clementson From joswig at lisp.de Wed Dec 17 08:45:11 2008 From: joswig at lisp.de (Rainer Joswig) Date: Wed Dec 17 08:45:26 2008 Subject: [OS X Emacs] Dired shows a remote directory twice since Mac OS X 10.5.6 Message-ID: Hi, Aquamacs 1.5, Mac OS X 10.5.6. I'm looking with dired at a remote directory from another Mac via Apple's filesharing. I have mounted this directory on my Mac via Apple's filesharing. The directory lists the contents just fine, but the last entry (which is another directory) is listed twice in the dired buffer. Looking at the directory using the Finder or some file open dialog lists this entry only once. I have observed this since the update to Mac OS X 10.5.6. It is also a persistent problem that does not go away with booting or unmounting/mounting the directory. Any ideas? Regards, Rainer -- http://lispm.dyndns.org/ From david.reitter at gmail.com Wed Dec 17 22:37:06 2008 From: david.reitter at gmail.com (David Reitter) Date: Wed Dec 17 22:37:14 2008 Subject: [OS X Emacs] Toolbar: labels only Message-ID: <763539A0-D104-4AF9-91F8-B4D47D106E89@gmail.com> Somebody wanted labels-only toolbars (as opposed to just icons, or icons+labels). I apologize that I can't remember who it was, and can't find the e-mail. From Aquamacs 1.6 on (or in CVS), you can do this in your Preferences.el: (setq mac-tool-bar-display-mode 'labels) and you'll have labels only to save screen real estate. -- 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/20081217/e09fca98/smime.bin From skip at pobox.com Thu Dec 18 18:57:12 2008 From: skip at pobox.com (skip@pobox.com) Date: Thu Dec 18 18:57:17 2008 Subject: [OS X Emacs] Toolbar: labels only In-Reply-To: <763539A0-D104-4AF9-91F8-B4D47D106E89@gmail.com> References: <763539A0-D104-4AF9-91F8-B4D47D106E89@gmail.com> Message-ID: <18762.58200.683660.47122@montanaro-dyndns-org.local> David> From Aquamacs 1.6 on (or in CVS), you can do this in your David> Preferences.el: David> (setq mac-tool-bar-display-mode 'labels) David> and you'll have labels only to save screen real estate. I take it 1.6 isn't out yet. Isn't "toolbar" usually spelled without a hyphen? -- Skip Montanaro - skip@pobox.com - http://smontanaro.dyndns.org/ From david.reitter at gmail.com Thu Dec 18 23:21:24 2008 From: david.reitter at gmail.com (David Reitter) Date: Thu Dec 18 23:21:40 2008 Subject: [OS X Emacs] Toolbar: labels only In-Reply-To: <18762.58200.683660.47122@montanaro-dyndns-org.local> References: <763539A0-D104-4AF9-91F8-B4D47D106E89@gmail.com> <18762.58200.683660.47122@montanaro-dyndns-org.local> Message-ID: Skipped content of type multipart/mixed-------------- 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/20081218/531064bf/smime.bin From tsd at tsdye.com Thu Dec 25 22:56:34 2008 From: tsd at tsdye.com (Thomas S. Dye) Date: Thu Dec 25 23:23:19 2008 Subject: [OS X Emacs] Lost menu bar Message-ID: Aloha all, After turning on Full Screen mode in Aquamacs, then exiting the program when I couldn't figure out how to exit the mode, I now find that the menu bar at the top of the screen (Aquamacs File Edit ...) disappears when I launch Aquamacs. How do I get it back? All the best, Tom Thomas S. Dye, Ph.D. T. S. Dye & Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20081225/920195a5/attachment.html From tsd at tsdye.com Thu Dec 25 23:06:50 2008 From: tsd at tsdye.com (Thomas S. Dye) Date: Thu Dec 25 23:33:35 2008 Subject: [OS X Emacs] Lost menu bar again Message-ID: <916300A2-6A94-4408-B526-F17572EDBA09@tsdye.com> Aloha all, I found the menu bar when I moved the mouse to the top of the screen and the menu bar slid down into place. I got it to stay there when I invoked Full Screen Editing again. This brought back the menu bar, but didn't change the size of the Aquamacs window. Merry Christmas! Tom Thomas S. Dye, Ph.D. T. S. Dye & Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20081225/92719e9c/attachment.html From david.reitter at gmail.com Sun Dec 28 23:35:13 2008 From: david.reitter at gmail.com (David Reitter) Date: Sun Dec 28 23:35:19 2008 Subject: [OS X Emacs] full-screen for Emacs 23/Cocoa? Message-ID: <82AA20D8-55E9-4252-AEBD-0E406F79F86D@gmail.com> Is there a mac-fullscreen patch available for Emacs 23 / Cocoa, or is there an effort underway to port this patch? Thanks - David From ian at digg.com Mon Dec 29 12:44:15 2008 From: ian at digg.com (Ian Eure) Date: Mon Dec 29 13:02:56 2008 Subject: [OS X Emacs] full-screen for Emacs 23/Cocoa? In-Reply-To: <82AA20D8-55E9-4252-AEBD-0E406F79F86D@gmail.com> References: <82AA20D8-55E9-4252-AEBD-0E406F79F86D@gmail.com> Message-ID: <36F44CF6-671A-493F-BB7E-0EB0A2500074@digg.com> On Dec 28, 2008, at 8:35 PM, David Reitter wrote: > Is there a mac-fullscreen patch available for Emacs 23 / Cocoa, or > is there an effort underway to port this patch? > From a cursory examination, there doesn't seem to be fullscreen support in the Cocoa version in CVS HEAD. - Ian