From kbmail at free.fr Tue Jul 1 07:22:20 2008 From: kbmail at free.fr (Karim Barkati) Date: Tue Jul 1 10:26:56 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs Message-ID: Hello, I've been choosing to migrate for many good reasons you know, I find Aquamacs Emacs simply great ! :-D But... I noticed AE doesn't seem to recognize mac-roman encoding, which is the default encoding of TeXShop. I have to select 'Options -> Language -> Set Coding Systems -> For Reverting This File Now', and then type 'mac-roman' to get rid of all annoying '\216'-like sequences (AE finally prints 'M' in its bar), even when I reopen the same file! I know there's the 'C-x RET r' shortcut, but I still have to type 'mac-roman' for each file... I looked for another solution: convert every file in utf8 (with iconv), and that works (AE automaticaly displays 'u' in its bar, no '\216'-like sequences but the right caracters are displayed). I will keep this solution if there's no way to recognize mac-roman encoding for AE. I think there are many potential switchers, because TeXShop comes with the TeXLive distribution and is very easy to use on macs but extremly limited compared to AE... Is there a way I didn't notice? Or should I to convert all my TeXShop files? Regards, Karim From Peter_Dyballa at Web.DE Tue Jul 1 14:00:46 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue Jul 1 14:00:54 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: References: Message-ID: <22339FA3-4588-4C37-B309-3FE285139787@Web.DE> Am 01.07.2008 um 13:22 schrieb Karim Barkati: > Is there a way I didn't notice? Local variables. A combination of %%!TEX TS-program = xelatex %%!TEX encoding = UTF-8 Unicode for TeXShop and %% -*- mode: LaTeX; coding: mac-roman-unix; -*- for GNU Emacs could work, when the Emacs line is on top, where it can share space. Local variables can also be put at the file's end: %%% Local Variables: %%% mode: latex %%% coding: utf-8-unix %%% TeX-command-default: "XeLaTeX" %%% TeX-master: t %%% End: -- Greetings Pete $ sumascii BILL GATES B I L L G A T E S 66+ 73+ 76+ 76+ 71+ 65+ 84+ 69+ 83 = 663 and add 3 because he's Bill Gates the third. From eroche at mac.com Tue Jul 1 18:01:27 2008 From: eroche at mac.com (Edward M. Roche) Date: Tue Jul 1 18:01:32 2008 Subject: [OS X Emacs] Error messages In-Reply-To: <22339FA3-4588-4C37-B309-3FE285139787@Web.DE> References: <22339FA3-4588-4C37-B309-3FE285139787@Web.DE> Message-ID: Does anyone know how to interpret these messages:? 1. From latex "output" window. ======================= Running `LaTeX' on `testletter' with ``pdflatex -interaction=nonstopmode "\input" testletter.tex'' /bin/sh: pdflatex: command not found LaTeX exited abnormally with code 127 at Tue Jul 1 14:55:09 / 2. From "Messages" window ====================== ("/Applications/Aquamacs Emacs.app/Contents/MacOS/Aquamacs Emacs") Source file `/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/site-start.el' newer than byte-compiled file Loading prestart plugin files ... Loading /Users/eroche/Library/Application Support/Aquamacs Emacs/site-prestart.el (source)...done ... done. Loading easy-mmode...done Aquamacs Mule installed. Loading encoded-kb...done Loading easymenu...done Loading jka-compr...done uncompressing tree-widget.el.gz...done Loading cl-macs...done Loading /Users/eroche/Library/Preferences/Aquamacs Emacs/Recent Files.el (source)...done Cleaning up the recentf list...done (0 removed) Defining fontset: lucida11 Defining fontset: lucida12 Defining fontset: lucida13 Defining fontset: lucida14 Defining fontset: monaco11 Defining fontset: monaco12 Loading /Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/tex-site.el (source)...done Loading /Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/nxml/rng-auto.el (source)...done Loading plugins ... Loading /Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/site-start (compiled; note, source file is newer)...done ... done. Loading /Users/eroche/Library/Preferences/Aquamacs Emacs/customizations.el (source)...done Loading /Library/Preferences/Aquamacs Emacs/Preferences.el (source)... Loading /Applications/TeXniscope.app/Contents/Resources/txs-search.el (source)...done Loading /Library/Preferences/Aquamacs Emacs/Preferences.el (source)...done Loading /Users/eroche/Library/Preferences/Aquamacs Emacs/Preferences.el (source)... Restarting server Loading /Applications/TeXniscope.app/Contents/Resources/txs-search.el (source)...done Loading /Users/eroche/Library/Preferences/Aquamacs Emacs/Preferences.el (source)...done Added to /Users/eroche/Library/Preferences/Aquamacs Emacs/customizations.el Mark set [2 times] Loading /Users/eroche/Library/Preferences/Aquamacs Emacs/frame-positions.el (source)...done Mark set Aquamacs is based on GNU Emacs 22, a part of the GNU/Linux system. It is Free Software: you can improve and redistribute it under the GNU General Public License, version 3 or later. Copyright (C) 2008 Free Software Foundation, Inc. (C) 2008 D. Reitter. No Warranty. 1.4 is the most recent Aquamacs version available. Aquamacs is based on GNU Emacs 22, a part of the GNU/Linux system. It is Free Software: you can improve and redistribute it under the GNU General Public License, version 3 or later. Copyright (C) 2008 Free Software Foundation, Inc. (C) 2008 D. Reitter. No Warranty. Loading latexenc...done Loading tex...done Loading latex... Loading edmacro...done Loading latex...done Loading font-latex...done Applying style hooks... Loading /Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/auctex/style/german.elc...done Applying style hooks... done Sorting environment... Removing duplicates... done Loading tex-bar...done Mark set Loading tex-fold...done Loading bib-cite...done Loading reftex...done Loading reftex-auc...done Loading reftex-dcr...done Automatic display of crossref information was turned on Loading preview...done Applying style hooks... done Applying style hooks... done Sorting environment... Removing duplicates... done Mark set Wrote /Users/eroche/Documents/Barraclough/Letters/akletter-new/testletter.tex Press to exit full screen editing. Type `C-c C-l' to display results of compilation. LaTeX: problems after [0] pages. (New file) Applying style hooks... done Sorting environment... Removing duplicates... done Mark set Applying style hooks... done Wrote /Users/eroche/Documents/Barraclough/Letters/akletter-new/_region_.tex Wrote /Users/eroche/Documents/Barraclough/Letters/akletter-new/prv_testletter.ini Type `C-c C-l' to display results of compilation. [2 times] locating previews... Type `C-c C-l' to display results of compilation. error in process sentinel: preview-reraise-error: LaTeX found no preview images error in process sentinel: LaTeX found no preview images Type `C-c C-l' to display results of compilation. LaTeX: problems after [0] pages. From david.reitter at gmail.com Tue Jul 1 18:28:59 2008 From: david.reitter at gmail.com (David Reitter) Date: Tue Jul 1 18:29:07 2008 Subject: [OS X Emacs] Error messages In-Reply-To: References: <22339FA3-4588-4C37-B309-3FE285139787@Web.DE> Message-ID: On 1 Jul 2008, at 23:01, Edward M. Roche wrote: > Does anyone know how to interpret these messages:? > > 1. From latex "output" window. > ======================= > Running `LaTeX' on `testletter' with ``pdflatex - > interaction=nonstopmode "\input" testletter.tex'' > /bin/sh: pdflatex: command not found > > LaTeX exited abnormally with code 127 at Tue Jul 1 14:55:09 > / LaTeX cannot be found, possibly due to a bug in OS X that shows up in new (new) way Aquamacs reads your environment variables. Please downoad a nightly build and let us know how you get on with that. -- http://aquamacs.org -- Aquamacs: Emacs on Mac OS X http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080701/57963e10/smime.bin From kaeufl at ira.uka.de Tue Jul 1 18:18:53 2008 From: kaeufl at ira.uka.de (=?ISO-8859-1?Q?Thomas_K=E4ufl?=) Date: Tue Jul 1 18:34:14 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: References: Message-ID: Hi, Am 1. Jul 2008 um 13:22 schrieb Karim Barkati: > ... > I noticed AE doesn't seem to recognize mac-roman encoding, which is =20= > the default > encoding of TeXShop. I have to select 'Options -> Language -> Set =20 > Coding Systems > -> For Reverting This File Now', and then type 'mac-roman' to get =20 > rid of all > annoying '\216'-like sequences (AE finally prints 'M' in its bar), =20 > even when I > reopen the same file! I know there's the 'C-x RET r' shortcut, but =20 > I still have > to type 'mac-roman' for each file... Add appropriate local variable definitions to your Tex files. At the end (after \end{document}) add the subsequent lines: %%% Local Variables: %%% coding: mac-roman-mac %%% mode: latex %%% TeX-master: t %%% End: The first variable "coding" switches to the desired coding system (also the line endings of the Mac will be used). The next variable switches to the correct (major) mode. This is useful when you have files to be included into another document or added to another document using \input. (If a file hasn't a Latex preamble, the Emacs will not switch to the latex mode.) As I assume you are using Auctex: TeX-master tells that the doument is the ... . In the other case give the name of master file at this place. (Useful when you are using \include.) > > I looked for another solution: convert every file in utf8 (with =20 > iconv), and that > works (AE automaticaly displays 'u' in its bar, no '\216'-like =20 > sequences but the > right caracters are displayed). I will keep this solution if =20 > there's no way to > recognize mac-roman encoding for AE. I do not know how this encoding works. But try the following: In the math mode you can use =AD (for notequal, you see I have already forgotten the Tex command) or =B2 (for \leq). Thomas K=8Aufl From ian.eure at gmail.com Tue Jul 1 18:41:53 2008 From: ian.eure at gmail.com (Ian Eure) Date: Tue Jul 1 18:41:59 2008 Subject: [OS X Emacs] Keeping ERC buffers in their own frame Message-ID: <76ACAFCB-F011-46CF-996B-CA953D3775D3@gmail.com> Is there some way to keep all my ERC buffers in a single frame? When someone messages me, it pops up in whatever the current frame is. I sometimes hit C-SPC, which switches to the most recently active ERC buffer in the current window. I would rather switch to the ERC frame, then switch that to the ERC buffer. Doable? From tsd at tsdye.com Tue Jul 1 18:18:49 2008 From: tsd at tsdye.com (Thomas S. Dye) Date: Tue Jul 1 18:45:36 2008 Subject: [OS X Emacs] Error messages In-Reply-To: References: <22339FA3-4588-4C37-B309-3FE285139787@Web.DE> Message-ID: <45961D99-2C62-4FA8-9030-3B820EA3A00C@tsdye.com> Aloha Edward, There is an intermittent bug in Aquamacs 1.4 that keeps it from reading environment variables. I believe this is fixed in the current nightly builds of what will be 1.5. At this point, I've found the best solution is to use 1.3. Alternatively, you can put this in ~/Library/Application\ Support/ Aquamacs\ Emacs/site-prestart.el for use with 1.4. David Reitter sent me this code and it seemed to work the few times I tested it. Tom ;;from mac-extra-functions.el, version 1.63 (defun mac-read-environment-vars-from-shell () "Import the environment from the system's default login shell specified in `shell-file-name'." (with-temp-buffer ;; execute 'printenv' with the default login shell, ;; running the shell with -l (to load the environment) (setq default-directory "~/") ; ensure it can be executed ;; To Do: use call-process instead -> this here ;; will invoke two bashes (let ((shell-login-switch (or shell-login-switch (if (string-match ".*/\\(ba\\|z\\)sh" shell-file-name) "-l" (if (string-match ".*/\\tcsh" shell-file-name) "" (if (string-match ".*/ksh" shell-file-name) "" ;; works for ksh (message "Could not retrieve login shell environment with login shell: %s" shell-file-name) ;; won't work for csh, because it doesn't take -l -c ... )))))) (call-process shell-file-name nil t nil shell-login-switch shell-command-switch "printenv")) (goto-char (point-min)) (while (re-search-forward "^[A-Za-z_0-9]+=()\s*[^\x]*? \s*}\s*$" nil t) (replace-match "..." nil nil)) (goto-char (point-min)) (while (search-forward-regexp "^\\([A-Za-z_0-9]+\\)=\\(.*\\)$" nil t) (setenv (match-string 1) (if (equal (match-string 1) "PATH") (concat (match-string 2) ":" (getenv "PATH")) (match-string 2)))))) Thomas S. Dye, Ph.D. T. S. Dye & Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com On Jul 1, 2008, at 12:01 PM, Edward M. Roche wrote: > Does anyone know how to interpret these messages:? > > 1. From latex "output" window. > ======================= > Running `LaTeX' on `testletter' with ``pdflatex - > interaction=nonstopmode "\input" testletter.tex'' > /bin/sh: pdflatex: command not found > > LaTeX exited abnormally with code 127 at Tue Jul 1 14:55:09 > / > > 2. From "Messages" window > ====================== > ("/Applications/Aquamacs Emacs.app/Contents/MacOS/Aquamacs Emacs") > Source file `/Applications/Aquamacs Emacs.app/Contents/Resources/ > site-lisp/site-start.el' newer than byte-compiled file > Loading prestart plugin files ... > Loading /Users/eroche/Library/Application Support/Aquamacs Emacs/ > site-prestart.el (source)...done > ... done. > Loading easy-mmode...done > Aquamacs Mule installed. > Loading encoded-kb...done > Loading easymenu...done > Loading jka-compr...done > uncompressing tree-widget.el.gz...done > Loading cl-macs...done > Loading /Users/eroche/Library/Preferences/Aquamacs Emacs/Recent > Files.el (source)...done > Cleaning up the recentf list...done (0 removed) > Defining fontset: lucida11 > Defining fontset: lucida12 > Defining fontset: lucida13 > Defining fontset: lucida14 > Defining fontset: monaco11 > Defining fontset: monaco12 > Loading /Applications/Aquamacs Emacs.app/Contents/Resources/site- > lisp/edit-modes/tex-site.el (source)...done > Loading /Applications/Aquamacs Emacs.app/Contents/Resources/site- > lisp/edit-modes/nxml/rng-auto.el (source)...done > Loading plugins ... > Loading /Applications/Aquamacs Emacs.app/Contents/Resources/site- > lisp/site-start (compiled; note, source file is newer)...done > ... done. > Loading /Users/eroche/Library/Preferences/Aquamacs Emacs/ > customizations.el (source)...done > Loading /Library/Preferences/Aquamacs Emacs/Preferences.el (source)... > Loading /Applications/TeXniscope.app/Contents/Resources/txs- > search.el (source)...done > Loading /Library/Preferences/Aquamacs Emacs/Preferences.el > (source)...done > Loading /Users/eroche/Library/Preferences/Aquamacs Emacs/ > Preferences.el (source)... > Restarting server > Loading /Applications/TeXniscope.app/Contents/Resources/txs- > search.el (source)...done > Loading /Users/eroche/Library/Preferences/Aquamacs Emacs/ > Preferences.el (source)...done > Added to /Users/eroche/Library/Preferences/Aquamacs Emacs/ > customizations.el > Mark set [2 times] > Loading /Users/eroche/Library/Preferences/Aquamacs Emacs/frame- > positions.el (source)...done > Mark set > Aquamacs is based on GNU Emacs 22, a part of the GNU/Linux system. > It is Free Software: you can improve and redistribute it under the > GNU General Public License, version 3 > or later. Copyright (C) 2008 Free Software Foundation, Inc. (C) 2008 > D. Reitter. No Warranty. > 1.4 is the most recent Aquamacs version available. > Aquamacs is based on GNU Emacs 22, a part of the GNU/Linux system. > It is Free Software: you can improve and redistribute it under the > GNU General Public License, version 3 > or later. Copyright (C) 2008 Free Software Foundation, Inc. (C) 2008 > D. Reitter. No Warranty. > Loading latexenc...done > Loading tex...done > Loading latex... > Loading edmacro...done > Loading latex...done > Loading font-latex...done > Applying style hooks... > Loading /Applications/Aquamacs Emacs.app/Contents/Resources/site- > lisp/edit-modes/auctex/style/german.elc...done > Applying style hooks... done > Sorting environment... > Removing duplicates... done > Loading tex-bar...done > Mark set > Loading tex-fold...done > Loading bib-cite...done > Loading reftex...done > Loading reftex-auc...done > Loading reftex-dcr...done > Automatic display of crossref information was turned on > Loading preview...done > Applying style hooks... done > Applying style hooks... done > Sorting environment... > Removing duplicates... done > Mark set > Wrote /Users/eroche/Documents/Barraclough/Letters/akletter-new/ > testletter.tex > Press to exit full screen editing. > Type `C-c C-l' to display results of compilation. > LaTeX: problems after [0] pages. > (New file) > Applying style hooks... done > Sorting environment... > Removing duplicates... done > Mark set > Applying style hooks... done > Wrote /Users/eroche/Documents/Barraclough/Letters/akletter-new/ > _region_.tex > Wrote /Users/eroche/Documents/Barraclough/Letters/akletter-new/ > prv_testletter.ini > Type `C-c C-l' to display results of compilation. [2 times] > locating previews... > Type `C-c C-l' to display results of compilation. > error in process sentinel: preview-reraise-error: LaTeX found no > preview images > error in process sentinel: LaTeX found no preview images > Type `C-c C-l' to display results of compilation. > LaTeX: problems after [0] pages. > > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx From david.reitter at gmail.com Wed Jul 2 01:42:46 2008 From: david.reitter at gmail.com (David Reitter) Date: Wed Jul 2 01:42:54 2008 Subject: [OS X Emacs] Error messages In-Reply-To: <45961D99-2C62-4FA8-9030-3B820EA3A00C@tsdye.com> References: <22339FA3-4588-4C37-B309-3FE285139787@Web.DE> <45961D99-2C62-4FA8-9030-3B820EA3A00C@tsdye.com> Message-ID: <47F3F548-E0D6-4F4A-A37C-253BA7457A84@gmail.com> On 1 Jul 2008, at 23:18, Thomas S. Dye wrote: > > There is an intermittent bug in Aquamacs 1.4 that keeps it from > reading environment variables. I believe this is fixed in the > current nightly builds of what will be 1.5. At this point, I've > found the best solution is to use 1.3. > > Alternatively, you can put this in ~/Library/Application\ Support/ > Aquamacs\ Emacs/site-prestart.el > for use with 1.4. David Reitter sent me this code and it seemed to > work the few times I tested it. Sure, one can use the patch or 1.3. But that will not help anyone actually find and eliminate the bug. Testing the nightly build is what helps us move forward. -- http://aquamacs.org -- Aquamacs: Emacs on Mac OS X http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080702/624d5786/smime.bin From vollmar at nf.mpg.de Wed Jul 2 08:21:34 2008 From: vollmar at nf.mpg.de (Stefan Vollmar) Date: Wed Jul 2 08:22:37 2008 Subject: [OS X Emacs] Open File with Aquamacs from Finder - Keyboard Shortcut Message-ID: <02369CB3-3765-44FF-B7C5-F7D440CFE23C@nf.mpg.de> Hello, this is not necessarily an Aquamacs-specific problem but a solution might also be useful for other readers of this list: I would like to configure a keyboard shortcut (F3) so that a file (several files?) which is selected in the Finder is then opened with Aquamacs. I know that this can be accomplished by using an entry from the "Services" menu, even with "Open with" - but how to do this without using the mouse (and the terminal)? Many thanks in advance, Stefan -- Dr. Stefan Vollmar, Dipl.-Phys. Max-Planck-Institut für neurologische Forschung Gleuelerstr. 50, 50931 Köln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: vollmar@nf.mpg.de http://www.nf.mpg.de From pacotomi at orange.fr Tue Jul 1 12:34:44 2008 From: pacotomi at orange.fr (pacotomi) Date: Wed Jul 2 08:49:30 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: References: Message-ID: Le 1 juil. 08 à 13:22, Karim Barkati a écrit : > Hello, > > I will keep this solution if there's no way to > recognize mac-roman encoding for AE. > in your preference.el file (in your /Preferences/Aquamacs Emacs folder): (add-to-list 'file-coding-system-alist '("\\.tex" . mac-roman) ) sincerely pacotomi From kaeufl at ira.uka.de Wed Jul 2 09:22:49 2008 From: kaeufl at ira.uka.de (=?ISO-8859-1?Q?Thomas_K=E4ufl?=) Date: Wed Jul 2 09:22:41 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: References: Message-ID: <76B699C0-A311-4746-AF87-60F1E4ED8CDA@ira.uka.de> Hi, Am 1.7.2008 um 18:34 schrieb pacotomi: > ... >> >> I will keep this solution if there's no way to >> recognize mac-roman encoding for AE. >> > > in your preference.el file (in your /Preferences/Aquamacs Emacs > folder): > > (add-to-list 'file-coding-system-alist '("\\.tex" . mac-roman) ) > ... I followed your suggestion and entered the expression into preference file. It didn't work. Then I changed "mac-roman" to "mac-roman-mac" and restarted Aquamacs. Again it didn't work. Then, I checked the value of file-coding-system-alist. The element '("\\.tex" . mac-roman-mac)) appears as first one in the list. Thomas Käufl From kbmail at free.fr Wed Jul 2 10:08:30 2008 From: kbmail at free.fr (kbmail@free.fr) Date: Wed Jul 2 10:08:35 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: References: Message-ID: Thank you so much pacotomi !! Your trick exactly does the job I needed (for me, I read that's not the case for Thomas). Can you imagine I tried for hours to automaticaly insert the local variable cookies (like "%% -*- mode: LaTeX; coding: mac-roman-unix; - *-") with 'sed -i ...', escaping all those special caracters, to treat the 18 tex files of my thesis I already wrote with TeXShop... :-( In fact, I added in my preference.el file a little different encoding to specify an unix line break (only Line Feed): (add-to-list 'file-coding-system-alist '("\\.tex" . mac-roman-unix) ) Indeed, to detect file encodings, I now use BBEdit which guesses and indicates both text encoding and line break types, in its bottom bar. For all my old TeXShop files, it indicates 'Western (Mac OS Roman)' and 'Unix (LF)'. I wonder why Aquamacs doesn't automaticaly guess mac- roman encoding ('M' in mode line)... since Aquamacs is good at detecting utf-8 ('u' in mode line) or iso-latin-1 ('1' in mode line) text encodings? (without one need to "hard"-specify the encoding with local variables) Cheers, Karim > Le 1 juil. 08 à 18:34, pacotomi a écrit : > > > Le 1 juil. 08 à 13:22, Karim Barkati a écrit : > >> Hello, >> >> I will keep this solution if there's no way to >> recognize mac-roman encoding for AE. >> > > in your preference.el file (in your /Preferences/Aquamacs Emacs > folder): > > (add-to-list 'file-coding-system-alist '("\\.tex" . mac-roman) ) > > sincerely > > pacotomi From Peter_Dyballa at Web.DE Wed Jul 2 10:33:17 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed Jul 2 10:33:31 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: References: Message-ID: <61ED36BE-0511-4B2D-B4C1-3ACBB0BAE146@Web.DE> Am 02.07.2008 um 16:08 schrieb kbmail: > I wonder why Aquamacs doesn't automaticaly guess mac-roman encoding > ('M' in mode line)... since Aquamacs is good at detecting utf-8 > ('u' in mode line) or iso-latin-1 ('1' in mode line) text encodings? No Emacs variant is good in guessing. There are some rules that determine the type of a file (based on its extension). The defaults for text files are derived from environment variables like LC_CTYPE. To see them you can create a *shell* buffer in Emacs and invoke env or printenv there. -- Greetings ~ O Pete ~~_\\_/% ~ O o From pacotomi at orange.fr Wed Jul 2 10:51:37 2008 From: pacotomi at orange.fr (pacotomi) Date: Wed Jul 2 10:51:43 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: <76B699C0-A311-4746-AF87-60F1E4ED8CDA@ira.uka.de> References: <76B699C0-A311-4746-AF87-60F1E4ED8CDA@ira.uka.de> Message-ID: <3B03EDEF-37F6-491A-8105-E78FADD07C3E@orange.fr> Le 2 juil. 08 à 15:22, Thomas Käufl a écrit : > > Hi, > > Am 1.7.2008 um 18:34 schrieb pacotomi: > >> ... >>> >>> I will keep this solution if there's no way to >>> recognize mac-roman encoding for AE. >>> >> >> in your preference.el file (in your /Preferences/Aquamacs Emacs >> folder): >> >> (add-to-list 'file-coding-system-alist '("\\.tex" . mac-roman) ) >> ... > > I followed your suggestion and entered the expression > into preference file. > > It didn't work. Then I changed "mac-roman" to "mac-roman-mac" > and restarted Aquamacs. Again it didn't work. Then, I checked > the value of file-coding-system-alist. The element > '("\\.tex" . mac-roman-mac)) appears as first one in the list. > Perhaps this other way: in Aquamacs preference menu Environment -> I18n-> Mule -> File coding system alist Delete the item where there is "mac-roman-mac" (I suppose there is such an item) then add : INS button first line : File regexp: \.tex (one reads: anti-slash and dot and tex) second line: Choice: value menu : Single coding system: mac-roman then "save for future sessions" button on the top Pacotomi From kbmail at free.fr Wed Jul 2 10:59:54 2008 From: kbmail at free.fr (kbmail@free.fr) Date: Wed Jul 2 10:59:58 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: <61ED36BE-0511-4B2D-B4C1-3ACBB0BAE146@Web.DE> References: <61ED36BE-0511-4B2D-B4C1-3ACBB0BAE146@Web.DE> Message-ID: <9820891F-9F6C-4B7C-AAE4-4466F478A0E1@free.fr> Ok for using rules instead of guessing, even if I sometimes find it useful... Instead of LC_CTYPE when I call env or printenv (see capture from an Aquamacs *shell* below), I see "__CF_USER_TEXT_ENCODING=0x1F5:0:1", but I can't figure out its meaning... any idea? How Emacs deals with it? Best, Karim kb-these3> printenv SHELL=/bin/bash TERM=dumb EMACSDATA=/Applications/Aquamacs Emacs.app/Contents/Resources/etc EMACSPATH=/Applications/Aquamacs Emacs.app/Contents/MacOS/libexec:/ Applications/Aquamacs Emacs.app/Contents/MacOS/bin USER=karimbarkati EMACS=t TERMCAP= __CF_USER_TEXT_ENCODING=0x1F5:0:1 COLUMNS=80 PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/texbin:/usr/ local/bin:/usr/local/teTeX/bin/powerpc-apple-darwin6.8/:/Library/ MySQL/bin/:/sw:/sw/bin:Users/karimbarkati/bin:/bin:/sbin:/usr/bin:/ usr/sbin:/usr/local/bin:/usr/texbin:/usr/local/bin:/usr/local/teTeX/ bin/powerpc-apple-darwin6.8/:/Library/MySQL/bin/:/sw:/sw/bin:Users/ karimbarkati/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/teTeX/bin/ powerpc-apple-darwin-current:/usr/local/bin:/usr/local/teTeX/bin/ powerpc-apple-darwin6.8/:/Library/MySQL/bin/:/sw:/sw/bin:Users/ karimbarkati/bin PWD=/Users/karimbarkati/These/kb-ecriture/kb-these3 PS1=\W> EMACSLOADPATH=/Applications/Aquamacs Emacs.app/Contents/Resources/ site-lisp:/Applications/Aquamacs Emacs.app/Contents/Resources/lisp:/ Applications/Aquamacs Emacs.app/Contents/Resources/leim TEXINPUTS=.:/Applications/Aquamacs Emacs.app/Contents/Resources/site- lisp/edit-modes/auctex/latex: HOME=/Users/karimbarkati SHLVL=3 INSIDE_EMACS=22.2.50.2,comint SECURITYSESSIONID=f33010 EMACSDOC=/Applications/Aquamacs Emacs.app/Contents/Resources/etc _=/usr/bin/printenv Le 2 juil. 08 à 16:33, Peter Dyballa a écrit : Am 02.07.2008 um 16:08 schrieb kbmail: > I wonder why Aquamacs doesn't automaticaly guess mac-roman encoding > ('M' in mode line)... since Aquamacs is good at detecting utf-8 > ('u' in mode line) or iso-latin-1 ('1' in mode line) text encodings? No Emacs variant is good in guessing. There are some rules that determine the type of a file (based on its extension). The defaults for text files are derived from environment variables like LC_CTYPE. To see them you can create a *shell* buffer in Emacs and invoke env or printenv there. -- Greetings ~ O Pete ~~_\\_/% ~ O o _____________________________________________________________ MacOSX-Emacs mailing list MacOSX-Emacs@email.esm.psu.edu http://email.esm.psu.edu/mailman/listinfo/macosx-emacs List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx From Peter_Dyballa at Web.DE Wed Jul 2 14:12:10 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed Jul 2 14:12:22 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: <9820891F-9F6C-4B7C-AAE4-4466F478A0E1@free.fr> References: <61ED36BE-0511-4B2D-B4C1-3ACBB0BAE146@Web.DE> <9820891F-9F6C-4B7C-AAE4-4466F478A0E1@free.fr> Message-ID: Am 02.07.2008 um 16:59 schrieb kbmail: > I see "__CF_USER_TEXT_ENCODING=0x1F5:0:1", but I can't figure out > its meaning... any idea? How Emacs deals with it? This is only meaningful for Mac OS X. Now thinking that you want Emacs to go into Mac-Roman mode I finally see that this can't be accomplished via LC_CTYPE: there is no locale defined for this "classical" encoding. It might work with (set-language-environment ') but it's just nonsense. Instead you either could set, as recommended, a default encoding for all TeX related files, or, much better IMO, you should set TeX Shop to prefer another default encoding. See its preferences pane. It offers some Latin (ISO 8859-x) and UTF encodings. Such are also provided by Mac OS X ('locale -a | grep -i iso' or 'locale -a | grep -i utf', maybe both augmented with a 'grep fr | ' after the first 'locale -a' part, in Emacs' *shell* buffer). When shell environment and TeX Shop settings match each other, then you could set in some bash RC file (~/.bash_profile maybe) export LC_CTYPE=fr_FR.ISO8859-15 to have the ? at hand. Your LaTeX file will need to use \usepackage[latin9]{inputenc} %\usepackage[full]{textcomp} to translate the contents correctly. -- Greetings Pete If we don't succeed, we run the risk of failure." ? George W. Bush From Peter_Dyballa at Web.DE Wed Jul 2 14:37:17 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed Jul 2 14:37:23 2008 Subject: [OS X Emacs] Open File with Aquamacs from Finder - Keyboard Shortcut In-Reply-To: <02369CB3-3765-44FF-B7C5-F7D440CFE23C@nf.mpg.de> References: <02369CB3-3765-44FF-B7C5-F7D440CFE23C@nf.mpg.de> Message-ID: Am 02.07.2008 um 14:21 schrieb Stefan Vollmar: > how to do this without using the mouse (and the terminal)? In Terminal: emacsclient. In Emacs you to (server-start). -- Greetings Pete And always remember the last words of my grandfather, who said: ?A truck!? ? Emo Phillips From marc.shapiro at acm.org Wed Jul 2 15:10:46 2008 From: marc.shapiro at acm.org (Marc Shapiro -- at work) Date: Wed Jul 2 15:33:02 2008 Subject: [OS X Emacs] Re: Open File with Aquamacs from Finder - Keyboard Shortcut In-Reply-To: <20080702190005.51154107738@email> References: <20080702190005.51154107738@email> Message-ID: > Date: Wed, 2 Jul 2008 20:37:17 +0200 > From: Peter Dyballa > Subject: Re: [OS X Emacs] Open File with Aquamacs from Finder - > Keyboard Shortcut > > Am 02.07.2008 um 14:21 schrieb Stefan Vollmar: > >> how to do this without using the mouse (and the terminal)? > > In Terminal: emacsclient. In Emacs you to (server-start). Even simpler: in the terminal type open -a Emacs filename or open -a 'Aquamacs Emacs' filename PS. Of course this does not answer the original question which is how to assign this to a shortcut key. Marc From kbmail at free.fr Wed Jul 2 16:54:41 2008 From: kbmail at free.fr (kbmail@free.fr) Date: Wed Jul 2 16:54:45 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: References: <61ED36BE-0511-4B2D-B4C1-3ACBB0BAE146@Web.DE> <9820891F-9F6C-4B7C-AAE4-4466F478A0E1@free.fr> Message-ID: Thank you for your replies Peter, I guess you're quite strong with LaTeX/Emacs/Unix! First, I have to say I'm a bit frightened... I'm a mac user! ;-) Seriously, I'm a bit affraid by changing the encoding of my files since I already wrote some 250 pages of my thesis on TeXShop with its default encoding (Western Mac OS Roman), with many packages (I wrote a style 'kb-these_book.sty' including 26 packages), many includes, and Mac OS provides several "natural" features for mac-roman encoded files, as previews of the text in finder windows... I'm working on macintoshes (for more than a decade) and I work alone on my source files: there's no compatibility problems with other people/platforms... So I need you tell me the reasons why you seem to prefer that one leave the mac-roman encoding while we're on Mac OS, and, if you will, whether you think I should leave this encoding now that you know more about my particular case (which is probably the case of some other TS- >AE switchers). Also: what's xelatex, and is it compatible with latex2e files? (I read "%%% TeX-command-default: "XeLaTeX" in your first reply; I've been using pdftex until now). It's a lot of questions, but never know, if you've got some time... ;-) Regards, Karim > Le 2 juil. 08 à 20:12, Peter Dyballa a écrit : > > > Am 02.07.2008 um 16:59 schrieb kbmail: > >> I see "__CF_USER_TEXT_ENCODING=0x1F5:0:1", but I can't figure out >> its meaning... any idea? How Emacs deals with it? > > > This is only meaningful for Mac OS X. > > > Now thinking that you want Emacs to go into Mac-Roman mode I > finally see that this can't be accomplished via LC_CTYPE: there is > no locale defined for this "classical" encoding. It might work with > > (set-language-environment ') > > but it's just nonsense. Instead you either could set, as > recommended, a default encoding for all TeX related files, or, much > better IMO, you should set TeX Shop to prefer another default > encoding. See its preferences pane. It offers some Latin (ISO 8859- > x) and UTF encodings. Such are also provided by Mac OS X ('locale - > a | grep -i iso' or 'locale -a | grep -i utf', maybe both augmented > with a 'grep fr | ' after the first 'locale -a' part, in Emacs' > *shell* buffer). When shell environment and TeX Shop settings match > each other, then you could set in some bash RC file > (~/.bash_profile maybe) > > export LC_CTYPE=fr_FR.ISO8859-15 > > to have the ? at hand. Your LaTeX file will need to use > > \usepackage[latin9]{inputenc} > %\usepackage[full]{textcomp} > > to translate the contents correctly. > > -- > Greetings > > Pete > > If we don't succeed, we run the risk of failure." > ? George W. Bush _____________________________________________________________ MacOSX-Emacs mailing list MacOSX-Emacs@email.esm.psu.edu http://email.esm.psu.edu/mailman/listinfo/macosx-emacs List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx From Peter_Dyballa at Web.DE Wed Jul 2 17:35:00 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed Jul 2 17:35:13 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: References: <61ED36BE-0511-4B2D-B4C1-3ACBB0BAE146@Web.DE> <9820891F-9F6C-4B7C-AAE4-4466F478A0E1@free.fr> Message-ID: Am 02.07.2008 um 22:54 schrieb kbmail: > First, I have to say I'm a bit frightened... I'm a mac user! ;-) When you're a Mac user you should not feel any fear. I'd start to do that as a Losedos user ... > Seriously, I'm a bit affraid by changing the encoding of my files > since I already wrote some 250 pages of my thesis on TeXShop with > its default encoding (Western Mac OS Roman), with many packages (I > wrote a style 'kb-these_book.sty' including 26 packages), many > includes, This all plays no role. LaTeX itself has to convert all to a form the TeX compiler can work on. You're using an input and a font encoding, do you? > and Mac OS provides several "natural" features for mac-roman > encoded files, as previews of the text in finder windows... They work the same for users who prefer a standard encoding, ISO Latin-1 or ISO Latin-9 (ISO 8859-1 or ISO 8859-15) or an UTF variant. > I'm working on macintoshes (for more than a decade) and I work > alone on my source files: there's no compatibility problems with > other people/platforms... Not today. Will you be able to tell this also in 2020? > > So I need you tell me the reasons why you seem to prefer that one > leave the mac-roman encoding while we're on Mac OS, and, if you > will, whether you think I should leave this encoding now that you > know more about my particular case (which is probably the case of > some other TS->AE switchers). It's the future. From Emacs they're removing support for ten years old or older platforms. Classic and its Mac-Roman and other Mac- something encodings are dead ? or did you see any updates in the last five or six years? > > Also: what's xelatex, and is it compatible with latex2e files? (I > read "%%% TeX-command-default: "XeLaTeX" in your first reply; I've > been using pdftex until now). XeTeX is another "engine" to convert TeX, LaTeX, or ConTeXt source to PDF. To do this it uses the system's native fonts, for example Baskerville or Hoefler instead of Computer Modern. It also supports non-Latin scripts and right-to-left writing. 'texdoc fontspec' in *shell* should open an application that will show the main part of XeTeX documentation. See also: http://scripts.sil.org/cms/scripts/ page.php?site_id=nrsi&item_id=XeTeX& Anyway, you can create a copy of your Mac-encoded LaTeX source files. Mac OS X offers the iconv command. Emacs has the manual-entry command to read the documentation of UNIX (and many other) commands. iconv -f MAC -t ISO-8859-15 should perform one form of conversion. If you want to convert all your copies at once you can invoke: apply -d 'iconv -f MAC -t ISO-8859-15' *.tex -- Greetings Pete Let's face it; we don't want a free market economy either. ? James Farley, president, Coca-Cola Export Corp., 1959 From nathaniel.cunningham at gmail.com Wed Jul 2 17:37:53 2008 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Wed Jul 2 17:37:57 2008 Subject: [OS X Emacs] Open File with Aquamacs from Finder - Keyboard Shortcut In-Reply-To: <02369CB3-3765-44FF-B7C5-F7D440CFE23C@nf.mpg.de> References: <02369CB3-3765-44FF-B7C5-F7D440CFE23C@nf.mpg.de> Message-ID: <20ecf6c70807021437n348f7c32v210adbfbccca5b67@mail.gmail.com> This can be done with Quicksilver ( http://www.blacktree.com/ ) and a keyboard trigger; other global hotkey apps exist as well. Without an external app: the action you're after can be accomplished simply with an applescript. I think you could have Aquamacs call that applescript by binding (do-applescript ...) to F3. --Nathaniel On Wed, Jul 2, 2008 at 7:21 AM, Stefan Vollmar wrote: > Hello, > > this is not necessarily an Aquamacs-specific problem but a solution might > also be useful for other readers of this list: I would like to configure a > keyboard shortcut (F3) so that a file (several files?) which is selected in > the Finder is then opened with Aquamacs. I know that this can be > accomplished by using an entry from the "Services" menu, even with "Open > with" - but how to do this without using the mouse (and the terminal)? > > Many thanks in advance, > Stefan > -- > Dr. Stefan Vollmar, Dipl.-Phys. > Max-Planck-Institut für neurologische Forschung > Gleuelerstr. 50, 50931 Köln, Germany > Tel.: +49-221-4726-213 FAX +49-221-4726-298 > Tel.: +49-221-478-5713 Mobile: 0160-93874279 > Email: vollmar@nf.mpg.de http://www.nf.mpg.de > > > > > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080702/9fe73bba/attachment.html From kbmail at free.fr Wed Jul 2 18:37:01 2008 From: kbmail at free.fr (kbmail@free.fr) Date: Wed Jul 2 18:37:03 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: References: <61ED36BE-0511-4B2D-B4C1-3ACBB0BAE146@Web.DE> <9820891F-9F6C-4B7C-AAE4-4466F478A0E1@free.fr> Message-ID: <57BDBFA4-9B89-4AFC-9829-0F31562B6C61@free.fr> Danke very sehr for your answer ! I'm almost convinced: tomorrow, I will test an utf-8 version of my thesis on Aquamacs, first converting all my files with iconv, then adding all the local variables you mentionned, including telatex, and I hope this will work, with no major conflict with the packages I use or something else... tchüss, Karim > Le 2 juil. 08 à 23:35, Peter Dyballa a écrit : > > It's the future. > _____________________________________________________________ MacOSX-Emacs mailing list MacOSX-Emacs@email.esm.psu.edu http://email.esm.psu.edu/mailman/listinfo/macosx-emacs List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx From Peter_Dyballa at Web.DE Wed Jul 2 18:55:57 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed Jul 2 18:56:03 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: <57BDBFA4-9B89-4AFC-9829-0F31562B6C61@free.fr> References: <61ED36BE-0511-4B2D-B4C1-3ACBB0BAE146@Web.DE> <9820891F-9F6C-4B7C-AAE4-4466F478A0E1@free.fr> <57BDBFA4-9B89-4AFC-9829-0F31562B6C61@free.fr> Message-ID: <32FA365E-4D61-4D2B-8597-31DACD8D38F7@Web.DE> Am 03.07.2008 um 00:37 schrieb kbmail: > including telatex To use XeLaTeX you'll need to change a few lines in your LaTeX files' preambles ? and maybe also in the middle. You'll also need to update AUCTeX with one or two XeLaTeX commands ? one that uses xdv2pdf to create the PDF file and another one that used xdvipdfmx to do the same. While the former is special to Mac OS X and now a bit depreciated xdvipdfmx provides dvipdfm compatibility. XeLaTeX is nothing new and hot and coming. It's just different. -- Greetings Pete Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. ? Georges W. Bush From brauer at nordakademie.de Fri Jul 4 17:00:55 2008 From: brauer at nordakademie.de (Johannes Brauer) Date: Fri Jul 4 17:20:23 2008 Subject: [OS X Emacs] RCS problem/question Message-ID: <74A169B7-8FCB-4659-8117-18B0C77195B7@nordakademie.de> Hi I have got a file, say x.tex, which is readonly, because it was checked into RCS. I open the file in aquamacs. Trying to modify the buffer causes the message: Buffer is read only ...; okay! I do C-x vv to check out the file from RCS. Then I get the message: x.tex changed on disk; really edit the buffer? (y, n, r or C-h) Why? It couldn't be edited because it was read only. When I answer "n" and then do M-x revert buffer I get the same message once more. Can anyone explain me this behaviour? Johannes From Peter_Dyballa at Web.DE Sat Jul 5 05:54:21 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Sat Jul 5 05:54:27 2008 Subject: [OS X Emacs] RCS problem/question In-Reply-To: <74A169B7-8FCB-4659-8117-18B0C77195B7@nordakademie.de> References: <74A169B7-8FCB-4659-8117-18B0C77195B7@nordakademie.de> Message-ID: <912E7DA5-2F94-48E8-B145-B936140F62E2@Web.DE> Am 04.07.2008 um 23:00 schrieb Johannes Brauer: > I do C-x vv to check out the file from RCS. Then I get the message: > x.tex changed on disk; really edit the buffer? (y, n, r or C-h) > Why? File attributes might have changed ? or by checking out a copy of the original file was created and GNU Emacs tries to remind you of this ... I have no exact answer since I'm not using RCS. -- Greetings Pete Experience is what you get when you don't get what you want. From morelli at flux.utah.edu Tue Jul 8 22:23:31 2008 From: morelli at flux.utah.edu (Robert Morelli) Date: Tue Jul 8 22:39:39 2008 Subject: [OS X Emacs] Information about tabs in Aquamacs 1.4 In-Reply-To: <04EC68D2-BD96-4A02-AFA3-AC821737E3C6@GMAIL.COM> References: <04EC68D2-BD96-4A02-AFA3-AC821737E3C6@GMAIL.COM> Message-ID: <48742123.4060909@flux.utah.edu> I like the tabs in Aquamacs version 1.4. This is a very welcome new feature. However, I'd like to know if there is more documentation about it. Are there ways to customize how the tabs work? For instance, is there a way to keep buffers like *Messages* from having a tab? Can the buffer order and tab order be synced? ... From nathaniel.cunningham at gmail.com Wed Jul 9 00:16:28 2008 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Wed Jul 9 00:43:01 2008 Subject: [OS X Emacs] Information about tabs in Aquamacs 1.4 In-Reply-To: <48742123.4060909@flux.utah.edu> References: <04EC68D2-BD96-4A02-AFA3-AC821737E3C6@GMAIL.COM> <48742123.4060909@flux.utah.edu> Message-ID: <20ecf6c70807082116o4278e7dcq7b40f8df8b49f3a9@mail.gmail.com> On Tue, Jul 8, 2008 at 9:23 PM, Robert Morelli wrote: > I like the tabs in Aquamacs version 1.4. This is a very welcome new > feature. > However, I'd like to know if there is more documentation about it. Are > there > ways to customize how the tabs work? There isn't any more documentation at this point than that included in the Aquamacs help. The tabs are based on (and implement the code from) tabbar.el ( http://emhacks.cvs.sourceforge.net/emhacks/emhacks/tabbar.el?view=markup ), so some of the customization that can be applied for tabbar should work for tabs in Aquamacs. However, we've modified, improved, and honed the tab behavior to be more sensible and intuitive, as well as looking better. Not all the behaviors and customizations documented in tabbar.el will be useful. > For instance, is there a way to keep > buffers like *Messages* from having a tab? tabbar.el allows one to customize which buffers are inhibited from having tabs, but we avoided this kind of behavior in Aquamacs, which treats tabs somewhat differently. Help me understand what you're after, here. If *Messages* doesn't get a tab, what happens to the tab bar when you view *Messages*? Does it appear, but with no selected tab? Does it disappear -- and if so, haven't you lost part of the utility of tabs, namely a simple way to select a different tab? If some buffers don't have tabs, there's a break in the intuitive tab<-->buffer connection we've established. Do explain further the scenario you envision. > Can the buffer order and tab > order be synced? ... No, but that's an interesting suggestion. Do you mean that the current buffer should always show last in the list, with previous buffers in chronological order ahead of it? This doesn't follow the usual Tabs paradigm. (No other tabbed apps work this way, do they?) I would like to include a simple means for reordering tabs, but haven't worked on it yet. Feature requests and tab enhancement/improvement suggestions are welcome! --Nathaniel > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080708/d96c6e47/attachment.html From kuepper.jochen at googlemail.com Wed Jul 9 02:38:33 2008 From: kuepper.jochen at googlemail.com (=?ISO-8859-1?Q?Jochen_K=FCpper?=) Date: Wed Jul 9 03:04:59 2008 Subject: [OS X Emacs] Information about tabs in Aquamacs 1.4 In-Reply-To: <20ecf6c70807082116o4278e7dcq7b40f8df8b49f3a9@mail.gmail.com> References: <04EC68D2-BD96-4A02-AFA3-AC821737E3C6@GMAIL.COM> <48742123.4060909@flux.utah.edu> <20ecf6c70807082116o4278e7dcq7b40f8df8b49f3a9@mail.gmail.com> Message-ID: <5258932D-B745-4116-9231-3B5AF853DCE1@googlemail.com> On 09.07.2008, at 06:16, Nathaniel Cunningham wrote: > tabbar.el allows one to customize which buffers are inhibited from > having tabs, but we avoided this kind of behavior in Aquamacs, which > treats tabs somewhat differently. So how did you decide which buffers to show and which not?` Right now I have the following visible buffers: .%* *svn-status* 134 svn-status Portfile 2813 Fundamental /Volumes/Users/ jochen/source/macports/dports/textproc/pdftk/Portfile *scratch* 0 Text * *Messages* 21 Fundamental *svn-process* 0 Fundamental However, only *scratch*, Portfile, and *svn-status* have tabs. Moreover, what happens with hidden buffers (i.e., " *RefTeX-scratch*")? Actually, nothing very sensible. The normal "tabs" seam to disappear, some arbitrary ones show up, ... Disclaimer: I had tried tabs for a evening for one of the later 1.4rcs, but decided its not working for me. Moreover, I actually don't even think it's useful for me: It takes away screen estate and switching buffers with the keys is faster anyway. Moreover, C-x C-b gives me a buffer list if I really forgot what to look for (it has also more functionality such as killing multiple buffers at once). Nevertheless, its a nice feature. Please go ahead and improve it, but more importantly for the people actually using it, not so much for me. Good Luck! Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll From nathaniel.cunningham at gmail.com Wed Jul 9 08:41:16 2008 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Wed Jul 9 08:41:20 2008 Subject: [OS X Emacs] Information about tabs in Aquamacs 1.4 In-Reply-To: <5258932D-B745-4116-9231-3B5AF853DCE1@googlemail.com> References: <04EC68D2-BD96-4A02-AFA3-AC821737E3C6@GMAIL.COM> <48742123.4060909@flux.utah.edu> <20ecf6c70807082116o4278e7dcq7b40f8df8b49f3a9@mail.gmail.com> <5258932D-B745-4116-9231-3B5AF853DCE1@googlemail.com> Message-ID: <20ecf6c70807090541l8dd9190g174de1d938b6a7e5@mail.gmail.com> On Wed, Jul 9, 2008 at 1:38 AM, Jochen Küpper wrote: > On 09.07.2008, at 06:16, Nathaniel Cunningham wrote: > > tabbar.el allows one to customize which buffers are inhibited from having >> tabs, but we avoided this kind of behavior in Aquamacs, which treats tabs >> somewhat differently. >> > > > So how did you decide which buffers to show and which not?` > A given window will have tabs for all buffers that have been displayed in it, until any of those tabs are closed. --Nathaniel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080709/d6a6e3f9/attachment.html From nathaniel.cunningham at gmail.com Wed Jul 9 08:59:08 2008 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Wed Jul 9 08:59:14 2008 Subject: [OS X Emacs] Information about tabs in Aquamacs 1.4 In-Reply-To: <20ecf6c70807090541l8dd9190g174de1d938b6a7e5@mail.gmail.com> References: <04EC68D2-BD96-4A02-AFA3-AC821737E3C6@GMAIL.COM> <48742123.4060909@flux.utah.edu> <20ecf6c70807082116o4278e7dcq7b40f8df8b49f3a9@mail.gmail.com> <5258932D-B745-4116-9231-3B5AF853DCE1@googlemail.com> <20ecf6c70807090541l8dd9190g174de1d938b6a7e5@mail.gmail.com> Message-ID: <20ecf6c70807090559t28015ea6j5d6c86c913c18390@mail.gmail.com> On Wed, Jul 9, 2008 at 7:41 AM, Nathaniel Cunningham < nathaniel.cunningham@gmail.com> wrote: A given window will have tabs for all buffers that have been displayed in > it, until any of those tabs are closed. > I should be more precise: A window gets a tab for each buffer that is displayed in it. (e.g., even if you open Aquamacs by double-clicking an associated file, Aquamacs displays *scratch* momentarily before your opened file, so both *scratch* and your intended file will have tabs initially.) A tab is removed when explicitly closed, or when the corresponding buffer is killed. The tab bar is hidden for any window that has only a single tab. If you prefer to switch buffers using keystrokes, that's great. Tabs might still be useful, as they provide a clear and always-present indication of cyclic ordering per window, so you don't have to "hunt" through your open buffers, or type any portion of buffer names. I find this helpful -- YMMV. (Tab cycling keys are Cmd-Shift-[/] or Cmd-Opt-left/right) --Nathaniel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080709/3dd4a643/attachment.html From tsd at tsdye.com Wed Jul 9 22:28:08 2008 From: tsd at tsdye.com (Thomas S. Dye) Date: Wed Jul 9 22:54:54 2008 Subject: [OS X Emacs] problem running (pdf)latex In-Reply-To: References: Message-ID: <20E0B413-D715-41F9-BBCF-4FFB88E627C7@tsdye.com> Art, Put the following code in ~/Library/Application\ Support/Aquamacs\ Emacs/site-prestart.el or get the nightly build for 1.5. ;;from mac-extra-functions.el, version 1.63 (defun mac-read-environment-vars-from-shell () "Import the environment from the system's default login shell specified in `shell-file-name'." (with-temp-buffer ;; execute 'printenv' with the default login shell, ;; running the shell with -l (to load the environment) (setq default-directory "~/") ; ensure it can be executed ;; To Do: use call-process instead -> this here ;; will invoke two bashes (let ((shell-login-switch (or shell-login-switch (if (string-match ".*/\\(ba\\|z\\)sh" shell-file-name) "-l" (if (string-match ".*/\\tcsh" shell-file-name) "" (if (string-match ".*/ksh" shell-file-name) "" ;; works for ksh (message "Could not retrieve login shell environment with login shell: %s" shell-file-name) ;; won't work for csh, because it doesn't take -l -c ... )))))) (call-process shell-file-name nil t nil shell-login-switch shell-command-switch "printenv")) (goto-char (point-min)) (while (re-search-forward "^[A-Za-z_0-9]+=()\s*[^\x]*? \s*}\s*$" nil t) (replace-match "..." nil nil)) (goto-char (point-min)) (while (search-forward-regexp "^\\([A-Za-z_0-9]+\\)=\\(.*\\)$" nil t) (setenv (match-string 1) (if (equal (match-string 1) "PATH") (concat (match-string 2) ":" (getenv "PATH")) (match-string 2)))))) Tom On Jun 25, 2008, at 5:02 AM, Art Werschulz wrote: > Hi. > > Using Aquamacs 1.4 with AUCTeX ... > > I'm trying to run (pdf)latex from within same. I get the following > in the *blah output* buffer (where blah is the full path to the > LaTeX file, minus the ".tex"): > > > Running `LaTeX' on `foo' with ``pdflatex -interaction=nonstopmode > "\input" foo.tex'' > /bin/sh: pdflatex: command not found > > LaTeX exited abnormally with code 127 at Wed Jun 25 10:58:33 > > > Note that if I do "M-x shell", I have: > > agw@home:~$ which pdflatex > /usr/local/texlive/2007/bin/i386-darwin/pdflatex > > Suggestions? Thanks. > > > Art Werschulz > 207 Stoughton Avenue, Cranford NJ 07016-2838 > (908) 272-1146 > > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx From david.reitter at gmail.com Thu Jul 10 01:58:36 2008 From: david.reitter at gmail.com (David Reitter) Date: Thu Jul 10 02:04:50 2008 Subject: [OS X Emacs] problem running (pdf)latex In-Reply-To: <20E0B413-D715-41F9-BBCF-4FFB88E627C7@tsdye.com> References: <20E0B413-D715-41F9-BBCF-4FFB88E627C7@tsdye.com> Message-ID: On 9 Jul 2008, at 22:28, Thomas S. Dye wrote: > Art, > > Put the following code in ~/Library/Application\ Support/Aquamacs\ > Emacs/site-prestart.el or get the nightly build for 1.5. Rather than that, please download a nightly build from http://aquamacs.org/nightlies.shtml . That should fix the problem; please let us know how you get on. -- http://aquamacs.org -- Aquamacs: Emacs on Mac OS X http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080710/dea06830/smime.bin From d.stegmueller at gmail.com Thu Jul 10 11:10:38 2008 From: d.stegmueller at gmail.com (Daniel Stegmueller) Date: Thu Jul 10 11:38:14 2008 Subject: [OS X Emacs] Installing imaxima in Aquamacs Message-ID: Dear list, what is the proper way to install additional packages in Aquamacs? I tried to install imaxima by compiling it and putting it into Aquamacs' site-lisp directory, which gives me an error when starting. Is there an obvious mistake that I made? Best, Daniel Daniel Stegmueller University of Essex COLCHESTER ESSEX CO4 3SQ UK From nathaniel.cunningham at gmail.com Thu Jul 10 13:08:05 2008 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Thu Jul 10 13:08:10 2008 Subject: [OS X Emacs] Installing imaxima in Aquamacs In-Reply-To: References: Message-ID: <20ecf6c70807101008r6ad56fc3v57f4bc95c5093b62@mail.gmail.com> Daniel, The Aquamacs Emacs.app package should not be modified; instead, put additional packages into ~/Library/Application Support/Aquamacs Emacs/ (see Extending Aquamacs in the Aquamacs Help or Aquamacs Manual.pdf) I've installed imaxima-mode in Aquamacs without doing any compilation. Follow the "Manual Installation" instructions from the imaxima.texi document that came with the download -- open this in Aquamacs and do Command-->TeX to create a PDF version. The byte-compiled versions (*.elc) listed under Manual Installation are optional, and you can easily byte-compile the .el files within Aquamacs if you wish. For myself, I created the directory ~/Library/Application Support/Aquamacs Emacs/imaxima/ and put in it the following files: imath.el imaxima-autoconf-variables.el imaxima.el imaxima.lisp I've also included the following from maxima: maxima-font-lock.el maxima.el And I put the required latex style files (breqn) in the following location (depends on the particulars of LaTeX installation): ~/Library/texmf/tex/latex/breqn/ I don't think running the "texhash" command as noted in Installation was necessary. Let me know how you get on. --Nathaniel On Thu, Jul 10, 2008 at 10:10 AM, Daniel Stegmueller < d.stegmueller@gmail.com> wrote: > Dear list, > > what is the proper way to install additional packages in Aquamacs? > I tried to install imaxima by compiling it and putting it into Aquamacs' > site-lisp directory, which gives me an error when starting. > > Is there an obvious mistake that I made? > > Best, > Daniel > > > > > > > > Daniel Stegmueller > University of Essex > COLCHESTER > ESSEX CO4 3SQ > UK > > > > > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080710/fa155195/attachment.html From emarceta at gmail.com Fri Jul 11 03:44:37 2008 From: emarceta at gmail.com (Emil Marceta) Date: Fri Jul 11 04:12:42 2008 Subject: [OS X Emacs] elisp function in regexp replacement string returns error Message-ID: <74b000990807110044v563996f3yd1610f63fb92bf28@mail.gmail.com> Hi there, In emacs 22, there's a new feature that allows you to put a elisp function as your replacement string. This is done by giving the replacement string this form " \,(fun-name)", where fun-name is your elisp function. However when I try to run say (marked region regexp replace): (replace-regexp "_\\(.\\)" "\\,(downcase \\1)" nil (if (and transient-mark-mode mark-active) (region-beginning)) (if (and transient-mark-mode mark-active) (region-end))) the error message shows up : Invalid use of `\' in replacement text Any thoughts what I'm doing wrong? thanks, emil From d.stegmueller at gmail.com Fri Jul 11 10:40:58 2008 From: d.stegmueller at gmail.com (Daniel Stegmueller) Date: Fri Jul 11 10:41:08 2008 Subject: [OS X Emacs] Installing imaxima in Aquamacs In-Reply-To: <20ecf6c70807101008r6ad56fc3v57f4bc95c5093b62@mail.gmail.com> References: <20ecf6c70807101008r6ad56fc3v57f4bc95c5093b62@mail.gmail.com> Message-ID: <7A05ECB1-53B2-4740-A1AC-EEA0F93FF7E4@gmail.com> Nathaniel, you're right, modifying the package itself is a stupid idea. I put the imaxima files in the same directory as you did (breqn is already installed on my system) but Aquamacs greets me with the following error when i start imaxima-mode: Maxima encountered a Lisp error: LOAD: A file with name /Users/dstegmue/Library/Application does not exist Automatically continuing. To reenable the Lisp debugger set *debugger-hook* to nil. *** - THROW: there is no CATCHer for tag RETURN-FROM-DEBUGGER Break 1 [1]> Maxima itself (5.15.0 installed via Fink) is working. Any more suggestions? Thanks, Daniel On 10 Jul 2008, at 18:08, Nathaniel Cunningham wrote: > Daniel, > > The Aquamacs Emacs.app package should not be modified; instead, put > additional packages into ~/Library/Application Support/Aquamacs Emacs/ > (see Extending Aquamacs in the Aquamacs Help or Aquamacs Manual.pdf) > > I've installed imaxima-mode in Aquamacs without doing any > compilation. Follow the "Manual Installation" instructions from the > imaxima.texi document that came with the download -- open this in > Aquamacs and do Command-->TeX to create a PDF version. > > The byte-compiled versions (*.elc) listed under Manual Installation > are optional, and you can easily byte-compile the .el files within > Aquamacs if you wish. For myself, I created the directory > ~/Library/Application Support/Aquamacs Emacs/imaxima/ > and put in it the following files: > imath.el > imaxima-autoconf-variables.el > imaxima.el > imaxima.lisp > > I've also included the following from maxima: > maxima-font-lock.el > maxima.el > > And I put the required latex style files (breqn) in the following > location (depends on the particulars of LaTeX installation): > ~/Library/texmf/tex/latex/breqn/ > I don't think running the "texhash" command as noted in Installation > was necessary. > > Let me know how you get on. > --Nathaniel > > On Thu, Jul 10, 2008 at 10:10 AM, Daniel Stegmueller > wrote: > Dear list, > > what is the proper way to install additional packages in Aquamacs? > I tried to install imaxima by compiling it and putting it into > Aquamacs' site-lisp directory, which gives me an error when starting. > > Is there an obvious mistake that I made? > > Best, > Daniel > > > > > > > > Daniel Stegmueller > University of Essex > COLCHESTER > ESSEX CO4 3SQ > UK > > > > > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx > > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx From nathaniel.cunningham at gmail.com Fri Jul 11 10:50:37 2008 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Fri Jul 11 11:49:48 2008 Subject: [OS X Emacs] Installing imaxima in Aquamacs In-Reply-To: <7A05ECB1-53B2-4740-A1AC-EEA0F93FF7E4@gmail.com> References: <20ecf6c70807101008r6ad56fc3v57f4bc95c5093b62@mail.gmail.com> <7A05ECB1-53B2-4740-A1AC-EEA0F93FF7E4@gmail.com> Message-ID: <20ecf6c70807110750g130f81b8jd0b96503a9d9428c@mail.gmail.com> On Fri, Jul 11, 2008 at 9:40 AM, Daniel Stegmueller wrote: > > I put the imaxima files in the same directory as you did (breqn is already > installed on my system) but Aquamacs greets me with the following error when > i start imaxima-mode: > > Maxima encountered a Lisp error: > > LOAD: A file with name /Users/dstegmue/Library/Application does not exist > > Automatically continuing. > To reenable the Lisp debugger set *debugger-hook* to nil. > > *** - THROW: there is no CATCHer for tag RETURN-FROM-DEBUGGER > Break 1 [1]> > > > Maxima itself (5.15.0 installed via Fink) is working. > > Any more suggestions? > Sorry, I'd forgotten: there is a bug in imaxima.el which makes it intolerant of spaces in the path to imaxima.lisp. The error you got is not exactly the same as the one I encountered in the past, but perhaps these are different versions of imaxima.el I corrected this in imaxima.el and emailed the issue and fix to the imaxima maintainter, but I'm not sure that he's implemented the patch. Below is my email regarding the problem and the fix. --Nathaniel Yasuaki, > > I've just tried out your excellent imaxima.el with Aquamacs Emacs on Mac > OS X. I did a manual install, and put the required files in the standard > place for elisp packages for Aquamacs: ~/Library/Application > Support/Aquamacs Emacs/ . This caused an error: > > Maxima encountered a Lisp error: > > Error during processing of --eval option "(cl-user::run)": > > error opening #P"/Users/nathaniel/Library/Application": > No such file or directory > > I dug around in imaxima.el, and found that the sole option fed to the > maxima command is `--preload-lisp=' with the path to maxima.lisp; for some > reason, when this is defined as the argument, (split-string) is first > applied to the path. I changed the (split-string) command to (list), and > now it works fine. Could you make imaxima.el tolerant of spaces in this > path by default? Below is the diff of my change. > > Cheers, > Nathaniel > > *** /Users/nathaniel/downloads/aquamacs/imaxima-imath-0.99/imaxima.el > 2008-01-05 10:20:26 -0600 > --- /Users/nathaniel/Library/Application Support/Aquamacs Emacs/imaxima/ > imaxima.el 2008-04-16 23:19:15 -0500 > *************** > *** 1074,1081 **** > "imaxima" > imaxima-maxima-program > nil > ! (split-string > imaxima-maxima-options)))) > (save-excursion > (set-buffer mbuf) > --- 1074,1082 ---- > "imaxima" > imaxima-maxima-program > nil > ! ;; (split-string > ! (list > imaxima-maxima-options)))) > (save-excursion > (set-buffer mbuf) > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080711/adff05b9/attachment.html From d.stegmueller at gmail.com Fri Jul 11 12:48:57 2008 From: d.stegmueller at gmail.com (Daniel Stegmueller) Date: Fri Jul 11 12:49:05 2008 Subject: [OS X Emacs] Installing imaxima in Aquamacs In-Reply-To: <20ecf6c70807110750g130f81b8jd0b96503a9d9428c@mail.gmail.com> References: <20ecf6c70807101008r6ad56fc3v57f4bc95c5093b62@mail.gmail.com> <7A05ECB1-53B2-4740-A1AC-EEA0F93FF7E4@gmail.com> <20ecf6c70807110750g130f81b8jd0b96503a9d9428c@mail.gmail.com> Message-ID: <032C2994-9010-4BFF-9DA1-3DCCC95B95FC@gmail.com> That did it. Thanks a lot! Daniel On 11 Jul 2008, at 15:50, Nathaniel Cunningham wrote: > On Fri, Jul 11, 2008 at 9:40 AM, Daniel Stegmueller > wrote: > > I put the imaxima files in the same directory as you did (breqn is > already installed on my system) but Aquamacs greets me with the > following error when i start imaxima-mode: > > Maxima encountered a Lisp error: > > LOAD: A file with name /Users/dstegmue/Library/Application does not > exist > > Automatically continuing. > To reenable the Lisp debugger set *debugger-hook* to nil. > > *** - THROW: there is no CATCHer for tag RETURN-FROM-DEBUGGER > Break 1 [1]> > > > Maxima itself (5.15.0 installed via Fink) is working. > > Any more suggestions? > > Sorry, I'd forgotten: there is a bug in imaxima.el which makes it > intolerant of spaces in the path to imaxima.lisp. The error you got > is not exactly the same as the one I encountered in the past, but > perhaps these are different versions of imaxima.el I corrected this > in imaxima.el and emailed the issue and fix to the imaxima > maintainter, but I'm not sure that he's implemented the patch. > Below is my email regarding the problem and the fix. > > --Nathaniel > > Yasuaki, > > I've just tried out your excellent imaxima.el with Aquamacs Emacs on > Mac OS X. I did a manual install, and put the required files in the > standard place for elisp packages for Aquamacs: ~/Library/ > Application Support/Aquamacs Emacs/ . This caused an error: > > Maxima encountered a Lisp error: > > Error during processing of --eval option "(cl-user::run)": > > error opening #P"/Users/nathaniel/Library/Application": > No such file or directory > > I dug around in imaxima.el, and found that the sole option fed to > the maxima command is `--preload-lisp=' with the path to > maxima.lisp; for some reason, when this is defined as the argument, > (split-string) is first applied to the path. I changed the (split- > string) command to (list), and now it works fine. Could you make > imaxima.el tolerant of spaces in this path by default? Below is the > diff of my change. > > Cheers, > Nathaniel > > *** /Users/nathaniel/downloads/ > aquamacs/imaxima-imath-0.99/imaxima.el 2008-01-05 10:20:26 -0600 > --- /Users/nathaniel/Library/Application Support/Aquamacs Emacs/ > imaxima/imaxima.el 2008-04-16 23:19:15 -0500 > *************** > *** 1074,1081 **** > "imaxima" > imaxima-maxima-program > nil > ! (split-string > imaxima-maxima-options)))) > (save-excursion > (set-buffer mbuf) > --- 1074,1082 ---- > "imaxima" > imaxima-maxima-program > nil > ! ;; (split-string > ! (list > imaxima-maxima-options)))) > (save-excursion > (set-buffer mbuf) > > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx Daniel Stegmueller Landgrafenstr. 14 60486 Frankfurt a.M. 069/24140381 d.stegmueller@gmail.com From thvv at multicians.org Mon Jul 14 21:35:56 2008 From: thvv at multicians.org (Tom Van Vleck) Date: Mon Jul 14 21:36:54 2008 Subject: [OS X Emacs] tabs Message-ID: <5A6220E2-A2B3-4E5C-A0DC-1A11146D80BC@multicians.org> I like the tabs. But sometimes they all vanish. I have "show buffers in new frames" unchecked. I had a bunch of tabs. Then by mistake I typed flower-2. That split my window. Didn't want that. So I hit ^x-1. Poof, all the tabs gone. Not what I wanted, I wanted my frontmost window un-split and the tabs to remain there. From nathaniel.cunningham at gmail.com Mon Jul 14 22:06:50 2008 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Mon Jul 14 22:06:56 2008 Subject: [OS X Emacs] tabs In-Reply-To: <5A6220E2-A2B3-4E5C-A0DC-1A11146D80BC@multicians.org> References: <5A6220E2-A2B3-4E5C-A0DC-1A11146D80BC@multicians.org> Message-ID: <20ecf6c70807141906o3afca5d6x4d8507104945e029@mail.gmail.com> On Mon, Jul 14, 2008 at 8:35 PM, Tom Van Vleck wrote: > > > I had a bunch of tabs. Then by mistake I typed flower-2. > That split my window. Didn't want that. So I hit ^x-1. > Poof, all the tabs gone. Not what I wanted, I wanted my > frontmost window un-split and the tabs to remain there. If you hit Cmd-1 instead ( = Window --> Remove Splits) you would get your wish. Note that it's not always possible, when adding new features, to build support for them directly into the existing emacs functions; instead, we create new functions to roll in the necessary improvements. I.e., if you use raw emacs commands/keybindings, you'll often get raw emacs behavior. Sounds like what is needed is better documentation of the functions/keybinding associated with new features in Aquamacs. If the above scenario ever repeats itself, you'll find that your "disappeared" buffers are still open, and they'll get tabs again when displayed (e.g. via the buffers list in the Window menu). --Nathaniel > > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080714/03d0017f/attachment.html From thvv at multicians.org Tue Jul 15 09:55:32 2008 From: thvv at multicians.org (Tom Van Vleck) Date: Tue Jul 15 10:03:18 2008 Subject: [OS X Emacs] tabs In-Reply-To: <20ecf6c70807141906o3afca5d6x4d8507104945e029@mail.gmail.com> References: <5A6220E2-A2B3-4E5C-A0DC-1A11146D80BC@multicians.org> <20ecf6c70807141906o3afca5d6x4d8507104945e029@mail.gmail.com> Message-ID: On Jul 14, 2008, at 10:06 PM, Nathaniel Cunningham wrote: > > On Mon, Jul 14, 2008 at 8:35 PM, Tom Van Vleck > wrote: > I had a bunch of tabs. Then by mistake I typed flower-2. > That split my window. Didn't want that. So I hit ^x-1. > Poof, all the tabs gone. Not what I wanted, I wanted my > frontmost window un-split and the tabs to remain there. > > If you hit Cmd-1 instead ( = Window --> Remove Splits) you would > get your wish. apropos split didn't find cmd-1 because its name and documentation do not contain 'split' .. it is called aquamacs-delete-other-windows. the documentation for command aquamacs-split-window-vertically does not mention its inverse. so it is possible to miss it. ^x-1 will disappear a help buffer without deleting the tabs. the word "tab" also pertains to the tab character, so apropos tab finds a mixture of items. still like the feature, thanks. From erikn at myphysicslab.com Thu Jul 17 15:10:29 2008 From: erikn at myphysicslab.com (Erik Neumann) Date: Thu Jul 17 16:56:08 2008 Subject: [OS X Emacs] [OS X TeX] The Font Cache Problem Message-ID: Back in April, Dick Koch put out a request for experiences with this problem: Many of you are aware of the following bug: you'll be running one or more TeX front ends and/or utilities and suddenly the mathematical symbols will disappear in the preview output. Further inspection shows that a different font without these symbols has been substituted for the correct font. Once one application has the problem, other TeX apps also have font problems, even if closed and restarted. To fix the problem, it is necessary to reboot the machine or use a utility to clear the font cache. I believe I can reproduce this problem. My experience was this: I recently rebuilt my MacBook Pro (2 GHz Intel Core Duo) with a clean version of Leopard (Mac OSX 10.5.4). I installed the current MacTeX-2007 distribution, and the latest LaTeXiT 1.15.0 and latest Equation Service (version 1.0 from 2003). I found that if I run Equation Service, then the bug appears both in Equation Service and in LatexIt. After a reboot, the problem disappears for LatexIt. However, the problem reappears if I run Equation Service again. Equation Service (which is a nice program) hasn't been updated in a long time, 5 years now. It has some other problems (like the Templates drawer is empty, some menu items for "show/hide" of windows don't work). Chances are good that it is doing something that breaks the newer MacOSX versions. BTW, there is a youtube video that demonstrates the problem: http://www.youtube.com/watch?v=OX9kc1ZDI7U Added: November 30, 2007 On Mac OS X 10.5, math fonts used by LaTeX do some weird things. Here is the incompressible Navier-Stokes equation typeset with LaTeX. The fonts are often displayed incorrectly by Preview, but sometimes they are right. As I focus on and away from Preview the way the fonts are displayed changes. This was a very disturbing problem to encounter, after a clean install of all these things (the OS, MacTex, etc.). It was difficult to find a solution for, as it was hard to know what terms to search on. I was searching things like: Mac OSX Leopard Latex math font problem, but it was hard to find anything relevant. The thread on The Font Cache Problem from Dick Koch was the best info I found. It would be helpful if the MacTeX FAQ at http://tug.org/mactex/faq/ had some info on this problem. Regards, --Erik Neumann From morelli at flux.utah.edu Fri Jul 18 02:05:33 2008 From: morelli at flux.utah.edu (Robert Morelli) Date: Fri Jul 18 02:21:39 2008 Subject: [OS X Emacs] Information about tabs in Aquamacs 1.4 In-Reply-To: <20ecf6c70807082116o4278e7dcq7b40f8df8b49f3a9@mail.gmail.com> References: <04EC68D2-BD96-4A02-AFA3-AC821737E3C6@GMAIL.COM> <48742123.4060909@flux.utah.edu> <20ecf6c70807082116o4278e7dcq7b40f8df8b49f3a9@mail.gmail.com> Message-ID: <488032AD.4090508@flux.utah.edu> Nathaniel Cunningham wrote: > > For instance, is there a way to keep > buffers like *Messages* from having a tab? > > > tabbar.el allows one to customize which buffers are inhibited from > having tabs, but we avoided this kind of behavior in Aquamacs, which > treats tabs somewhat differently. Help me understand what you're > after, here. If *Messages* doesn't get a tab, what happens to the tab > bar when you view *Messages*? Does it appear, but with no selected > tab? Does it disappear -- and if so, haven't you lost part of the > utility of tabs, namely a simple way to select a different tab? If > some buffers don't have tabs, there's a break in the intuitive > tab<-->buffer connection we've established. Do explain further the > scenario you envision. This needs to be thought out carefully, of course, but I think almost any scheme would be better than the current implementation that has no customization. At a minimum, I think some kind of simple filtering is essential. For instance, I would be happy to have the ability to suppress all buffers that start with *, except when you actually visit them. As it stands, most of the real estate on the tab bar is taken up by tabs for buffers generated by emacs, like *Messages*, *Completions*, ... Each LaTeX file I'm editing has one or more such buffers associated with it ... I consider those at best marginally useful. Really, I'd like to get rid of them. I'm typically editing about a dozen files at any given time. The tabs are not that useful for getting around, since most of the visible tabs are for buffers I don't usually want to visit. Part of the problem is that the tabs are pretty wide since they size to fit the entire buffer name. By contrast, Firefox tabs can shrink to just a small stub. That's ok because you can usually tell what web page it is from the icon. What's the reasonable thing to do for Aquamacs, where you don't have an icon? Maybe just allow abbreviations so you can shrink tabs. Perhaps set a minimum tab width and keep shrinking them as necessary to fit them on the tab bar when more tabs are needed. Only start letting them overflow off the tab bar when they reach the minimum width and there's no more room left. Note: even if the tabs are small, I still don't want the *Messages* buffer to have a tab. One idea would be to have a hierarchical structure imposed on the buffers and use that to do some reasonable filtering of what appears in the tab bar. For instance, TeX output buffers would be subordinate to the associated LaTeX buffers you're actually editing. Generally, only top level things should be the the tab bar. To get to a subordinate tab, you first choose it's top level ancestor. Then do something to drill down. ... Obviously, something like that would take a lot of thought and work. In the meantime, some kind of crude filtering like described above would improve things a lot. From david.reitter at gmail.com Fri Jul 18 07:28:40 2008 From: david.reitter at gmail.com (David Reitter) Date: Fri Jul 18 07:56:41 2008 Subject: [OS X Emacs] Information about tabs in Aquamacs 1.4 In-Reply-To: <488032AD.4090508@flux.utah.edu> References: <04EC68D2-BD96-4A02-AFA3-AC821737E3C6@GMAIL.COM> <48742123.4060909@flux.utah.edu> <20ecf6c70807082116o4278e7dcq7b40f8df8b49f3a9@mail.gmail.com> <488032AD.4090508@flux.utah.edu> Message-ID: <92A32E94-92E7-49A4-A560-E4BADD941000@gmail.com> On 18 Jul 2008, at 02:05, Robert Morelli wrote: > > This needs to be thought out carefully, of course, but I think > almost any scheme would be better than the current implementation > that has no customization. At a minimum, I think some kind of simple > filtering is essential. For instance, I would be happy to have > the ability to suppress all buffers that start with *, except when > you actually visit them. Nathaniel's question remains: where are these buffers displayed in not in the current window? In a new frame? In a new window within the current frame? > As it stands, most of the real estate on the tab bar is taken up by > tabs for buffers generated by emacs, like *Messages*, *Completions*, > ... Each LaTeX file I'm editing has one or more such buffers > associated with it ... I consider those at best marginally useful. > Really, I'd > like to get rid of them. Apple-W removes the buffer and the tab. > One idea would be to have a hierarchical structure imposed on the > buffers and use that to do some reasonable filtering of what appears > in the > tab bar. For instance, TeX output buffers would be subordinate to > the associated LaTeX buffers you're actually editing. Generally, > only top > level things should be the the tab bar. To get to a subordinate tab, > you first choose it's top level ancestor. Then do something to drill > down. How would this map onto the underlying API used by various packages, i.e. pop-to-buffer, switch-to-buffer, bury-buffer and so on? -- http://aquamacs.org -- Aquamacs: Emacs on Mac OS X http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080718/2d0d07ce/smime.bin From morelli at flux.utah.edu Fri Jul 18 13:13:33 2008 From: morelli at flux.utah.edu (Robert Morelli) Date: Fri Jul 18 13:13:38 2008 Subject: [OS X Emacs] Information about tabs in Aquamacs 1.4 In-Reply-To: <92A32E94-92E7-49A4-A560-E4BADD941000@gmail.com> References: <04EC68D2-BD96-4A02-AFA3-AC821737E3C6@GMAIL.COM> <48742123.4060909@flux.utah.edu> <20ecf6c70807082116o4278e7dcq7b40f8df8b49f3a9@mail.gmail.com> <488032AD.4090508@flux.utah.edu> <92A32E94-92E7-49A4-A560-E4BADD941000@gmail.com> Message-ID: <4880CF3D.70205@flux.utah.edu> David Reitter wrote: > On 18 Jul 2008, at 02:05, Robert Morelli wrote: >> >> This needs to be thought out carefully, of course, but I think almost >> any scheme would be better than the current implementation >> that has no customization. At a minimum, I think some kind of simple >> filtering is essential. For instance, I would be happy to have >> the ability to suppress all buffers that start with *, except when >> you actually visit them. > > Nathaniel's question remains: where are these buffers displayed in > not in the current window? In a new frame? In a new window within the > current frame? I intended everything in my post only for the tab bar. I'm not proposing new ways to handle buffers. (Though I wouldn't mind that either, it's for a different discussion.) So, what I'm saying is that I'd like to filter which buffers have tabs, not which buffers are allowed to exist in the current frame. There's already some kind of filtering on the tab bar, in that a buffer doesn't appear until it's visited. As for what to do with the tab bar when you visit a buffer whose tab is filtered out, I'm saying I'd be happy with a scheme where such a tab appears only when you're actually visiting the buffer. As soon as you visit a different buffer, the tab for a filtered out buffer disappears from the tab bar. This is actually analogous to how the recent files functionality works. You can filter which files are saved in the recent files list. I haven't looked at this in a long time, but I know the default for XEmacs was terrible a few years ago. All kinds of junk files would clutter up the recent files list, rendering it only marginally useful. I did extensive filtering to make it useful. (Then, I actually wrote my own replacement for the recent-files package to get even more control.) >> As it stands, most of the real estate on the tab bar is taken up by >> tabs for buffers generated by emacs, like *Messages*, *Completions*, >> ... Each LaTeX file I'm editing has one or more such buffers >> associated with it ... I consider those at best marginally useful. >> Really, I'd >> like to get rid of them. > > Apple-W removes the buffer and the tab. Again, I'm only talking about tabs. These buffers are like cockroaches anyway. You can't stamp them all out. I'd like to get rid of the tab even if the buffer stays. >> One idea would be to have a hierarchical structure imposed on the >> buffers and use that to do some reasonable filtering of what appears >> in the >> tab bar. For instance, TeX output buffers would be subordinate to the >> associated LaTeX buffers you're actually editing. Generally, only top >> level things should be the the tab bar. To get to a subordinate tab, >> you first choose it's top level ancestor. Then do something to drill >> down. > > > How would this map onto the underlying API used by various packages, > i.e. pop-to-buffer, switch-to-buffer, bury-buffer and so on? > All you need is a policy for how the tab bar looks, given the buffer list and the current buffer. After a call to bury-buffer or whatever, the tab bar should just reflect the new structure of the buffers. APIs for buffers and for tabs should be independent. From david.reitter at gmail.com Fri Jul 18 13:48:32 2008 From: david.reitter at gmail.com (David Reitter) Date: Fri Jul 18 14:16:44 2008 Subject: [OS X Emacs] Information about tabs in Aquamacs 1.4 In-Reply-To: <4880CF3D.70205@flux.utah.edu> References: <04EC68D2-BD96-4A02-AFA3-AC821737E3C6@GMAIL.COM> <48742123.4060909@flux.utah.edu> <20ecf6c70807082116o4278e7dcq7b40f8df8b49f3a9@mail.gmail.com> <488032AD.4090508@flux.utah.edu> <92A32E94-92E7-49A4-A560-E4BADD941000@gmail.com> <4880CF3D.70205@flux.utah.edu> Message-ID: <6A30D3B5-A4F9-4AEC-BA91-A38B06613AF7@gmail.com> On 18 Jul 2008, at 13:13, Robert Morelli wrote: > As for what to do with the tab bar when you visit a buffer whose tab > is filtered out, I'm saying I'd be happy with a scheme where such a > tab appears only when you're actually visiting the buffer. As soon > as you visit a different buffer, the tab for a filtered out buffer > disappears > from the tab bar. I'm happy with the removal of tabs if their buffers are killed or buried by the package [that created them in the first place]. Clicking on another tab to switch away from a buffer should not make that buffer's tab disappear - that would be counter-intuitive and not in line with any UI standards that I'm familiar with. >>> >>> As it stands, most of the real estate on the tab bar is taken up >>> by tabs for buffers generated by emacs, like *Messages*, >>> *Completions*, >>> ... Each LaTeX file I'm editing has one or more such buffers >>> associated with it ... I consider those at best marginally useful. >>> Really, I'd >>> like to get rid of them. >> >> Apple-W removes the buffer and the tab. > > Again, I'm only talking about tabs. These buffers are like > cockroaches anyway. You can't stamp them all out. I'd like to get > rid of the tab even if the buffer stays. Some buffers like *Messages* will stay even when you press Apple-W. I think we have a problem with packages like SLIME that happily switch between buffers, even temporary ones. Nathaniel, do we take care to not permanently create tabs for buffers that are shown via `switch-to-buffer' with the `norecord' argument set? > All you need is a policy for how the tab bar looks, given the buffer > list and the current buffer. After a call to bury-buffer or > whatever, the tab > bar should just reflect the new structure of the buffers. APIs for > buffers and for tabs should be independent. That is not consistent with how things work in Aquamacs. I appreciate that the underlying Emacs has a slightly different philosophy. -- http://aquamacs.org -- Aquamacs: Emacs on Mac OS X http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080718/274e74ce/smime.bin From nathaniel.cunningham at gmail.com Fri Jul 18 15:05:39 2008 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Fri Jul 18 15:05:44 2008 Subject: [OS X Emacs] Information about tabs in Aquamacs 1.4 In-Reply-To: <6A30D3B5-A4F9-4AEC-BA91-A38B06613AF7@gmail.com> References: <04EC68D2-BD96-4A02-AFA3-AC821737E3C6@GMAIL.COM> <48742123.4060909@flux.utah.edu> <20ecf6c70807082116o4278e7dcq7b40f8df8b49f3a9@mail.gmail.com> <488032AD.4090508@flux.utah.edu> <92A32E94-92E7-49A4-A560-E4BADD941000@gmail.com> <4880CF3D.70205@flux.utah.edu> <6A30D3B5-A4F9-4AEC-BA91-A38B06613AF7@gmail.com> Message-ID: <20ecf6c70807181205p45076ed8j25c9fab1ed170ebc@mail.gmail.com> On Fri, Jul 18, 2008 at 12:48 PM, David Reitter wrote: > > I think we have a problem with packages like SLIME that happily switch > between buffers, even temporary ones. > > Nathaniel, do we take care to not permanently create tabs for buffers that > are shown via `switch-to-buffer' with the `norecord' argument set? Currently, no, the tabs implementation doesn't check for this. I'll look into it. All you need is a policy for how the tab bar looks, given the buffer list > and the current buffer. After a call to bury-buffer or whatever, the tab > bar should just reflect the new structure of the buffers. APIs for buffers > and for tabs should be independent. > That is not consistent with how things work in Aquamacs. I appreciate that > the underlying Emacs has a slightly different philosophy. Apart from philosophy: tabs are designed to be window-dependent -- you can display the same buffer with a tab in two different windows, and close that tab in one window without affecting the other. Tab display has to change in this case without affecting the buffer list. Similarly, some buffers should not be killed when all their tabs are closed (e.g. *Messages*), so we can't look to a buffer list to determine which tabs should appear. Given your particular usage and desires, you may want to try tabbar.el without the Aquamacs enhancements to tabs. Alone, it doesn't follow the modern conventions for a tabbed interface, but it might suit your needs better. --Nathaniel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080718/7b651a46/attachment.html From brauer at nordakademie.de Tue Jul 22 06:30:16 2008 From: brauer at nordakademie.de (Johannes Brauer) Date: Tue Jul 22 06:30:56 2008 Subject: [OS X Emacs] pdflatex: command not found Message-ID: Hi, trying to typeset a file from within Aquamacs (1.4) I get the error message: Running `LaTeX' on `GrundkursSmalltalk' with ``pdflatex - interaction=nonstopmode "\input" GrundkursSmalltalk.tex'' /bin/sh: pdflatex: command not found LaTeX exited abnormally with code 127 at Tue Jul 22 12:20:35 There are no problems with typesetting the same file in the Terminal with: pdflatex GrundkursSmalltalk.tex Why Aquamacs cannot find pdflatex? Johannes From david.reitter at gmail.com Tue Jul 22 06:42:23 2008 From: david.reitter at gmail.com (David Reitter) Date: Tue Jul 22 06:56:54 2008 Subject: [OS X Emacs] pdflatex: command not found In-Reply-To: References: Message-ID: <8712AC49-1D4D-4F4B-A5D7-859CB578F4EA@gmail.com> Johannes, On 22 Jul 2008, at 06:30, Johannes Brauer wrote: > > trying to typeset a file from within Aquamacs (1.4) I get the error > message: > > Running `LaTeX' on `GrundkursSmalltalk' with ``pdflatex - > interaction=nonstopmode "\input" GrundkursSmalltalk.tex'' > /bin/sh: pdflatex: command not found Could you please try out an Aquamacs from http://aquamacs.org/nightlies.shtml ... and let us know if this solves your problem? (We'd really appreciate your help with this even though there are quick fixes.) -- http://aquamacs.org -- Aquamacs: Emacs on Mac OS X http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080722/571d62e2/smime.bin From kaeufl at ira.uka.de Wed Jul 23 15:18:08 2008 From: kaeufl at ira.uka.de (=?ISO-8859-1?Q?Thomas_K=E4ufl?=) Date: Wed Jul 23 15:18:23 2008 Subject: [OS X Emacs] Migration from TeXShop to Aquamacs Emacs In-Reply-To: <3B03EDEF-37F6-491A-8105-E78FADD07C3E@orange.fr> References: <76B699C0-A311-4746-AF87-60F1E4ED8CDA@ira.uka.de> <3B03EDEF-37F6-491A-8105-E78FADD07C3E@orange.fr> Message-ID: <15E629CD-D874-45B4-9D69-3CE6F395B194@ira.uka.de> Am 2. Jul 2008 um 16:51 schrieb pacotomi: > > Le 2 juil. 08 à 15:22, Thomas Käufl a écrit : > >> > Perhaps this other way: > > in Aquamacs preference menu > > Environment -> I18n-> Mule -> File coding system alist > ... Thank you for your help -- I apologize for my late answer. Following your first suggestion I made a mistake when opening a buffer. I didn't add the suffix "tex" to the name. Now everything works fine. Some days ago, I found an old message of Pete Dyballa in this list. He mentioned the function prefer-coding-system. I tried his suggestion with the argument mac-roman-mac and this worked too. Regards Thomas Käufl From Tom.McCormick at sauder.ubc.ca Thu Jul 24 02:51:58 2008 From: Tom.McCormick at sauder.ubc.ca (Tom McCormick) Date: Thu Jul 24 02:52:04 2008 Subject: [OS X Emacs] Aquaemacs not playing well with Skim Message-ID: I'm transferring my LaTeX life from a PC to a Macbook with OS X 10.5.4; so far I have Aquaemacs 1.4 installed, as well as Skim. I'm trying to get forward/backward search going between these two. From Skim, when I shift-command-click, it properly takes me to the right point in the LaTeX source in Aquaemacs. From Aquaemacs, when I shift-control-click, it raises Skim, but doesn't change the position in the file at all, which is a major loss of functionality for me. If I do C-h k on shift-control-click, I get back (as I should, I think): (translated from ) at that spot runs the command aquamacs-latex-crossref which is an interactive compiled Lisp function in `auctex-config.el'. It is bound to . (aquamacs-latex-crossref ev) Cross-reference in LaTeX I'm thinking that Aquaemacs is somehow not properly seeing Skim, because (despite Skim clearly being installed, and even running during these experiments), if I just ask Aquaemacs to View the pdf, it asks me to confirm the view command "open " and opens the pdf in Preview instead of Skim. If I try the "jump to PDF" menu command, the first time it works and takes me to the right place in Skim with that line highlighted and everything, but then then next time I get the same bad behavior, names Skim just raises but the view does not change to the current position in the Aquaemacs buffer. I'd very much appreciate any pointers as to how I can fix this behavior -Tom McCormick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080723/b290a2e9/attachment.html From david.reitter at gmail.com Thu Jul 24 07:19:48 2008 From: david.reitter at gmail.com (David Reitter) Date: Thu Jul 24 08:21:10 2008 Subject: [OS X Emacs] Aquaemacs not playing well with Skim In-Reply-To: References: Message-ID: <2742117E-1120-4675-8E8B-8A08CBBBA245@gmail.com> Hello Tom, On 24 Jul 2008, at 02:51, Tom McCormick wrote: > if I just ask Aquaemacs to View the pdf, it asks me to confirm the > view command "open " and opens the pdf in Preview > instead of Skim. That bit is normal (but not ideal). > If I try the "jump to PDF" menu command, the first time it works and > takes me to the right place in Skim with that line highlighted and > everything, but then then next time I get the same bad behavior, > names Skim just raises but the view does not change to the current > position in the Aquaemacs buffer. This works for me. You will need to tell us what versions of Skim and Aquamacs you are using. Please use the bug-reporting function in the Help menu (of Aquamacs). Also: chances are that this is actually a problem in Skim rather than in Aquamacs. - David -- http://aquamacs.org -- Aquamacs: Emacs on Mac OS X http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080724/5f1c95cf/smime.bin From Tom.McCormick at sauder.ubc.ca Thu Jul 24 20:10:14 2008 From: Tom.McCormick at sauder.ubc.ca (Tom McCormick) Date: Thu Jul 24 21:05:42 2008 Subject: [OS X Emacs] Aquaemacs not playing well with Skim In-Reply-To: <2742117E-1120-4675-8E8B-8A08CBBBA245@gmail.com> References: <2742117E-1120-4675-8E8B-8A08CBBBA245@gmail.com> Message-ID: <488919E6.2030406@sauder.ubc.ca> David: Thank you for the quick reply. >> if I just ask Aquaemacs to View the pdf, it asks me to confirm the >> view command "open " and opens the pdf in Preview >> instead of Skim. > > That bit is normal (but not ideal). Again, I'm very new to this, so it's not clear to me what the behavior "should" be. I poked around a bit in auctex-config.el and I got the impression that Aquamacs is trying to recognize if Skim is running, and then calling Skim in preference to something else if so. In any case, is there something I can add to my Preferences.el to make this the default behavior (or, better yet, to make Aquamacs start Skim even if it is not already running?). > >> If I try the "jump to PDF" menu command, the first time it works and >> takes me to the right place in Skim with that line highlighted and >> everything, but then then next time I get the same bad behavior, >> names Skim just raises but the view does not change to the current >> position in the Aquaemacs buffer. > > This works for me. You will need to tell us what versions of Skim and > Aquamacs you are using. > Please use the bug-reporting function in the Help menu (of Aquamacs). > Also: chances are that this is actually a problem in Skim rather than > in Aquamacs. I just sent in an official bug report; thanks for pointing out this step. I got the new Macbook on Monday, so I'm running everything quite new: Skim reports Version 1.1.8 (30), and Aquamacs reports GNU Emacs 22.2.50.2 (i386-apple-darwin9.4.0, Carbon Version 1.6.0) of 2008-07-23 on plume.sr.unh.edu - Aquamacs Distribution 1.5CVS. In fact, I was experiencing the bug where M-del didn't work in the mini-buffer, and so I downloaded the nightly build from, I think, Tuesday night, which successfully solved that problem, but not the other one (thanks muchly for making available the nightly build which fixed that other problem). -- -Tom McCormick, WJ Van Dusen Professor of Management Operations and Logistics Division Email: Tom.McCormick@sauder.ubc.ca Office: Sauder School of Business, UBC 463 Henry Angus Building Vancouver, BC V6T 1Z2 CANADA Office: (604) 822-8426 Home: (604) 271-7721 Fax: (604) 8222-9574 WWW: http://people.commerce.ubc.ca/faculty/mccormick From j.m.figueroa at ed.ac.uk Thu Jul 24 20:44:49 2008 From: j.m.figueroa at ed.ac.uk (=?ISO-8859-1?Q?Jos=E9_Miguel_Figueroa-O'Farrill?=) Date: Thu Jul 24 21:57:05 2008 Subject: [OS X Emacs] accessing "Network Location" programatically from Aquamacs Message-ID: Hi, I'd like to write some elisp code which sets a few preferences based on the Mac's Network Location. Can anyone tell me how to access this programmatically from *macs? Thanks, José -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. From joseph.slater at wright.edu Mon Jul 28 13:33:43 2008 From: joseph.slater at wright.edu (Joseph C. Slater PE, PhD) Date: Mon Jul 28 14:33:48 2008 Subject: [OS X Emacs] synctex in Aquamacs Message-ID: <9053CB2F-2E32-4346-A7A2-126EA13801E0@wright.edu> In order to use synctex (replacement to pdfsync), one needs to add the option --synctex when calling latex. How do you set this as a default behavior in Aquamacs? Thanks, Joe \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ (+1) 937-775-5085 http://www.cs.wright.edu/~jslater http://www.cs.wright.edu/~jslater/JosephSlater.vcf.zip From tsd at tsdye.com Mon Jul 28 14:44:56 2008 From: tsd at tsdye.com (Thomas S. Dye) Date: Mon Jul 28 14:45:05 2008 Subject: [OS X Emacs] Aquamacs and aspell Message-ID: <424BA930-C1B6-4F44-B949-AB69B0153891@tsdye.com> Aloha all, I'm running into a problem with running a new install of aspell in Aquamacs. I installed the macports aspell and the english dictionary, per the instructions in the Aquamacs Wiki. aspell can be called from the command line and it recognizes that its English dictionary is available. I restarted Aquamacs, per the instructions in the wiki, opened a LaTeX document and ran Spell from the Command menu. The mode line says "Continuing spelling check using aspell with default dictionary..." and nothing happens. top shows Aquamacs Emacs using 99.9% of CPU time. I have to Force Quit because Aquamacs no longer accepts keyboard input. Any suggestions will be greatly appreciated. Tom Thomas S. Dye, Ph.D. T. S. Dye & Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com From Peter_Dyballa at Web.DE Mon Jul 28 14:59:08 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Mon Jul 28 14:59:19 2008 Subject: [OS X Emacs] synctex in Aquamacs In-Reply-To: <9053CB2F-2E32-4346-A7A2-126EA13801E0@wright.edu> References: <9053CB2F-2E32-4346-A7A2-126EA13801E0@wright.edu> Message-ID: <8498CDAE-6E89-4619-A38B-8830AFDA99F7@Web.DE> Am 28.07.2008 um 19:33 schrieb Joseph C. Slater PE, PhD: > In order to use synctex (replacement to pdfsync), one needs to add > the option --synctex when calling latex. > > How do you set this as a default behavior in Aquamacs? There are variables like LaTeX-command and LaTeX-run-command, defined in different ELisp files, and there is the big AUCTeX variable TeX- command-list. I'd customise this one that the *tex commands all use the synctex option. Anyway, I'm sure AUCTeX will come up with a new version around the release of TeX Live 2008 to support this new feature. Have you sent an eMail to the AUCTeX list? -- Greetings Pete A blizzard is when it snows sideways. From joseph.slater at wright.edu Mon Jul 28 15:08:38 2008 From: joseph.slater at wright.edu (Joseph C. Slater PE, PhD) Date: Mon Jul 28 15:08:43 2008 Subject: [OS X Emacs] synctex in Aquamacs In-Reply-To: <8498CDAE-6E89-4619-A38B-8830AFDA99F7@Web.DE> References: <9053CB2F-2E32-4346-A7A2-126EA13801E0@wright.edu> <8498CDAE-6E89-4619-A38B-8830AFDA99F7@Web.DE> Message-ID: <3BDD5F93-74C9-4F00-AA39-8A3648CF91D7@wright.edu> On Jul 28, 2008, at 2:59 PM, Peter Dyballa wrote: > > Am 28.07.2008 um 19:33 schrieb Joseph C. Slater PE, PhD: > >> In order to use synctex (replacement to pdfsync), one needs to add >> the option --synctex when calling latex. >> >> How do you set this as a default behavior in Aquamacs? > > > There are variables like LaTeX-command and LaTeX-run-command, > defined in different ELisp files, and there is the big AUCTeX > variable TeX-command-list. I'd customise this one that the *tex > commands all use the synctex option. I have to admit that I've don't this kind of thing before, but I'm concerned that an update would wipe out a change in such a file. I was hoping this was a "preferences" way that would probably be be maintained between versions, and easier for a lisp ignoramus like me. I'm sure there is one, but I didn't find the path to see 'pdflatex' to 'pdflatex --synctex'. I'm sure it's in there... somewhere. > > > Anyway, I'm sure AUCTeX will come up with a new version around the > release of TeX Live 2008 to support this new feature. Have you sent > an eMail to the AUCTeX list? No. As I'd split off to using Aquamacs and David's canned product, I've tried not to stick my nose into the details of editing lisp files, etc. After some time, I realized that while I could on occasion, I was often doing myself more harm than good. I've had quite a few maddening days trying to undue damage I had self-inflicted. From Peter_Dyballa at Web.DE Mon Jul 28 15:41:33 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Mon Jul 28 15:42:09 2008 Subject: [OS X Emacs] synctex in Aquamacs In-Reply-To: <3BDD5F93-74C9-4F00-AA39-8A3648CF91D7@wright.edu> References: <9053CB2F-2E32-4346-A7A2-126EA13801E0@wright.edu> <8498CDAE-6E89-4619-A38B-8830AFDA99F7@Web.DE> <3BDD5F93-74C9-4F00-AA39-8A3648CF91D7@wright.edu> Message-ID: <71C78666-2148-44EE-94EA-DA2C6610747F@Web.DE> Am 28.07.2008 um 21:08 schrieb Joseph C. Slater PE, PhD: > I have to admit that I've don't this kind of thing before, but I'm > concerned that an update would wipe out a change in such a file. I > was hoping this was a "preferences" way that would probably be be > maintained between versions, and easier for a lisp ignoramus like > me. I'm sure there is one, but I didn't find the path to see > 'pdflatex' to 'pdflatex --synctex'. I'm sure it's in there... > somewhere. I can't use Aquamacs Emacs, because it's doing weird things with my ELisp repository, so I'm not aware of any changes, except that David Reitter wrote in the Aqua Emacs.app list that PLIST should better be avoided to stay compatible with other systems. Could be the change has already happened for you ? before November 4th. You don't need to know much of ELisp and you never should change ELisp files in the Emacs distribution. There are two alternatives: set something to the correct value in your init file (usually ~/.emacs) or use the customisation interface. Available from Options - > Customize Emacs. TeX-command-list is a Specific Option. And miraculously you can paste the variable's name for example into the *scratch* buffer, leave the cursor in the name, and then choose from the menu Options -> Customize Emacs -> Specific Option. Now a simple RET is sufficient. BTW, once you've saved your changes (they should go into ~/.emacs) you have a slight chance to edit this customisation in the init file ... How did you integrate the synctex option before? Are you aware of the difference between Emacs' native (La)TeX mode and AUCTeX's offerings? -- Greetings Pete A morning without coffee is like something without something else. From joseph.slater at wright.edu Mon Jul 28 15:54:21 2008 From: joseph.slater at wright.edu (Joseph C. Slater PE, PhD) Date: Mon Jul 28 15:54:25 2008 Subject: [OS X Emacs] synctex in Aquamacs In-Reply-To: <71C78666-2148-44EE-94EA-DA2C6610747F@Web.DE> References: <9053CB2F-2E32-4346-A7A2-126EA13801E0@wright.edu> <8498CDAE-6E89-4619-A38B-8830AFDA99F7@Web.DE> <3BDD5F93-74C9-4F00-AA39-8A3648CF91D7@wright.edu> <71C78666-2148-44EE-94EA-DA2C6610747F@Web.DE> Message-ID: On Jul 28, 2008, at 3:41 PM, Peter Dyballa wrote: > > Am 28.07.2008 um 21:08 schrieb Joseph C. Slater PE, PhD: > >> I have to admit that I've don't this kind of thing before, but I'm >> concerned that an update would wipe out a change in such a file. I >> was hoping this was a "preferences" way that would probably be be >> maintained between versions, and easier for a lisp ignoramus like >> me. I'm sure there is one, but I didn't find the path to see >> 'pdflatex' to 'pdflatex --synctex'. I'm sure it's in there... >> somewhere. > > I can't use Aquamacs Emacs, because it's doing weird things with my > ELisp repository, so I'm not aware of any changes, except that David > Reitter wrote in the Aqua Emacs.app list that PLIST should better be > avoided to stay compatible with other systems. Could be the change > has already happened for you ? before November 4th. I don't know. > > > You don't need to know much of ELisp and you never should change > ELisp files in the Emacs distribution. There are two alternatives: > set something to the correct value in your init file (usually > ~/.emacs) or use the customisation interface. Available from Options > -> Customize Emacs. TeX-command-list is a Specific Option. And > miraculously you can paste the variable's name for example into the > *scratch* buffer, leave the cursor in the name, and then choose from > the menu Options -> Customize Emacs -> Specific Option. Now a simple > RET is sufficient. > > BTW, once you've saved your changes (they should go into ~/.emacs) > you have a slight chance to edit this customisation in the init > file ... I've created some disasters in my .emacs files before and mostly stopped putzing with it by hand, due to my propensity to reinvent the wheel, make is square, etc. I'll dig through later. I haven't gotten synctex to do what is should with skim anyhow (when using it from the command line). Apparently it's executed with pdflatex -synctex=# filename.tex synctex works if # is not zero. However, the generated pdflatex file does not end up synchronizable from Skim as pdfsync was. I haven't seen documentation explaining if there is a different setting, etc. It is stated as supported in 1.1.9, though. I think I should wait until things settle a little bit and are working better. > > > > How did you integrate the synctex option before? Are you aware of > the difference between Emacs' native (La)TeX mode and AUCTeX's > offerings? I am aware of AucTeX's vastly superior capabilities from a user perspective, but I don't recall what the differences are. I remember looking years ago and thinking that not using AucTeX would be crazy. > > > -- > Greetings > > Pete > > A morning without coffee is like something without something else. > > > > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ (+1) 937-775-5085 http://www.cs.wright.edu/~jslater http://www.cs.wright.edu/~jslater/JosephSlater.vcf.zip From joerg.frauendiener at mac.com Mon Jul 28 15:33:53 2008 From: joerg.frauendiener at mac.com (=?ISO-8859-1?Q?J=F6rg_Frauendiener?=) Date: Mon Jul 28 16:34:29 2008 Subject: [OS X Emacs] Aquamacs and aspell In-Reply-To: <424BA930-C1B6-4F44-B949-AB69B0153891@tsdye.com> References: <424BA930-C1B6-4F44-B949-AB69B0153891@tsdye.com> Message-ID: <6A89DC2D-D476-41CA-9897-44B2C8B9B1FF@mac.com> Hi Thomas, > I'm running into a problem with running a new install of aspell in > Aquamacs. I installed the macports aspell and the english > dictionary, per the instructions in the Aquamacs Wiki. aspell can > be called from the command line and it recognizes that its English > dictionary is available. I restarted Aquamacs, per the instructions > in the wiki, opened a LaTeX document and ran Spell from the Command > menu. The mode line says "Continuing spelling check using aspell > with default dictionary..." and nothing happens. top shows Aquamacs > Emacs using 99.9% of CPU time. I have to Force Quit because Aquamacs > no longer accepts keyboard input. this seems to be a problem with the macports version of aspell. I had the same problem and solved it by replacing the macports aspell with cocoaspell. You can check whether it is the aspell process which causes the problem by running aspell from the command line. This should produce some kind of error. Cheers, Jorg From xurizaemon at gmail.com Mon Jul 28 21:18:20 2008 From: xurizaemon at gmail.com (chris burgess) Date: Mon Jul 28 22:23:05 2008 Subject: [OS X Emacs] Colour printing on OSX Message-ID: <70d16a930807281818w66bdfd41wc76406eaab2545e4@mail.gmail.com> Skipped content of type multipart/alternative-------------- next part -------------- (add-hook 'php-mode-hook (function (lambda () (imenu-add-menubar-index)))) (defun show-onelevel () "show entry and children in outline mode" (interactive) (show-entry) (show-children)) (defun cjm-outline-bindings () "sets shortcut bindings for outline minor mode" (interactive) (local-set-key [?\C-,] 'hide-sublevels) (local-set-key [?\C-.] 'show-all) (local-set-key [C-up] 'outline-previous-visible-heading) (local-set-key [C-down] 'outline-next-visible-heading) (local-set-key [C-left] 'hide-subtree) (local-set-key [C-right] 'show-onelevel) (local-set-key [M-up] 'outline-backward-same-level) (local-set-key [M-down] 'outline-forward-same-level) (local-set-key [M-left] 'hide-subtree) (local-set-key [M-right] 'show-subtree)) (add-hook 'outline-minor-mode-hook 'cjm-outline-bindings) (add-hook 'php-mode-user-hook '(lambda () (outline-minor-mode) (setq outline-regexp " *\\(public funct\\|private funct\\|funct\\|class\\|#head\\)") (hide-sublevels 1))) (add-hook 'python-mode-hook '(lambda () (outline-minor-mode) (setq outline-regexp " *\\(def \\|clas\\|#hea\\)") (hide-sublevels 1))) ;; also use php mode for .module and .inc files. (add-to-list 'auto-mode-alist '("\\.php[34]\\'\\|\\.php\\'\\|\\.phtml\\'\\|\\.module\\'\\|\\.inc\\'" . php-mode)) ;; make tabs 4 charatcer wide (defun php-mode-hook () (setq tab-width 4 c-basic-offset 4 c-hanging-comment-ender-p nil indent-tabs-mode (not (and (string-match "/\\(PEAR\\|pear\\)/" (buffer-file-name)) (string-match "\.php$" (buffer-file-name)))))) (setq tramp-default-method "ssh") -------------- next part -------------- A non-text attachment was scrubbed... Name: customizations.el Type: application/octet-stream Size: 25594 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080729/8b2acff2/customizations.obj From xurizaemon at gmail.com Mon Jul 28 22:31:13 2008 From: xurizaemon at gmail.com (chris burgess) Date: Mon Jul 28 22:31:17 2008 Subject: [OS X Emacs] 1.4 & aquamacs-backward-kill-word Message-ID: <70d16a930807281931m5db727e1o184f4310fb5f9831@mail.gmail.com> Just upgraded to 1.4. In the minibuffer, M-backspace no longer does aquamacs-backward-kill-word; instead it says "The mark is not set now, so there is no region". I find similar behaviour in the main frame (eg, attempting to M-backspace on a method name in a PHP class may fail, but then the same keystroke succeeds a few lines later on nearby text). -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080729/90c73410/attachment.html From xurizaemon at gmail.com Mon Jul 28 22:49:23 2008 From: xurizaemon at gmail.com (chris burgess) Date: Mon Jul 28 22:49:27 2008 Subject: [OS X Emacs] Re: 1.4 & aquamacs-backward-kill-word In-Reply-To: <70d16a930807281931m5db727e1o184f4310fb5f9831@mail.gmail.com> References: <70d16a930807281931m5db727e1o184f4310fb5f9831@mail.gmail.com> Message-ID: <70d16a930807281949k236c6215h9b6db36a9e20808e@mail.gmail.com> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: customizations.el Type: application/octet-stream Size: 26206 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080729/bdcee602/customizations.obj -------------- next part -------------- (add-hook 'php-mode-hook (function (lambda () (imenu-add-menubar-index)))) (defun show-onelevel () "show entry and children in outline mode" (interactive) (show-entry) (show-children)) (defun cjm-outline-bindings () "sets shortcut bindings for outline minor mode" (interactive) (local-set-key [?\C-,] 'hide-sublevels) (local-set-key [?\C-.] 'show-all) (local-set-key [C-up] 'outline-previous-visible-heading) (local-set-key [C-down] 'outline-next-visible-heading) (local-set-key [C-left] 'hide-subtree) (local-set-key [C-right] 'show-onelevel) (local-set-key [M-up] 'outline-backward-same-level) (local-set-key [M-down] 'outline-forward-same-level) (local-set-key [M-left] 'hide-subtree) (local-set-key [M-right] 'show-subtree)) (add-hook 'outline-minor-mode-hook 'cjm-outline-bindings) (add-hook 'php-mode-user-hook '(lambda () (outline-minor-mode) (setq outline-regexp " *\\(public funct\\|private funct\\|funct\\|class\\|#head\\)") (hide-sublevels 1))) (add-hook 'python-mode-hook '(lambda () (outline-minor-mode) (setq outline-regexp " *\\(def \\|clas\\|#hea\\)") (hide-sublevels 1))) ;; also use php mode for .module and .inc files. (add-to-list 'auto-mode-alist '("\\.php[34]\\'\\|\\.php\\'\\|\\.phtml\\'\\|\\.module\\'\\|\\.inc\\'" . php-mode)) ;; make tabs 4 charatcer wide (defun php-mode-hook () (setq tab-width 4 c-basic-offset 4 c-hanging-comment-ender-p nil indent-tabs-mode (not (and (string-match "/\\(PEAR\\|pear\\)/" (buffer-file-name)) (string-match "\.php$" (buffer-file-name)))))) (setq tramp-default-method "ssh") From kuepper.jochen at googlemail.com Tue Jul 29 03:24:40 2008 From: kuepper.jochen at googlemail.com (=?ISO-8859-1?Q?Jochen_K=FCpper?=) Date: Tue Jul 29 03:41:01 2008 Subject: [OS X Emacs] Aquamacs and aspell In-Reply-To: <6A89DC2D-D476-41CA-9897-44B2C8B9B1FF@mac.com> References: <424BA930-C1B6-4F44-B949-AB69B0153891@tsdye.com> <6A89DC2D-D476-41CA-9897-44B2C8B9B1FF@mac.com> Message-ID: On 28.07.2008, at 21:33, Jörg Frauendiener wrote: > this seems to be a problem with the macports version of aspell. I do not have this problem with the MacPorts version of aspell -- and I use it for years... Do you have the latest version installed? If appropriate, could you please provide a bug-report at https://trac.macports.org/ Thanks. Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll From Peter_Dyballa at Web.DE Tue Jul 29 04:02:13 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue Jul 29 04:02:24 2008 Subject: [OS X Emacs] Colour printing on OSX In-Reply-To: <70d16a930807281818w66bdfd41wc76406eaab2545e4@mail.gmail.com> References: <70d16a930807281818w66bdfd41wc76406eaab2545e4@mail.gmail.com> Message-ID: <2724EE44-2EE7-4ADA-B561-6D3599AB919C@Web.DE> Am 29.07.2008 um 03:18 schrieb chris burgess: > When I print How do you print? Are you aware that you can use the Mac OS X printing system? I'm not sure for which variant of the many Carbon Emacsen it was introduced, but there is somewhere support for colour themes. -- Greetings Pete Government is actually the worst failure of civilized man. There has never been a really good one, and even those that are most tolerable are arbitrary, cruel, grasping and unintelligent. ? H. L. Mencken From xurizaemon at gmail.com Tue Jul 29 06:15:54 2008 From: xurizaemon at gmail.com (chris burgess) Date: Tue Jul 29 06:15:59 2008 Subject: [OS X Emacs] Colour printing on OSX In-Reply-To: <2724EE44-2EE7-4ADA-B561-6D3599AB919C@Web.DE> References: <70d16a930807281818w66bdfd41wc76406eaab2545e4@mail.gmail.com> <2724EE44-2EE7-4ADA-B561-6D3599AB919C@Web.DE> Message-ID: <70d16a930807290315k134d2b91k31e103e70305735b@mail.gmail.com> Thanks, Peter. You're right - printing via the menu actually works fine. My problem is, that mode doesn't add the nice clear ps-print headers I'm a bit dependent on :) I'm missing the page header and date which I'm used to ... so I guess an alternate question for me would be how to add similar page headers to the OSX print method, resulting in output similar to what ps-print-buffer does on other platforms. OSX print -> http://bushi.net.nz/tmp/pdf/hello-OSX-print.pdf PS print -> http://bushi.net.nz/tmp/pdf/hello-ps-print-buffer.pdf On Tue, Jul 29, 2008 at 8:02 PM, Peter Dyballa wrote: > > Am 29.07.2008 um 03:18 schrieb chris burgess: > > When I print >> > > How do you print? Are you aware that you can use the Mac OS X printing > system? I'm not sure for which variant of the many Carbon Emacsen it was > introduced, but there is somewhere support for colour themes. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080729/f25a24c0/attachment.html From david.reitter at gmail.com Tue Jul 29 06:19:29 2008 From: david.reitter at gmail.com (David Reitter) Date: Tue Jul 29 06:46:22 2008 Subject: [OS X Emacs] Colour printing on OSX In-Reply-To: <70d16a930807290315k134d2b91k31e103e70305735b@mail.gmail.com> References: <70d16a930807281818w66bdfd41wc76406eaab2545e4@mail.gmail.com> <2724EE44-2EE7-4ADA-B561-6D3599AB919C@Web.DE> <70d16a930807290315k134d2b91k31e103e70305735b@mail.gmail.com> Message-ID: On 29 Jul 2008, at 11:15, chris burgess wrote: > > I'm missing the page header and date which I'm used to ... so I > guess an alternate question for me would be how to add similar page > headers to the OSX print method, resulting in output similar to what > ps-print-buffer does on other platforms. Sure, that'd be a great idea. The printing code is in a file called "mac-print.el" in the Aquamacs source, and some more is in htmlize.el. There are numerous ways to do this. One of them would be to do it on HTML level (the buffer is converted to HTML first and then to PDF). Let us know how you get on (on the aquamacs-devel mailing list please). -- http://aquamacs.org -- Aquamacs: Emacs on Mac OS X http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080729/b844a42b/smime.bin From david.reitter at gmail.com Tue Jul 29 12:55:08 2008 From: david.reitter at gmail.com (David Reitter) Date: Tue Jul 29 13:50:23 2008 Subject: [OS X Emacs] Aquamacs 1.5 RC1 (preview version) Message-ID: We have begun testing of Aquamacs version 1.5. If you'd like to help or if you are experiencing any issues with 1.4, please try the new release candidate 1.5 rc1: http://aquamacs.org/download.shtml A list of improvements can be found below. -- http://aquamacs.org -- Aquamacs: Emacs on Mac OS X http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project! Changes---1.5 RC1 (Preview Version) * Aquamacs now handles paragraphs better that are stored as single lines in the buffer: these very long ``lines'' are shown as paragraphs, with words wrapped were appropriate. The wrap functions in the Options menu will use the new technique. As a result, line numbers shown in Aquamacs correspond to line numbers in the file. Also, word wrap will work better now with variable-width fonts. Syntax highlighting is now correct in all situations, because it is based on the line separation in the underlying file and not on what's displayed (`longlines-mode' is not used any longer; a new variable `word-wrap' controls the display-time word wrapping.) Code by Kim F. Storm, Chong Yidong, David Reitter. * The end of file lines (newlines) or paragraph endings in soft word wrapping can be visualized via Option / Show/Hide / Show Newlines (`global-show-newlines-mode'). * Symbols in the fringes have been adapted to look less conspicuous. (These are the indicators to the left and right of text lines.) Code by Kim F. Storm. * The ``small left fringe'' setting in the Show/Hide menu works again as intended. * Automatic wrapping detection (hard word wrap = auto-fill, vs.~soft word wrap) improved. A new customization option `auto-word- wrap-default-function' may be used to configure the default, which is hard word wrapping. * Navigation in buffers (up/down) optimized and improved. This is also a new buffer-local mode (`visual-line-mode'), which is enabled globally (`global-visual-line-mode'). That's also what the ``vl'' mode line indicator stands for. * Command-Backspace will remove the whole visual line now (`kill- whole-visual-line'), while Command-Shift-Backspace will remove the entire buffer line (which may be a paragraph, when soft wrap is on). * Environment variables are imported again in most situations despite bugs in OS X / Emacs. This issue could cause LaTeX calls to fail. The *Messages* buffer contains helpful notices. Reported by Thomas S. Dye and others. * An issue where pressing M-Backspace (especially in the minibuffer) could lead to an error message has been resolved. * The Help menu (in ``Diagnose and Report Bug'') provides a way to start another Aquamacs Emacs instance without any personal customizations. This should be used to reproduce any potential bugs before reporting them. * LaTeX configuration (standard paths) simplified. * Auto Frame Styles are turned on automatically when the user chooses to retain frame settings (colors, fonts) for a mode or as a default. * Searching for keywords in the Help menu now includes the Emacs Manual and the Emacs Lisp Reference. * Structure of Help menu revised. * in SLIME (Lisp mode), the Aquamacs tabs work again. (`slime- header-line-p' now defaults to nil; customize this variable to revert to the old behavior.) * Internal change: Full-screen editing is now handled via the frame parameter `fullscreen'. * Further minor bug fixes. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080729/ed250d2d/smime.bin From Peter_Dyballa at Web.DE Tue Jul 29 15:12:05 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Tue Jul 29 15:12:18 2008 Subject: [OS X Emacs] Colour printing on OSX In-Reply-To: <70d16a930807281818w66bdfd41wc76406eaab2545e4@mail.gmail.com> References: <70d16a930807281818w66bdfd41wc76406eaab2545e4@mail.gmail.com> Message-ID: Am 29.07.2008 um 03:18 schrieb chris burgess: > I use color-theme in Aquamacs to produce light text on dark bg, but > I get > the same results using console emacs (GNU Emacs 22.1.1) and > Aquamacs 1.3. Why do you use this "retro design?" The elder ones on this list will remember the sick making effect of bright text on dark terminals. Or the work of a Swedish labour union to force manufacturers of CRTs to produce devices that do not invalidate their users. You must be very wealthy to pour that much ink on specially prepared paper that does not bend and twist and become 3D art. -- Greetings Pete If my theory of relativity is proven successful, Germany will claim me as a German, and France will declare that I am a citizen of the world. Should my theory prove untrue, France will say that I am a German, and Germany will declare that I am a Jew. ? Albert Einstein, 1929 From markoilcan at gmail.com Tue Jul 29 11:29:14 2008 From: markoilcan at gmail.com (M A) Date: Tue Jul 29 17:22:27 2008 Subject: [OS X Emacs] synctex in Aquamacs In-Reply-To: References: <9053CB2F-2E32-4346-A7A2-126EA13801E0@wright.edu> <8498CDAE-6E89-4619-A38B-8830AFDA99F7@Web.DE> <3BDD5F93-74C9-4F00-AA39-8A3648CF91D7@wright.edu> <71C78666-2148-44EE-94EA-DA2C6610747F@Web.DE> Message-ID: <9ab34dfc0807290829j1e7d4329mfbe3add3edbf9a34@mail.gmail.com> On Mon, Jul 28, 2008 at 2:54 PM, Joseph C. Slater PE, PhD wrote: > > On Jul 28, 2008, at 3:41 PM, Peter Dyballa wrote: > >> >> You don't need to know much of ELisp and you never should change ELisp >> files in the Emacs distribution. There are two alternatives: set something >> to the correct value in your init file (usually ~/.emacs) or use the >> customisation interface. Available from Options -> Customize Emacs. >> TeX-command-list is a Specific Option. And miraculously you can paste the >> variable's name for example into the *scratch* buffer, leave the cursor in >> the name, and then choose from the menu Options -> Customize Emacs -> >> Specific Option. Now a simple RET is sufficient. >> >> BTW, once you've saved your changes (they should go into ~/.emacs) you >> have a slight chance to edit this customisation in the init file ... > > > I've created some disasters in my .emacs files before and mostly stopped > putzing with it by hand, due to my propensity to reinvent the wheel, make is > square, etc. I'll dig through later. > > I haven't gotten synctex to do what is should with skim anyhow (when using > it from the command line). Apparently it's executed with > pdflatex -synctex=# filename.tex > synctex works if # is not zero. However, the generated pdflatex file does > not end up synchronizable from Skim as pdfsync was. I haven't seen > documentation explaining if there is a different setting, etc. It is stated > as supported in 1.1.9, though. I think I should wait until things settle a > little bit and are working better. > As Peter says going the customization route is better than editing elisp files. Unfortunately, this is itself not always easy for a non-expert. I would suggest doing the following: 1. Open a latex file in aquamacs. 2. Under the Latex menu item go to Customize Auctex. 3. Select Expand this menu. 4. Go back to Latex>Customize Auctex and select Tex Command>Tex Command List.... 5. You should now have a buffer open which a bunch of entries under Tex Command List. Look for the one that starts with "Name: LaTeX". The line under this should say something like "Command: %`%l%(mode)%' %t". This, believe it or not, is the command that auctex executes when you have it latex your file. All those %... get substituted with something before the command is executed. If you want to figure out what go to the bottom of the buffer where there is documentation about each element, find the second element documentation and click on "TeX-expand-list". After thoroughly satisfying yourself that this is just as confusing go back to "Command: %`%l%(mode)%' %t". 6. Replace the command so it now reads "Command: pdflatex --synctex %t" or whatever it should look like based on what is successful on the command line (maybe -interaction=nonstopmode also?). This will eliminate some of the nifty automatic things auctex can do like change the command based on whether you want dvi or pdf output, etc. Elisp gurus will create a new substitution to include in Tex-expand-list include that in the Command and create a synctex mode to determine whether to run it with synctex. Knock yourself out with that if you wish. 7. Near the top of the buffer click on the "Set for Current Session" button. If you want to save it for future sessions click on "Save for Future Sessions". 8. Go back to the buffer with you tex file and latex it. 9. If it fails go back to the Tex Command List buffer, edit the command until it works or click the "Erase Customiztion" button to go back to original defaults (this may erase any other customizations in Tex Command List done previously. A final warning. I have not tried this specifically and cannot be sure that it will work as expected. On the other hand, it's easy enough to revert any changes (especially if you do not push the Save for Future Sessions button). Mark A From joerg.frauendiener at mac.com Tue Jul 29 17:47:25 2008 From: joerg.frauendiener at mac.com (=?ISO-8859-1?Q?J=F6rg_Frauendiener?=) Date: Tue Jul 29 18:47:46 2008 Subject: [OS X Emacs] Aquamacs and aspell In-Reply-To: References: <424BA930-C1B6-4F44-B949-AB69B0153891@tsdye.com> <6A89DC2D-D476-41CA-9897-44B2C8B9B1FF@mac.com> Message-ID: <4BB2D89E-6A59-4E86-B01E-E863147C11B1@mac.com> Hi Jochen, > >> this seems to be a problem with the macports version of aspell. > > > I do not have this problem with the MacPorts version of aspell -- > and I use it for years... Do you have the latest version installed? > > If appropriate, could you please provide a bug-report at https://trac.macports.org/ > Thanks. In fact, I had the same problem as Thomas and I found out about the possible cause from the macports mailing list. So either this is already known or it has been solved in the latest version. Cheers, Jörg From xurizaemon at gmail.com Tue Jul 29 21:28:24 2008 From: xurizaemon at gmail.com (chris burgess) Date: Tue Jul 29 21:28:28 2008 Subject: [OS X Emacs] Colour printing on OSX In-Reply-To: References: <70d16a930807281818w66bdfd41wc76406eaab2545e4@mail.gmail.com> Message-ID: <70d16a930807291828m4897b102ka3fa7366f1c6abba@mail.gmail.com> Heh ... my apologies, I was obviously unclear in my first post. I meant to convey that I view the text onscreen using a light-on-dark setup, but I hope it to print with an alternate colour theme. I do prefer light-on-dark onscreen, because I find it easier to read that way when the text is luminescent (eg on a backlit device). On a reflective surface (eg paper), the opposite seems to be true. But of course, colour setup is really a matter of taste. Currently, using the OSX Print approach means that method names disappear when printed, because my setup has method names as white. If I was that wealthy, I wouldn't be printing code out so much :) On Wed, Jul 30, 2008 at 7:12 AM, Peter Dyballa wrote: > > Am 29.07.2008 um 03:18 schrieb chris burgess: > > I use color-theme in Aquamacs to produce light text on dark bg, but I get >> the same results using console emacs (GNU Emacs 22.1.1) and Aquamacs 1.3. >> > > Why do you use this "retro design?" The elder ones on this list will > remember the sick making effect of bright text on dark terminals. Or the > work of a Swedish labour union to force manufacturers of CRTs to produce > devices that do not invalidate their users. > > You must be very wealthy to pour that much ink on specially prepared paper > that does not bend and twist and become 3D art. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080730/ae01d040/attachment.html From tbray at textuality.com Wed Jul 30 03:43:06 2008 From: tbray at textuality.com (Tim Bray) Date: Wed Jul 30 04:07:51 2008 Subject: [OS X Emacs] 1.4 & aquamacs-backward-kill-word In-Reply-To: <70d16a930807281931m5db727e1o184f4310fb5f9831@mail.gmail.com> References: <70d16a930807281931m5db727e1o184f4310fb5f9831@mail.gmail.com> Message-ID: <517bf110807300043s54b9fbe1re244132af451a181@mail.gmail.com> Yep, me too. It's irritating. C-space to set the mark and you're good. It's a 1.4 thing. -T On Mon, Jul 28, 2008 at 7:31 PM, chris burgess wrote: > Just upgraded to 1.4. In the minibuffer, M-backspace no longer does > aquamacs-backward-kill-word; instead it says > > "The mark is not set now, so there is no region". > > I find similar behaviour in the main frame (eg, attempting to M-backspace on > a method name in a PHP class may fail, but then the same keystroke succeeds > a few lines later on nearby text). > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx > > From kuepper.jochen at googlemail.com Wed Jul 30 04:40:41 2008 From: kuepper.jochen at googlemail.com (=?ISO-8859-1?Q?Jochen_K=FCpper?=) Date: Wed Jul 30 04:56:38 2008 Subject: [OS X Emacs] Aquamacs and aspell In-Reply-To: <4BB2D89E-6A59-4E86-B01E-E863147C11B1@mac.com> References: <424BA930-C1B6-4F44-B949-AB69B0153891@tsdye.com> <6A89DC2D-D476-41CA-9897-44B2C8B9B1FF@mac.com> <4BB2D89E-6A59-4E86-B01E-E863147C11B1@mac.com> Message-ID: <26C48891-57C3-4685-9263-DF1050C1924F@googlemail.com> On 29.07.2008, at 23:47, Jörg Frauendiener wrote: >>> this seems to be a problem with the macports version of aspell. >> >> I do not have this problem with the MacPorts version of aspell -- >> and I use it for years... Do you have the latest version installed? >> >> If appropriate, could you please provide a bug-report at https://trac.macports.org/ > > In fact, I had the same problem as Thomas and I found out about the > possible cause from the macports mailing list. So either this is > already known or it has been solved in the latest version. Well, there is a problem with the latest aspell release itself, but that makes aspell fail regardless of whether you run it from Aquamacs or from the Terminal -- different from what you reported. Moreover, this *is fixed* in MacPorts by a patch provided by the aspell author... If you do sudo port sync sudo port upgrade -unf aspell it should definitely work. Please provide a bug-report with MacPorts otherwise! Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll From tsd at tsdye.com Wed Jul 30 14:37:23 2008 From: tsd at tsdye.com (Thomas S. Dye) Date: Wed Jul 30 14:44:10 2008 Subject: [OS X Emacs] Aquamacs and aspell In-Reply-To: <26C48891-57C3-4685-9263-DF1050C1924F@googlemail.com> References: <424BA930-C1B6-4F44-B949-AB69B0153891@tsdye.com> <6A89DC2D-D476-41CA-9897-44B2C8B9B1FF@mac.com> <4BB2D89E-6A59-4E86-B01E-E863147C11B1@mac.com> <26C48891-57C3-4685-9263-DF1050C1924F@googlemail.com> Message-ID: <332E9192-D261-4030-9BA4-6509C23D6F34@tsdye.com> Aloha Jorg and Jochen, Yes, Jochen correctly diagnosed the problem. I need to be more attentive to syncing the macport database. Thanks to both of you. It would have been difficult to figure this out on my own. Tom Thomas S. Dye, Ph.D. T. S. Dye & Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com On Jul 29, 2008, at 10:40 PM, Jochen Küpper wrote: > On 29.07.2008, at 23:47, Jörg Frauendiener wrote: > >>>> this seems to be a problem with the macports version of aspell. >>> >>> I do not have this problem with the MacPorts version of aspell -- >>> and I use it for years... Do you have the latest version installed? >>> >>> If appropriate, could you please provide a bug-report at https://trac.macports.org/ >> >> In fact, I had the same problem as Thomas and I found out about the >> possible cause from the macports mailing list. So either this is >> already known or it has been solved in the latest version. > > > Well, there is a problem with the latest aspell release itself, but > that makes aspell fail regardless of whether you run it from > Aquamacs or from the Terminal -- different from what you reported. > > Moreover, this *is fixed* in MacPorts by a patch provided by the > aspell author... > > If you do > sudo port sync > sudo port upgrade -unf aspell > it should definitely work. > > Please provide a bug-report with MacPorts otherwise! > > Greetings, > Jochen > -- > Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de > Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D > Sex, drugs and rock-n-roll > > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx From thvv at multicians.org Wed Jul 30 15:32:26 2008 From: thvv at multicians.org (Tom Van Vleck) Date: Wed Jul 30 15:32:31 2008 Subject: [OS X Emacs] Aquamacs file position Message-ID: I notice in Aquamacs 1.4 that opening a previously opened .html file does not position the cursor at the top. One might think that Aquamacs would put point where it was when the file was last closed. But no. I was editing in Aquamacs, one-buffer-one-frame mode OFF, with the window split horizontally and multiple tabs open in the upper pane. Cursor was in the upper pane. I did "open -a /applications/Emacs myfile" in Terminal, and the file opened in a new tab in the upper pane. I positioned point to 895, modified, saved, closed the buffer with flower-w, which closed the tab. Reopened, and point was at 31550. It seems to like 31550 for this file no matter where point was when i saved. From david.reitter at gmail.com Wed Jul 30 19:34:41 2008 From: david.reitter at gmail.com (David Reitter) Date: Wed Jul 30 19:34:50 2008 Subject: [OS X Emacs] Aquamacs file position In-Reply-To: References: Message-ID: <3E88A7B4-59E2-4CA8-9FE9-42F4A4221469@gmail.com> On 30 Jul 2008, at 20:32, Tom Van Vleck wrote: > I positioned point to 895, modified, saved, closed the buffer with > flower-w, which closed the tab. Reopened, and point was at 31550. > It seems to like 31550 for this file no matter where point was > when i saved. OK, can you check the "saved positions" file in ~/Library/Preferences/ Aquamacs Emacs/places.el ? Also, do you run longlines mode? It helps to make bug reports with the Send Bug Report function, to get this sort of info. And yes, you indeed found a bug. Thanks - David -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2193 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080731/be5397fb/smime.bin From xurizaemon at gmail.com Wed Jul 30 20:38:45 2008 From: xurizaemon at gmail.com (chris burgess) Date: Wed Jul 30 20:45:08 2008 Subject: [OS X Emacs] 1.4 & aquamacs-backward-kill-word In-Reply-To: <517bf110807300043s54b9fbe1re244132af451a181@mail.gmail.com> References: <70d16a930807281931m5db727e1o184f4310fb5f9831@mail.gmail.com> <517bf110807300043s54b9fbe1re244132af451a181@mail.gmail.com> Message-ID: <70d16a930807301738g5215b2c6idba40d0857ea7fc@mail.gmail.com> 1.5 RC1 has fixed this for me, I haven't had any other issues yet. On Wed, Jul 30, 2008 at 7:43 PM, Tim Bray wrote: > Yep, me too. It's irritating. C-space to set the mark and you're > good. It's a 1.4 thing. -T -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080731/967100cf/attachment.html From awitney at sgul.ac.uk Thu Jul 31 09:46:42 2008 From: awitney at sgul.ac.uk (Adam Witney) Date: Thu Jul 31 10:05:38 2008 Subject: [OS X Emacs] How to switch on Line Numbers? Message-ID: Hi, I have just downloaded Aquamacs Emacs, but am struggling as to how to get it to display line numbers on my files. I have it switched on in Options->Show/Hide->Line numbers, but they still do not show up... am i missing something somewhere? thanks for any help adam From j.m.figueroa at ed.ac.uk Thu Jul 31 10:21:58 2008 From: j.m.figueroa at ed.ac.uk (=?ISO-8859-1?Q?Jos=E9_Miguel_Figueroa-O'Farrill?=) Date: Thu Jul 31 11:10:23 2008 Subject: [OS X Emacs] How to switch on Line Numbers? In-Reply-To: References: Message-ID: <783E2E93-FB72-4657-ABF6-4FAC9B41C884@ed.ac.uk> > I have just downloaded Aquamacs Emacs, but am struggling as to how > to get it to display line numbers on my files. I have it switched > on in Options->Show/Hide->Line numbers, but they still do not show > up... am i missing something somewhere? M-x line-number-mode works in yesterday's nightly build of Aquamacs Emacs 1.5RC1. This should display in the modeline something like "Lnnn" where "nnn" is some integer telling you the ordinal of the line on which the cursor is positioned. I'm attaching a screenshot with an "L326". Cheers, José -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -------------- next part -------------- A non-text attachment was scrubbed... Name: Picture 1.png Type: image/png Size: 20037 bytes Desc: not available Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080731/facec9f3/Picture1.png -------------- next part -------------- Prof José Figueroa-O'Farrill School of Mathematics University of Edinburgh From awitney at sgul.ac.uk Thu Jul 31 11:17:06 2008 From: awitney at sgul.ac.uk (Adam Witney) Date: Thu Jul 31 11:17:12 2008 Subject: [OS X Emacs] How to switch on Line Numbers? In-Reply-To: <783E2E93-FB72-4657-ABF6-4FAC9B41C884@ed.ac.uk> References: <783E2E93-FB72-4657-ABF6-4FAC9B41C884@ed.ac.uk> Message-ID: <929B599F-D816-48F1-A70A-79907522A9CA@sgul.ac.uk> On 31 Jul 2008, at 15:21, José Miguel Figueroa-O'Farrill wrote: >> I have just downloaded Aquamacs Emacs, but am struggling as to how >> to get it to display line numbers on my files. I have it switched >> on in Options->Show/Hide->Line numbers, but they still do not show >> up... am i missing something somewhere? > > M-x line-number-mode works in yesterday's nightly build of Aquamacs > Emacs 1.5RC1. This should display in the modeline something like > "Lnnn" where "nnn" is some integer telling you the ordinal of the > line on which the cursor is positioned. > I'm attaching a screenshot with an "L326". thanks for your response, although i was thinking about having line numbers listed down the side of the file window.. is this possible? thanks again adam From nathaniel.cunningham at gmail.com Thu Jul 31 11:43:44 2008 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Thu Jul 31 11:43:49 2008 Subject: [OS X Emacs] How to switch on Line Numbers? In-Reply-To: <929B599F-D816-48F1-A70A-79907522A9CA@sgul.ac.uk> References: <783E2E93-FB72-4657-ABF6-4FAC9B41C884@ed.ac.uk> <929B599F-D816-48F1-A70A-79907522A9CA@sgul.ac.uk> Message-ID: <20ecf6c70807310843t6831582ya1088fd4a052ab3d@mail.gmail.com> You can use the minor-mode "linum" Download and place somewhere in your load-path (e.g. ~/Library/Application Support/Aquamacs Emacs/): http://stud4.tuwien.ac.at/~e0225855/linum/linum.el add to your Preferences.el: (require 'linum) To activate in a particular buffer, do M-x linum-mode To activate by default for a given major mode, include in your Preferences.el (example for emacs-lisp-mode): (add-hook 'emacs-lisp-mode-hook 'linum-on) linum is not without glitches, but it provides pretty satisfactory results. --Nathaniel On Thu, Jul 31, 2008 at 10:17 AM, Adam Witney wrote: > > On 31 Jul 2008, at 15:21, José Miguel Figueroa-O'Farrill wrote: > > I have just downloaded Aquamacs Emacs, but am struggling as to how to get >>> it to display line numbers on my files. I have it switched on in >>> Options->Show/Hide->Line numbers, but they still do not show up... am i >>> missing something somewhere? >>> >> >> M-x line-number-mode works in yesterday's nightly build of Aquamacs Emacs >> 1.5RC1. This should display in the modeline something like "Lnnn" where >> "nnn" is some integer telling you the ordinal of the line on which the >> cursor is positioned. >> I'm attaching a screenshot with an "L326". >> > > thanks for your response, although i was thinking about having line numbers > listed down the side of the file window.. is this possible? > > thanks again > > adam_____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080731/d7c24d8a/attachment.html From avdi at avdi.org Thu Jul 31 11:34:07 2008 From: avdi at avdi.org (Avdi Grimm) Date: Thu Jul 31 12:01:45 2008 Subject: [OS X Emacs] How to switch on Line Numbers? In-Reply-To: <929B599F-D816-48F1-A70A-79907522A9CA@sgul.ac.uk> References: <783E2E93-FB72-4657-ABF6-4FAC9B41C884@ed.ac.uk> <929B599F-D816-48F1-A70A-79907522A9CA@sgul.ac.uk> Message-ID: On Thu, Jul 31, 2008 at 11:17 AM, Adam Witney wrote: > thanks for your response, although i was thinking about having line numbers > listed down the side of the file window.. is this possible? This is one of Emacs' few and most baffling weakpoints. setnu.el was the only solution for a long time, but it's unusable for large files. I've been using linum.el, which is far from perfect (files often display in a scrambled state until you move the cursor around a bit, and even then the font-lock colors bleed into the line numbers); but it's the best I've found. -- Avdi Home: http://avdi.org Developer Blog: http://avdi.org/devblog/ Twitter: http://twitter.com/avdi Journal: http://avdi.livejournal.com From Tom.McCormick at sauder.ubc.ca Thu Jul 31 15:08:37 2008 From: Tom.McCormick at sauder.ubc.ca (Tom McCormick) Date: Thu Jul 31 15:08:43 2008 Subject: [OS X Emacs] how to add pdtopdf command to LaTeX command list? Message-ID: I've just converted from a PC to a Mac and so I have lots of legacy LaTeX files containing eps figures. It would be way painful to convert all of these over to pdf to use the native pdflatex, so I'd like to be able to use ordinary latex (no problem), then "File" to convert from dvi to ps, then pstopdf to convert from ps to pdf. I see that a pstopdf command-line command exists, but my Applescript/lisp/emacs skills are not up to figuring out how to add a command to the LaTeX command menu allowing a choice of pstopdf when I hit C-c C-c. Any suggestions on how to go about doing this? Alternatively, I want to do this largely because the default dvi viewer when I use ordinary latex is xdvi, which is pretty primitive compared to the yap viewer I used with Miktex on the PC. I could avoid the pstopdf step if I had a nicer viewer for dvi files, ideally one that allowed for forward and backward search like yap. -- -Tom McCormick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080731/1c0c9aff/attachment.html From tsd at tsdye.com Thu Jul 31 15:41:14 2008 From: tsd at tsdye.com (Thomas S. Dye) Date: Thu Jul 31 15:48:00 2008 Subject: [OS X Emacs] how to add pdtopdf command to LaTeX command list? In-Reply-To: References: Message-ID: <01BD2118-4CDF-4041-A157-63A926EBE110@tsdye.com> Aloha Tom, You might want to investigate convert from the ImageMagick suite of tools. It ought to be a simple matter to write a little script that would convert all your eps files to pdf. Tom On Jul 31, 2008, at 9:08 AM, Tom McCormick wrote: > It would be way painful to convert all of these over to pdf From kuepper.jochen at googlemail.com Thu Jul 31 16:04:20 2008 From: kuepper.jochen at googlemail.com (=?ISO-8859-1?Q?Jochen_K=FCpper?=) Date: Thu Jul 31 17:03:35 2008 Subject: [OS X Emacs] how to add pdtopdf command to LaTeX command list? In-Reply-To: References: Message-ID: <14F0EF9B-6DE9-4501-A270-90EB75F560E7@googlemail.com> On 31.07.2008, at 21:08, Tom McCormick wrote: > convert all of these over to pdf to use the native pdflatex So let pdflatex do the job for you: check out epstopdf.sty... Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll From Peter_Dyballa at Web.DE Thu Jul 31 17:30:05 2008 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Thu Jul 31 17:30:10 2008 Subject: [OS X Emacs] how to add pdtopdf command to LaTeX command list? In-Reply-To: References: Message-ID: <524859AB-04CF-4FF2-8847-7F0BDE168BA6@Web.DE> Am 31.07.2008 um 21:08 schrieb Tom McCormick: > Any suggestions on how to go about doing this? With Emacs you can use local variables to tell AUCTeX which script or programme is to be used, as in: %%% TeX-command-default: "simpdftex" You can use TeXShop or TeXniscope as DVI viewers ? they first convert the DVI file to PDF. Or Emacs 23 ? it converts DVI (and a few other formats) to PNG which it can display a buffer. I'm not sure whether the Carbon Emacsen can perform this, the Cocoa (Emacs.app) and X11 variants can, via the DocView package. -- Greetings Pete The world would be a better place if Larry Wall had been born in Iceland, or any other country where the native language actually has syntax. ? Peter da Silva From d.stegmueller at gmail.com Thu Jul 31 16:04:56 2008 From: d.stegmueller at gmail.com (Daniel Stegmueller) Date: Thu Jul 31 17:55:15 2008 Subject: [OS X Emacs] how to add pdtopdf command to LaTeX command list? In-Reply-To: <01BD2118-4CDF-4041-A157-63A926EBE110@tsdye.com> References: <01BD2118-4CDF-4041-A157-63A926EBE110@tsdye.com> Message-ID: <430F4AAF-E12B-47FE-9891-6FDA408B2D79@gmail.com> Also, for using .dvi files you might want to use Skim. Best, Daniel On 31 Jul 2008, at 20:41, Thomas S. Dye wrote: > Aloha Tom, > > You might want to investigate convert from the ImageMagick suite of > tools. It ought to be a simple matter to write a little script that > would convert all your eps files to pdf. > > Tom > > On Jul 31, 2008, at 9:08 AM, Tom McCormick wrote: > >> It would be way painful to convert all of these over to pdf > > _____________________________________________________________ > MacOSX-Emacs mailing list > MacOSX-Emacs@email.esm.psu.edu > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx Daniel Stegmueller Landgrafenstr. 14 60486 Frankfurt a.M. 069/24140381 d.stegmueller@gmail.com