I am using Carbon Emacs 22.3 on Mac so that I can print using the Mac print dialog. I would also like to have Emacs load a particular file on startup. Another source tells me this can be done by setting the initial-buffer-choice variable. I can do this in Gnu Emacs 23.1.50.1, which I have running on an Ubuntu server, but this variable doesn't seem to exist for Carbon Emacs. I'm relatively new to this, so I'm guessing I'm missing something, or haven't installed something. Any ideas? Thanks, Rian Murphy
On Mon, Aug 6, 2012 at 10:40 AM, Rian Murphy <rianmur...@google.com> wrote:
> I am using Carbon Emacs 22.3 on Mac so that I can print using the Mac
> print dialog. I would also like to have Emacs load a particular file on
> startup.
> Another source tells me this can be done by setting the
> initial-buffer-choice variable. I can do this in Gnu Emacs 23.1.50.1, which
> I have running on an Ubuntu server, but this variable doesn't seem to exist
> for Carbon Emacs.
> I'm relatively new to this, so I'm guessing I'm missing something, or
> haven't installed something. Any ideas? Thanks, Rian Murphy
On Monday, August 6, 2012 1:12:06 PM UTC-4, Gilbert Harman wrote:
> Have you tried editing your ~/.emacs file to include at the end: > (find-file filename.ext)?
> Gil
> On Mon, Aug 6, 2012 at 10:40 AM, Rian Murphy wrote:
>> I am using Carbon Emacs 22.3 on Mac so that I can print using the Mac >> print dialog. I would also like to have Emacs load a particular file on >> startup. >> Another source tells me this can be done by setting the >> initial-buffer-choice variable. I can do this in Gnu Emacs 23.1.50.1, which >> I have running on an Ubuntu server, but this variable doesn't seem to exist >> for Carbon Emacs. >> I'm relatively new to this, so I'm guessing I'm missing something, or >> haven't installed something. Any ideas? Thanks, Rian Murphy
> I am using Carbon Emacs 22.3 on Mac so that I can print using the Mac print > dialog. I would also like to have Emacs load a particular file on startup.
> Another source tells me this can be done by setting the > initial-buffer-choice variable. I can do this in Gnu Emacs 23.1.50.1, which > I have running on an Ubuntu server, but this variable doesn't seem to exist > for Carbon Emacs.
Could be this variable exists only GNU Emacs >= 23.1…
The Mac print dialog comes from a small application, coral: http://hmdt.jp/coral/index.html. To use it you either need to install into your own bin directory (~/bin) an executable shell script with this contents
(here I assume that coral.app was installed into the Utilities folder) – don't forget the final empty line – or you need to add the path /Applications/Utilities/coral.app/Contents/MacOS (same assumption as before) to your PATH environment variable, for example like this in your init file:
The ability to use coral and the Mac print dialog is also built into the NS (or "Cocoa") variant of GNU Emacs. This is now at version 24.1.50 – a development version. Kind of a successor to Carbon Emacs is the so-called "AppKit" Emacs. It consists of the original sources of recently released GNU Emacs 24.1 (/ftp:anonym...@ftp.gnu.org:/gnu/emacs) plus a set of additional files and patches to the original sources. These can be find in /ftp:anonym...@ftp.math.s.chiba-u.ac.jp:/emacs as emacs-24.1-mac-3.1.tar.gz (URIs in TRAMP notation). You'd need to unpack, patch, build, and install this Emacs.app yourself.