Re: SWI-Prolog MacOS app

"Richard A. O'Keefe" <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
One thing I like about the R GUI is that if you do
	% open <<directory>> -a R
it starts up with <<directory>> as its current directory.

As for opening from Applications (and I most earnestly hope that
you mean ~/Applications), I would expect the program to save
portions of its state in ~/Library/SWIProlog/ (so that
File|Recent works).  So it doesn't much matter where it starts
the first time you run it, as long as the second time it picks
up where it left off.

Starting a new instance would I think come as a surprise to most
Mac users.  I have a several programming language implementations
on my Mac, and none of them start a new instance when you open a
second file.  They all just open a new editing window (or tab).

As for file extensions, it's a matter of Cmd-I and a few clicks
to associate either a single file or all instances of an
extensions with the application of your choice, so I wouldn't
worry about making the perfect extension list.  (I have no idea
why '.pl' files default to TextWrangler on my machine.)



On 17/08/2013, at 12:16 AM, Jan Wielemaker wrote:

> Hi,
> 
> A real Prolog MacOS app is getting close to testing phase.  One of
> the remaining issues is integration with the finder.  Below are
> some thoughts about that.  Comments from Mac users is welcome.
> 
>  - Currently, I register Prolog for .pl and .prolog files (still need
>    to figure out how to get an icon there).   More?
> 
>  - Double clicking always sends a message to the already running app,
>    while I think you want to load the file into a new instance.  So,
>    if a running app gets a file-open-event, it now runs
> 
> 	open -n -a <myself> <file>
> 
>    Does that make sense?
> 
>  - What if you just start Prolog from the Applications folder, it
>    now starts in this directory.  That is most likely not what you
>    want.  In Windows it creates a Prolog directory under the
>    `personal' folder and starts there.  Is there a similar convention
>    for the Mac?
> 
> 	Cheers --- Jan
> _______________________________________________
> SWI-Prolog mailing list
> [email protected]
> https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.