Subject: bug#12171: closed (Re: bug#12171: 24.1.50; Cocoa filenames being ignored at launch of OSX Emacs)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 11 Aug 2012 09:20:01 +0000

Your bug report

#12171: 24.1.50; Cocoa filenames being ignored at launch of OSX Emacs

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
12171: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12171
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#12171: 24.1.50; Cocoa filenames being ignored at launch of OSX Emacs
From: Jan Djärv <[email-masked]>
To: Randal L. Schwartz <[email-masked]>
Cc: [email-masked]
Date: Sat, 11 Aug 2012 11:11:02 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Done.

10 aug 2012 kl. 16:37 skrev Randal L. Schwartz:

> This bug report will be sent to the Bug-GNU-Emacs mailing list
> and the GNU bug tracker at debbugs.gnu.org.  Please check that
> the From: line contains a valid email address.  After a delay of up
> to one day, you should receive an acknowledgment at that address.
> 
> Please write in English if possible, as the Emacs maintainers
> usually do not have translators for other languages.
> 
> Please describe exactly what actions triggered the bug, and
> the precise symptoms of the bug.  If you can, give a recipe
> starting from `emacs -Q':
> 
> On OSX, with emacs not running, enter
> 
>   open -a emacs $HOME
> 
> Emacs will start with only the Scratch buffer showing.  If you repeat
> this command, emacs *then* visits $HOME, proving that Emacs is ignoring
> the passed filename only on launch, but not on later Cocoa opens.
> 
> Similarly, dropping a folder or file on the emacs icon is ignored,
> *unless* emacs is already running.
> 
>> From a discussion on the dev list, it may be related to this bugfix:
> 
>  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12010
> 
> Which indeed contains the omnious words:
> 
>   I fixed this in the trunk, so we ignore Cocoa-passed filenames during
>   start.
> 
> Which is not a fix, it's a break. :(
> 
> If Emacs crashed, and you have the Emacs process in the gdb debugger,
> please include the output from the following gdb commands:
>    `bt full' and `xbacktrace'.
> For information about debugging Emacs, please read the file
> /Users/merlyn/Applications/Emacs.app/Contents/Resources/etc/DEBUG.
> 
> 
> In GNU Emacs 24.1.50.4 (x86_64-apple-darwin11.2.0, NS apple-appkit-1138.23)
> of 2012-08-10 on dhcp82.corp.mediatemple.net
> Windowing system distributor `Apple', version 10.3.1138
> Configured using:
> `configure '--with-ns' '--without-x' '--without-dbus' '--with-jpeg=no'
> '--with-gif=no' '--with-tiff=no' '--prefix=/tmp/emacs''
> 
> Important settings:
>  locale-coding-system: nil
>  default enable-multibyte-characters: t
> 
> Major mode: Lisp Interaction
> 
> Minor modes in effect:
>  show-paren-mode: t
>  global-auto-revert-mode: t
>  display-time-mode: t
>  tooltip-mode: t
>  mouse-wheel-mode: t
>  tool-bar-mode: t
>  menu-bar-mode: t
>  file-name-shadow-mode: t
>  global-font-lock-mode: t
>  font-lock-mode: t
>  auto-composition-mode: t
>  auto-encryption-mode: t
>  auto-compression-mode: t
>  line-number-mode: t
>  transient-mark-mode: t
> 
> Recent input:
> <escape> x r e p o a <backspace> r <tab> <return>
> 
> Recent messages:
> Loading time...done
> Loading autorevert...done
> Loading avoid...done
> Loading paren...done
> 
> Load-path shadows:
> None found.
> 
> Features:
> (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
> mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
> gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
> mail-prsvr mail-utils smex-autoloads package jka-compr uniquify advice
> help-fns advice-preload paren avoid autorevert time cus-start cus-load
> server objj-mode derived objc-c-mode cc-mode cc-fonts easymenu cc-guess
> cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs time-date
> tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd
> fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
> register page menu-bar rfn-eshadow timer select scroll-bar mouse
> jit-lock font-lock syntax facemenu font-core frame cham georgian
> utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
> japanese hebrew greek romanian slovak czech european ethiopic indian
> cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
> minibuffer loaddefs button faces cus-face files text-properties overlay
> sha1 md5 base64 format env code-pages mule custom widget
> hashtable-print-readable backquote make-network-process ns multi-tty
> emacs)
> 
> 
> -- 
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
> <[email-masked]> <URL:http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.posterous.com/ for Smalltalk discussion
> 
> 

Subject: 24.1.50; Cocoa filenames being ignored at launch of OSX Emacs
From: [email-masked] (Randal L. Schwartz)
To: [email-masked]
Date: Fri, 10 Aug 2012 07:37:14 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgment at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':

On OSX, with emacs not running, enter

   open -a emacs $HOME

Emacs will start with only the Scratch buffer showing.  If you repeat
this command, emacs *then* visits $HOME, proving that Emacs is ignoring
the passed filename only on launch, but not on later Cocoa opens.

Similarly, dropping a folder or file on the emacs icon is ignored,
*unless* emacs is already running.

>From a discussion on the dev list, it may be related to this bugfix:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12010

Which indeed contains the omnious words:

   I fixed this in the trunk, so we ignore Cocoa-passed filenames during
   start.

Which is not a fix, it's a break. :(

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/Users/merlyn/Applications/Emacs.app/Contents/Resources/etc/DEBUG.

In GNU Emacs 24.1.50.4 (x86_64-apple-darwin11.2.0, NS apple-appkit-1138.23)
 of 2012-08-10 on dhcp82.corp.mediatemple.net
Windowing system distributor `Apple', version 10.3.1138
Configured using:
 `configure '--with-ns' '--without-x' '--without-dbus' '--with-jpeg=no'
 '--with-gif=no' '--with-tiff=no' '--prefix=/tmp/emacs''

Important settings:
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  show-paren-mode: t
  global-auto-revert-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<escape> x r e p o a <backspace> r <tab> <return>

Recent messages:
Loading time...done
Loading autorevert...done
Loading avoid...done
Loading paren...done

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils smex-autoloads package jka-compr uniquify advice
help-fns advice-preload paren avoid autorevert time cus-start cus-load
server objj-mode derived objc-c-mode cc-mode cc-fonts easymenu cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs time-date
tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process ns multi-tty
emacs)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email-masked]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion