From skip at pobox.com Wed Apr 1 09:13:43 2009 From: skip at pobox.com (skip@pobox.com) Date: Wed Apr 1 09:33:30 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? Message-ID: <20090401131343.93337EF5783@montanaro.dyndns.org> In Aquamacs Emacs how do I enter accented characters on my US keyboard? I would have thought it would be in the FAQ, but I didn't see anything there. I see an Option Key submenu in the Options menu which looks like it might be useful, but have no idea where to find out what the various choices mean. (BTW, I noticed there is a pretty obvious misspelling in the q/a about installing aspell. Was that a joke or a mistake?) Thanks, -- Skip Montanaro - skip@pobox.com - http://www.smontanaro.net/ From Peter_Dyballa at Web.DE Wed Apr 1 10:05:18 2009 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed Apr 1 10:05:30 2009 Subject: [OS X Emacs] LaTeX toolbar problem In-Reply-To: References: <1A61EE0F-1D94-43F7-9092-5CE0668CF41A@mx6.tiki.ne.jp> <1A2F13DC-4034-455C-86D8-47694F729FB2@Web.DE> Message-ID: <97EC48AD-4686-4A41-8BD7-B7823EFA08CC@Web.DE> Am 01.04.2009 um 02:15 schrieb Norm Gall: > Activate AUCTeX, from the menu LaTeX > Customize AUCTeX > Browse > Options I can see these two (by Options -> Customize Emacs -> Groups Matching Regexp? TeX.* RET): Tex Tool Bar group: Go to Group Tool bar support in AUCTeX. Tex Tool Bar Button Definitions group: Go to Group Collections of button definitions. and it's also documented: AUCTeX comes with a special tool bar for TeX and LaTeX which provides buttons for the most important commands. You can enable or disable it by customizing the options `plain-TeX-enable-toolbar' and `LaTeX-enable-toolbar' in the `TeX-tool-bar' customization group. ?never needed to use it! And the tool-bar is switched off to have more useful space. Therefore this customisation group is not shown. So I rearranged things. When I now try to set a change for the current session or try to save it, GNU Emacs 22.3 crashes: X protocol error: BadDrawable (invalid Pixmap or Window parameter) on protocol request 53 This can also be due to Apple's X server ... (With GNU Emacs 23.0.91 in GTK clothes it works, though.) Trying it in Tiger's Carbon Emacs 22.2 it works as well. The customisation added or saved is (no copy, just a test): '(TeX-bar-LaTeX-buttons (quote (save-buffer cut copy paste latex next-error view bibtex nil))) So the things are working, somehow. I made my tests with a simplified init file, maybe you should try that also. -- Greetings ~ O Pete ~~_\\_/% ~ O o From douglist at macnauchtan.com Wed Apr 1 10:32:47 2009 From: douglist at macnauchtan.com (Doug McNutt) Date: Wed Apr 1 10:59:33 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? In-Reply-To: <20090401131343.93337EF5783@montanaro.dyndns.org> References: <20090401131343.93337EF5783@montanaro.dyndns.org> Message-ID: At 08:13 -0500 4/1/09, wrote: >In Aquamacs Emacs how do I enter accented characters on my US keyboard? I >would have thought it would be in the FAQ, but I didn't see anything there. >I see an Option Key submenu in the Options menu which looks like it might be >useful, but have no idea where to find out what the various choices mean. In classic Mac software there are "dead keys" for that. OPTION n -- appears to do nothing but the next key you press, probably another n will acquire an accent mark above it as in canon -> cañon which might not survive this email. OPTION e and some others are available. -- -> Stocks are getting pelloreid <- From fusion at mx6.tiki.ne.jp Wed Apr 1 11:02:18 2009 From: fusion at mx6.tiki.ne.jp (Jean-Christophe Helary) Date: Wed Apr 1 11:02:25 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? In-Reply-To: References: <20090401131343.93337EF5783@montanaro.dyndns.org> Message-ID: On mercredi 01 avr. 09, at 23:32, Doug McNutt wrote: > At 08:13 -0500 4/1/09, wrote: >> In Aquamacs Emacs how do I enter accented characters on my US >> keyboard? I >> would have thought it would be in the FAQ, but I didn't see >> anything there. >> I see an Option Key submenu in the Options menu which looks like it >> might be >> useful, but have no idea where to find out what the various choices >> mean. > > In classic Mac software there are "dead keys" for that. > > OPTION n -- appears to do nothing > > but the next key you press, probably another n will acquire an accent > mark above it as in canon -> cañon which might not survive this email. > > OPTION e and some others are available. http://mac4translators.blogspot.com/search/label/accented%20letters Jean-Christophe Helary ------------------------------------ http://mac4translators.blogspot.com/ From cabo at tzi.org Wed Apr 1 11:45:55 2009 From: cabo at tzi.org (Carsten Bormann) Date: Wed Apr 1 12:00:53 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? In-Reply-To: References: <20090401131343.93337EF5783@montanaro.dyndns.org> Message-ID: <711B91AD-BAA6-4D22-BB9A-11A2FEE3408F@tzi.org> On Apr 1, 2009, at 17:02, Jean-Christophe Helary wrote: >> In classic Mac software there are "dead keys" for that. >> >> OPTION n -- appears to do nothing >> >> but the next key you press, probably another n will acquire an accent >> mark above it as in canon -> cañon which might not survive this >> email. >> >> OPTION e and some others are available. > > http://mac4translators.blogspot.com/search/label/accented%20letters The problem is that Aquamacs hijacks the option key and uses it for meta. For those of us who regularly use the non-ASCII characters, that is a problem. It is easy to fix: (setq mac-option-modifier nil) Now, of course, you need a different key to use as meta key. The obvious choice is the command key: (setq mac-command-modifier 'meta) But then none of the nice Mac-Emulation key combinations (CMD-C for copy etc.) work. Clumsy workaround for laptop users: (setq mac-function-modifier 'alt) ;;; can't use this with Leopard and CarbonEmacs This gives the fn key the same meaning normally occupied by the CMD key, so now you can fn-C for copy etc. Do I like any of this? No. But I haven't found a better way to run Emacs on a Mac. Gruesse, Carsten From fusion at mx6.tiki.ne.jp Wed Apr 1 12:18:01 2009 From: fusion at mx6.tiki.ne.jp (Jean-Christophe Helary) Date: Wed Apr 1 12:18:08 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? In-Reply-To: <711B91AD-BAA6-4D22-BB9A-11A2FEE3408F@tzi.org> References: <20090401131343.93337EF5783@montanaro.dyndns.org> <711B91AD-BAA6-4D22-BB9A-11A2FEE3408F@tzi.org> Message-ID: <09021752-5D10-42A9-BAF8-B800F28D185C@mx6.tiki.ne.jp> On jeudi 02 avr. 09, at 00:45, Carsten Bormann wrote: > The problem is that Aquamacs hijacks the option key and uses it for > meta. > For those of us who regularly use the non-ASCII characters, that is > a problem. There is an option to use the Option key as the Mac option key and Esc as the Meta key. Then you can do all you want with the accented characters. Jean-Christophe Helary ------------------------------------ http://mac4translators.blogspot.com/ From cabo at tzi.org Wed Apr 1 12:30:01 2009 From: cabo at tzi.org (Carsten Bormann) Date: Wed Apr 1 12:30:12 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? In-Reply-To: <09021752-5D10-42A9-BAF8-B800F28D185C@mx6.tiki.ne.jp> References: <20090401131343.93337EF5783@montanaro.dyndns.org> <711B91AD-BAA6-4D22-BB9A-11A2FEE3408F@tzi.org> <09021752-5D10-42A9-BAF8-B800F28D185C@mx6.tiki.ne.jp> Message-ID: <9DF4F099-571E-4050-AEAF-2B3853D088F7@tzi.org> On Apr 1, 2009, at 18:18, Jean-Christophe Helary wrote: > Esc as the Meta key But typing Escape in front of key combinations is just a really bad workaround for not having a meta key, not a real meta key. Not acceptable for serious Emacs users... Gruesse, Carsten From fusion at mx6.tiki.ne.jp Wed Apr 1 12:40:37 2009 From: fusion at mx6.tiki.ne.jp (Jean-Christophe Helary) Date: Wed Apr 1 12:40:44 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? In-Reply-To: <9DF4F099-571E-4050-AEAF-2B3853D088F7@tzi.org> References: <20090401131343.93337EF5783@montanaro.dyndns.org> <711B91AD-BAA6-4D22-BB9A-11A2FEE3408F@tzi.org> <09021752-5D10-42A9-BAF8-B800F28D185C@mx6.tiki.ne.jp> <9DF4F099-571E-4050-AEAF-2B3853D088F7@tzi.org> Message-ID: On jeudi 02 avr. 09, at 01:30, Carsten Bormann wrote: > On Apr 1, 2009, at 18:18, Jean-Christophe Helary wrote: > >> Esc as the Meta key > > But typing Escape in front of key combinations is just a really bad > workaround for not having a meta key, not a real meta key. > Not acceptable for serious Emacs users... Sure. What is more important for a serious writer, get one's accented letters straight or worry about not having a "real" Meta key ? Depending on what you type, just assign a shortcut to the "Esc as Meta" and "Option as Meta" options and use the one that better fits the workflow at that moment. Jean-Christophe Helary ------------------------------------ http://mac4translators.blogspot.com/ From Peter_Dyballa at Web.DE Wed Apr 1 13:25:00 2009 From: Peter_Dyballa at Web.DE (Peter Dyballa) Date: Wed Apr 1 13:25:12 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? In-Reply-To: References: <20090401131343.93337EF5783@montanaro.dyndns.org> <711B91AD-BAA6-4D22-BB9A-11A2FEE3408F@tzi.org> <09021752-5D10-42A9-BAF8-B800F28D185C@mx6.tiki.ne.jp> <9DF4F099-571E-4050-AEAF-2B3853D088F7@tzi.org> Message-ID: <997166C3-FF18-44F8-814E-DC87D6A65575@Web.DE> Am 01.04.2009 um 18:40 schrieb Jean-Christophe Helary: > What is more important for a serious writer, get one's accented > letters straight or worry about not having a "real" Meta key ? That's the question! I don't need M- that much, so I can easily live without it. And it's possible to have A-® or A-Ó (A-S-h) key bindings that can do what useful default M- bindings would perform. -- Greetings Pete Engineer: a mechanism for converting caffeine into designs From nathaniel.cunningham at gmail.com Wed Apr 1 13:46:52 2009 From: nathaniel.cunningham at gmail.com (Nathaniel Cunningham) Date: Wed Apr 1 14:19:10 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? In-Reply-To: <997166C3-FF18-44F8-814E-DC87D6A65575@Web.DE> References: <20090401131343.93337EF5783@montanaro.dyndns.org> <711B91AD-BAA6-4D22-BB9A-11A2FEE3408F@tzi.org> <09021752-5D10-42A9-BAF8-B800F28D185C@mx6.tiki.ne.jp> <9DF4F099-571E-4050-AEAF-2B3853D088F7@tzi.org> <997166C3-FF18-44F8-814E-DC87D6A65575@Web.DE> Message-ID: <20ecf6c70904011046j178ab23ekdefc75b64356628f@mail.gmail.com> In Aquamacs, I've created a custom Option Key-->Meta & ___ capability, that allows me to use Meta as usual, except for the case of the few special/accented characters I want. The following accomplishes this in my Preferences.el: (setq emulate-mac-keyboard-mode-maps (append emulate-mac-keyboard-mode-maps '((nathaniel . (("\M-A" . "Å") ("\M-+" . "±") ("\M-*" . "°") ("\M-p" . "?") ("\M-m" . "µ") ("\M-," . "?") ("\M-." . "?") ("\M-j" . "?")))))) (define-emulate-mac-keyboard-modes) (emulate-mac-nathaniel-keyboard-mode) --Nathaniel On Wed, Apr 1, 2009 at 12:25 PM, Peter Dyballa wrote: > > Am 01.04.2009 um 18:40 schrieb Jean-Christophe Helary: > > What is more important for a serious writer, get one's accented letters >> straight or worry about not having a "real" Meta key ? >> > > > That's the question! I don't need M- that much, so I can easily > live without it. And it's possible to have A-® or A-Ó (A-S-h) key bindings > that can do what useful default M- bindings would perform. > > -- > Greetings > > Pete > > Engineer: a mechanism for converting caffeine into designs > > > > > _____________________________________________________________ > 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/20090401/4e29e7eb/attachment.html From xahlee at gmail.com Wed Apr 1 14:15:18 2009 From: xahlee at gmail.com (xah lee) Date: Wed Apr 1 16:28:33 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? In-Reply-To: <711B91AD-BAA6-4D22-BB9A-11A2FEE3408F@tzi.org> References: <20090401131343.93337EF5783@montanaro.dyndns.org> <711B91AD-BAA6-4D22-BB9A-11A2FEE3408F@tzi.org> Message-ID: on this issue, basically one can't have a solution that satisfy all. There is the cmd key and opt key. Some likes to use cmd by mac convention like copy, paste, open, save etc. Others like to use it for meta. Some like to use Opt by mac convention of inserting foreign chars, others like that for meta. Basically, there are these functionalities: mac convention of shortcut, input foreign chars, emacs meta. While, there are only 2 mod keys: the cmd and opt. So, unless you bring in Cntrl, or start combining mod keys (e.g. Cmd+Opt+key), or start doing key sequences (e.g. Cmd+key followed by Opt+key)... but again there are more bewildering personal preferences. btw, if you need to use foreign chars a lot, and you are using emacs, you don't really need to use OS X's Opt way, because you can easily customize emacs to have any shortcut you want to type any unicode char. In a sense, map your keyboard into a foreign char layout, of only chars that interest to you. For example, for me, my Cmd is Meta, my opt is for typing matching pairs and also much unicode math chars. Here's some doc might be of help: ? How to Define Keyboard Shortcuts in Emacs http://xahlee.org/emacs/keyboard_shortcuts.html note the bottom, where you can set the Opt to Hyper. Then, you can just use emacs to map arbitrary hype+key combo to arbitrary unicode chars. Also, if the preset foreign chars thru Opt in OS X is not what you liked, you can also customize it, without anything to do with emacs. For example, i often need to type ?, ?, ?, ?, ? etc, which isn't available under OS X's Opt scheme. ? How To Create Your Own Keybinding In Mac Os X http://xahlee.org/emacs/osx_keybinding.html Xah ? http://xahlee.org/ On Wed, Apr 1, 2009 at 8:45 AM, Carsten Bormann wrote: > On Apr 1, 2009, at 17:02, Jean-Christophe Helary wrote: > > In classic Mac software there are "dead keys" for that. >>> >>> OPTION n -- appears to do nothing >>> >>> but the next key you press, probably another n will acquire an accent >>> mark above it as in canon -> cañon which might not survive this email. >>> >>> OPTION e and some others are available. >>> >> >> http://mac4translators.blogspot.com/search/label/accented%20letters >> > > The problem is that Aquamacs hijacks the option key and uses it for meta. > For those of us who regularly use the non-ASCII characters, that is a > problem. > It is easy to fix: > > (setq mac-option-modifier nil) > > Now, of course, you need a different key to use as meta key. > > The obvious choice is the command key: > > (setq mac-command-modifier 'meta) > > But then none of the nice Mac-Emulation key combinations (CMD-C for copy > etc.) work. > > Clumsy workaround for laptop users: > > (setq mac-function-modifier 'alt) ;;; can't use this with Leopard and > CarbonEmacs > > This gives the fn key the same meaning normally occupied by the CMD key, so > now you can fn-C for copy etc. > > Do I like any of this? No. > But I haven't found a better way to run Emacs on a Mac. > > Gruesse, Carsten > > > _____________________________________________________________ > 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 > -- Xah ? http://xahlee.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090401/ebd17b7e/attachment.html From skip at pobox.com Wed Apr 1 17:18:32 2009 From: skip at pobox.com (skip@pobox.com) Date: Wed Apr 1 17:18:42 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? In-Reply-To: <09021752-5D10-42A9-BAF8-B800F28D185C@mx6.tiki.ne.jp> References: <20090401131343.93337EF5783@montanaro.dyndns.org> <711B91AD-BAA6-4D22-BB9A-11A2FEE3408F@tzi.org> <09021752-5D10-42A9-BAF8-B800F28D185C@mx6.tiki.ne.jp> Message-ID: <18899.55848.2010.736022@montanaro.dyndns.org> Jean-Christophe> There is an option to use the Option key as the Mac Jean-Christophe> option key and Esc as the Meta key. Jean-Christophe> Then you can do all you want with the accented Jean-Christophe> characters. Thanks. That worked fine for the simple case I had. Skip From skip at pobox.com Wed Apr 1 17:19:37 2009 From: skip at pobox.com (skip@pobox.com) Date: Wed Apr 1 17:19:42 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? In-Reply-To: <9DF4F099-571E-4050-AEAF-2B3853D088F7@tzi.org> References: <20090401131343.93337EF5783@montanaro.dyndns.org> <711B91AD-BAA6-4D22-BB9A-11A2FEE3408F@tzi.org> <09021752-5D10-42A9-BAF8-B800F28D185C@mx6.tiki.ne.jp> <9DF4F099-571E-4050-AEAF-2B3853D088F7@tzi.org> Message-ID: <18899.55913.393846.516945@montanaro.dyndns.org> >> Esc as the Meta key Carsten> But typing Escape in front of key combinations is just a really Carsten> bad workaround for not having a meta key, not a real meta key. Carsten> Not acceptable for serious Emacs users... You must be too young to have used Emacs before the advent of window systems then. ;-) -- Skip Montanaro - skip@pobox.com - http://www.smontanaro.net/ From kuepper.jochen at googlemail.com Thu Apr 2 04:05:56 2009 From: kuepper.jochen at googlemail.com (=?ISO-8859-1?Q?Jochen_K=FCpper?=) Date: Thu Apr 2 04:58:27 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? In-Reply-To: <18899.55913.393846.516945@montanaro.dyndns.org> References: <20090401131343.93337EF5783@montanaro.dyndns.org> <711B91AD-BAA6-4D22-BB9A-11A2FEE3408F@tzi.org> <09021752-5D10-42A9-BAF8-B800F28D185C@mx6.tiki.ne.jp> <9DF4F099-571E-4050-AEAF-2B3853D088F7@tzi.org> <18899.55913.393846.516945@montanaro.dyndns.org> Message-ID: On 01.04.2009, at 23:19, wrote: >>> Esc as the Meta key > > Carsten> But typing Escape in front of key combinations is just a > really > Carsten> bad workaround for not having a meta key, not a real > meta key. > Carsten> Not acceptable for serious Emacs users... > > You must be too young to have used Emacs before the advent of window > systems > then. ;-) Why's that? On pure ttys Meta is often simply available to the one application running, so there's no problem at all in that respect... 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 skip at pobox.com Thu Apr 2 07:44:05 2009 From: skip at pobox.com (skip@pobox.com) Date: Thu Apr 2 07:44:11 2009 Subject: [OS X Emacs] How to enter accented characters on US keyboard? In-Reply-To: References: <20090401131343.93337EF5783@montanaro.dyndns.org> <711B91AD-BAA6-4D22-BB9A-11A2FEE3408F@tzi.org> <09021752-5D10-42A9-BAF8-B800F28D185C@mx6.tiki.ne.jp> <9DF4F099-571E-4050-AEAF-2B3853D088F7@tzi.org> <18899.55913.393846.516945@montanaro.dyndns.org> Message-ID: <18900.42245.298178.450039@montanaro.dyndns.org> >> You must be too young to have used Emacs before the advent of window >> systems then. ;-) Jochen> Why's that? On pure ttys Meta is often simply available to the Jochen> one application running, so there's no problem at all in that Jochen> respect... I seem to recall either some terminals without meta keys or some dialect of Emacs (maybe Gosling Emacs) which didn't support it. In either case, it was required to use ESC as a prefix. -- Skip Montanaro - skip@pobox.com - http://www.smontanaro.net/ From gilberto.c at laposte.net Fri Apr 3 16:54:30 2009 From: gilberto.c at laposte.net (Gilberto) Date: Thu Apr 2 18:17:18 2009 Subject: [OS X Emacs] Re: How to enter accented characters on US keyboard? In-Reply-To: <20090402190004.C9B545C0D5E@email> References: <20090402190004.C9B545C0D5E@email> Message-ID: <55263219-B91F-4A6B-8045-1B87968A4419@laposte.net> Your tutorials are wonderful, Xah Lee. Thanks to you, my Aquamacs Emacs emulate-mac-spanish-keyboard-mode will have a closing bracket and I won't need to toggle between English and Spanish keyboard layouts all the time (risking to forget toggling back) to finish writing my dissertation in LaTeX!!!' Gilberto Conde On 02/04/2009, at 12:00 p.m., wrote: > > Send MacOSX-Emacs mailing list submissions to > macosx-emacs@email.esm.psu.edu > > To subscribe or unsubscribe via the World Wide Web, visit > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs > or, via email, send a message with subject or body 'help' to > macosx-emacs-request@email.esm.psu.edu > > You can reach the person managing the list at > macosx-emacs-owner@email.esm.psu.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of MacOSX-Emacs digest..." > > > Today's Topics: > > 1. Re: How to enter accented characters on US keyboard? (xah lee) > 2. Re: How to enter accented characters on US keyboard? > (skip@pobox.com) > 3. Re: How to enter accented characters on US keyboard? > (skip@pobox.com) > 4. Re: How to enter accented characters on US keyboard? > (Jochen Küpper) > 5. Re: How to enter accented characters on US keyboard? > (skip@pobox.com) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 1 Apr 2009 11:15:18 -0700 > From: xah lee > Subject: Re: [OS X Emacs] How to enter accented characters on US > keyboard? > To: Emacs on Mac OS X Mailing List > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > on this issue, basically one can't have a solution that satisfy all. > There is the cmd key and opt key. > Some likes to use cmd by mac convention like copy, paste, open, save > etc. > Others like to use it for meta. Some like to use Opt by mac > convention of > inserting foreign chars, others like that for meta. Basically, there > are > these functionalities: mac convention of shortcut, input foreign > chars, > emacs meta. While, there are only 2 mod keys: the cmd and opt. So, > unless > you bring in Cntrl, or start combining mod keys (e.g. Cmd+Opt+key), > or start > doing key sequences (e.g. Cmd+key followed by Opt+key)... but again > there > are more bewildering personal preferences. > > btw, if you need to use foreign chars a lot, and you are using > emacs, you > don't really need to use OS X's Opt way, because you can easily > customize > emacs to have any shortcut you want to type any unicode char. In a > sense, > map your keyboard into a foreign char layout, of only chars that > interest to > you. > > For example, for me, my Cmd is Meta, my opt is for typing matching > pairs and > also much unicode math chars. > > Here's some doc might be of help: > > â?¢ How to Define Keyboard Shortcuts in Emacs > http://xahlee.org/emacs/keyboard_shortcuts.html > > note the bottom, where you can set the Opt to Hyper. Then, you can > just use > emacs to map arbitrary hype+key combo to arbitrary unicode chars. > > Also, if the preset foreign chars thru Opt in OS X is not what you > liked, > you can also customize it, without anything to do with emacs. For > example, i > often need to type α, β, λ, â??, â?? etc, which isn't available > under OS X's Opt > scheme. > > â?¢ How To Create Your Own Keybinding In Mac Os X > http://xahlee.org/emacs/osx_keybinding.html > > Xah > â?? http://xahlee.org/ > On Wed, Apr 1, 2009 at 8:45 AM, Carsten Bormann wrote: > >> On Apr 1, 2009, at 17:02, Jean-Christophe Helary wrote: >> >> In classic Mac software there are "dead keys" for that. >>>> >>>> OPTION n -- appears to do nothing >>>> >>>> but the next key you press, probably another n will acquire an >>>> accent >>>> mark above it as in canon -> cañon which might not survive this >>>> email. >>>> >>>> OPTION e and some others are available. >>>> >>> >>> http://mac4translators.blogspot.com/search/label/accented%20letters >>> >> >> The problem is that Aquamacs hijacks the option key and uses it for >> meta. >> For those of us who regularly use the non-ASCII characters, that is a >> problem. >> It is easy to fix: >> >> (setq mac-option-modifier nil) >> >> Now, of course, you need a different key to use as meta key. >> >> The obvious choice is the command key: >> >> (setq mac-command-modifier 'meta) >> >> But then none of the nice Mac-Emulation key combinations (CMD-C for >> copy >> etc.) work. >> >> Clumsy workaround for laptop users: >> >> (setq mac-function-modifier 'alt) ;;; can't use this with Leopard >> and >> CarbonEmacs >> >> This gives the fn key the same meaning normally occupied by the CMD >> key, so >> now you can fn-C for copy etc. >> >> Do I like any of this? No. >> But I haven't found a better way to run Emacs on a Mac. >> >> Gruesse, Carsten >> >> >> _____________________________________________________________ >> 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 >> > > > > -- > Xah > â?? http://xahlee.org/ > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090401/ebd17b7e/attachment-0001.html > > ------------------------------ > > Message: 2 > Date: Wed, 1 Apr 2009 16:18:32 -0500 > From: skip@pobox.com > Subject: Re: [OS X Emacs] How to enter accented characters on US > keyboard? > To: Emacs on Mac OS X Mailing List > Message-ID: <18899.55848.2010.736022@montanaro.dyndns.org> > Content-Type: text/plain; charset=us-ascii > > > Jean-Christophe> There is an option to use the Option key as the > Mac > Jean-Christophe> option key and Esc as the Meta key. > > Jean-Christophe> Then you can do all you want with the accented > Jean-Christophe> characters. > > Thanks. That worked fine for the simple case I had. > > Skip > > > ------------------------------ > > Message: 3 > Date: Wed, 1 Apr 2009 16:19:37 -0500 > From: skip@pobox.com > Subject: Re: [OS X Emacs] How to enter accented characters on US > keyboard? > To: Emacs on Mac OS X Mailing List > Message-ID: <18899.55913.393846.516945@montanaro.dyndns.org> > Content-Type: text/plain; charset=us-ascii > > >>> Esc as the Meta key > > Carsten> But typing Escape in front of key combinations is just a > really > Carsten> bad workaround for not having a meta key, not a real > meta key. > Carsten> Not acceptable for serious Emacs users... > > You must be too young to have used Emacs before the advent of window > systems > then. ;-) > > -- > Skip Montanaro - skip@pobox.com - http://www.smontanaro.net/ > > > ------------------------------ > > Message: 4 > Date: Thu, 2 Apr 2009 10:05:56 +0200 > From: Jochen Küpper > Subject: Re: [OS X Emacs] How to enter accented characters on US > keyboard? > To: Emacs on Mac OS X Mailing List > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes > > On 01.04.2009, at 23:19, wrote: > >>>> Esc as the Meta key >> >> Carsten> But typing Escape in front of key combinations is just a >> really >> Carsten> bad workaround for not having a meta key, not a real >> meta key. >> Carsten> Not acceptable for serious Emacs users... >> >> You must be too young to have used Emacs before the advent of window >> systems >> then. ;-) > > > Why's that? On pure ttys Meta is often simply available to the one > application running, so there's no problem at all in that respect... > > Greetings, > Jochen > -- > Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de > Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D > Sex, drugs and rock-n-roll > > > > > ------------------------------ > > Message: 5 > Date: Thu, 2 Apr 2009 06:44:05 -0500 > From: skip@pobox.com > Subject: Re: [OS X Emacs] How to enter accented characters on US > keyboard? > To: Emacs on Mac OS X Mailing List > Message-ID: <18900.42245.298178.450039@montanaro.dyndns.org> > Content-Type: text/plain; charset=us-ascii > > >>> You must be too young to have used Emacs before the advent of window >>> systems then. ;-) > > Jochen> Why's that? On pure ttys Meta is often simply available > to the > Jochen> one application running, so there's no problem at all in > that > Jochen> respect... > > I seem to recall either some terminals without meta keys or some > dialect of > Emacs (maybe Gosling Emacs) which didn't support it. In either > case, it was > required to use ESC as a prefix. > > -- > Skip Montanaro - skip@pobox.com - http://www.smontanaro.net/ > > > ------------------------------ > > _____________________________________________________________ > 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 > > End of MacOSX-Emacs Digest, Vol 18, Issue 2 > ******************************************* > From david.reitter at gmail.com Mon Apr 6 13:36:39 2009 From: david.reitter at gmail.com (David Reitter) Date: Mon Apr 6 13:43:22 2009 Subject: [OS X Emacs] No colored text forr org-publish, htmlize, Aquamacs batch-mode In-Reply-To: <1e7471d50903311258y6a52f35cod2e3faa187277609@mail.gmail.com> References: <1e7471d50903311258y6a52f35cod2e3faa187277609@mail.gmail.com> Message-ID: <4DD6A697-7C24-42A3-ABF8-2E9F1E2EDCD1@gmail.com> On Mar 31, 2009, at 3:58 PM, Saptarshi Guha wrote: > Hello, > i have some org-files which contain #+BEGIN_SRC R snippets. > When i execute org-publish via Aquamacs (running as a GUI), i get > colored output that reflects Aquamacs GUI font-lock mode. > However, I also sometimes do a batch mode publish > > /Applications/Aquamacs\ Emacs.app/Contents/MacOS/Aquamacs\ Emacs -l > ~/orgpub.el -batch --eval '(org-publish (assoc "rhipe" > org-publish-project-alist))' > > Though the text is fontified the fonts are those that I would have got > had my terminal been colorless (though running -nw and R-mode is fully > colored) > e.g <- is underlined. > > Q: How can I force htmlize to use the color-scheme of GUI Aquamacs? It seems that the customization file isn't loaded when running in batch mode. You can manually load it like this: /Applications/Aquamacs\ Emacs.app/Contents/MacOS/Aquamacs\ Emacs - batch --eval '(progn (load custom-file) .......)' Hope that helps. -- 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/20090406/2c1a616f/smime.bin From david.reitter at gmail.com Mon Apr 6 13:28:19 2009 From: david.reitter at gmail.com (David Reitter) Date: Mon Apr 6 14:21:26 2009 Subject: [OS X Emacs] spellcheck on Aquamacs ? In-Reply-To: <1A61EE0F-1D94-43F7-9092-5CE0668CF41A@mx6.tiki.ne.jp> References: <1A61EE0F-1D94-43F7-9092-5CE0668CF41A@mx6.tiki.ne.jp> Message-ID: On Mar 31, 2009, at 11:03 AM, Jean-Christophe Helary wrote: > For some reason ispell does not seem to work: > "Wrong argument: stringp nil" > > I've tried it with the French dictionary as well as with the English > one. > > Also, I seem to remember that we had spellchecking items in the Edit > menu. Where (why ?) are they gone ? Did you solve this? Aquamacs does not show the spellchecking items if Ispell is not found, and the error message is, I believe, consistent with that. - 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/20090406/ab4a9cc1/smime.bin From fusion at mx6.tiki.ne.jp Mon Apr 6 19:27:37 2009 From: fusion at mx6.tiki.ne.jp (Jean-Christophe Helary) Date: Mon Apr 6 19:27:43 2009 Subject: [OS X Emacs] spellcheck on Aquamacs ? In-Reply-To: References: <1A61EE0F-1D94-43F7-9092-5CE0668CF41A@mx6.tiki.ne.jp> Message-ID: On mardi 07 avr. 09, at 02:28, David Reitter wrote: > On Mar 31, 2009, at 11:03 AM, Jean-Christophe Helary wrote: > >> For some reason ispell does not seem to work: >> "Wrong argument: stringp nil" >> >> I've tried it with the French dictionary as well as with the >> English one. >> >> Also, I seem to remember that we had spellchecking items in the >> Edit menu. Where (why ?) are they gone ? > > Did you solve this? > Aquamacs does not show the spellchecking items if Ispell is not > found, and the error message is, I believe, consistent with that. Consistent when you know what that means... I was not aware ispell was gone on my machine :) JC From david.reitter at gmail.com Mon Apr 6 19:46:26 2009 From: david.reitter at gmail.com (David Reitter) Date: Mon Apr 6 20:08:52 2009 Subject: [OS X Emacs] spellcheck on Aquamacs ? In-Reply-To: References: <1A61EE0F-1D94-43F7-9092-5CE0668CF41A@mx6.tiki.ne.jp> Message-ID: On Apr 6, 2009, at 7:27 PM, Jean-Christophe Helary wrote: >> Did you solve this? >> Aquamacs does not show the spellchecking items if Ispell is not >> found, and the error message is, I believe, consistent with that. > > Consistent when you know what that means... I was not aware ispell > was gone on my machine :) The crucial bit is whether ispell or aspell are available from a login shell. I hope to have better spell-checking without the need for ispell available in Aquamacs/23/Cocoa. But that'll take some time and require community support. -- 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/20090406/8a7614d1/smime.bin From fusion at mx6.tiki.ne.jp Tue Apr 7 02:38:38 2009 From: fusion at mx6.tiki.ne.jp (Jean-Christophe Helary) Date: Tue Apr 7 02:38:45 2009 Subject: [OS X Emacs] spellcheck on Aquamacs ? In-Reply-To: References: <1A61EE0F-1D94-43F7-9092-5CE0668CF41A@mx6.tiki.ne.jp> Message-ID: <6B4A228A-CD7C-4708-B497-949BEB61D588@mx6.tiki.ne.jp> On mardi 07 avr. 09, at 08:46, David Reitter wrote: > On Apr 6, 2009, at 7:27 PM, Jean-Christophe Helary wrote: >>> Did you solve this? >>> Aquamacs does not show the spellchecking items if Ispell is not >>> found, and the error message is, I believe, consistent with that. >> >> Consistent when you know what that means... I was not aware ispell >> was gone on my machine :) > > > The crucial bit is whether ispell or aspell are available from a > login shell. Ok, fixed now. I'm wondering if removing the spellcheck menu altogether when ispell/aspell are not available is the best strategy ? Why not simply grey it out ? That would be consistent with the rest of the menu items. Jean-Christophe Helary From olivier.marti at lsce.ipsl.fr Thu Apr 9 12:31:46 2009 From: olivier.marti at lsce.ipsl.fr (Olivier Marti) Date: Thu Apr 9 14:31:55 2009 Subject: [OS X Emacs] Aquamacs, Tramp and command-line Message-ID: <4CC85205-CB7A-4623-836E-95E7456C6D8B@lsce.ipsl.fr> Hello, I try to use Aquamacs Emacs with tramp to access remote files from the command line. To be precise, I try the command : > open -a /Applications/Aquamacs\ Emacs.app/ /ssh:p25mart@mercure:/home/p25mart The file /ssh:p25mart@mercure:/home/p25mart does not exist. It works with Emacs (22.1.1) : > emacs /ssh:p25mart@mercure:/home/p25mart Do you have any idea to make this works with Aquamacs ? Note that Tramp works perfectly well from Aquamacs : ctrl-x ctrl-f /ssh:p25mart@mercure:/home/p25mart is ok. I use Mac OS X 10.5.6 and Aquamacs 1.7 on an MacBok (intel) Thanks Olivier -- Olivier Marti mailto:olivier.marti[ad]lsce.ipsl.fr Laboratoire des Sciences du Climat et de l'Environnement Institut Pierre Simon Laplace Laboratoire CEA-CNRS-UVSQ Tel : +33 1 69 08 77 27 - Fax : +33 1 69 08 30 73 ----------------------------------------------- GEOSCIENTIFIC MODEL DEVELOPMENT A NEW EGU JOURNAL FOR DESCRIPTIONS OF MODELS OF THE EARTH SYSTEM http://www.geoscientific-model-development.net ----------------------------------------------- From david.reitter at gmail.com Thu Apr 9 18:07:44 2009 From: david.reitter at gmail.com (David Reitter) Date: Thu Apr 9 18:07:51 2009 Subject: [OS X Emacs] Aquamacs, Tramp and command-line In-Reply-To: <4CC85205-CB7A-4623-836E-95E7456C6D8B@lsce.ipsl.fr> References: <4CC85205-CB7A-4623-836E-95E7456C6D8B@lsce.ipsl.fr> Message-ID: <7CDF8F51-B33D-4D37-83C6-E4E805B5406B@gmail.com> Olivier, the "open" command cannot pass parameters and other arbitrary material to an application. You will need to start the Aquamacs application as described in plenty of places (as is done to start it with '-Q'). Alternatively, use "emacsclient" (included within the Aquamacs .app bundle). That should allow you to open things with Tramp. Hope that helps. - 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! On Apr 9, 2009, at 12:31 PM, Olivier Marti wrote: > > Hello, > > I try to use Aquamacs Emacs with tramp to access remote files from > the command line. To be precise, I try the command : > > > open -a /Applications/Aquamacs\ Emacs.app/ /ssh:p25mart@mercure:/home/p25mart > The file /ssh:p25mart@mercure:/home/p25mart does not exist. > > It works with Emacs (22.1.1) : > > emacs /ssh:p25mart@mercure:/home/p25mart > > Do you have any idea to make this works with Aquamacs ? Note that > Tramp works perfectly well from Aquamacs : ctrl-x ctrl-f /ssh:p25mart@mercure:/home/p25mart > is ok. > > I use Mac OS X 10.5.6 and Aquamacs 1.7 on an MacBok (intel) > > Thanks > > Olivier -------------- 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/20090409/e9ca4932/smime.bin From olivier.marti at lsce.ipsl.fr Fri Apr 10 04:10:26 2009 From: olivier.marti at lsce.ipsl.fr (Olivier Marti) Date: Fri Apr 10 04:10:34 2009 Subject: [OS X Emacs] Aquamacs, Tramp and command-line In-Reply-To: <7CDF8F51-B33D-4D37-83C6-E4E805B5406B@gmail.com> References: <4CC85205-CB7A-4623-836E-95E7456C6D8B@lsce.ipsl.fr> <7CDF8F51-B33D-4D37-83C6-E4E805B5406B@gmail.com> Message-ID: <9C5BE459-43EC-43ED-956D-3EF551A432B0@lsce.ipsl.fr> Le 10 avr. 09 à 00:07, David Reitter a écrit : > Olivier, > > the "open" command cannot pass parameters and other arbitrary > material to an application. > You will need to start the Aquamacs application as described in > plenty of places (as is done to start it with '-Q'). > > Alternatively, use "emacsclient" (included within the Aquamacs .app > bundle). That should allow you to open things with Tramp. > > Hope that helps. > - David David, emacsclient is perfect. I can run from a remote host : > ssh lsce3005 "/usr/bin/emacsclient /ssh:${USER}@${HOSTNAME}.$ {DOMAINNAME}:${PWD}/!*" & And have the file opened on the Mac. Super ! Thanks you ! I don't really understand what you mean with the '-Q' option. You mean I should have tried that to be sure that the problem is no due to my personal settings ? Olivier -- Olivier Marti mailto:olivier.marti[ad]lsce.ipsl.fr Laboratoire des Sciences du Climat et de l'Environnement Institut Pierre Simon Laplace Laboratoire CEA-CNRS-UVSQ Tel : +33 1 69 08 77 27 - Fax : +33 1 69 08 30 73 ----------------------------------------------- GEOSCIENTIFIC MODEL DEVELOPMENT A NEW EGU JOURNAL FOR DESCRIPTIONS OF MODELS OF THE EARTH SYSTEM http://www.geoscientific-model-development.net ----------------------------------------------- From david.reitter at gmail.com Fri Apr 10 08:46:55 2009 From: david.reitter at gmail.com (David Reitter) Date: Fri Apr 10 08:47:03 2009 Subject: [OS X Emacs] Aquamacs, Tramp and command-line In-Reply-To: <9C5BE459-43EC-43ED-956D-3EF551A432B0@lsce.ipsl.fr> References: <4CC85205-CB7A-4623-836E-95E7456C6D8B@lsce.ipsl.fr> <7CDF8F51-B33D-4D37-83C6-E4E805B5406B@gmail.com> <9C5BE459-43EC-43ED-956D-3EF551A432B0@lsce.ipsl.fr> Message-ID: On Apr 10, 2009, at 4:10 AM, Olivier Marti wrote: > > I don't really understand what you mean with the '-Q' option. You > mean I should have tried that to be sure that the problem is no due > to my personal settings ? No, that was just a hint to help you search for the right Emacs binary inside the .app bundle, because the path is mentioned in this context all the time. Starting without customization is now better done with the Help menu, anyways. Emacsclient seems to be the best solution for your problem - glad it's working now. -- 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/20090410/3f997f94/smime.bin From info at reatlas.com Sat Apr 25 16:55:07 2009 From: info at reatlas.com (Ethan Herdrick) Date: Sat Apr 25 17:15:47 2009 Subject: [OS X Emacs] Two finger scroll is too fast in Aquamacs In-Reply-To: <91f48dbf0904251354q5cf11ab3t60e250503ba1c833@mail.gmail.com> References: <91f48dbf0904251354q5cf11ab3t60e250503ba1c833@mail.gmail.com> Message-ID: <91f48dbf0904251355j4a4b3364vc8123f01c8fee703@mail.gmail.com> Hi - On my Macbook Pro I find the two finger scrolling to be much too fast in Aquamacs.  Every other app is fine. Anyone else have this problem? -Ethan From saptarshi.guha at gmail.com Sun Apr 26 23:56:32 2009 From: saptarshi.guha at gmail.com (Saptarshi Guha) Date: Mon Apr 27 02:09:18 2009 Subject: [OS X Emacs] No colored text forr org-publish, htmlize, Aquamacs batch-mode In-Reply-To: <4DD6A697-7C24-42A3-ABF8-2E9F1E2EDCD1@gmail.com> References: <1e7471d50903311258y6a52f35cod2e3faa187277609@mail.gmail.com> <4DD6A697-7C24-42A3-ABF8-2E9F1E2EDCD1@gmail.com> Message-ID: <1e7471d50904262056m5f9815ebx460c7bc7cd6594cd@mail.gmail.com> Hello, Sorry for the very late reply. I tried what you suggested this is make.el and I run /Applications/Aquamacs\ Emacs.app/Contents/MacOS/Aquamacs\ Emacs -batch -l make.el Yet, i still get the same output. Any suggestions Thank you for your time Regards Saptarshi ;;;; (load "/Users/yanger/Library/Preferences/Aquamacs Emacs/customizations.el") (load "/Users/yanger/Library/Preferences/Aquamacs Emacs/Preferences.el") (setq org-publish-project-alist '( ("X-notes" :base-directory "~/X//org" :base-extension "org" :publishing-directory "~/Sites/X/" :recursive t :publishing-function org-publish-org-to-html :headline-levels 4 ; Just the default for this project. :auto-preamble t ;; :auto-index f ; Generate index.org automagically... ;; :index-filename "sitemap.org" ; ... call it sitemap.org ... ;; :index-title "Sitemap" ) ("X-static" :base-directory "~X/org" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|tgz" :publishing-directory "~/Sites/X/" :recursive t :publishing-function org-publish-attachment ) ("X" :components ("X-notes" "X-static")) )) (org-publish (assoc "X" org-publish-project-alist)) ;;; Saptarshi Guha On Mon, Apr 6, 2009 at 1:36 PM, David Reitter wrote: > On Mar 31, 2009, at 3:58 PM, Saptarshi Guha wrote: > >> Hello, >> i have some org-files which contain #+BEGIN_SRC R snippets. >> When i execute org-publish via Aquamacs (running as a GUI), i get >> colored output that reflects Aquamacs GUI font-lock mode. >> However, I also sometimes do a batch mode publish >> >> /Applications/Aquamacs\ Emacs.app/Contents/MacOS/Aquamacs\ Emacs -l >> ~/orgpub.el  -batch --eval '(org-publish (assoc "rhipe" >> org-publish-project-alist))' >> >> Though the text is fontified the fonts are those that I would have got >> had my terminal been colorless (though running -nw and R-mode is fully >> colored) >> e.g <- is underlined. >> >> Q: How can I force htmlize to use the color-scheme of GUI Aquamacs? > > It seems that the customization file isn't loaded when running in batch > mode. You can manually load it like this: > > /Applications/Aquamacs\ Emacs.app/Contents/MacOS/Aquamacs\ Emacs -batch > --eval '(progn (load custom-file) .......)' > > Hope that helps. > > > -- > http://aquamacs.org -- Aquamacs: Emacs on Mac OS X > http://aquamacs.org/donate -- Could we help you? Return the favor and > support the Aquamacs Project! From saptarshi.guha at gmail.com Mon Apr 27 11:52:37 2009 From: saptarshi.guha at gmail.com (Saptarshi Guha) Date: Mon Apr 27 11:52:41 2009 Subject: [OS X Emacs] No colored text forr org-publish, htmlize, Aquamacs batch-mode In-Reply-To: <1e7471d50904262056m5f9815ebx460c7bc7cd6594cd@mail.gmail.com> References: <1e7471d50903311258y6a52f35cod2e3faa187277609@mail.gmail.com> <4DD6A697-7C24-42A3-ABF8-2E9F1E2EDCD1@gmail.com> <1e7471d50904262056m5f9815ebx460c7bc7cd6594cd@mail.gmail.com> Message-ID: <1e7471d50904270852u3fc0ee3djc5254b01f4a4d263@mail.gmail.com> I fixed this by taking out the batch command. It is good enough a solution for my purposes. Thank you Saptarshi Guha On Sun, Apr 26, 2009 at 11:56 PM, Saptarshi Guha wrote: > Hello, > Sorry for the very late reply. I tried what you suggested this is make.el > and I run > /Applications/Aquamacs\ Emacs.app/Contents/MacOS/Aquamacs\ Emacs > -batch -l make.el > Yet, i still get the same output. > > Any suggestions > Thank you for your time > Regards > Saptarshi > > ;;;; > (load "/Users/yanger/Library/Preferences/Aquamacs Emacs/customizations.el") > (load "/Users/yanger/Library/Preferences/Aquamacs Emacs/Preferences.el") > (setq org-publish-project-alist >      '( >        ("X-notes" >            :base-directory "~/X//org" >            :base-extension "org" >            :publishing-directory "~/Sites/X/" >            :recursive t >            :publishing-function org-publish-org-to-html >            :headline-levels 4             ; Just the default for this project. >            :auto-preamble t > ;;          :auto-index f                  ; Generate index.org automagically... > ;;          :index-filename "sitemap.org"  ; ... call it sitemap.org ... > ;;          :index-title "Sitemap" >            ) >        ("X-static" >            :base-directory "~X/org" >            :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|tgz" >            :publishing-directory "~/Sites/X/" >            :recursive t >            :publishing-function org-publish-attachment >            ) >         ("X" :components ("X-notes" "X-static")) >      )) > > > (org-publish (assoc "X" org-publish-project-alist)) > > ;;; > > > Saptarshi Guha > > > > On Mon, Apr 6, 2009 at 1:36 PM, David Reitter wrote: >> On Mar 31, 2009, at 3:58 PM, Saptarshi Guha wrote: >> >>> Hello, >>> i have some org-files which contain #+BEGIN_SRC R snippets. >>> When i execute org-publish via Aquamacs (running as a GUI), i get >>> colored output that reflects Aquamacs GUI font-lock mode. >>> However, I also sometimes do a batch mode publish >>> >>> /Applications/Aquamacs\ Emacs.app/Contents/MacOS/Aquamacs\ Emacs -l >>> ~/orgpub.el  -batch --eval '(org-publish (assoc "rhipe" >>> org-publish-project-alist))' >>> >>> Though the text is fontified the fonts are those that I would have got >>> had my terminal been colorless (though running -nw and R-mode is fully >>> colored) >>> e.g <- is underlined. >>> >>> Q: How can I force htmlize to use the color-scheme of GUI Aquamacs? >> >> It seems that the customization file isn't loaded when running in batch >> mode. You can manually load it like this: >> >> /Applications/Aquamacs\ Emacs.app/Contents/MacOS/Aquamacs\ Emacs -batch >> --eval '(progn (load custom-file) .......)' >> >> Hope that helps. >> >> >> -- >> 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! >