all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7)
@ 2014-07-19 20:28 Anders Lindgren
  2014-07-19 23:31 ` Glenn Morris
  0 siblings, 1 reply; 9+ messages in thread
From: Anders Lindgren @ 2014-07-19 20:28 UTC (permalink / raw)
  To: 18058

[-- Attachment #1: Type: text/plain, Size: 1062 bytes --]

Hi!

The latest Emacs pretest (24.3.92) contains a Ruby wrapper script for
launching one of a number of Emacs binaries.

Unfortunately, the Ruby script doesn't work for Ruby 1.8.7, which is the
Ruby installed on OS X 10.6.

There are two problems:
     * Ruby 1.8.7 doesn't allow continued lines on the form (lines 12-15):
        ... { ...}
           .select { |...| ...}
           .last
       Joining them to a single long line will fix the problem. However, it
will render the script unreadable -- I leave it to you to find a solution
that both work and is readable.

    * There is no File.absolute_path (see line 21). There is one
File.expand_path, using it seems to work, but I haven't checked if there
are any subtle differences between them that matter.

In addition, when running Emacs in the terminal the following warning is
emitted:
    Warning: arch-dependent data dir
`/Users/build/workspace/Emacs-Multi-Build/label/snow-leopard/emacs-source/nextstep/Emacs.app/Contents/MacOS/libexec/':
No such file or directory

Sincerely,
    Anders Lindgren

[-- Attachment #2: Type: text/html, Size: 1367 bytes --]

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

* bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7)
  2014-07-19 20:28 bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7) Anders Lindgren
@ 2014-07-19 23:31 ` Glenn Morris
  2014-07-20  7:07   ` Anders Lindgren
  0 siblings, 1 reply; 9+ messages in thread
From: Glenn Morris @ 2014-07-19 23:31 UTC (permalink / raw)
  To: Anders Lindgren; +Cc: 18058

Anders Lindgren wrote:

> The latest Emacs pretest (24.3.92) contains a Ruby wrapper script for
> launching one of a number of Emacs binaries.

AFAIK, there are no ruby scripts anywhere in the Emacs distribution.
What is the name of this script?
My guess is that this is something from a third party, so you'd need to
report it to them...





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

* bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7)
  2014-07-19 23:31 ` Glenn Morris
@ 2014-07-20  7:07   ` Anders Lindgren
  2014-07-20  8:16     ` Glenn Morris
  2014-07-20  9:18     ` Jan Djärv
  0 siblings, 2 replies; 9+ messages in thread
From: Anders Lindgren @ 2014-07-20  7:07 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 18058

[-- Attachment #1: Type: text/plain, Size: 732 bytes --]

In the latest pretest, the OS X application bundle provide a number of
different binaries built for different architectures and operating system
versions, e.g. "Emacs-powerpc-10.4". To pick which binary to use, a Ruby
dispatcher script is used, it's named "Emacs.app/Contents/MacOS/Emacs".

    -- Anders


On Sun, Jul 20, 2014 at 1:31 AM, Glenn Morris <rgm@gnu.org> wrote:

> Anders Lindgren wrote:
>
> > The latest Emacs pretest (24.3.92) contains a Ruby wrapper script for
> > launching one of a number of Emacs binaries.
>
> AFAIK, there are no ruby scripts anywhere in the Emacs distribution.
> What is the name of this script?
> My guess is that this is something from a third party, so you'd need to
> report it to them...
>

[-- Attachment #2: Type: text/html, Size: 1112 bytes --]

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

* bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7)
  2014-07-20  7:07   ` Anders Lindgren
@ 2014-07-20  8:16     ` Glenn Morris
  2014-07-20 12:45       ` Anders Lindgren
  2014-07-20  9:18     ` Jan Djärv
  1 sibling, 1 reply; 9+ messages in thread
From: Glenn Morris @ 2014-07-20  8:16 UTC (permalink / raw)
  To: Anders Lindgren; +Cc: 18058

Anders Lindgren wrote:

> In the latest pretest, the OS X application bundle provide a number of
> different binaries built for different architectures and operating system
> versions, e.g. "Emacs-powerpc-10.4". To pick which binary to use, a Ruby
> dispatcher script is used, it's named "Emacs.app/Contents/MacOS/Emacs".

I really don't think it does.
Please provide the details of where you got this from.






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

* bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7)
  2014-07-20  7:07   ` Anders Lindgren
  2014-07-20  8:16     ` Glenn Morris
