Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Can't set initial-buffer-choice
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rian Murphy  
View profile  
 More options Aug 6 2012, 10:40 am
From: Rian Murphy <rianmur...@google.com>
Date: Mon, 6 Aug 2012 07:40:39 -0700 (PDT)
Local: Mon, Aug 6 2012 10:40 am
Subject: Can't set initial-buffer-choice

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gilbert Harman  
View profile  
 More options Aug 6 2012, 1:12 pm
From: Gilbert Harman <har...@princeton.edu>
Date: Mon, 6 Aug 2012 13:12:06 -0400
Local: Mon, Aug 6 2012 1:12 pm
Subject: Re: [carbon-emacs:1713] Can't set initial-buffer-choice

Have you tried editing your  ~/.emacs file to include at the end:
(find-file filename.ext)?

 Gil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rian Murphy  
View profile  
 More options Aug 6 2012, 2:35 pm
From: Rian Murphy <rianmur...@google.com>
Date: Mon, 6 Aug 2012 11:35:20 -0700 (PDT)
Local: Mon, Aug 6 2012 2:35 pm
Subject: Re: [carbon-emacs:1713] Can't set initial-buffer-choice

I got that to work, by using the full path to the filename in quotes.
 Thanks!   R.M.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Dyballa  
View profile  
 More options Aug 6 2012, 5:17 pm
From: Peter Dyballa <Peter_Dyba...@Web.DE>
Date: Mon, 6 Aug 2012 23:17:22 +0200
Local: Mon, Aug 6 2012 5:17 pm
Subject: Re: [carbon-emacs:1713] Can't set initial-buffer-choice

Am 06.08.2012 um 16:40 schrieb 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

        #!/bin/sh
        /Applications/Utilities/coral.app/Contents/MacOS/coral "$*"

(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:

        (setenv "PATH" (concat "/Applications/Utilities/coral.app/Contents/MacOS" path-separator (getenv "PATH")))

> I'm relatively new to this, so I'm guessing I'm missing something, or
> haven't installed something. Any ideas? Thanks, Rian Murphy

Some folks prefer to use recentf-mode. You can also use desktop. And desktop can be augmented by using the external session.el file (http://emacs-session.sourceforge.net). http://www.emacswiki.org/emacs-en provides good information and a useful search interface.

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.

--
Greetings

  Pete

Wasting time is an important part of living.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »