unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* open new file on mac os
@ 2009-09-13 23:15 Per Jr. Greisen
  2009-09-14 14:13 ` Peter Dyballa
  0 siblings, 1 reply; 7+ messages in thread
From: Per Jr. Greisen @ 2009-09-13 23:15 UTC (permalink / raw)
  To: Help-gnu-emacs


Hi all,

My problems is that I cannot create a new file using emacs from the command
line and I think it is a linking problem. If I type 
emacs newfile

it returns
The / file does not exist.

I am using the emacs in the application folder
open -a Emacs.app 
if I on the other hand uses the emacs in /usr/bin/emacs I do not have any
problems creating a new file but here I do not have any GUI available.

How to resolve this - thanks in advance

Best

Per


-- 
View this message in context: http://www.nabble.com/open-new-file-on-mac-os-tp25428295p25428295.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: open new file on mac os
  2009-09-13 23:15 open new file on mac os Per Jr. Greisen
@ 2009-09-14 14:13 ` Peter Dyballa
  2009-09-14 15:45   ` Per Jr. Greisen
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Dyballa @ 2009-09-14 14:13 UTC (permalink / raw)
  To: Per Jr. Greisen; +Cc: Help-gnu-emacs


Am 14.09.2009 um 01:15 schrieb Per Jr. Greisen:

> emacs newfile

Could you type on the command line

	which emacs

to see which emacs you are actually using?

Emacs.app does not provide an "emacs" but an "Emacs." And this one  
does not launch by using the open command to launch it.

--
Greetings

   Pete

In a world without walls and fences, who needs gates and windows?







^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: open new file on mac os
  2009-09-14 14:13 ` Peter Dyballa
@ 2009-09-14 15:45   ` Per Jr. Greisen
  2009-09-16  9:14     ` Peter Dyballa
  0 siblings, 1 reply; 7+ messages in thread
From: Per Jr. Greisen @ 2009-09-14 15:45 UTC (permalink / raw)
  To: Help-gnu-emacs


Hi,

When I type 'which emacs' it returns 

usr/bin/emacs





Peter Dyballa wrote:
> 
> 
> Am 14.09.2009 um 01:15 schrieb Per Jr. Greisen:
> 
>> emacs newfile
> 
> Could you type on the command line
> 
> 	which emacs
> 
> to see which emacs you are actually using?
> 
> Emacs.app does not provide an "emacs" but an "Emacs." And this one  
> does not launch by using the open command to launch it.
> 
> --
> Greetings
> 
>    Pete
> 
> In a world without walls and fences, who needs gates and windows?
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/open-new-file-on-mac-os-tp25428295p25438258.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: open new file on mac os
       [not found] <mailman.6647.1252933876.2239.help-gnu-emacs@gnu.org>
@ 2009-09-14 17:47 ` Pascal J. Bourguignon
  2009-09-14 20:14   ` Per Jr. Greisen
  0 siblings, 1 reply; 7+ messages in thread
From: Pascal J. Bourguignon @ 2009-09-14 17:47 UTC (permalink / raw)
  To: help-gnu-emacs

"Per Jr. Greisen" <pgreisen@gmail.com> writes:

> Hi all,
>
> My problems is that I cannot create a new file using emacs from the command
> line and I think it is a linking problem. If I type 
> emacs newfile
>
> it returns
> The / file does not exist.
>
> I am using the emacs in the application folder
> open -a Emacs.app 
> if I on the other hand uses the emacs in /usr/bin/emacs I do not have any
> problems creating a new file but here I do not have any GUI available.
>
> How to resolve this - thanks in advance

You could still launch the Emacs.app from the terminal:

/Applications/Emacs.app/Contents/MacOS/Emacs newfile
(edit the path appropriately).

-- 
__Pascal Bourguignon__


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: open new file on mac os
  2009-09-14 17:47 ` Pascal J. Bourguignon
@ 2009-09-14 20:14   ` Per Jr. Greisen
  2009-09-16  9:16     ` Peter Dyballa
  0 siblings, 1 reply; 7+ messages in thread
From: Per Jr. Greisen @ 2009-09-14 20:14 UTC (permalink / raw)
  To: Help-gnu-emacs


Hi, 

yes if I do that I get the following error 

2009-09-14 13:13:13.143 Emacs[1766:10b] *** CFMessagePort:
bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port =
0x2007, name = 'org.gnu.Emacs.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.





Pascal J. Bourguignon wrote:
> 
> "Per Jr. Greisen" <pgreisen@gmail.com> writes:
> 
>> Hi all,
>>
>> My problems is that I cannot create a new file using emacs from the
>> command
>> line and I think it is a linking problem. If I type 
>> emacs newfile
>>
>> it returns
>> The / file does not exist.
>>
>> I am using the emacs in the application folder
>> open -a Emacs.app 
>> if I on the other hand uses the emacs in /usr/bin/emacs I do not have any
>> problems creating a new file but here I do not have any GUI available.
>>
>> How to resolve this - thanks in advance
> 
> You could still launch the Emacs.app from the terminal:
> 
> /Applications/Emacs.app/Contents/MacOS/Emacs newfile
> (edit the path appropriately).
> 
> -- 
> __Pascal Bourguignon__
> 
> 

-- 
View this message in context: http://www.nabble.com/open-new-file-on-mac-os-tp25428295p25442749.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: open new file on mac os
  2009-09-14 15:45   ` Per Jr. Greisen
@ 2009-09-16  9:14     ` Peter Dyballa
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2009-09-16  9:14 UTC (permalink / raw)
  To: Per Jr. Greisen; +Cc: Help-gnu-emacs


Am 14.09.2009 um 17:45 schrieb Per Jr. Greisen:

> When I type 'which emacs' it returns
>
> usr/bin/emacs


Which is Apple's Emacs and which only runs in terminal emulations. It  
also has a different version than Emacs.app.

--
Greetings

   Pete

A lot of us are working harder than we want, at things we don't like  
to do. Why? ...In order to afford the sort of existence we don't care  
to live.
				– Bradford Angier





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: open new file on mac os
  2009-09-14 20:14   ` Per Jr. Greisen
@ 2009-09-16  9:16     ` Peter Dyballa
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2009-09-16  9:16 UTC (permalink / raw)
  To: Per Jr. Greisen; +Cc: Help-gnu-emacs


Am 14.09.2009 um 22:14 schrieb Per Jr. Greisen:

> 2009-09-14 13:13:13.143 Emacs[1766:10b] *** CFMessagePort:
> bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port =
> 0x2007, name = 'org.gnu.Emacs.ServiceProvider'
> See /usr/include/servers/bootstrap_defs.h for the error codes.


This is OK – it's just a *warning* and it means that it won't deliver  
services as Emacs.app can do when launched ordinarily by double- 
clicking it or using open or launch to start it. You should have get  
an open frame which full access to Emacs...

--
Greetings

   Pete

Real Time, adj.:
	Here and now, as opposed to fake time, which only occurs there and  
then.







^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-09-16  9:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-13 23:15 open new file on mac os Per Jr. Greisen
2009-09-14 14:13 ` Peter Dyballa
2009-09-14 15:45   ` Per Jr. Greisen
2009-09-16  9:14     ` Peter Dyballa
     [not found] <mailman.6647.1252933876.2239.help-gnu-emacs@gnu.org>
2009-09-14 17:47 ` Pascal J. Bourguignon
2009-09-14 20:14   ` Per Jr. Greisen
2009-09-16  9:16     ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).