Bug #699
Emacs UI: set back "cocoa5-executable" to "CoCoAInterpreter"?
Description
In earlier versions cocoa5-executable
was CoCoAInterpreter
.
Now it is the script cocoa5
(and this caused problems on Windows because scripts do not work there).
The cocoa5
script works very well for calling the command-line version from any directory.
But this is not necessary for emacs (because emacs needs to be configured anyway).
So, we cannot remember why we did this change: probably to allow spaces in path.
Proposal: change back and test with spaces in path. If it works we can unify Mac/Linux and Windows EmacsUI settings.
Rejected: the script cocoa5
is used on linux to choose the executable 32/64 bit (May also be used similarly on Mac).
Related issue #698 solved using system-type
Related issues
History
#1
Updated by Anna Maria Bigatti about 9 years ago
Anna Maria Bigatti wrote:
So, we cannot remember why we did this change: probably to allow spaces in path.
We remembered! in linux the cocoa5
script makes an automatic choice between 32 and 64 bit executable.
All modern Macs are 64 bits, but the same mechanism can be used for choosing between versions (for example for different MacOS's).
What to do for minimizing the differences with the Windows version then?
I'll think about it....
#2
Updated by John Abbott about 9 years ago
JAA notes that Emacs lisp has the built-in variable system-type
which gives information about which OS is running. This could be used to pass the --packageDir
parameter only on Microsoft systems.
#3
Updated by Anna Maria Bigatti about 9 years ago
- Estimated time changed from 1.00 h to 2.00 h
John Abbott wrote:
JAA notes that Emacs lisp has the built-in variable
system-type
which gives information about which OS is running. This could be used to pass the--packageDir
parameter only on Microsoft systems.
ok, I used it and it works.
My attempt at just modifying cocoa5.emacs did not work, as John had guessed:
setting cocoa5-executable to "../CoCoAInterpreter --sakshf" gives
Spawning child process: invalid argument
#4
Updated by Anna Maria Bigatti about 9 years ago
- Description updated (diff)
- Status changed from In Progress to Rejected
- % Done changed from 10 to 100