From zenitani at mac.com Sun Feb 4 06:37:37 2007 From: zenitani at mac.com (Seiji Zenitani) Date: Sat, 3 Feb 2007 16:37:37 -0500 Subject: [macemacsjp-english 870] auctex/pdf Message-ID: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> Dear all, Regarding the auctex/pdf issue, does everyone become happier if I put the below line into /Applications/Emacs.app/Contents/Resources/site- lisp/auctex/tex.el(elc)? "%(o?)xdvi %dS -paper a5r -s 0 %d") ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$") "%(o?)xdvi %dS -paper a5 %d") + ("^pdf$" "." "open -a Preview.app %o") ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)") ("^html?$" "." "netscape %o")) "List of output file extensions and view options. Seiji From okumura at edu.mie-u.ac.jp Sun Feb 4 08:26:49 2007 From: okumura at edu.mie-u.ac.jp (Haruhiko Okumura) Date: Sun, 04 Feb 2007 08:26:49 +0900 (JST) Subject: [macemacsjp-english 871] Re: auctex/pdf In-Reply-To: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> Message-ID: <20070204.082649.106788551.okumura@edu.mie-u.ac.jp> Is "open -a Preview.app %o" equivalent to "open %o" in the default setting of Mac? With auctex, PDFView.app is so much easier to use that I'm willing to make it the default PDF viewer. Seiji Zenitani wrote: > Dear all, > > Regarding the auctex/pdf issue, does everyone become happier if I put > the below line into /Applications/Emacs.app/Contents/Resources/site- > lisp/auctex/tex.el(elc)? > > "%(o?)xdvi %dS -paper a5r -s 0 %d") > ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$") > "%(o?)xdvi %dS -paper a5 %d") > + ("^pdf$" "." "open -a Preview.app %o") > ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)") > ("^html?$" "." "netscape %o")) > "List of output file extensions and view options. > > > Seiji > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > -- Haruhiko Okumura Faculty of Education, Mie University From zenitani at mac.com Sun Feb 4 08:42:55 2007 From: zenitani at mac.com (Seiji Zenitani) Date: Sat, 3 Feb 2007 18:42:55 -0500 Subject: [macemacsjp-english 872] Re: auctex/pdf In-Reply-To: <20070204.082649.106788551.okumura@edu.mie-u.ac.jp> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <20070204.082649.106788551.okumura@edu.mie-u.ac.jp> Message-ID: <19D87561-B2D5-4C43-9239-E2516CBE798E@mac.com> Okumura-san, On 2007/02/03, at 18:26, Haruhiko Okumura wrote: > Is "open -a Preview.app %o" equivalent to "open %o" in the default > setting of Mac? With auctex, PDFView.app is so much easier to use > that I'm willing to make it the default PDF viewer. > Since I don't like Adobe Reader, I usually add "-a Preview.app" explicitly. However, as a default configuration, "open %o" is more preferable, because the user can associate his/her favorite application with the ".pdf" extension. So, the below line is OK? + ("^pdf$" "." "open %o") Seiji > Seiji Zenitani wrote: > >> Dear all, >> >> Regarding the auctex/pdf issue, does everyone become happier if I put >> the below line into /Applications/Emacs.app/Contents/Resources/site- >> lisp/auctex/tex.el(elc)? >> >> "%(o?)xdvi %dS -paper a5r -s 0 %d") >> ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$") >> "%(o?)xdvi %dS -paper a5 %d") >> + ("^pdf$" "." "open -a Preview.app %o") >> ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)") >> ("^html?$" "." "netscape %o")) >> "List of output file extensions and view options. >> >> >> Seiji >> _______________________________________________ >> macemacsjp-english mailing list >> macemacsjp-english at lists.sourceforge.jp >> http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english >> > > -- > Haruhiko Okumura > Faculty of Education, Mie University > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english From okumura at edu.mie-u.ac.jp Sun Feb 4 09:00:37 2007 From: okumura at edu.mie-u.ac.jp (Haruhiko Okumura) Date: Sun, 04 Feb 2007 09:00:37 +0900 (JST) Subject: [macemacsjp-english 873] Re: auctex/pdf In-Reply-To: <19D87561-B2D5-4C43-9239-E2516CBE798E@mac.com> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <20070204.082649.106788551.okumura@edu.mie-u.ac.jp> <19D87561-B2D5-4C43-9239-E2516CBE798E@mac.com> Message-ID: <20070204.090037.217871254.okumura@edu.mie-u.ac.jp> Nobody wants to run Adobe Reader to preview TeX-generated PDF :-) so if Adobe Reader has any chance of being aroused by the "open %o" spell, I agree with you in specifying "-a Preview.app" explicitly. I use PDFView.app and TeXShop.app because they can automatically reload modified PDF files. Seiji Zenitani wrote: > Okumura-san, > > On 2007/02/03, at 18:26, Haruhiko Okumura wrote: > > > Is "open -a Preview.app %o" equivalent to "open %o" in the default > > setting of Mac? With auctex, PDFView.app is so much easier to use > > that I'm willing to make it the default PDF viewer. > > > Since I don't like Adobe Reader, I usually add "-a Preview.app" > explicitly. However, as a default configuration, "open %o" is more > preferable, because the user can associate his/her favorite > application with the ".pdf" extension. > > So, the below line is OK? > > + ("^pdf$" "." "open %o") > > > Seiji > > > Seiji Zenitani wrote: > > > >> Dear all, > >> > >> Regarding the auctex/pdf issue, does everyone become happier if I put > >> the below line into /Applications/Emacs.app/Contents/Resources/site- > >> lisp/auctex/tex.el(elc)? > >> > >> "%(o?)xdvi %dS -paper a5r -s 0 %d") > >> ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$") > >> "%(o?)xdvi %dS -paper a5 %d") > >> + ("^pdf$" "." "open -a Preview.app %o") > >> ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)") > >> ("^html?$" "." "netscape %o")) > >> "List of output file extensions and view options. > >> > >> > >> Seiji > >> _______________________________________________ > >> macemacsjp-english mailing list > >> macemacsjp-english at lists.sourceforge.jp > >> http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > >> > > > > -- > > Haruhiko Okumura > > Faculty of Education, Mie University > > _______________________________________________ > > 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 > -- Haruhiko Okumura Faculty of Education, Mie University From Peter_Dyballa at Web.DE Sun Feb 4 09:09:04 2007 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Sun, 4 Feb 2007 01:09:04 +0100 Subject: [macemacsjp-english 874] Re: auctex/pdf In-Reply-To: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> Message-ID: <58A40C12-0C68-4FD3-AEC1-E921A189098D@Web.DE> Am 03.02.2007 um 22:37 schrieb Seiji Zenitani: > Regarding the auctex/pdf issue, does everyone become happier if I put > the below line into /Applications/Emacs.app/Contents/Resources/site- > lisp/auctex/tex.el(elc)? > > "%(o?)xdvi %dS -paper a5r -s 0 %d") > ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$") > "%(o?)xdvi %dS -paper a5 %d") > + ("^pdf$" "." "open -a Preview.app %o") > ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)") > ("^html?$" "." "netscape %o")) > "List of output file extensions and view options. Not me (but this does not matter as I am not using the built-in AUCTeX). I think it's more reasonable to use the script texdoc as viewer for all output formats that do not address "source specials" or that are not meant to meat a particular paper format (because xdvi cannot see which size and orientation a TeX document has in DVI which does not record this information ? and so Mac OS X "DVI" viewers like TeXShop or TeXniscope also fail to convert them to PDF appropriately). The reason: texdoc is a valuable script to find (texdoc -l ) or to view (texdoc ) TeX documentation, which can come in DVI, PS, PDF, HTML, TXT format. Once texdoc has been customised to one's preferences: why do this boring thing again in AUCTeX?! Isn't it more reasonable to re-use the splendid texdoc? Well, I do ... -- Greetings Pete "Isn't vi that text editor with two modes... one that beeps and one that corrupts your file?" -- Dan Jacobson, on comp.os.linux.advocacy From zenitani at mac.com Sun Feb 4 12:37:24 2007 From: zenitani at mac.com (Seiji Zenitani) Date: Sat, 3 Feb 2007 22:37:24 -0500 Subject: [macemacsjp-english 875] Re: auctex/pdf In-Reply-To: <58A40C12-0C68-4FD3-AEC1-E921A189098D@Web.DE> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <58A40C12-0C68-4FD3-AEC1-E921A189098D@Web.DE> Message-ID: <2786C959-D0EF-4B68-B0EB-C4455065B5BF@mac.com> On 2007/02/03, at 19:09, Peter Dyballa wrote: > > Not me (but this does not matter as I am not using the built-in > AUCTeX). I think it's more reasonable to use the script texdoc as > viewer for all output formats that do not address "source specials" > or that are not meant to meat a particular paper format (because xdvi > cannot see which size and orientation a TeX document has in DVI which > does not record this information ? and so Mac OS X "DVI" viewers like > TeXShop or TeXniscope also fail to convert them to PDF appropriately). > > The reason: texdoc is a valuable script to find (texdoc -l ) or > to view (texdoc ) TeX documentation, which can come in DVI, PS, > PDF, HTML, TXT format. Once texdoc has been customised to one's > preferences: why do this boring thing again in AUCTeX?! Isn't it more > reasonable to re-use the splendid texdoc? Well, I do ... > > -- > Greetings > > Pete OK, if texdoc is included in almost all major TeX distributions, "texdoc %o" would be more reasonable. If not, I'll take "open %o". Seiji From javier_elizondo69 at yahoo.com Sun Feb 4 13:20:36 2007 From: javier_elizondo69 at yahoo.com (Javier Elizondo) Date: Sat, 3 Feb 2007 20:20:36 -0800 (PST) Subject: [macemacsjp-english 876] Re: auctex/pdf Message-ID: <287001.24912.qm@web55109.mail.re4.yahoo.com> I think it is very usefull if the pdf can be reload automatically, it saves a lot of time, so I would stick with the idea of PDFview.app at least someone know how to make the preview to reload automatically, I do not have any idea on this problem. Javier ----- Original Message ---- From: Seiji Zenitani To: macemacsjp-english at lists.sourceforge.jp Sent: Saturday, February 3, 2007 9:37:24 PM Subject: [macemacsjp-english 875] Re: auctex/pdf On 2007/02/03, at 19:09, Peter Dyballa wrote: > > Not me (but this does not matter as I am not using the built-in > AUCTeX). I think it's more reasonable to use the script texdoc as > viewer for all output formats that do not address "source specials" > or that are not meant to meat a particular paper format (because xdvi > cannot see which size and orientation a TeX document has in DVI which > does not record this information ? and so Mac OS X "DVI" viewers like > TeXShop or TeXniscope also fail to convert them to PDF appropriately). > > The reason: texdoc is a valuable script to find (texdoc -l ) or > to view (texdoc ) TeX documentation, which can come in DVI, PS, > PDF, HTML, TXT format. Once texdoc has been customised to one's > preferences: why do this boring thing again in AUCTeX?! Isn't it more > reasonable to re-use the splendid texdoc? Well, I do ... > > -- > Greetings > > Pete OK, if texdoc is included in almost all major TeX distributions, "texdoc %o" would be more reasonable. If not, I'll take "open %o". Seiji _______________________________________________ macemacsjp-english mailing list macemacsjp-english at lists.sourceforge.jp http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.sourceforge.jp/mailman/archives/macemacsjp-english/attachments/20070203/d0309b96/attachment.htm From rloukano at stp.lingfil.uu.se Sun Feb 4 19:27:53 2007 From: rloukano at stp.lingfil.uu.se (Roussanka Loukanova) Date: Sun, 4 Feb 2007 11:27:53 +0100 (CET) Subject: [macemacsjp-english 877] Re: auctex/pdf In-Reply-To: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> Message-ID: On Sat, 3 Feb 2007, Seiji Zenitani wrote: > Dear all, > > Regarding the auctex/pdf issue, does everyone become happier if I put > the below line into /Applications/Emacs.app/Contents/Resources/site- > lisp/auctex/tex.el(elc)? > > "%(o?)xdvi %dS -paper a5r -s 0 %d") > ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$") > "%(o?)xdvi %dS -paper a5 %d") > + ("^pdf$" "." "open -a Preview.app %o") > ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)") > ("^html?$" "." "netscape %o")) > "List of output file extensions and view options. I will be happier, if this will make the default View of pdf files be in Preview instead of xpdf. And if something similar could be done for the dvi files, it would be even better (for example, with a command command that would convert the dvi into pdf and open the pdf in Preview). Roussanka > > > Seiji > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > From rloukano at stp.lingfil.uu.se Sun Feb 4 19:53:19 2007 From: rloukano at stp.lingfil.uu.se (Roussanka Loukanova) Date: Sun, 4 Feb 2007 11:53:19 +0100 (CET) Subject: [macemacsjp-english 878] Re: auctex/pdf In-Reply-To: <287001.24912.qm@web55109.mail.re4.yahoo.com> References: <287001.24912.qm@web55109.mail.re4.yahoo.com> Message-ID: On Sat, 3 Feb 2007, Javier Elizondo wrote: > I think it is very usefull if the pdf can be reload automatically, it > saves a lot of time, so I would stick with the idea of PDFview.app at > least someone know how to make the preview to reload automatically, I do > not have any idea on this problem. Using Preview has a big plus: it is the default pdf viewer of Mac, and has indeed many flexible features. And like you, its inability to refresh automatically the modified file.pdf is very irritating. But may be we should write about this to Preview's developer: if someone gives me their contact email address, I will write to them. For now, I use the 2nd (quite convenient) of the following two workarounds: 1. In Preview' menu: File -> Reload I do not like this way because it Reloads the modified fresher version of file.pdf, but on page 1, regardless of the last viewed page. 2. If, during viewing the file.pdf, I realize that I need to modify it, I just close it with Command (Apple/Clover)+W. Then, with the subsequent View from Emacs, Preview opens the file.pdf on the last viewed page. From rloukano at stp.lingfil.uu.se Sun Feb 4 19:57:47 2007 From: rloukano at stp.lingfil.uu.se (Roussanka Loukanova) Date: Sun, 4 Feb 2007 11:57:47 +0100 (CET) Subject: [macemacsjp-english 879] Re: auctex/pdf In-Reply-To: <58A40C12-0C68-4FD3-AEC1-E921A189098D@Web.DE> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <58A40C12-0C68-4FD3-AEC1-E921A189098D@Web.DE> Message-ID: On Sun, 4 Feb 2007, Peter Dyballa wrote: > > Am 03.02.2007 um 22:37 schrieb Seiji Zenitani: > >> Regarding the auctex/pdf issue, does everyone become happier if I put >> the below line into /Applications/Emacs.app/Contents/Resources/site- >> lisp/auctex/tex.el(elc)? >> >> "%(o?)xdvi %dS -paper a5r -s 0 %d") >> ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$") >> "%(o?)xdvi %dS -paper a5 %d") >> + ("^pdf$" "." "open -a Preview.app %o") >> ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)") >> ("^html?$" "." "netscape %o")) >> "List of output file extensions and view options. > > > Not me (but this does not matter as I am not using the built-in > AUCTeX). I think it's more reasonable to use the script texdoc as > viewer for all output formats that do not address "source specials" > or that are not meant to meat a particular paper format (because xdvi > cannot see which size and orientation a TeX document has in DVI which > does not record this information ? and so Mac OS X "DVI" viewers like > TeXShop or TeXniscope also fail to convert them to PDF appropriately). > > The reason: texdoc is a valuable script to find (texdoc -l ) or > to view (texdoc ) TeX documentation, which can come in DVI, PS, > PDF, HTML, TXT format. Once texdoc has been customised to one's > preferences: why do this boring thing again in AUCTeX?! Isn't it more > reasonable to re-use the splendid texdoc? Well, I do ... But, at least for some of us, and until someone makes a better texdoc, AUCTeX/Emacs settings or customizations are the only way to use Preview (or anything else) instead of xpdf and xdvi. Roussanka > > -- > Greetings > > Pete > > "Isn't vi that text editor with two modes... one that beeps and one > that corrupts your file?" -- Dan Jacobson, on comp.os.linux.advocacy > > > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > From Peter_Dyballa at Web.DE Sun Feb 4 20:20:04 2007 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Sun, 4 Feb 2007 12:20:04 +0100 Subject: [macemacsjp-english 880] Re: auctex/pdf In-Reply-To: References: <287001.24912.qm@web55109.mail.re4.yahoo.com> Message-ID: Am 04.02.2007 um 11:53 schrieb Roussanka Loukanova: > But may be we should write about this to Preview's developer: if > someone gives me > their contact email address, I will write to them. https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa Report it as wish for an enhancement. -- Greetings Pete A blizzard is when it snows sideways. From zenitani at mac.com Sun Feb 4 22:15:59 2007 From: zenitani at mac.com (Seiji Zenitani) Date: Sun, 4 Feb 2007 08:15:59 -0500 Subject: [macemacsjp-english 881] Re: auctex/pdf In-Reply-To: References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> Message-ID: <7A1B0FCC-5B07-4764-895C-FDC515D185E3@mac.com> On 2007/02/04, at 5:27, Roussanka Loukanova wrote: > And if something similar could be done for the > dvi files, it would be even better (for example, with a command > command > that would convert the dvi into pdf and open the pdf in Preview). No, there is no standard way to handle the dvi files. There are so many choices; for example, Mxdvi.app (Cocoa dvi viewer) or the dvipdfmx command (dvi -> pdf) are very popular in Japan, but probably they are not so popular in the world. I don't want to configure for those. My current plan is as follows. In this case, texdoc is identical to open. But I am still wondering whether I should use "open %o", because texdoc is cheaper than I have expected. Introducing another wrapper increases the entropy... If the user would like to use PDFView, the user can configure the AUCTeX variable or the texdoc command by himself/herself. > "%(o?)xdvi %dS -paper a5r -s 0 %d") > ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$") > "%(o?)xdvi %dS -paper a5 %d") > + ("^pdf$" "." "texdoc %o") > ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)") > ("^html?$" "." "netscape %o")) > "List of output file extensions and view options. Seiji From rloukano at stp.lingfil.uu.se Mon Feb 5 01:49:38 2007 From: rloukano at stp.lingfil.uu.se (Roussanka Loukanova) Date: Sun, 4 Feb 2007 17:49:38 +0100 (CET) Subject: [macemacsjp-english 882] Re: auctex/pdf In-Reply-To: <7A1B0FCC-5B07-4764-895C-FDC515D185E3@mac.com> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <7A1B0FCC-5B07-4764-895C-FDC515D185E3@mac.com> Message-ID: On Sun, 4 Feb 2007, Seiji Zenitani wrote: ... > My current plan is as follows. In this case, texdoc is identical to > open. But I am still wondering whether I should use "open %o", > because texdoc is cheaper than I have expected. Introducing another > wrapper increases the entropy... If the user would like to use > PDFView, the user can configure the AUCTeX variable or the texdoc > command by himself/herself. > >> "%(o?)xdvi %dS -paper a5r -s 0 %d") >> ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$") >> "%(o?)xdvi %dS -paper a5 %d") >> + ("^pdf$" "." "texdoc %o") >> ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)") >> ("^html?$" "." "netscape %o")) >> "List of output file extensions and view options. Then, which application would be the default View from Emacs for 1) a dvi file? 2) a pdf file? Does the user need to do something and if yes, what? I've looked in the /usr/texbin/texdoc file of the latest TeXLive distributions, and the relevant lines, according to my knowledge (which is very poor), does not seem to set any vewing applications, except xdvi for .dvi files and TextEdit for .txt files: Darwin) : ${TEXDOCVIEW_dvi='(open %s >/dev/console 2>&1 || xdvi %s &) || echo "Metho d for opening %s did not work"'} : ${TEXDOCVIEW_ps='open %s'} : ${TEXDOCVIEW_pdf='open %s'} : ${TEXDOCVIEW_html='open %s'} : ${TEXDOCVIEW_txt="open -a TextEdit.app %s"} Roussanka From zenitani at mac.com Mon Feb 5 04:01:18 2007 From: zenitani at mac.com (Seiji Zenitani) Date: Sun, 4 Feb 2007 14:01:18 -0500 Subject: [macemacsjp-english 883] Re: auctex/pdf In-Reply-To: References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <7A1B0FCC-5B07-4764-895C-FDC515D185E3@mac.com> Message-ID: <857DB6CB-0C13-4010-8E95-C18C7F092256@mac.com> On 2007/02/04, at 11:49, Roussanka Loukanova wrote: > On Sun, 4 Feb 2007, Seiji Zenitani wrote: > ... >> My current plan is as follows. In this case, texdoc is identical to >> open. But I am still wondering whether I should use "open %o", >> because texdoc is cheaper than I have expected. Introducing another >> wrapper increases the entropy... If the user would like to use >> PDFView, the user can configure the AUCTeX variable or the texdoc >> command by himself/herself. >> >>> "%(o?)xdvi %dS -paper a5r -s 0 %d") >>> ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$") >>> "%(o?)xdvi %dS -paper a5 %d") >>> + ("^pdf$" "." "texdoc %o") >>> ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)") >>> ("^html?$" "." "netscape %o")) >>> "List of output file extensions and view options. > > Then, which application would be the default View from Emacs for > 1) a dvi file? At present I change nothing regarding the dvi files. It is quite likely that emacs fails to launch the xdvi command. > 2) a pdf file? > The open command is equivalent to double-clicking the file's icon. Therefore you can change the viewer application via the Finder's Info Window. Take a look at the "Open with:" section. In most cases, Preview.app is the pdf viewer. Here's today's beta: http://macemacsjp.sourceforge.jp/package/test/ Seiji From khansen at stat.Berkeley.EDU Tue Feb 6 06:56:05 2007 From: khansen at stat.Berkeley.EDU (Kasper Daniel Hansen) Date: Mon, 5 Feb 2007 13:56:05 -0800 Subject: [macemacsjp-english 884] Re: auctex/pdf In-Reply-To: <857DB6CB-0C13-4010-8E95-C18C7F092256@mac.com> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <7A1B0FCC-5B07-4764-895C-FDC515D185E3@mac.com> <857DB6CB-0C13-4010-8E95-C18C7F092256@mac.com> Message-ID: On Feb 4, 2007, at 11:01 AM, Seiji Zenitani wrote: > On 2007/02/04, at 11:49, Roussanka Loukanova wrote: > >> On Sun, 4 Feb 2007, Seiji Zenitani wrote: >> ... >>> My current plan is as follows. In this case, texdoc is identical to >>> open. But I am still wondering whether I should use "open %o", >>> because texdoc is cheaper than I have expected. Introducing another >>> wrapper increases the entropy... If the user would like to use >>> PDFView, the user can configure the AUCTeX variable or the texdoc >>> command by himself/herself. >>> >>>> "%(o?)xdvi %dS -paper a5r -s 0 %d") >>>> ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$") >>>> "%(o?)xdvi %dS -paper a5 %d") >>>> + ("^pdf$" "." "texdoc %o") >>>> ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)") >>>> ("^html?$" "." "netscape %o")) >>>> "List of output file extensions and view options. >> >> Then, which application would be the default View from Emacs for >> 1) a dvi file? > > At present I change nothing regarding the dvi files. > It is quite likely that emacs fails to launch the xdvi command. > >> 2) a pdf file? >> > The open command is equivalent to double-clicking the file's icon. > Therefore you can change the viewer application via the Finder's Info > Window. Take a look at the "Open with:" section. In most cases, > Preview.app is the pdf viewer. > > Here's today's beta: > http://macemacsjp.sourceforge.jp/package/test/ In my opinion there is no discussion: the default setting should be to invoke "open" on the file. The user then needs to configure his system to work as he intends, eg. to associate PDFView permanently with PDF files (as I have done) and do something similar with dvi files. This is a default setting for an application - of course it should use default settings for that file from the OS. Anything else assumes quite a bit on how peoples systems are set up. While I prefer PDFView for pdf files I do not think it is reasonable to enforce that on a user via a default setting. There could be however, a question on the webpage on how to configure AUCTeX with a link to PDFView and similar (where I have helped putting up some (currently incomplete) solutions for Carbon Emacs. Kasper > > Seiji > > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english From rloukano at stp.lingfil.uu.se Tue Feb 6 08:03:38 2007 From: rloukano at stp.lingfil.uu.se (Roussanka Loukanova) Date: Tue, 6 Feb 2007 00:03:38 +0100 (CET) Subject: [macemacsjp-english 885] Re: auctex/pdf In-Reply-To: References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <7A1B0FCC-5B07-4764-895C-FDC515D185E3@mac.com> <857DB6CB-0C13-4010-8E95-C18C7F092256@mac.com> Message-ID: Hi Kasper, On Mon, 5 Feb 2007, Kasper Daniel Hansen wrote: ... > > In my opinion there is no discussion: the default setting should be > to invoke "open" on the file. The user then needs to configure his > system to work as he intends, eg. to associate PDFView permanently > with PDF files (as I have done) and do something similar with dvi > files. This is a default setting for an application - of course it > should use default settings for that file from the OS. Anything else > assumes quite a bit on how peoples systems are set up. > > While I prefer PDFView for pdf files I do not think it is reasonable > to enforce that on a user via a default setting. I agree with you that this is a rational decision. For example, I prefer Preview, but this should not be forced on other users, and I myself may change my mind some day. > > There could be however, a question on the webpage on how to configure > AUCTeX with a link to PDFView and similar (where I have helped > putting up some (currently incomplete) solutions for Carbon Emacs. Where is this information? May be you have a better solution than mine. I myself have used the previous solution that I already posted: I added up an external AUCTeX Command for viewing dvi files (by a compound command created with sh script which converts the dvi into pdf and then opens the pdf in Preview). By doing so, AUCTeX could not anymore, by default, open Preview for pdf files created with pdflatex. So, I just added this by Customize AUCTeX, I made by INS "open -a Preview" the default View for files with pdf ("^pdf$") extension. How did you add PDFView? Roussanka From khansen at stat.Berkeley.EDU Wed Feb 7 04:33:58 2007 From: khansen at stat.Berkeley.EDU (Kasper Daniel Hansen) Date: Tue, 6 Feb 2007 11:33:58 -0800 Subject: [macemacsjp-english 886] Re: auctex/pdf In-Reply-To: References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <7A1B0FCC-5B07-4764-895C-FDC515D185E3@mac.com> <857DB6CB-0C13-4010-8E95-C18C7F092256@mac.com> Message-ID: <3100CB7B-5F7E-44F8-A60A-AF996A114DEB@stat.berkeley.edu> On Feb 5, 2007, at 3:03 PM, Roussanka Loukanova wrote: > Hi Kasper, > > On Mon, 5 Feb 2007, Kasper Daniel Hansen wrote: > ... > >> >> In my opinion there is no discussion: the default setting should be >> to invoke "open" on the file. The user then needs to configure his >> system to work as he intends, eg. to associate PDFView permanently >> with PDF files (as I have done) and do something similar with dvi >> files. This is a default setting for an application - of course it >> should use default settings for that file from the OS. Anything else >> assumes quite a bit on how peoples systems are set up. >> >> While I prefer PDFView for pdf files I do not think it is reasonable >> to enforce that on a user via a default setting. > > I agree with you that this is a rational decision. For example, I > prefer > Preview, but this should not be forced on other users, and I myself > may > change my mind some day. > >> >> There could be however, a question on the webpage on how to configure >> AUCTeX with a link to PDFView and similar (where I have helped >> putting up some (currently incomplete) solutions for Carbon Emacs. > > Where is this information? May be you have a better solution than > mine. > > I myself have used the previous solution that I already posted: I > added > up an external AUCTeX Command for viewing dvi files (by a compound > command > created with sh script which converts the dvi into pdf and then > opens the > pdf in Preview). By doing so, AUCTeX could not anymore, by default, > open > Preview for pdf files created with pdflatex. So, I just added this by > Customize AUCTeX, I made by INS "open -a Preview" the default View for > files with pdf ("^pdf$") extension. > > How did you add PDFView? I added the following to my .emacs: (server-start) (defun raise-emacs-on-aqua() (shell-command "osascript -e 'tell application \"Aquamacs Emacs\" to activate' &")) (add-hook 'server-switch-hook 'raise-emacs-on-aqua) The chunk above is to enable inverse search using PDFView and Emacs. You need to add some stuff to PDFView's preferences as well. (require 'tex-site) (add-hook 'TeX-mode-hook (lambda () (add-to-list 'TeX-output-view-style '("^pdf$" "." "/Applications/PDFView.app/Contents/MacOS/gotoline.sh %n % (OutFullPath)")) (add-to-list 'TeX-expand-list '("%(OutFullPath)" (lambda nil (expand-file-name (TeX-active-master (TeX-output-extension) t) (TeX-master-directory))))) )) This one here just uses PDF view to open the file. Another way is to use Seiji-sans code and associated PDFView as the default application for PDF files (which I greatly prefer - it is a wonderful reader once you get used to it). Kasper From zenitani at mac.com Wed Feb 7 11:56:17 2007 From: zenitani at mac.com (Seiji Zenitani) Date: Tue, 6 Feb 2007 21:56:17 -0500 Subject: [macemacsjp-english 887] Re: auctex/pdf In-Reply-To: <3100CB7B-5F7E-44F8-A60A-AF996A114DEB@stat.berkeley.edu> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <7A1B0FCC-5B07-4764-895C-FDC515D185E3@mac.com> <857DB6CB-0C13-4010-8E95-C18C7F092256@mac.com> <3100CB7B-5F7E-44F8-A60A-AF996A114DEB@stat.berkeley.edu> Message-ID: <87B6A6BF-13E3-4FB2-A571-C9DD5799FCAF@mac.com> Hi, On 2007/02/06, at 14:33, Kasper Daniel Hansen wrote: > On Feb 5, 2007, at 3:03 PM, Roussanka Loukanova wrote: >> Hi Kasper, >> >> On Mon, 5 Feb 2007, Kasper Daniel Hansen wrote: >> ... >> >>> In my opinion there is no discussion: the default setting should be >>> to invoke "open" on the file. The user then needs to configure his >>> system to work as he intends, eg. to associate PDFView permanently >>> with PDF files (as I have done) and do something similar with dvi >>> files. This is a default setting for an application - of course it >>> should use default settings for that file from the OS. Anything else >>> assumes quite a bit on how peoples systems are set up. >>> >>> While I prefer PDFView for pdf files I do not think it is reasonable >>> to enforce that on a user via a default setting. >> >> I agree with you that this is a rational decision. For example, I >> prefer Preview, but this should not be forced on other users, and >> I myself >> may change my mind some day. Here's another beta. All of dvi/pdf/html files are set to use "open %o". http://macemacsjp.sourceforge.jp/package/test/ So, quick question: "texdoc" or "open"? >>> There could be however, a question on the webpage on how to >>> configure >>> AUCTeX with a link to PDFView and similar (where I have helped >>> putting up some (currently incomplete) solutions for Carbon Emacs. >> >> Where is this information? May be you have a better solution than >> mine. >> >> I myself have used the previous solution that I already posted: I >> added >> up an external AUCTeX Command for viewing dvi files (by a compound >> command >> created with sh script which converts the dvi into pdf and then >> opens the >> pdf in Preview). By doing so, AUCTeX could not anymore, by default, >> open >> Preview for pdf files created with pdflatex. So, I just added this by >> Customize AUCTeX, I made by INS "open -a Preview" the default View >> for >> files with pdf ("^pdf$") extension. >> >> How did you add PDFView? > > I added the following to my .emacs: > > (server-start) > (defun raise-emacs-on-aqua() > (shell-command > "osascript -e 'tell application \"Aquamacs Emacs\" to activate' > &")) > (add-hook 'server-switch-hook 'raise-emacs-on-aqua) (add-hook 'server-switch-hook 'raise-frame) doesn't work? Seiji From khansen at stat.Berkeley.EDU Wed Feb 7 15:14:33 2007 From: khansen at stat.Berkeley.EDU (Kasper Daniel Hansen) Date: Tue, 6 Feb 2007 22:14:33 -0800 Subject: [macemacsjp-english 888] Re: auctex/pdf In-Reply-To: <87B6A6BF-13E3-4FB2-A571-C9DD5799FCAF@mac.com> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <7A1B0FCC-5B07-4764-895C-FDC515D185E3@mac.com> <857DB6CB-0C13-4010-8E95-C18C7F092256@mac.com> <3100CB7B-5F7E-44F8-A60A-AF996A114DEB@stat.berkeley.edu> <87B6A6BF-13E3-4FB2-A571-C9DD5799FCAF@mac.com> Message-ID: <5F10FFE4-8F27-4A39-A4EC-9ED0B30FCF20@stat.berkeley.edu> On Feb 6, 2007, at 6:56 PM, Seiji Zenitani wrote: > Hi, > > On 2007/02/06, at 14:33, Kasper Daniel Hansen wrote: >> On Feb 5, 2007, at 3:03 PM, Roussanka Loukanova wrote: >>> Hi Kasper, >>> >>> On Mon, 5 Feb 2007, Kasper Daniel Hansen wrote: >>> ... >>> >>>> In my opinion there is no discussion: the default setting should be >>>> to invoke "open" on the file. The user then needs to configure his >>>> system to work as he intends, eg. to associate PDFView permanently >>>> with PDF files (as I have done) and do something similar with dvi >>>> files. This is a default setting for an application - of course it >>>> should use default settings for that file from the OS. Anything >>>> else >>>> assumes quite a bit on how peoples systems are set up. >>>> >>>> While I prefer PDFView for pdf files I do not think it is >>>> reasonable >>>> to enforce that on a user via a default setting. >>> >>> I agree with you that this is a rational decision. For example, I >>> prefer Preview, but this should not be forced on other users, and >>> I myself >>> may change my mind some day. > > Here's another beta. All of dvi/pdf/html files are set to use "open > %o". > http://macemacsjp.sourceforge.jp/package/test/ > > So, quick question: "texdoc" or "open"? > > >>>> There could be however, a question on the webpage on how to >>>> configure >>>> AUCTeX with a link to PDFView and similar (where I have helped >>>> putting up some (currently incomplete) solutions for Carbon Emacs. >>> >>> Where is this information? May be you have a better solution than >>> mine. >>> >>> I myself have used the previous solution that I already posted: I >>> added >>> up an external AUCTeX Command for viewing dvi files (by a compound >>> command >>> created with sh script which converts the dvi into pdf and then >>> opens the >>> pdf in Preview). By doing so, AUCTeX could not anymore, by default, >>> open >>> Preview for pdf files created with pdflatex. So, I just added >>> this by >>> Customize AUCTeX, I made by INS "open -a Preview" the default View >>> for >>> files with pdf ("^pdf$") extension. >>> >>> How did you add PDFView? >> >> I added the following to my .emacs: >> >> (server-start) >> (defun raise-emacs-on-aqua() >> (shell-command >> "osascript -e 'tell application \"Aquamacs Emacs\" to activate' >> &")) >> (add-hook 'server-switch-hook 'raise-emacs-on-aqua) > > (add-hook 'server-switch-hook 'raise-frame) doesn't work No, and I have just double checked. Btw., in my posting, the line "osascript -e 'tell application \"Aquamacs Emacs\" to activate' should have been "osascript -e 'tell application \"Emacs\" to activate' Kasper > > Seiji > > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english From rloukano at stp.lingfil.uu.se Thu Feb 8 04:46:13 2007 From: rloukano at stp.lingfil.uu.se (Roussanka Loukanova) Date: Wed, 7 Feb 2007 20:46:13 +0100 (CET) Subject: [macemacsjp-english 889] Re: auctex/pdf In-Reply-To: <87B6A6BF-13E3-4FB2-A571-C9DD5799FCAF@mac.com> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <7A1B0FCC-5B07-4764-895C-FDC515D185E3@mac.com> <857DB6CB-0C13-4010-8E95-C18C7F092256@mac.com> <3100CB7B-5F7E-44F8-A60A-AF996A114DEB@stat.berkeley.edu> <87B6A6BF-13E3-4FB2-A571-C9DD5799FCAF@mac.com> Message-ID: Hi, On Tue, 6 Feb 2007, Seiji Zenitani wrote: ... > Here's another beta. All of dvi/pdf/html files are set to use "open %o". > http://macemacsjp.sourceforge.jp/package/test/ > > So, quick question: "texdoc" or "open"? I like the latest version with "open". It takes care for all of the dvi/pdf/html files, which I find great. Then, if a user likes some other options, they can set up such for example with autcex/emacs custamizations. Roussanka From lists at philippewang.info Thu Feb 8 06:53:42 2007 From: lists at philippewang.info (Philippe Wang) Date: Wed, 07 Feb 2007 22:53:42 +0100 Subject: [macemacsjp-english 890] Re: auctex/pdf In-Reply-To: <87B6A6BF-13E3-4FB2-A571-C9DD5799FCAF@mac.com> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <7A1B0FCC-5B07-4764-895C-FDC515D185E3@mac.com> <857DB6CB-0C13-4010-8E95-C18C7F092256@mac.com> <3100CB7B-5F7E-44F8-A60A-AF996A114DEB@stat.berkeley.edu> <87B6A6BF-13E3-4FB2-A571-C9DD5799FCAF@mac.com> Message-ID: <45CA4A66.402@philippewang.info> Seiji Zenitani wrote: > Hi, > > On 2007/02/06, at 14:33, Kasper Daniel Hansen wrote: > >> On Feb 5, 2007, at 3:03 PM, Roussanka Loukanova wrote: >> >>> Hi Kasper, >>> >>> On Mon, 5 Feb 2007, Kasper Daniel Hansen wrote: >>> ... >>> >>> >>>> In my opinion there is no discussion: the default setting should be >>>> to invoke "open" on the file. The user then needs to configure his >>>> system to work as he intends, eg. to associate PDFView permanently >>>> with PDF files (as I have done) and do something similar with dvi >>>> files. This is a default setting for an application - of course it >>>> should use default settings for that file from the OS. Anything else >>>> assumes quite a bit on how peoples systems are set up. >>>> >>>> While I prefer PDFView for pdf files I do not think it is reasonable >>>> to enforce that on a user via a default setting. >>>> >>> I agree with you that this is a rational decision. For example, I >>> prefer Preview, but this should not be forced on other users, and >>> I myself >>> may change my mind some day. >>> > > Here's another beta. All of dvi/pdf/html files are set to use "open %o". > http://macemacsjp.sourceforge.jp/package/test/ > > So, quick question: "texdoc" or "open"? Hello, Thanks for paying so much attention to that matter ! :-o :-) In my opinion open is better because it's easy to add "-a PDFView" or "-a Preview" if the default reader is Adobe's one. Now that I have tried PDFView, I prefer it to Preview when I make documents with LaTeX but I don't want to use it systematically. So, when I am working on a LaTeX document, I open it once with "open -a PDFView" and it's done. If I just want to see it once quickl, I use the default application associated with .pdf files. By the way, it is possible to add a "(click?) menu" to choose the app one wants to use to open pdfs in auctex mode ? (just asking, it would not be for me) Cheers, Philippe Wang From zenitani at mac.com Sat Feb 10 09:10:28 2007 From: zenitani at mac.com (Seiji Zenitani) Date: Fri, 9 Feb 2007 19:10:28 -0500 Subject: [macemacsjp-english 891] Re: auctex/pdf In-Reply-To: <45CA4A66.402@philippewang.info> References: <14FAE46D-6FB9-455C-830A-E9A727E6B0F9@mac.com> <7A1B0FCC-5B07-4764-895C-FDC515D185E3@mac.com> <857DB6CB-0C13-4010-8E95-C18C7F092256@mac.com> <3100CB7B-5F7E-44F8-A60A-AF996A114DEB@stat.berkeley.edu> <87B6A6BF-13E3-4FB2-A571-C9DD5799FCAF@mac.com> <45CA4A66.402@philippewang.info> Message-ID: <1AAB55F5-13B2-4BE8-9998-B461A2231579@mac.com> On 2007/02/07, at 16:53, Philippe Wang wrote: > > By the way, it is possible to add a "(click?) menu" to choose the app > one wants to use to open pdfs in auctex mode ? (just asking, it would > not be for me) > Sounds possible but... you should ask the AUCTeX developers. Seiji From sfischme at seas.upenn.edu Thu Feb 8 05:06:40 2007 From: sfischme at seas.upenn.edu (Sebastian N. Fischmeister) Date: Wed, 7 Feb 2007 15:06:40 -0500 Subject: [macemacsjp-english 892] Emacs&X11 and Emacs&applescript Message-ID: Hi. I have two problems with Emacs (2007-01-06): 1) Somehow it screws up my X11 setup. X11 works fine until I open Emacs once on a freshly started system. After I started Emacs, the second terminal (Command-N) comes up with a weird font while the first uses the correct font. Also executing just 'xterm' uses this weird font. Some stretched out version of courier new. 2) The following causes Emacs to hang, however, it works well when I issue this command from a terminal: (defun raise-emacs-on-aqua() (shell-command "osascript -e 'tell application \"Emacs\" to activate'")) (add-hook 'server-switch-hook 'raise-emacs-on-aqua) Help would be appreciated. Thanks a lot, Sebastian From Peter_Dyballa at Web.DE Sat Feb 10 19:12:17 2007 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Sat, 10 Feb 2007 11:12:17 +0100 Subject: [macemacsjp-english 893] Re: Emacs&X11 and Emacs&applescript In-Reply-To: References: Message-ID: <28B5928D-4DB2-41B1-838D-7B7485D4D4E1@Web.DE> Am 07.02.2007 um 21:06 schrieb Sebastian N. Fischmeister: > 1) Somehow it screws up my X11 setup. X11 works fine until I open > Emacs once on a freshly started system. After I started Emacs, the > second terminal (Command-N) comes up with a weird font while the > first uses the correct font. Also executing just 'xterm' uses this > weird font. Some stretched out version of courier new. Can you describe a bit more detailed which X11 you are using what you mean with "terminal?" And which "Emacs" are you using? Carbon Emacs is not an X11 client. It's rather unlikely that one system (world) is changing something in the other system (world) ... -- Mit friedvollen Gr??en Pete Who the fsck is "General Failure," and why is he reading my disk? From sfischme at seas.upenn.edu Sun Feb 11 00:10:32 2007 From: sfischme at seas.upenn.edu (Sebastian N. Fischmeister) Date: Sat, 10 Feb 2007 10:10:32 -0500 Subject: [macemacsjp-english 894] Re: Emacs&X11 and Emacs&applescript In-Reply-To: <28B5928D-4DB2-41B1-838D-7B7485D4D4E1@Web.DE> References: <28B5928D-4DB2-41B1-838D-7B7485D4D4E1@Web.DE> Message-ID: <94DDBD25-8C48-4FB6-973D-053D37688152@seas.upenn.edu> > Can you describe a bit more detailed which X11 you are using what you > mean with "terminal?" And which "Emacs" are you using? Carbon Emacs > is not an X11 client. It's rather unlikely that one system (world) is > changing something in the other system (world) ... Yes. Correct, that's what puzzled me. I use Carbon Emacs, however, I a fix for the problem. I think it was not Emacs, it was another application that I always started simultaneously via a macro. Sebastian From khansen at stat.Berkeley.EDU Sun Feb 11 03:37:36 2007 From: khansen at stat.Berkeley.EDU (Kasper Daniel Hansen) Date: Sat, 10 Feb 2007 10:37:36 -0800 Subject: [macemacsjp-english 895] Re: Emacs&X11 and Emacs&applescript In-Reply-To: References: Message-ID: On Feb 7, 2007, at 12:06 PM, Sebastian N. Fischmeister wrote: > Hi. > > I have two problems with Emacs (2007-01-06): > > 1) Somehow it screws up my X11 setup. X11 works fine until I open > Emacs once on a freshly started system. After I started Emacs, the > second terminal (Command-N) comes up with a weird font while the > first uses the correct font. Also executing just 'xterm' uses this > weird font. Some stretched out version of courier new. > > 2) The following causes Emacs to hang, however, it works well when I > issue this command from a terminal: > > (defun raise-emacs-on-aqua() > (shell-command > "osascript -e 'tell application \"Emacs\" to activate'")) > (add-hook 'server-switch-hook 'raise-emacs-on-aqua) Two things: when you call emacsclient (which you should when you use this script) you should remember to use # emacsclient --no-wait Secondly, add an ampersand, it will help (but will spawn an ugly *Asynchronous Shell Output* buffer which I don't know how to deal with. Bu adding an ampersand I mean doing "osascript -e 'tell application \"Emacs\" to activate' &")) Kasper > Help would be appreciated. > > Thanks a lot, > Sebastian > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english From adrianb at uga.edu Tue Feb 13 10:10:42 2007 From: adrianb at uga.edu (Adrian Burd) Date: Mon, 12 Feb 2007 20:10:42 -0500 (EST) Subject: [macemacsjp-english 896] Time stamp issues in html-helper Message-ID: <20070212201042.APK26736@punts1.cc.uga.edu> I've just started to use the Carbon Emacs package (I've been a long time emacs user on Linux systems). I'm using a simplified version of my .emacs file from my Linux setups but for some reason, the automatic time stamp updating feature in html-helper is not working. On my Linux box, this allows for an automatic update of the time stamp on an html file when the file is saved after editing it. On the Mac however, the timestamp is automatically inserted in a new file on the first save after it is created, but after that, it is never automatically updated. Am I missing something here? Thanks, Adrian From irodori at irodori.sakura.ne.jp Tue Feb 13 11:50:34 2007 From: irodori at irodori.sakura.ne.jp (irodori at irodori.sakura.ne.jp) Date: Tue, 13 Feb 2007 11:50:34 +0900 Subject: [macemacsjp-english 897] Re: Time stamp issues in html-helper In-Reply-To: <20070212201042.APK26736@punts1.cc.uga.edu> References: <20070212201042.APK26736@punts1.cc.uga.edu> Message-ID: Hi Adrian, At Mon, 12 Feb 2007 20:10:42 -0500 (EST), Adrian Burd wrote: > I've just started to use the Carbon Emacs package (I've been a long > time emacs user on Linux systems). > I'm using a simplified version of my .emacs file from my Linux setups > but for some reason, the automatic > time stamp updating feature in html-helper is not working. On my > Linux box, this allows for an automatic > update of the time stamp on an html file when the file is saved after > editing it. On the Mac however, > the timestamp is automatically inserted in a new file on the first > save after it is created, but after that, it > is never automatically updated. Please set html-helper-do-write-file-hooks to `t'. (setq html-helper-do-write-file-hooks t) # by default, this value is `t'. It means add html-helper-update-timesamp function to local-write-file-hooks. If you overwrite hook in .emacs.el, that settings may be lost. Best regards, -- Eiji Honjoh irodori RINGO - little tools for Mac OS X http://irodori.sakura.ne.jp/ From rloukano at stp.lingfil.uu.se Tue Feb 13 19:05:17 2007 From: rloukano at stp.lingfil.uu.se (Roussanka Loukanova) Date: Tue, 13 Feb 2007 11:05:17 +0100 (CET) Subject: [macemacsjp-english 898] Re: Time stamp issues in html-helper In-Reply-To: References: <20070212201042.APK26736@punts1.cc.uga.edu> Message-ID: Hi, On Tue, 13 Feb 2007, irodori at irodori.sakura.ne.jp wrote: > Hi Adrian, > > At Mon, 12 Feb 2007 20:10:42 -0500 (EST), > Adrian Burd wrote: >> I've just started to use the Carbon Emacs package (I've been a long >> time emacs user on Linux systems). >> I'm using a simplified version of my .emacs file from my Linux setups >> but for some reason, the automatic >> time stamp updating feature in html-helper is not working. On my >> Linux box, this allows for an automatic >> update of the time stamp on an html file when the file is saved after >> editing it. On the Mac however, >> the timestamp is automatically inserted in a new file on the first >> save after it is created, but after that, it >> is never automatically updated. I had that feature in the Emacs under Linux automatically, without adding anything to my .emacs. And I used to get an initial template for html content, including time stamp updating feature (with Date created and Last time updated), when I would start up a new file with extension .html. This feature works by default for Aquamacs under Mac too (I've just tested it). But I do not know how to get this with Carbon Emacs, which is my text editor for everything on my MacBook Pro Intel. > > Please set html-helper-do-write-file-hooks to `t'. > > (setq html-helper-do-write-file-hooks t) I've put this in my ~/.emacs file, but it doesn't work. Even if I create a file with my own template for test.html file, and not even if I insert Timestamp delimiter: it does not save any time. It would be very nice to have these features for html files with Carbon Emacs. Roussanka > > # by default, this value is `t'. > > It means add html-helper-update-timesamp function to > local-write-file-hooks. If you overwrite hook in .emacs.el, > that settings may be lost. > > Best regards, > > -- > Eiji Honjoh > > irodori RINGO - little tools for Mac OS X > http://irodori.sakura.ne.jp/ > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english From irodori at irodori.sakura.ne.jp Tue Feb 13 22:45:01 2007 From: irodori at irodori.sakura.ne.jp (irodori at irodori.sakura.ne.jp) Date: Tue, 13 Feb 2007 22:45:01 +0900 Subject: [macemacsjp-english 899] Re: Time stamp issues in html-helper In-Reply-To: References: <20070212201042.APK26736@punts1.cc.uga.edu> Message-ID: Hi, At Tue, 13 Feb 2007 11:05:17 +0100 (CET), Roussanka Loukanova wrote: > > Hi, > > On Tue, 13 Feb 2007, irodori at irodori.sakura.ne.jp wrote: > > > Hi Adrian, > > > > At Mon, 12 Feb 2007 20:10:42 -0500 (EST), > > Adrian Burd wrote: > >> I've just started to use the Carbon Emacs package (I've been a long > >> time emacs user on Linux systems). > >> I'm using a simplified version of my .emacs file from my Linux setups > >> but for some reason, the automatic > >> time stamp updating feature in html-helper is not working. On my > >> Linux box, this allows for an automatic > >> update of the time stamp on an html file when the file is saved after > >> editing it. On the Mac however, > >> the timestamp is automatically inserted in a new file on the first > >> save after it is created, but after that, it > >> is never automatically updated. > > I had that feature in the Emacs under Linux automatically, without adding > anything to my .emacs. And I used to get an initial template for html > content, including time stamp updating feature (with Date created and > Last time updated), when I would start up a new file with extension .html. > This feature works by default for Aquamacs under Mac too (I've just > tested it). But I do not know how to get this with Carbon Emacs, which > is my text editor for everything on my MacBook Pro Intel. However, this feature works with Carbon Emacs Jan 2007(v2) on my PowerMac G4/PPC. I'm not sure, but this problem may occur only Intel Mac. Could you try some commands on yor Mac? M-x html-helper-mode ; run on non-html file M-x html-helper-mode-run ; run on empty buffer M-: (html-helper-update-timestamp) If these commands not work, I think that Carbon Emacs's html-helper package have fatal problem. Best regards, -- Eiji Honjoh irodori RINGO - little tools for Mac OS X http://irodori.sakura.ne.jp/ From zenitani at mac.com Wed Feb 14 01:02:21 2007 From: zenitani at mac.com (Seiji Zenitani) Date: Tue, 13 Feb 2007 08:02:21 -0800 Subject: [macemacsjp-english 900] Re: Time stamp issues in html-helper Message-ID: <810230B8-0110-1000-FD76-101DCC02CA80-Webmail-10016@mac.com> On 2007/02/12, at 20:10, Adrian Burd wrote: > the timestamp is automatically inserted in a new file on the first > save after it is created, but after that, it > is never automatically updated. > > Am I missing something here? It works for me. On 2007/02/13, at 5:05, Roussanka Loukanova wrote: > > I had that feature in the Emacs under Linux automatically, without adding > anything to my .emacs. And I used to get an initial template for html > content, including time stamp updating feature (with Date created and > Last time updated), when I would start up a new file with extension .html. > This feature works by default for Aquamacs under Mac too (I've just > tested it). But I do not know how to get this with Carbon Emacs, which > is my text editor for everything on my MacBook Pro Intel. That is "html-helper-mode", a third-party html-mode for editing html files. Probably it was pre-configured on your Linux. To use html-helper-mode, add the below line to your .emacs.el. (add-to-list 'auto-mode-alist '("\\.html\\'" . html-helper-mode)) The html-helper-mode *was* the de-facto standard, but it *is not* standard these days. - Seiji From rloukano at stp.lingfil.uu.se Wed Feb 14 01:10:38 2007 From: rloukano at stp.lingfil.uu.se (Roussanka Loukanova) Date: Tue, 13 Feb 2007 17:10:38 +0100 (CET) Subject: [macemacsjp-english 901] Re: Time stamp issues in html-helper In-Reply-To: References: <20070212201042.APK26736@punts1.cc.uga.edu> Message-ID: Hi, On Tue, 13 Feb 2007, irodori at irodori.sakura.ne.jp wrote: [...] >> I had that feature in the Emacs under Linux automatically, without adding >> anything to my .emacs. And I used to get an initial template for html >> content, including time stamp updating feature (with Date created and >> Last time updated), when I would start up a new file with extension .html. >> This feature works by default for Aquamacs under Mac too (I've just >> tested it). But I do not know how to get this with Carbon Emacs, which >> is my text editor for everything on my MacBook Pro Intel. > > However, this feature works with Carbon Emacs Jan 2007(v2) on my > PowerMac G4/PPC. I'm not sure, but this problem may occur only Intel > Mac. > > Could you try some commands on yor Mac? > > M-x html-helper-mode ; run on non-html file it seems working (I am only guessing, because I've never used this): I opened a test.tex file. After , the tex syntax coloring disappeared, but this was everything that I got. > M-x html-helper-mode-run ; run on empty buffer I've started up a new file "test" with no extension, After I got an html template (exactly similar to the one with Aquaemacs):


> M-: (html-helper-update-timestamp) I issued (i.e., typed) this in the mini-buffer of the above file: it seems working, because I got the time: Last modified: Tue Feb 13 17:00:33 CET 2007 When I saved this file as test.html, the time got updated to: Last modified: Tue Feb 13 17:02:02 CET 2007 But then, if I make changes and save them with Ctrl-x Ctrl-s, the time is not updated. If I issue again , I get the following in a new sub-window *Backtrace*: Debugger entered--Lisp error: (void-function html-helper-timestamp) (html-helper-timestamp) eval((html-helper-timestamp)) eval-expression((html-helper-timestamp) nil) call-interactively(eval-expression) I do not now what to do with this now :) Roussanka > If these commands not work, I think that Carbon Emacs's html-helper > package have fatal problem. > > Best regards, > > -- > Eiji Honjoh > > irodori RINGO - little tools for Mac OS X > http://irodori.sakura.ne.jp/ > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > From zenitani at mac.com Wed Feb 14 01:12:29 2007 From: zenitani at mac.com (Seiji Zenitani) Date: Tue, 13 Feb 2007 08:12:29 -0800 Subject: [macemacsjp-english 902] Re: Time stamp issues in html-helper Message-ID: <810230B8-0110-1000-FDD4-101DCC02CA80-Webmail-10016@mac.com> On 2007/02/13, at 11:02, Seiji Zenitani wrote: > On 2007/02/12, at 20:10, Adrian Burd wrote: > > the timestamp is automatically inserted in a new file on the first > > save after it is created, but after that, it > > is never automatically updated. > > > > Am I missing something here? Reprodicible. When I create a new html file, the timestamp is automatically updated in the buffer. However, when I open an existing html file, it doesn't work. > html-helper-do-write-file-hooks is t. - Seiji From zenitani at mac.com Wed Feb 14 01:22:41 2007 From: zenitani at mac.com (Seiji Zenitani) Date: Tue, 13 Feb 2007 08:22:41 -0800 Subject: [macemacsjp-english 903] Re: Time stamp issues in html-helper Message-ID: It's magic-mode-alist! (add-to-list 'auto-mode-alist '("\\.html\\'" . html-helper-mode)) (add-to-list 'magic-mode-alist (cons (car (rassq 'html-mode magic-mode-alist)) 'html-helper-mode)) On magic-mode-alist, read M-x describe-variable magic-mode-alist. - Seiji From rloukano at stp.lingfil.uu.se Wed Feb 14 01:23:56 2007 From: rloukano at stp.lingfil.uu.se (Roussanka Loukanova) Date: Tue, 13 Feb 2007 17:23:56 +0100 (CET) Subject: [macemacsjp-english 904] Re: Time stamp issues in html-helper In-Reply-To: <810230B8-0110-1000-FD76-101DCC02CA80-Webmail-10016@mac.com> References: <810230B8-0110-1000-FD76-101DCC02CA80-Webmail-10016@mac.com> Message-ID: On Tue, 13 Feb 2007, Seiji Zenitani wrote: > That is "html-helper-mode", a third-party html-mode for editing html files. OK, I took it away from my .emacs file. ... > To use html-helper-mode, add the below line to your .emacs.el. Am I supposed to create it in my home directory: ~/.emacs.el. Or, is it already existing somewhere, and where? (I have not been successful to find it with roussankas-computer:/ rosi$ find . -name "*.emacs.el*" -print Roussanka > (add-to-list 'auto-mode-alist '("\\.html\\'" . html-helper-mode)) > > The html-helper-mode *was* the de-facto standard, > but it *is not* standard these days. > > > - Seiji From pa.news at free.fr Wed Feb 14 01:34:39 2007 From: pa.news at free.fr (Pierre Albarede) Date: Tue, 13 Feb 2007 17:34:39 +0100 Subject: [macemacsjp-english 905] Re: Time stamp issues in html-helper In-Reply-To: <20070212201042.APK26736@punts1.cc.uga.edu> References: <20070212201042.APK26736@punts1.cc.uga.edu> Message-ID: Hi, Le 13 f?vr. 07 ? 02:10, Adrian Burd a ?crit : > I've just started to use the Carbon Emacs package (I've been a long > time emacs user on Linux systems). > I'm using a simplified version of my .emacs file from my Linux setups > but for some reason, the automatic > time stamp updating feature in html-helper is not working. On my different emacs versions use slightly different time stamps. Watch out for a minor format difference. Pierre Albarede http://pierre.albarede.free.fr From Peter_Dyballa at Web.DE Wed Feb 14 03:41:16 2007 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue, 13 Feb 2007 19:41:16 +0100 Subject: [macemacsjp-english 906] Re: Time stamp issues in html-helper In-Reply-To: References: Message-ID: Am 13.02.2007 um 17:22 schrieb Seiji Zenitani: > It's magic-mode-alist! Ah: it has now html-mode pre-defined for XML and HTML ... -- Greetings Pete "What do you think of Western Civilisation?" "I think it would be a good idea!" -- Mohandas Karamchand Gandhi From rloukano at stp.lingfil.uu.se Wed Feb 14 06:17:22 2007 From: rloukano at stp.lingfil.uu.se (Roussanka Loukanova) Date: Tue, 13 Feb 2007 22:17:22 +0100 (CET) Subject: [macemacsjp-english 907] Re: Time stamp issues in html-helper In-Reply-To: References: Message-ID: On Tue, 13 Feb 2007, Seiji Zenitani wrote: > It's magic-mode-alist! > > (add-to-list 'auto-mode-alist '("\\.html\\'" . html-helper-mode)) > (add-to-list 'magic-mode-alist > (cons (car (rassq 'html-mode magic-mode-alist)) 'html-helper-mode)) I have put these settings into my ~/.emacs file. It works! I'd appreciate if you correct me, if ~/.emacs is not the best place to put the above settings. Thanks a lot, for the question (I had in my mind too), but most thanks are to Seiji: for the solution, and most of all for the Carbon Emacs on Macs! Roussanka From rloukano at stp.lingfil.uu.se Wed Feb 14 06:22:02 2007 From: rloukano at stp.lingfil.uu.se (Roussanka Loukanova) Date: Tue, 13 Feb 2007 22:22:02 +0100 (CET) Subject: [macemacsjp-english 908] Re: Time stamp issues in html-helper In-Reply-To: References: Message-ID: On Tue, 13 Feb 2007, Peter Dyballa wrote: > Am 13.02.2007 um 17:22 schrieb Seiji Zenitani: > >> It's magic-mode-alist! > > Ah: it has now html-mode pre-defined for XML and HTML ... It's great. Roussanka > Pete From zenitani at mac.com Thu Feb 15 08:03:14 2007 From: zenitani at mac.com (Seiji Zenitani) Date: Wed, 14 Feb 2007 18:03:14 -0500 Subject: [macemacsjp-english 909] Re: Time stamp issues in html-helper In-Reply-To: References: Message-ID: On 2007/02/13, at 16:17, Roussanka Loukanova wrote: > On Tue, 13 Feb 2007, Seiji Zenitani wrote: > >> It's magic-mode-alist! >> >> (add-to-list 'auto-mode-alist '("\\.html\\'" . html-helper-mode)) >> (add-to-list 'magic-mode-alist >> (cons (car (rassq 'html-mode magic-mode-alist)) 'html-helper- >> mode)) > > I have put these settings into my ~/.emacs file. It works! I'd > appreciate > if you correct me, if ~/.emacs is not the best place to put the above > settings. I think both .emacs and .emacs.el are OK. If you want to know further details, take a look at the built-in info documents. M-x info --> Emacs * Emacs: (emacs). The extensible self-documenting text editor. --> Customization * Init File:: How to write common customizations in the `.emacs' file. The Init File, `~/.emacs' * Find Init:: How Emacs finds the init file. Seiji From javier_elizondo69 at yahoo.com Thu Feb 15 12:52:33 2007 From: javier_elizondo69 at yahoo.com (Javier Elizondo) Date: Wed, 14 Feb 2007 19:52:33 -0800 (PST) Subject: [macemacsjp-english 910] enhance carbon emacs Message-ID: <271053.50777.qm@web55111.mail.re4.yahoo.com> Hi, I installed the Enhance carbon emacs that was released today (see mail below). However, the pdf reader that opens is acroread, instead of PDFview. It is quite weird for me. Does any one know what is going on?. I will appreciate any help. Sincerely, Javier Elizondo ------------------------------------------------------------------------- Version: 1.0 public release, released 15 February 2007 (this fixes few bugs from the old beta version) http://web.inf.unibz.it/~franconi/enhanced-carbon-emacs/ Enhanced Carbon Emacs is now a universal enhancement plugin for arbitrary (unix, carbon, or aqua) emacs distributions (such as Yaced, Aquamacs, CarbonEmacs Tiger, or the native darwin emacs in /usr/bin/ emacs). This includes a fully customisable LaTeX editing environment based on AucTeX, RefTeX, Preview and other packages. Basically, ECE is a convenient way to properly install a large number of pre- configured useful packages for LaTeX users, which includes a hack of AUCTeX, that allows to have a more intuitive handling of the "view" command in a macintosh context (in particular, for non-pdftex users willing to preview in pdf). From emacs, you can launch directly any latex process or any mac application on files or regions you are working on. The installer installs the ECE plugin in /Library/Application Support/ emacs/ If you are not using aquamacs, then you should add in your .emacs ;; Load Enhanced Carbon Emacs plugin (unless (or (boundp 'enhanced-carbon-emacs) (boundp 'aquamacs- version)) (defun load-local-site-start (site-lisp-directory) "Load site-start.el from a given site-lisp directory" (let ((current-default-directory default-directory)) (setq default-directory site-lisp-directory) (normal-top-level-add-subdirs-to-load-path) (setq default-directory current-default-directory) (setq load-path (cons site-lisp-directory load-path)) (load (concat site-lisp-directory "/site-start.el")) )) (load-local-site-start "/Library/Application Support/Emacs/ec- emacs/site-lisp")) ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.sourceforge.jp/mailman/archives/macemacsjp-english/attachments/20070214/17128aeb/attachment.htm From zenitani at mac.com Fri Feb 16 14:57:38 2007 From: zenitani at mac.com (Seiji Zenitani) Date: Fri, 16 Feb 2007 00:57:38 -0500 Subject: [macemacsjp-english 911] Re: enhance carbon emacs In-Reply-To: <271053.50777.qm@web55111.mail.re4.yahoo.com> References: <271053.50777.qm@web55111.mail.re4.yahoo.com> Message-ID: Hi, On 2007/02/14, at 22:52, Javier Elizondo wrote: > Hi, > > I installed the Enhance carbon emacs that was released today (see > mail below). > However, the pdf reader that opens is acroread, instead of PDFview. > It is quite > weird for me. > > Does any one know what is going on?. I will appreciate any help. > > Sincerely, Javier Elizondo 8< > This includes a fully customisable LaTeX editing environment > based on AucTeX, RefTeX, Preview and other packages. 8< Carbon Emacs Package contains AUCTeX, RefTeX and preview-latex... Probably Aquamacs emacs contains them, too. Seiji From david.reitter at gmail.com Fri Feb 16 17:04:50 2007 From: david.reitter at gmail.com (David Reitter) Date: Fri, 16 Feb 2007 08:04:50 +0000 Subject: [macemacsjp-english 912] Re: enhance carbon emacs In-Reply-To: References: <271053.50777.qm@web55111.mail.re4.yahoo.com> Message-ID: <784CFC58-FCE3-4E2B-8C7E-602DE1FBF151@gmail.com> On 16 Feb 2007, at 05:57, Seiji Zenitani wrote: >> This includes a fully customisable LaTeX editing environment >> based on AucTeX, RefTeX, Preview and other packages. > > 8< > > Carbon Emacs Package contains AUCTeX, RefTeX and preview-latex... > Probably Aquamacs emacs contains them, too. Yes, it does, and I hope the Plugin won't cause problems due to the double installation of [different versions] of AUCTeX and friends... Feedback from users (works / doesn't work) would be appreciated. D From Peter_Dyballa at Web.DE Fri Feb 16 23:45:06 2007 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Fri, 16 Feb 2007 15:45:06 +0100 Subject: [macemacsjp-english 913] Re: enhance carbon emacs In-Reply-To: <271053.50777.qm@web55111.mail.re4.yahoo.com> References: <271053.50777.qm@web55111.mail.re4.yahoo.com> Message-ID: <3F64DB4C-D60B-4027-A62B-1C493133BCFE@Web.DE> Am 15.02.2007 um 04:52 schrieb Javier Elizondo: > I installed the Enhance carbon emacs that was released today (see > mail below). > However, the pdf reader that opens is acroread, instead of PDFview. There is a dot-emacs.el supplied with this package. It has these two lines (setq pdf-previewer-program "open -a PDFView") (setq dvi-previewer-program "open -a texniscope") I'd recommend to create a personal copy of the texdoc script, adjust there the viewers, and set the *-previewer-programs each to texdoc. -- Greetings Pete "What do you think of Western Civilisation?" "I think it would be a good idea!" -- Mohandas Karamchand Gandhi From khansen at stat.Berkeley.EDU Mon Feb 19 04:23:39 2007 From: khansen at stat.Berkeley.EDU (Kasper Daniel Hansen) Date: Sun, 18 Feb 2007 11:23:39 -0800 Subject: [macemacsjp-english 914] emacs full screen Message-ID: <1B7DCA27-D2BA-4CA5-8C36-3B8277B9DB8B@stat.berkeley.edu> This is my solution, based on some advice from Seiji-san regarding two things: 1) I want to be able to maximize Emacs so that it covers all of the available screen, including the menu bar and the dock (this is called presentation mode in some applications) 2) I am regularly using an external monitor and want to change my emacs settings (especially font and window size) between my laptop and my external display My solution uses two functions mac-switch-display which switches between window configurations and mac-resize-display which switches between normal and full screen mode. The two functions are bound to M- f1 and M-f2. I never use more than a single frame, so I am not sure how it works with several frames. The settings are defined in the variable mac-display-list and should be quite obvious. The positions are in pixels and the sizes are in characters. It seems like Emacs _needs_ a character based frame size. For that reason it may be difficult to _exact;_ cover the entire screen estate (I have a few pixels worth of empty space, when maximizing on my laptop). For obvious reasons, a character based width is very dependent on the font you are using, so I gave up on auto-setting it. In case you need to discover what the position/size of you frame is for configuration purpose, entering these lines into the scratch buffer will help: (frame-parameter (selected-frame) 'font) (frame-parameter (selected-frame) 'height) (frame-parameter (selected-frame) 'left) (frame-parameter (selected-frame) 'top) You use them by placing the cursor at the end of the line _right next to the last )_ and then press C-x C-e. Without further ado, here is the relevant part from my dot-emacs: (setq mac-display-list '((external . ((name . "external") (font . "-*-*-medium-r-normal--16-*-*-*-*-*-fontset- hiraginokaku") (normalsize . (110 48)) (normalposition . (0 22)) (maxsize . (164 49)))) (laptop . ((name . "laptop") (font . "-*-*-medium-r-normal--14-*-*-*-*-*-fontset-hiraginokaku") (normalsize . (80 38)) (normalposition . (0 22)) (maxsize . (124 39)))) )) (defun mac-switch-display () "Switches the display type between laptop and external" (interactive) (cond ((equal (cdr (assoc 'name mac-current-display)) "laptop") (setq mac-current-display (cdr (assoc 'external mac-display-list)))) ((equal (cdr (assoc 'name mac-current-display)) "external") (setq mac-current-display (cdr (assoc 'laptop mac-display-list)))) ) (apply 'set-frame-size (cons (selected-frame) (cdr (assoc 'normalsize mac-current-display)))) (apply 'set-frame-position (cons (selected-frame) (cdr (assoc 'normalposition mac-current-display)))) (apply 'set-frame-font (list (cdr (assoc 'font mac-current- display)))) ) (defun mac-resize-display () "Resizes the display. Toggles between the maxed and normal display size. If the current displaysize is smaller than the normal display size, switch to the normal display size. All sizes are frame widths" (interactive) (cond ((< (frame-parameter (selected-frame) 'width) (car (cdr (assoc 'normalsize mac-current-display)))) (mac-show-menu-bar) (apply 'set-frame-position (cons (selected-frame) (cdr (assoc 'normalposition mac-current-display)))) (apply 'set-frame-size (cons (selected-frame) (cdr (assoc 'normalsize mac-current-display)))) ) ((< (frame-parameter (selected-frame) 'width) (car (cdr (assoc 'maxsize mac-current-display)))) (mac-hide-menu-bar) (set-frame-position (selected-frame) 0 0) (apply 'set-frame-size (cons (selected-frame) (cdr (assoc 'maxsize mac-current-display)))) ) ((= (frame-parameter (selected-frame) 'width) (car (cdr (assoc 'maxsize mac-current-display)))) (mac-show-menu-bar) (apply 'set-frame-position (cons (selected-frame) (cdr (assoc 'normalposition mac-current-display)))) (apply 'set-frame-size (cons (selected-frame) (cdr (assoc 'normalsize mac-current-display)))) ) )) (if (eq window-system 'mac) (progn (require 'carbon-font) (setq mac-current-display (cdr (assoc 'external mac-display-list))) (mac-switch-display) (global-set-key (kbd "") 'mac-resize-display) (global-set-key (kbd "") 'mac-switch-display) )) Kasper From chasrmartin at gmail.com Mon Feb 19 12:04:48 2007 From: chasrmartin at gmail.com (Charles Martin) Date: Sun, 18 Feb 2007 20:04:48 -0700 Subject: [macemacsjp-english 915] Re: macemacsjp-english Digest, Vol 24, Issue 15 In-Reply-To: <20070219030013.577194B115D@lists.sourceforge.jp> References: <20070219030013.577194B115D@lists.sourceforge.jp> Message-ID: Hey, guys, what are the odds of being able to get EMACS to do a *real* full screen mode on MAC OS? On 2/18/07, macemacsjp-english-request at lists.sourceforge.jp wrote: > Send macemacsjp-english mailing list submissions to > macemacsjp-english at lists.sourceforge.jp > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > or, via email, send a message with subject or body 'help' to > macemacsjp-english-request at lists.sourceforge.jp > > You can reach the person managing the list at > macemacsjp-english-owner at lists.sourceforge.jp > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of macemacsjp-english digest..." > > > Today's Topics: > > 1. [macemacsjp-english 914] emacs full screen (Kasper Daniel Hansen) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 18 Feb 2007 11:23:39 -0800 > From: Kasper Daniel Hansen > Subject: [macemacsjp-english 914] emacs full screen > To: macemacsjp-english at lists.sourceforge.jp > Message-ID: <1B7DCA27-D2BA-4CA5-8C36-3B8277B9DB8B at stat.berkeley.edu> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > This is my solution, based on some advice from Seiji-san regarding > two things: > 1) I want to be able to maximize Emacs so that it covers all of the > available screen, including the menu bar and the dock (this is called > presentation mode in some applications) > 2) I am regularly using an external monitor and want to change my > emacs settings (especially font and window size) between my laptop > and my external display > > My solution uses two functions mac-switch-display which switches > between window configurations and mac-resize-display which switches > between normal and full screen mode. The two functions are bound to M- > f1 and M-f2. I never use more than a single frame, so I am not sure > how it works with several frames. > > The settings are defined in the variable mac-display-list and should > be quite obvious. The positions are in pixels and the sizes are in > characters. It seems like Emacs _needs_ a character based frame size. > For that reason it may be difficult to _exact;_ cover the entire > screen estate (I have a few pixels worth of empty space, when > maximizing on my laptop). For obvious reasons, a character based > width is very dependent on the font you are using, so I gave up on > auto-setting it. > > In case you need to discover what the position/size of you frame is > for configuration purpose, entering these lines into the scratch > buffer will help: > > (frame-parameter (selected-frame) 'font) > (frame-parameter (selected-frame) 'height) > (frame-parameter (selected-frame) 'left) > (frame-parameter (selected-frame) 'top) > > You use them by placing the cursor at the end of the line _right next > to the last )_ and then press C-x C-e. > > Without further ado, here is the relevant part from my dot-emacs: > > > (setq mac-display-list > '((external . ((name . "external") > (font . "-*-*-medium-r-normal--16-*-*-*-*-*-fontset- > hiraginokaku") > (normalsize . (110 48)) > (normalposition . (0 22)) > (maxsize . (164 49)))) > (laptop . ((name . "laptop") > (font . "-*-*-medium-r-normal--14-*-*-*-*-*-fontset-hiraginokaku") > (normalsize . (80 38)) > (normalposition . (0 22)) > (maxsize . (124 39)))) > )) > > (defun mac-switch-display () > "Switches the display type between laptop and external" > (interactive) > (cond ((equal (cdr (assoc 'name mac-current-display)) "laptop") > (setq mac-current-display (cdr (assoc 'external mac-display-list)))) > ((equal (cdr (assoc 'name mac-current-display)) "external") > (setq mac-current-display (cdr (assoc 'laptop mac-display-list)))) > ) > (apply 'set-frame-size (cons (selected-frame) (cdr (assoc > 'normalsize mac-current-display)))) > (apply 'set-frame-position (cons (selected-frame) (cdr (assoc > 'normalposition mac-current-display)))) > (apply 'set-frame-font (list (cdr (assoc 'font mac-current- > display)))) > ) > > (defun mac-resize-display () > "Resizes the display. Toggles between the maxed and normal display > size. If the current displaysize is smaller than the normal display > size, switch to the normal display size. All sizes are frame widths" > (interactive) > (cond ((< (frame-parameter (selected-frame) 'width) (car (cdr > (assoc 'normalsize mac-current-display)))) > (mac-show-menu-bar) > (apply 'set-frame-position (cons (selected-frame) (cdr (assoc > 'normalposition mac-current-display)))) > (apply 'set-frame-size (cons (selected-frame) (cdr (assoc > 'normalsize mac-current-display)))) > ) > ((< (frame-parameter (selected-frame) 'width) (car (cdr (assoc > 'maxsize mac-current-display)))) > (mac-hide-menu-bar) > (set-frame-position (selected-frame) 0 0) > (apply 'set-frame-size (cons (selected-frame) (cdr (assoc 'maxsize > mac-current-display)))) > ) > ((= (frame-parameter (selected-frame) 'width) (car (cdr (assoc > 'maxsize mac-current-display)))) > (mac-show-menu-bar) > (apply 'set-frame-position (cons (selected-frame) (cdr (assoc > 'normalposition mac-current-display)))) > (apply 'set-frame-size (cons (selected-frame) (cdr (assoc > 'normalsize mac-current-display)))) > ) > )) > > (if (eq window-system 'mac) > (progn (require 'carbon-font) > (setq mac-current-display (cdr (assoc 'external mac-display-list))) > (mac-switch-display) > (global-set-key (kbd "") 'mac-resize-display) > (global-set-key (kbd "") 'mac-switch-display) > )) > > > Kasper > > > ------------------------------ > > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > > > End of macemacsjp-english Digest, Vol 24, Issue 15 > ************************************************** > -- Laissez-nous faire, laissez-nous passer. Le monde va de lui-m?me. From khansen at stat.Berkeley.EDU Mon Feb 19 12:13:30 2007 From: khansen at stat.Berkeley.EDU (Kasper Daniel Hansen) Date: Sun, 18 Feb 2007 19:13:30 -0800 Subject: [macemacsjp-english 916] Re: macemacsjp-english Digest, Vol 24, Issue 15 In-Reply-To: References: <20070219030013.577194B115D@lists.sourceforge.jp> Message-ID: What is not *real* about my functions? I thought originally that it was doable with some Mac programming, but was directed to the mac- hide-menubar function, and while I agree it is not "standard", I think it _works_ beautifully. Kasper On Feb 18, 2007, at 7:04 PM, Charles Martin wrote: > Hey, guys, what are the odds of being able to get EMACS to do a *real* > full screen mode on MAC OS? > > On 2/18/07, macemacsjp-english-request at lists.sourceforge.jp > wrote: >> Send macemacsjp-english mailing list submissions to >> macemacsjp-english at lists.sourceforge.jp >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://lists.sourceforge.jp/mailman/listinfo/macemacsjp- >> english >> or, via email, send a message with subject or body 'help' to >> macemacsjp-english-request at lists.sourceforge.jp >> >> You can reach the person managing the list at >> macemacsjp-english-owner at lists.sourceforge.jp >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of macemacsjp-english digest..." >> >> >> Today's Topics: >> >> 1. [macemacsjp-english 914] emacs full screen (Kasper Daniel >> Hansen) >> >> >> --------------------------------------------------------------------- >> - >> >> Message: 1 >> Date: Sun, 18 Feb 2007 11:23:39 -0800 >> From: Kasper Daniel Hansen >> Subject: [macemacsjp-english 914] emacs full screen >> To: macemacsjp-english at lists.sourceforge.jp >> Message-ID: <1B7DCA27-D2BA-4CA5-8C36-3B8277B9DB8B at stat.berkeley.edu> >> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed >> >> This is my solution, based on some advice from Seiji-san regarding >> two things: >> 1) I want to be able to maximize Emacs so that it covers all of the >> available screen, including the menu bar and the dock (this is called >> presentation mode in some applications) >> 2) I am regularly using an external monitor and want to change my >> emacs settings (especially font and window size) between my laptop >> and my external display >> >> My solution uses two functions mac-switch-display which switches >> between window configurations and mac-resize-display which switches >> between normal and full screen mode. The two functions are bound >> to M- >> f1 and M-f2. I never use more than a single frame, so I am not sure >> how it works with several frames. >> >> The settings are defined in the variable mac-display-list and should >> be quite obvious. The positions are in pixels and the sizes are in >> characters. It seems like Emacs _needs_ a character based frame size. >> For that reason it may be difficult to _exact;_ cover the entire >> screen estate (I have a few pixels worth of empty space, when >> maximizing on my laptop). For obvious reasons, a character based >> width is very dependent on the font you are using, so I gave up on >> auto-setting it. >> >> In case you need to discover what the position/size of you frame is >> for configuration purpose, entering these lines into the scratch >> buffer will help: >> >> (frame-parameter (selected-frame) 'font) >> (frame-parameter (selected-frame) 'height) >> (frame-parameter (selected-frame) 'left) >> (frame-parameter (selected-frame) 'top) >> >> You use them by placing the cursor at the end of the line _right next >> to the last )_ and then press C-x C-e. >> >> Without further ado, here is the relevant part from my dot-emacs: >> >> >> (setq mac-display-list >> '((external . ((name . "external") >> (font . "-*-*-medium-r-normal--16-*-*-*-*-*- >> fontset- >> hiraginokaku") >> (normalsize . (110 48)) >> (normalposition . (0 22)) >> (maxsize . (164 49)))) >> (laptop . ((name . "laptop") >> (font . "-*-*-medium-r-normal--14-*-*-*-*-*- >> fontset-hiraginokaku") >> (normalsize . (80 38)) >> (normalposition . (0 22)) >> (maxsize . (124 39)))) >> )) >> >> (defun mac-switch-display () >> "Switches the display type between laptop and external" >> (interactive) >> (cond ((equal (cdr (assoc 'name mac-current-display)) "laptop") >> (setq mac-current-display (cdr (assoc 'external mac- >> display-list)))) >> ((equal (cdr (assoc 'name mac-current-display)) "external") >> (setq mac-current-display (cdr (assoc 'laptop mac-display- >> list)))) >> ) >> (apply 'set-frame-size (cons (selected-frame) (cdr (assoc >> 'normalsize mac-current-display)))) >> (apply 'set-frame-position (cons (selected-frame) (cdr (assoc >> 'normalposition mac-current-display)))) >> (apply 'set-frame-font (list (cdr (assoc 'font mac-current- >> display)))) >> ) >> >> (defun mac-resize-display () >> "Resizes the display. Toggles between the maxed and normal display >> size. If the current displaysize is smaller than the normal display >> size, switch to the normal display size. All sizes are frame widths" >> (interactive) >> (cond ((< (frame-parameter (selected-frame) 'width) (car (cdr >> (assoc 'normalsize mac-current-display)))) >> (mac-show-menu-bar) >> (apply 'set-frame-position (cons (selected-frame) (cdr >> (assoc >> 'normalposition mac-current-display)))) >> (apply 'set-frame-size (cons (selected-frame) (cdr (assoc >> 'normalsize mac-current-display)))) >> ) >> ((< (frame-parameter (selected-frame) 'width) (car (cdr >> (assoc >> 'maxsize mac-current-display)))) >> (mac-hide-menu-bar) >> (set-frame-position (selected-frame) 0 0) >> (apply 'set-frame-size (cons (selected-frame) (cdr (assoc >> 'maxsize >> mac-current-display)))) >> ) >> ((= (frame-parameter (selected-frame) 'width) (car (cdr >> (assoc >> 'maxsize mac-current-display)))) >> (mac-show-menu-bar) >> (apply 'set-frame-position (cons (selected-frame) (cdr >> (assoc >> 'normalposition mac-current-display)))) >> (apply 'set-frame-size (cons (selected-frame) (cdr (assoc >> 'normalsize mac-current-display)))) >> ) >> )) >> >> (if (eq window-system 'mac) >> (progn (require 'carbon-font) >> (setq mac-current-display (cdr (assoc 'external mac- >> display-list))) >> (mac-switch-display) >> (global-set-key (kbd "") 'mac-resize-display) >> (global-set-key (kbd "") 'mac-switch-display) >> )) >> >> >> Kasper >> >> >> ------------------------------ >> >> _______________________________________________ >> macemacsjp-english mailing list >> macemacsjp-english at lists.sourceforge.jp >> http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english >> >> >> End of macemacsjp-english Digest, Vol 24, Issue 15 >> ************************************************** >> > > > -- > Laissez-nous faire, laissez-nous passer. > Le monde va de lui-m?me. > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english From federico.maggi at gmail.com Fri Feb 23 18:13:26 2007 From: federico.maggi at gmail.com (Federico Maggi) Date: Fri, 23 Feb 2007 10:13:26 +0100 Subject: [macemacsjp-english 917] `list' is not a known ERC module Message-ID: <1B1AAB0C-AF8A-46BA-A195-4A77959F69B2@gmail.com> Hi, after having updated at last release of Carbon Emacs Package, I cannot use ERC anymore. Here is a dump of what happened after M-x erc and logging into irc.freenode.net:6667: Loading erc...done erc-update-modules: `list' is not a known ERC module Do you see any possible solution/reason? Thanks in advance. Best regards, -- Federico www.Maggi.cc From alama at stanford.edu Sat Feb 24 04:06:57 2007 From: alama at stanford.edu (Jesse Alama) Date: Fri, 23 Feb 2007 11:06:57 -0800 Subject: [macemacsjp-english 918] Re: `list' is not a known ERC module References: <1B1AAB0C-AF8A-46BA-A195-4A77959F69B2@gmail.com> Message-ID: Hi Federico, Federico Maggi writes: > after having updated at last release of Carbon Emacs Package, I > cannot use ERC anymore. Here is a dump of what happened after M-x erc > and logging into irc.freenode.net:6667: > > Loading erc...done > erc-update-modules: `list' is not a known ERC module > > Do you see any possible solution/reason? Thanks in advance. I believe the ERC developers have seen this bug before. Try asking on erc-discuss at gnu.org. Jesse -- Jesse Alama (alama at stanford.edu) *143: No implicit qualification (http://www.mizar.org) From matsuan at ca2.so-net.ne.jp Sun Feb 25 18:43:36 2007 From: matsuan at ca2.so-net.ne.jp (Takashi Hiromatsu) Date: Sun, 25 Feb 2007 18:43:36 +0900 Subject: [macemacsjp-english 919] transparency3 was released Message-ID: New transparency patch was released as transparency3. System requirements: Emacs 22.0.92 or later on the following platforms * Mac OS X 10.2 or later * Windows XP/2000/ME * X.org (6.8 or later) and XGL with "X Compositing manager" (xcompmgr, compiz or something like them) http://prdownloads.sourceforge.jp/macemacsjp/24136/transparency-3.0.0.tar.gz Takashi Hiromatsu From zenitani at gmail.com Mon Feb 26 12:00:24 2007 From: zenitani at gmail.com (Seiji Zenitani) Date: Sun, 25 Feb 2007 17:00:24 -1000 Subject: [macemacsjp-english 920] new beta Message-ID: <9C30761E-53F9-4E38-BD82-FC08771FE953@gmail.com> Hi all, Here's latest beta: http://macemacsjp.sourceforge.jp/package/test/ Sincerely, Seiji Zenitani zenitani at gmail.com From zenitani at gmail.com Mon Feb 26 12:02:37 2007 From: zenitani at gmail.com (Seiji Zenitani) Date: Sun, 25 Feb 2007 17:02:37 -1000 Subject: [macemacsjp-english 921] How to build Carbon Emacs Package Message-ID: <72BEED31-4E6B-42DC-83B9-777EA089CC36@gmail.com> Hi all, In case I got hit by a bus, I send to you an instruction to build Carbon Emacs Package on Tiger. You are very welcome to try the following, if you would like to explore Carbon Emacs Package in depth. Sincerely, Seiji Zenitani zenitani at gmail.com ___________________________________________________________________ == System Requirements == * Mac OS X 10.4.8 or later * XCode 2.4.1 or later * relatively "new" TeX distribution in your PATH AUCTeX requires dvipng 1.6 or later, tex, gs etc. * no fink If you have installed fink in /sw, temporally rename /sw to /sw.tmp or something like that. == Obtaining our source codes == For the release versions, visit http://macemacsjp.sourceforge.jp/package/src/ . The latest source codes are managed by subversion. $ svn checkout https://svn.sourceforge.net/svnroot/emacs-mac/ CarbonEmacs/trunk == Directory layout == $ ls GPL Makefile Resources non-GPL == Building an Intel (or PowerPC) build == Try 'make' in the following way. First, expand the source code and apply various patches to the source tree. $ make patch Next, try compile. It may take long time. $ make compile Prepare a disk image file. If you fail something, unmount the "Emacs" voulme. $ make dmg Compile the various elisp libraries and install them into the "Emacs" disk. If you like, you can edit the "pkg:" section in the Makefile. $ make pkg Now Emacs.app is in the "Emacs" volume. You can copy it to your application folder, if you want. To make the "Emacs" volume fancy, try $ make icon Compress the disk image file and unmount the "Emacs" volume. $ make done Now you will see a new disk image file, whose filename is CarbonEmacs-powerpc-($date).dmg or CarbonEmacs-i386-($date).dmg. == Redistributing your own package == Redistributing your own package is welcome. Before compiling, you should edit "VERSION" section in the Makefile and you should edit the file Resources/ReadMe.txt. Of course I am very happy if you feedback your enhancements to us. ___________________________________________________________________ From zenitani at gmail.com Mon Feb 26 12:08:55 2007 From: zenitani at gmail.com (Seiji Zenitani) Date: Sun, 25 Feb 2007 17:08:55 -1000 Subject: [macemacsjp-english 922] sf.jp rejects @mac.com Message-ID: <90F09C0D-95D3-42D7-80D6-6885234B2B8F@gmail.com> Dear all, It seems that our mailing list service rejects emails from @mac.com! Seiji Zenitani zenitani at gmail.com zenitani at mac.com From federico.maggi at gmail.com Mon Feb 26 18:31:07 2007 From: federico.maggi at gmail.com (Federico Maggi) Date: Mon, 26 Feb 2007 10:31:07 +0100 Subject: [macemacsjp-english 923] Re: new beta In-Reply-To: <9C30761E-53F9-4E38-BD82-FC08771FE953@gmail.com> References: <9C30761E-53F9-4E38-BD82-FC08771FE953@gmail.com> Message-ID: <64BAB86C-F8D4-4F59-BFEF-ED47B6543DAE@gmail.com> On 26/feb/07, at 04:00, Seiji Zenitani wrote: > Here's latest beta: > http://macemacsjp.sourceforge.jp/package/test/ I get "The application 'Emacs.app' canno be launched." -10661 whenever I launch the beta cheers, -- Federico www.Maggi.cc From zenitani at gmail.com Mon Feb 26 18:45:55 2007 From: zenitani at gmail.com (Seiji Zenitani) Date: Sun, 25 Feb 2007 23:45:55 -1000 Subject: [macemacsjp-english 924] Re: new beta In-Reply-To: <64BAB86C-F8D4-4F59-BFEF-ED47B6543DAE@gmail.com> References: <9C30761E-53F9-4E38-BD82-FC08771FE953@gmail.com> <64BAB86C-F8D4-4F59-BFEF-ED47B6543DAE@gmail.com> Message-ID: <12D25C11-91E2-48E0-931F-2F384654E295@gmail.com> Oh, probably you use powerpc macs. My beta is usually intel only. I should have noticed that. Seiji On 2007/02/25, at 23:31, Federico Maggi wrote: > On 26/feb/07, at 04:00, Seiji Zenitani wrote: > >> Here's latest beta: >> http://macemacsjp.sourceforge.jp/package/test/ > > I get "The application 'Emacs.app' canno be launched." -10661 > > whenever I launch the beta > > cheers, > > -- > > Federico www.Maggi.cc > > > _______________________________________________ > macemacsjp-english mailing list > macemacsjp-english at lists.sourceforge.jp > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english From federico.maggi at gmail.com Mon Feb 26 18:49:05 2007 From: federico.maggi at gmail.com (Federico Maggi) Date: Mon, 26 Feb 2007 10:49:05 +0100 Subject: [macemacsjp-english 925] Re: new beta In-Reply-To: <12D25C11-91E2-48E0-931F-2F384654E295@gmail.com> References: <9C30761E-53F9-4E38-BD82-FC08771FE953@gmail.com> <64BAB86C-F8D4-4F59-BFEF-ED47B6543DAE@gmail.com> <12D25C11-91E2-48E0-931F-2F384654E295@gmail.com> Message-ID: <5FC09EB5-ADB9-4E42-9687-1C89ECA0E0AE@gmail.com> On 26/feb/07, at 10:45, Seiji Zenitani wrote: > Oh, probably you use powerpc macs. Oh, yes I'm on PowerPC > My beta is usually intel only. > I should have noticed that. Sorry ;-) I'm quite new of this mailing list thanks anyway bye, -- Federico www.Maggi.cc From pa.news at free.fr Wed Feb 28 04:28:27 2007 From: pa.news at free.fr (Pierre Albarede) Date: Tue, 27 Feb 2007 20:28:27 +0100 Subject: [macemacsjp-english 926] spurious selection and warnings Message-ID: <1EBC6F2F-5608-46EA-BFF8-C566E20594EF@free.fr> Hi, This is in LaTeX mode, with the latter and former releases of Carbon Emacs, and a MacBook. Often, when I click once into the text, I get a selection that I did not expect. This is annoying, because it clutters the kill ring. When compiling LaTeX I also have warnings in the mini-buffer Wrong type argument: stringp, nil There are more such warnings than in the .log, some must be spurious. I hope this could be fixed once. Thanks. Pierre Albarede http://pierre.albarede.free.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.sourceforge.jp/mailman/archives/macemacsjp-english/attachments/20070227/a7f4d2c0/attachment.htm From woodbird1986 at gmail.com Wed Feb 28 15:22:52 2007 From: woodbird1986 at gmail.com (Zhou Yan) Date: Wed, 28 Feb 2007 14:22:52 +0800 Subject: [macemacsjp-english 927] How to change the default windows size of the Carbon Emacs? Message-ID: <0BB45C92-6248-449D-B88A-0F4A991204CC@gmail.com> I want to change the startup windows size of the Emacs, make it wider. For cocoa applications, the windows size should be the same as the size last time it was changed, but for Carbon Emacs it seems do not work, I think this is just because it is using the carbon API. From Peter_Dyballa at Web.DE Wed Feb 28 18:26:56 2007 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed, 28 Feb 2007 10:26:56 +0100 Subject: [macemacsjp-english 928] Re: How to change the default windows size of the Carbon Emacs? In-Reply-To: <0BB45C92-6248-449D-B88A-0F4A991204CC@gmail.com> References: <0BB45C92-6248-449D-B88A-0F4A991204CC@gmail.com> Message-ID: <40F02AC3-18E5-42E6-ADC5-831E7C963D63@Web.DE> Am 28.02.2007 um 07:22 schrieb Zhou Yan: > I want to change the startup windows size of the Emacs, make it wider. You could try: (setq initial-frame-alist '( (mouse-color . "midnightblue") (foreground-color . "midnightblue") (background-color . "antiquewhite1") (font . "-*-*-medium-r-normal--10-*-*-*-*-*-fontset- hiraginomin") (top . 10) (left . 650) (width . 123) (height . 60)) ) (setq default-frame-alist '( (background-color . "ghost white") (foreground-color . "grey10") (cursor-color . "purple") (cursor-type . box) (vertical-scroll-bars . left) (active-alpha . 0.875) (inactive-alpha . 0.75) (font . "-*-*-medium-r-normal--9-*-*-*-*-*-fontset- hiraginokaku") (top . 20) (left . 150) (width . 89) (height . 56)) ) -- Greetings Pete "Give a man a fish, and you've fed him for a day. Teach him to fish, and you've depleted the lake."