From nick.reich at gmail.com Tue Jun 13 00:15:03 2006 From: nick.reich at gmail.com (Nick Reich) Date: Mon, 12 Jun 2006 11:15:03 -0400 Subject: [macemacsjp-english 584] graphical windows using ESS and R Message-ID: Hello, I am using R (the statistical software) with this Emacs package and am trying to have graphical windows pop-up as I work in my interactive session with R. For example, I'd like to type "plot(rnorm (50))" and have the little R plot of these fifty observations from a normal distribution be displayed in a new graphical window. This is possible when running emacs in a terminal-type environment. Is is possible using this installation of Emacs? As it is, any plots generated by commands that I type are sent by default to a file called Rplots.ps in the working directory. But for an interactive session, this is not so useful. Is there a way to coerce these graphics to open up in this or another application? Thanks, Nick From khansen at stat.Berkeley.EDU Tue Jun 13 08:13:40 2006 From: khansen at stat.Berkeley.EDU (Kasper Daniel Hansen) Date: Mon, 12 Jun 2006 16:13:40 -0700 Subject: [macemacsjp-english 585] Re: graphical windows using ESS and R In-Reply-To: References: Message-ID: Hi Nick On the Mac you have two screen plotting devices: the X11 interface and the Aqua interface. I assume you are interested in getting X11 to work. For that to happen you need to 1) Install and start the X11 server from the development tools 2) Make sure your DISPLAY variable is set Since you can do everything in a terminal I assume that X11 is installed and started. You now need to make the R runing inside Carbon Emacs aware of your display setting. One way to make sure that it works is doing R> Sys.putenv(DISPLAY = ":0.0") this sets the environment variable from inside of R. You can check what the current value is by doing \ R> Sys.getenv("DISPLAY") The reason why you get a Rplot.ps file is that R at startup does not detect X11 and then it uses the postscript device as the default device (the plot command writes to the default device per .... default :) If you want a more permanent solution (and you do) you can put it inside ~/.profile so that this file contains the following line export DISPLAY=:0.0 You may have to log out and back in again for this to work. The advantage of putting it in .profile is that it will work for other applications too. Another way, which is R specific, is to put the command above inside an R configuration file. There are several choices (~/.Renviron, ~/.Rprofile) , but some of them will not work if you need to run R in BATCH mode. I suggest you go the .profile route. The reason why it works under the terminal is probably because you have some display setting which is not being detected outside the terminal (note again, that you may have to log out and log in again fro this to work). As you can guess, I am using R under ESS without any problems. Please get back if the above does not help. In that case, please post the results of Sys.getenv("DISPLAY") from both the terminal version of ESS and the Carbon Emacs version. /Kasper On Jun 12, 2006, at 8:15 AM, Nick Reich wrote: > Hello, > > I am using R (the statistical software) with this Emacs package and > am trying to have graphical windows pop-up as I work in my > interactive session with R. For example, I'd like to type "plot(rnorm > (50))" and have the little R plot of these fifty observations from a > normal distribution be displayed in a new graphical window. This is > possible when running emacs in a terminal-type environment. Is is > possible using this installation of Emacs? > > As it is, any plots generated by commands that I type are sent by > default to a file called Rplots.ps in the working directory. But for > an interactive session, this is not so useful. > > Is there a way to coerce these graphics to open up in this or another > application? > > Thanks, > Nick > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english From cstacy at dtpq.com Tue Jun 13 13:50:57 2006 From: cstacy at dtpq.com (Christopher C.Stacy) Date: Tue, 13 Jun 2006 00:50:57 -0400 Subject: [macemacsjp-english 586] Emacs hanging In-Reply-To: <20060613030016.B27404B1585@lists.sourceforge.jp> References: <20060613030016.B27404B1585@lists.sourceforge.jp> Message-ID: <17550.17457.449803.670555@OSX663.local> I have two frames and many windows open, the same buffer displayed several times, and have been merrily editing along all day. Then, Emacs suddenly becomes non-responsive. Even c-G does nothing. Redisplay seems hung up. I can open a new frame and do commands, but anything that accesses the buffer that was stuck will hang this window also. (Including trying to save the buffer!) Must resort to the operating system to kill Emacs. That's all I know. Does this sound familiar? From nick.reich at gmail.com Tue Jun 13 23:53:44 2006 From: nick.reich at gmail.com (Nick Reich) Date: Tue, 13 Jun 2006 10:53:44 -0400 Subject: [macemacsjp-english 587] Re: graphical windows using ESS and R In-Reply-To: References: Message-ID: <210EC5E2-3CFB-4BC5-996B-542E2089CD1B@gmail.com> Kasper- Thanks for your help here. I am indeed trying to use X11 as the plotting device. Your explanation of these different environment variable settings is very instructive. However, I'm still running into a problem when trying to use Carbon Emacs interactively. I created the ~/.profile file and restarted my computer. Here is what I tried next: If I start up X11 and type the command $> R to get R started, I can use graphical commands (e.g. plot(1:10)) and the plot displays in a new window. The result from the command line for the getenv query in X11 is: R> Sys.getenv("DISPLAY") DISPLAY ":0.0" However, when I open CarbonEmacs, start R using "M-x R" and enter the same query I have the following result: R> Sys.getenv("DISPLAY") DISPLAY "" I tried plotting something and no new window popped up. So I set the DISPLAY variable locally by entering: R> Sys.putenv(DISPLAY=":0.0") And then checked that it was set right: R> Sys.getenv("DISPLAY") DISPLAY ":0.0" But still, when I enter a plotting command no window pops up and the Rplots.ps file is in my working directory. Are there other modifications I need to make for the X11 server to be recognized by CarbonEmacs? Thanks again for your help, Nick On Jun 12, 2006, at 7:13 PM, Kasper Daniel Hansen wrote: > Hi Nick > > On the Mac you have two screen plotting devices: the X11 interface > and the Aqua interface. I assume you are interested in getting X11 to > work. For that to happen you need to > 1) Install and start the X11 server from the development tools > 2) Make sure your DISPLAY variable is set > Since you can do everything in a terminal I assume that X11 is > installed and started. You now need to make the R runing inside > Carbon Emacs aware of your display setting. One way to make sure that > it works is doing > R> Sys.putenv(DISPLAY = ":0.0") > this sets the environment variable from inside of R. You can check > what the current value is by doing \ > R> Sys.getenv("DISPLAY") > The reason why you get a Rplot.ps file is that R at startup does not > detect X11 and then it uses the postscript device as the default > device (the plot command writes to the default device per .... > default :) > > If you want a more permanent solution (and you do) you can put it > inside ~/.profile so that this file contains the following line > export DISPLAY=:0.0 > You may have to log out and back in again for this to work. The > advantage of putting it in .profile is that it will work for other > applications too. Another way, which is R specific, is to put the > command above inside an R configuration file. There are several > choices (~/.Renviron, ~/.Rprofile) , but some of them will not work > if you need to run R in BATCH mode. I suggest you go the .profile > route. The reason why it works under the terminal is probably because > you have some display setting which is not being detected outside the > terminal (note again, that you may have to log out and log in again > fro this to work). > > As you can guess, I am using R under ESS without any problems. Please > get back if the above does not help. In that case, please post the > results of Sys.getenv("DISPLAY") from both the terminal version of > ESS and the Carbon Emacs version. > > /Kasper > > > > On Jun 12, 2006, at 8:15 AM, Nick Reich wrote: > >> Hello, >> >> I am using R (the statistical software) with this Emacs package and >> am trying to have graphical windows pop-up as I work in my >> interactive session with R. For example, I'd like to type "plot >> (rnorm >> (50))" and have the little R plot of these fifty observations from a >> normal distribution be displayed in a new graphical window. This is >> possible when running emacs in a terminal-type environment. Is is >> possible using this installation of Emacs? >> >> As it is, any plots generated by commands that I type are sent by >> default to a file called Rplots.ps in the working directory. But for >> an interactive session, this is not so useful. >> >> Is there a way to coerce these graphics to open up in this or another >> application? >> >> Thanks, >> Nick >> _______________________________________________ >> macemacsjp-english mailing list >> macemacsjp-english at lists.sourceforge.jp >> http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english From Peter_Dyballa at Web.DE Wed Jun 14 06:36:44 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue, 13 Jun 2006 23:36:44 +0200 Subject: [macemacsjp-english 588] Re: graphical windows using ESS and R In-Reply-To: <210EC5E2-3CFB-4BC5-996B-542E2089CD1B@gmail.com> References: <210EC5E2-3CFB-4BC5-996B-542E2089CD1B@gmail.com> Message-ID: Am 13.06.2006 um 16:53 schrieb Nick Reich: > Are there other modifications I need to make for the X11 server to be > recognized by CarbonEmacs? It seems DISPLAY must be set in the process environment of Carbon Emacs. So it would be needed set in ~/.MacOSX/environment.plist ... You can modify ~/.xinitrc to write DISPLAY into ~/.MacOSX/ environment.plist when X11 is launched, and delete it when X11 quits: defaults write ${HOME}/.MacOSX/environment "DISPLAY" $DISPLAY # near the beginning ... ( quartz-wm ; defaults delete ${HOME}/.MacOSX/environment "DISPLAY" ) # last line best You would need to launch Carbon Emacs after X11 was launched. In case you're the only user on the Mac you can invoke the line defaults write ${HOME}/.MacOSX/environment "DISPLAY" :0 once and for the time following DISPLAY will be set in all Quartz applications launched afterwards. -- Greetings Pete ????? ?snq? ?,u?? no? ??? ?u?????u? s?? poo? ????? From khansen at stat.Berkeley.EDU Wed Jun 14 08:19:55 2006 From: khansen at stat.Berkeley.EDU (Kasper Daniel Hansen) Date: Tue, 13 Jun 2006 16:19:55 -0700 Subject: [macemacsjp-english 589] Re: graphical windows using ESS and R In-Reply-To: References: <210EC5E2-3CFB-4BC5-996B-542E2089CD1B@gmail.com> Message-ID: <73E2F12A-DA2C-404B-93EC-A397F6FDC8EC@stat.berkeley.edu> On Jun 13, 2006, at 2:36 PM, Peter Dyballa wrote: > > Am 13.06.2006 um 16:53 schrieb Nick Reich: > >> Are there other modifications I need to make for the X11 server to be >> recognized by CarbonEmacs? > > It seems DISPLAY must be set in the process environment of Carbon > Emacs. So it would be needed set in ~/.MacOSX/environment.plist ... I must have forgotten how I solved the problem, it was some time ago. I am sure Peter's suggestion below makes sense. It seems to have the advantage that X11 will work with all Emacs stuff, not just R. However, I am certain this is not how I did it. After going through my configuration files I think the following id the solution: create (or modify) the file ~/.Rprofile, to contain something like if(Sys.getenv("DISPLAY") == "") Sys.putenv("DISPLAY" = ":0.0") The reason why you do not get an X11 window after modifying your DISPLAY setting is probably because the default plotting device was set up as you started R, but after ~/.Rprofile has been read. I would assume that the following would work from an R session R> Sys.putenv(DISPLAY = ":0.0") R> x11() since it specifically asks for an X11 device. What you get out of the .Rprofile is just that your default plot device gets altered. If this still does not work, I must look through my configuration again ... :) /Kasper > > You can modify ~/.xinitrc to write DISPLAY into ~/.MacOSX/ > environment.plist when X11 is launched, and delete it when X11 quits: > > defaults write ${HOME}/.MacOSX/environment "DISPLAY" $DISPLAY # > near the beginning > ... > ( quartz-wm ; defaults delete ${HOME}/.MacOSX/environment > "DISPLAY" ) # last line best > > You would need to launch Carbon Emacs after X11 was launched. In case > you're the only user on the Mac you can invoke the line > > defaults write ${HOME}/.MacOSX/environment "DISPLAY" :0 > > once and for the time following DISPLAY will be set in all Quartz > applications launched afterwards. > > -- > Greetings > > Pete > > ????? ?snq? ?,u?? no? ??? > ?u?????u? s?? poo? ????? > > > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english From nick.reich at gmail.com Wed Jun 14 08:41:25 2006 From: nick.reich at gmail.com (Nick Reich) Date: Tue, 13 Jun 2006 19:41:25 -0400 Subject: [macemacsjp-english 590] Re: graphical windows using ESS and R In-Reply-To: <73E2F12A-DA2C-404B-93EC-A397F6FDC8EC@stat.berkeley.edu> References: <210EC5E2-3CFB-4BC5-996B-542E2089CD1B@gmail.com> <73E2F12A-DA2C-404B-93EC-A397F6FDC8EC@stat.berkeley.edu> Message-ID: <5F417D5D-514D-4968-AEF0-84B01483AAC6@gmail.com> Just to close the loop on this, the ~/.Rprofile solution seems to work just fine. The other solution (while probably slightly preferable since it would take care of all Emacs processes) seemed a little more complicated and I haven't tried it yet. Many thanks to you both! Nick On Jun 13, 2006, at 7:19 PM, Kasper Daniel Hansen wrote: > > On Jun 13, 2006, at 2:36 PM, Peter Dyballa wrote: > >> >> Am 13.06.2006 um 16:53 schrieb Nick Reich: >> >>> Are there other modifications I need to make for the X11 server >>> to be >>> recognized by CarbonEmacs? >> >> It seems DISPLAY must be set in the process environment of Carbon >> Emacs. So it would be needed set in ~/.MacOSX/environment.plist ... > > I must have forgotten how I solved the problem, it was some time ago. > > I am sure Peter's suggestion below makes sense. It seems to have the > advantage that X11 will work with all Emacs stuff, not just R. > However, I am certain this is not how I did it. > > After going through my configuration files I think the following id > the solution: create (or modify) the file ~/.Rprofile, to contain > something like > > if(Sys.getenv("DISPLAY") == "") > Sys.putenv("DISPLAY" = ":0.0") > > The reason why you do not get an X11 window after modifying your > DISPLAY setting is probably because the default plotting device was > set up as you started R, but after ~/.Rprofile has been read. I would > assume that the following would work from an R session > > R> Sys.putenv(DISPLAY = ":0.0") > R> x11() > > since it specifically asks for an X11 device. What you get out of > the .Rprofile is just that your default plot device gets altered. > > If this still does not work, I must look through my configuration > again ... :) > > /Kasper > >> >> You can modify ~/.xinitrc to write DISPLAY into ~/.MacOSX/ >> environment.plist when X11 is launched, and delete it when X11 quits: >> >> defaults write ${HOME}/.MacOSX/environment "DISPLAY" $DISPLAY # >> near the beginning >> ... >> ( quartz-wm ; defaults delete ${HOME}/.MacOSX/environment >> "DISPLAY" ) # last line best >> >> You would need to launch Carbon Emacs after X11 was launched. In case >> you're the only user on the Mac you can invoke the line >> >> defaults write ${HOME}/.MacOSX/environment "DISPLAY" :0 >> >> once and for the time following DISPLAY will be set in all Quartz >> applications launched afterwards. >> >> -- >> Greetings >> >> Pete >> >> ????? ?snq? ?,u?? no? ??? >> ?u?????u? s?? poo? ????? >> >> >> _______________________________________________ >> macemacsjp-english mailing list >> macemacsjp-english at lists.sourceforge.jp >> http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english From Peter_Dyballa at Web.DE Wed Jun 14 17:58:32 2006 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed, 14 Jun 2006 10:58:32 +0200 Subject: [macemacsjp-english 591] Re: graphical windows using ESS and R In-Reply-To: <5F417D5D-514D-4968-AEF0-84B01483AAC6@gmail.com> References: <210EC5E2-3CFB-4BC5-996B-542E2089CD1B@gmail.com> <73E2F12A-DA2C-404B-93EC-A397F6FDC8EC@stat.berkeley.edu> <5F417D5D-514D-4968-AEF0-84B01483AAC6@gmail.com> Message-ID: <7636FDD0-BF12-4DC0-8F18-A0AD7D833B44@Web.DE> Am 14.06.2006 um 01:41 schrieb Nick Reich: > The other solution (while probably slightly > preferable since it would take care of all Emacs processes) seemed a > little more complicated and I haven't tried it yet. And my suggestion has one flaw: if you do not have yet created somehow the directory ~/.MacOSX it will fail! So an 'mkdir /.MacOSX' would have been necessary before all ... -- Greetings Pete These are my principles and if you don't like them... well, I have others. - Groucho Marx From zenitani at mac.com Sat Jun 17 13:36:29 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Sat, 17 Jun 2006 13:36:29 +0900 Subject: [macemacsjp-english 592] new beta Message-ID: Hi list, New beta is here: http://macemacsjp.sourceforge.jp/package/test/ -- Seiji From chasrmartin at gmail.com Sun Jun 18 13:57:50 2006 From: chasrmartin at gmail.com (Charles Martin) Date: Sat, 17 Jun 2006 22:57:50 -0600 Subject: [macemacsjp-english 593] Re: macemacsjp-english Digest, Vol 16, Issue 4 In-Reply-To: <20060618030019.383384B1764@lists.sourceforge.jp> References: <20060618030019.383384B1764@lists.sourceforge.jp> Message-ID: Seijisan --- Where did the carbon fonts go? From zenitani at mac.com Sun Jun 18 14:13:44 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Sun, 18 Jun 2006 14:13:44 +0900 Subject: [macemacsjp-english 594] Re: macemacsjp-english Digest, Vol 16, Issue 4 In-Reply-To: References: <20060618030019.383384B1764@lists.sourceforge.jp> Message-ID: Martin, On 2006/06/18, at 13:57, Charles Martin wrote: > Seijisan --- Where did the carbon fonts go? You will find the following files inside the application. The "fixed-width-fontset" is a successor of the carbon-font. Emacs.app/Contents/Resources/site-lisp/mac/carbon-font.el Emacs.app/Contents/Resources/site-lisp/mac/fixed-width-fontset.el -- Seiji From zenitani at mac.com Mon Jun 19 03:38:46 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Mon, 19 Jun 2006 03:38:46 +0900 Subject: [macemacsjp-english 595] Carbon Emacs Package (Jun. '06) Message-ID: <0A60E975-3A1E-4D9E-BF94-8827F9192B30@mac.com> Hi all, I have released Carbon Emacs Package (Jun. '06). http://homepage.mac.com/zenitani/emacs-e.html Sincerely, -- Seiji Zenitani zenitani at mac.com From alama at stanford.edu Mon Jun 19 04:45:48 2006 From: alama at stanford.edu (Jesse Alama) Date: Sun, 18 Jun 2006 12:45:48 -0700 Subject: [macemacsjp-english 596] Re: Carbon Emacs Package (Jun. '06) In-Reply-To: <0A60E975-3A1E-4D9E-BF94-8827F9192B30@mac.com> References: <0A60E975-3A1E-4D9E-BF94-8827F9192B30@mac.com> Message-ID: Great! Thanks for all your work on this. Warm regards, Jesse On 6/18/06, Seiji Zenitani wrote: > Hi all, > > I have released Carbon Emacs Package (Jun. '06). > > http://homepage.mac.com/zenitani/emacs-e.html > > > Sincerely, > > -- > Seiji Zenitani > zenitani at mac.com > > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > -- Jesse Alama (alama at stanford.edu) From irodori at irodori.sakura.ne.jp Tue Jun 20 21:41:02 2006 From: irodori at irodori.sakura.ne.jp (irodori at irodori.sakura.ne.jp) Date: Tue, 20 Jun 2006 21:41:02 +0900 Subject: [macemacsjp-english 597] Carbon Emacs Package for Panther 2006/04 is out Message-ID: Hello everyone. Carbon Emacs Package for Panther (or later) 2006/06 is out. This package is based on 2006/06 created by Zenitani-san. It is available at: http://irodori.sakura.ne.jp/carbon-emacs/index.en.xhtml Regards. -- Eiji Honjoh irodori RINGO - little tools for Mac OS X http://irodori.sakura.ne.jp/ From statmobile at gmail.com Mon Jun 26 03:38:16 2006 From: statmobile at gmail.com (Brian J. Lopes) Date: Sun, 25 Jun 2006 14:38:16 -0400 Subject: [macemacsjp-english 598] 2006-06-16 Build and AUCTeX Message-ID: <20060625183816.GA22998@bjl> Hey Everyone! First off, Seiji, this is an awesome build of emacs for the OS X system, keep up the great work! You help me miss my GNU/Linux less and less while working on my ibook. I'm wondering if anybody else is experiencing problems with using AUCTeX on the latest build. In particular, AUCTeX loads fine, but auto-fill mode, and flyspell don't seem to be loading up. It is currently working fine on my 2006-03-25 build, but if I install 2006-06-16 it won't work. Note that I'm also using preview-latex, but turning that off doesn't help my situation. My .emacs is as follows: ;; based upon what I found at: ;; http://www.tug.org/pipermail/macostex-archives/2004-September/009765.html ;; To load AUCTeX (Enhanced LaTeX editing) ;; tex/auctex stuff (require 'tex-site) (add-hook 'LaTeX-mode-hook (function (lambda () (require 'reftex) (turn-on-reftex) (setq reftex-plug-into-AUCTeX t) (outline-minor-mode) (turn-on-auto-fill) (setq ispell-parser 'tex) (flyspell-mode) ))) Thanks in advance for any input. -- To know that we know what we know, and that we do not know what we do not know, that is true knowledge --Henry David Thoreau (quoting Confucius): Walden From irodori at irodori.sakura.ne.jp Mon Jun 26 12:41:40 2006 From: irodori at irodori.sakura.ne.jp (irodori at irodori.sakura.ne.jp) Date: Mon, 26 Jun 2006 12:41:40 +0900 Subject: [macemacsjp-english 599] Re: Carbon Emacs Package for Panther 2006/06 is out In-Reply-To: References: Message-ID: Hello everyone. At Tue, 20 Jun 2006 21:41:02 +0900, Saiki wrote: > Carbon Emacs Package for Panther (or later) 2006/06 is out. > This package is based on 2006/06 created by Zenitani-san. I'm sorry that this package does not include packages from third-party (wl, mew, aspell and others). I will recompile it in a day. Regards. -- Eiji Honjoh as Saiki irodori RINGO - little tools for Mac OS X http://irodori.sakura.ne.jp/ From zenitani at mac.com Mon Jun 26 21:35:27 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Mon, 26 Jun 2006 21:35:27 +0900 Subject: [macemacsjp-english 600] Re: 2006-06-16 Build and AUCTeX In-Reply-To: <20060625183816.GA22998@bjl> References: <20060625183816.GA22998@bjl> Message-ID: <665EF906-BC90-41C4-82B2-6426484342ED@mac.com> Hi, On 2006/06/26, at 3:38, Brian J. Lopes wrote: > Hey Everyone! > > First off, Seiji, this is an awesome build of emacs for the OS X > system, keep up the great work! You help me miss my GNU/Linux less > and less while working on my ibook. > > I'm wondering if anybody else is experiencing problems with using > AUCTeX on the latest build. In particular, AUCTeX loads fine, but > auto-fill mode, and flyspell don't seem to be loading up. It is > currently working fine on my 2006-03-25 build, but if I install > 2006-06-16 it won't work. Note that I'm also using preview-latex, but > turning that off doesn't help my situation. Regarding AUCTeX, there is no drastic change between 2006-03-25 build (auctex 11.82) and 2006-06-16 build (auctex 11.83). I tried the following .emacs on my 2006-06-16 build, both auto-fill and flyspell works fine. Does anyone experience similar problems? -- Seiji > My .emacs is as follows: > > > ;; based upon what I found at: > ;; http://www.tug.org/pipermail/macostex-archives/2004-September/ > 009765.html > > ;; To load AUCTeX (Enhanced LaTeX editing) > ;; tex/auctex stuff > (require 'tex-site) > > (add-hook 'LaTeX-mode-hook > (function (lambda () > (require 'reftex) > (turn-on-reftex) > (setq reftex-plug-into-AUCTeX t) > (outline-minor-mode) > (turn-on-auto-fill) > (setq ispell-parser 'tex) > (flyspell-mode) > ))) > > From irodori at irodori.sakura.ne.jp Mon Jun 26 22:59:26 2006 From: irodori at irodori.sakura.ne.jp (irodori at irodori.sakura.ne.jp) Date: Mon, 26 Jun 2006 22:59:26 +0900 Subject: [macemacsjp-english 601] Re: Carbon Emacs Package for Panther 2006/06 is out In-Reply-To: References: Message-ID: Hello everyone. At Mon, 26 Jun 2006 12:41:40 +0900, Saiki wrote: > I'm sorry that this package does not include packages from > third-party (wl, mew, aspell and others). I will recompile it in a > day. I rebuilt package as Ver.20060626. It is available at: http://irodori.sakura.ne.jp/carbon-emacs/index.en.xhtml Regards. -- Eiji Honjoh as Saiki irodori RINGO - little tools for Mac OS X http://irodori.sakura.ne.jp/ From statmobile at gmail.com Tue Jun 27 04:06:51 2006 From: statmobile at gmail.com (Brian J. Lopes) Date: Mon, 26 Jun 2006 15:06:51 -0400 Subject: [macemacsjp-english 602] Re: 2006-06-16 Build and AUCTeX In-Reply-To: <665EF906-BC90-41C4-82B2-6426484342ED@mac.com> References: <20060625183816.GA22998@bjl> <665EF906-BC90-41C4-82B2-6426484342ED@mac.com> Message-ID: <20060626190651.GA27622@bjl> > Regarding AUCTeX, there is no drastic change between 2006-03-25 build > (auctex 11.82) and 2006-06-16 build (auctex 11.83). I tried the > following .emacs on my 2006-06-16 build, both auto-fill and flyspell > works fine. > Does anyone experience similar problems? > Seiji, Thanks for your help, silly me didn't try this code _alone_ as my .emacs, and it works for me as well in the latest build. Yet, it still doesn't work when I have it in my entire .emacs file. The configuration files is a bit daunting and sloppy, which is why I hesitate to include it. One of those to-do items, clean up .emacs so it is easier to read. Anyway, the same .emacs works fine on the March build of Carbon Emacs, so there is still something fishy going on. I have traced the problem back to the following lines in my .emacs file: ========================================= ; Look in local elisp folder first (setq load-path (append load-path (list nil "~/.elisp") load-path)) ; Point Apple emacs /usr/bin/emacs to Carbon Emacs packages (setq load-path (append load-path (list nil "/Applications/myapps/Emacs.app/Contents/Resources/share/emacs/22.0.50/site-lisp)load-path)) ========================================= I have this so that I can use local elisp packages, as well as a line similar to this that points to the Carbon emacs elisp packages. The reason for doing this is that I try to use the Apple installed emacs as my default editor. In order for it not to complain, it needs to know where all these packages are installed so that it won't keep crashing while parsing my .emacs file. Do you have any advice for me? Thanks, Brian From zenitani at mac.com Thu Jun 29 22:40:39 2006 From: zenitani at mac.com (Seiji Zenitani) Date: Thu, 29 Jun 2006 22:40:39 +0900 Subject: [macemacsjp-english 603] Re: 2006-06-16 Build and AUCTeX In-Reply-To: <20060626190651.GA27622@bjl> References: <20060625183816.GA22998@bjl> <665EF906-BC90-41C4-82B2-6426484342ED@mac.com> <20060626190651.GA27622@bjl> Message-ID: Hi, On 2006/06/27, at 4:06, Brian J. Lopes wrote: > > I have this so that I can use local elisp packages, as well as a line > similar to this that points to the Carbon emacs elisp packages. The > reason for doing this is that I try to use the Apple installed emacs > as my default editor. In order for it not to complain, it needs to > know where all these packages are installed so that it won't keep > crashing while parsing my .emacs file. Do you have any advice for me? I'm not sure but the *Messages* buffer will provide good hints... -- Seiji