@ 2014-07-20  9:18     ` Jan Djärv
  1 sibling, 0 replies; 9+ messages in thread
From: Jan Djärv @ 2014-07-20  9:18 UTC (permalink / raw)
  To: Anders Lindgren; +Cc: 18058

Hello.

20 jul 2014 kl. 09:07 skrev Anders Lindgren <andlind@gmail.com>:

> In the latest pretest, the OS X application bundle provide a number of different binaries built for different architectures and operating system versions, e.g. "Emacs-powerpc-10.4". To pick which binary to use, a Ruby dispatcher script is used, it's named "Emacs.app/Contents/MacOS/Emacs".

No, Emacs.app/Contents/MacOS/Emacs is the linked binary.  You must have picked this up from somewhere else.  There is no Ruby script anywhere in the Emacs sources.

	Jan D.







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

* bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7)
  2014-07-20  8:16     ` Glenn Morris
@ 2014-07-20 12:45       ` Anders Lindgren
  2014-07-20 13:04         ` Jan Djärv
  0 siblings, 1 reply; 9+ messages in thread
From: Anders Lindgren @ 2014-07-20 12:45 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 18058

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

I downloaded the following:

http://emacsformacosx.com/emacs-builds/Emacs-pretest-24.3.92-universal.dmg

Simply mount the disk image (by double-clicking on it) and open the file "
Emacs.app/Contents/MacOS/Emacs".

Unlike earlier releases, the "Built on" field is marked as "Multi". This
might be something that "emacsforosx.com" has added to the installation,
although I find it unlikely, as they typically provide clean Emacs
installations.

    -- Anders

On Sun, Jul 20, 2014 at 10:16 AM, Glenn Morris <rgm@gnu.org> wrote:

> Anders Lindgren wrote:
>
> > In the latest pretest, the OS X application bundle provide a number of
> > different binaries built for different architectures and operating system
> > versions, e.g. "Emacs-powerpc-10.4". To pick which binary to use, a Ruby
> > dispatcher script is used, it's named "Emacs.app/Contents/MacOS/Emacs".
>
> I really don't think it does.
> Please provide the details of where you got this from.
>
>

[-- Attachment #2: Type: text/html, Size: 1895 bytes --]

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

* bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7)
  2014-07-20 12:45       ` Anders Lindgren
@ 2014-07-20 13:04         ` Jan Djärv
  2014-07-20 13:44           ` Anders Lindgren
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Djärv @ 2014-07-20 13:04 UTC (permalink / raw)
  To: Anders Lindgren; +Cc: 18058

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

Hello.

20 jul 2014 kl. 14:45 skrev Anders Lindgren <andlind@gmail.com>:

> I downloaded the following:
> 
> http://emacsformacosx.com/emacs-builds/Emacs-pretest-24.3.92-universal.dmg
> 
> Simply mount the disk image (by double-clicking on it) and open the file "Emacs.app/Contents/MacOS/Emacs".
> 

The build script used is here:

https://github.com/caldwell/build-emacs

You might be talking about launch.rb.  It is an addition, not part of Emacs proper.

	Jan D.

> Unlike earlier releases, the "Built on" field is marked as "Multi". This might be something that "emacsforosx.com" has added to the installation, although I find it unlikely, as they typically provide clean Emacs installations.
> 
>     -- Anders
> 
> On Sun, Jul 20, 2014 at 10:16 AM, Glenn Morris <rgm@gnu.org> wrote:
> Anders Lindgren wrote:
> 
> > In the latest pretest, the OS X application bundle provide a number of
> > different binaries built for different architectures and operating system
> > versions, e.g. "Emacs-powerpc-10.4". To pick which binary to use, a Ruby
> > dispatcher script is used, it's named "Emacs.app/Contents/MacOS/Emacs".
> 
> I really don't think it does.
> Please provide the details of where you got this from.
> 
> 


[-- Attachment #2: Type: text/html, Size: 2700 bytes --]

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

* bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7)
  2014-07-20 13:04         ` Jan Djärv
@ 2014-07-20 13:44           ` Anders Lindgren
  2014-07-20 15:19             ` Jan Djärv
  0 siblings, 1 reply; 9+ messages in thread
From: Anders Lindgren @ 2014-07-20 13:44 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 18058

[-- Attachment #1: Type: text/plain, Size: 1531 bytes --]

Jan,

It appears to be the script that is named Emacs in the distribution. I'll
report this to the emacsformacosx team.

Thanks,
    Anders


On Sun, Jul 20, 2014 at 3:04 PM, Jan Djärv <jan.h.d@swipnet.se> wrote:

> Hello.
>
> 20 jul 2014 kl. 14:45 skrev Anders Lindgren <andlind@gmail.com>:
>
> I downloaded the following:
>
> http://emacsformacosx.com/emacs-builds/Emacs-pretest-24.3.92-universal.dmg
>
> Simply mount the disk image (by double-clicking on it) and open the file "
> Emacs.app/Contents/MacOS/Emacs".
>
>
> The build script used is here:
>
> https://github.com/caldwell/build-emacs
>
> You might be talking about launch.rb.  It is an addition, not part of
> Emacs proper.
>
> Jan D.
>
> Unlike earlier releases, the "Built on" field is marked as "Multi". This
> might be something that "emacsforosx.com" has added to the installation,
> although I find it unlikely, as they typically provide clean Emacs
> installations.
>
>     -- Anders
>
> On Sun, Jul 20, 2014 at 10:16 AM, Glenn Morris <rgm@gnu.org> wrote:
>
>> Anders Lindgren wrote:
>>
>> > In the latest pretest, the OS X application bundle provide a number of
>> > different binaries built for different architectures and operating
>> system
>> > versions, e.g. "Emacs-powerpc-10.4". To pick which binary to use, a Ruby
>> > dispatcher script is used, it's named "Emacs.app/Contents/MacOS/Emacs".
>>
>> I really don't think it does.
>> Please provide the details of where you got this from.
>>
>>
>
>

[-- Attachment #2: Type: text/html, Size: 3243 bytes --]

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

* bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7)
  2014-07-20 13:44           ` Anders Lindgren
@ 2014-07-20 15:19             ` Jan Djärv
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Djärv @ 2014-07-20 15:19 UTC (permalink / raw)
  To: Anders Lindgren; +Cc: 18058-done

[-- Attachment #1: Type: text/plain, Size: 1667 bytes --]

Hello.

20 jul 2014 kl. 15:44 skrev Anders Lindgren <andlind@gmail.com>:

> Jan,
> 
> It appears to be the script that is named Emacs in the distribution. I'll report this to the emacsformacosx team.

Ok.  Closing this.

	Jan D.

> 
> Thanks,
>     Anders
> 
> 
> On Sun, Jul 20, 2014 at 3:04 PM, Jan Djärv <jan.h.d@swipnet.se> wrote:
> Hello.
> 
> 20 jul 2014 kl. 14:45 skrev Anders Lindgren <andlind@gmail.com>:
> 
>> I downloaded the following:
>> 
>> http://emacsformacosx.com/emacs-builds/Emacs-pretest-24.3.92-universal.dmg
>> 
>> Simply mount the disk image (by double-clicking on it) and open the file "Emacs.app/Contents/MacOS/Emacs".
>> 
> 
> The build script used is here:
> 
> https://github.com/caldwell/build-emacs
> 
> You might be talking about launch.rb.  It is an addition, not part of Emacs proper.
> 
> 	Jan D.
> 
>> Unlike earlier releases, the "Built on" field is marked as "Multi". This might be something that "emacsforosx.com" has added to the installation, although I find it unlikely, as they typically provide clean Emacs installations.
>> 
>>     -- Anders
>> 
>> On Sun, Jul 20, 2014 at 10:16 AM, Glenn Morris <rgm@gnu.org> wrote:
>> Anders Lindgren wrote:
>> 
>> > In the latest pretest, the OS X application bundle provide a number of
>> > different binaries built for different architectures and operating system
>> > versions, e.g. "Emacs-powerpc-10.4". To pick which binary to use, a Ruby
>> > dispatcher script is used, it's named "Emacs.app/Contents/MacOS/Emacs".
>> 
>> I really don't think it does.
>> Please provide the details of where you got this from.
>> 
>> 
> 
> 


[-- Attachment #2: Type: text/html, Size: 3831 bytes --]

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

end of thread, other threads:[~2014-07-20 15:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-19 20:28 bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7) Anders Lindgren
2014-07-19 23:31 ` Glenn Morris
2014-07-20  7:07   ` Anders Lindgren
2014-07-20  8:16     ` Glenn Morris
2014-07-20 12:45       ` Anders Lindgren
2014-07-20 13:04         ` Jan Djärv
2014-07-20 13:44           ` Anders Lindgren
2014-07-20 15:19             ` Jan Djärv
2014-07-20  9:18     ` Jan Djärv

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.