GNU bug report logs - #12171
24.1.50; Cocoa filenames being ignored at launch of OSX Emacs

Previous Next

Package: emacs;

Reported by: merlyn <at> stonehenge.com (Randal L. Schwartz)

Date: Fri, 10 Aug 2012 14:46:04 UTC

Severity: normal

Found in version 24.1.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12171 in the body.
You can then email your comments to 12171 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12171; Package emacs. (Fri, 10 Aug 2012 14:46:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to merlyn <at> stonehenge.com (Randal L. Schwartz):
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 10 Aug 2012 14:46:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: merlyn <at> stonehenge.com (Randal L. Schwartz)
To: bug-gnu-emacs <at> gnu.org
Subject: 24.1.50; Cocoa filenames being ignored at launch of OSX Emacs
Date: Fri, 10 Aug 2012 07:37:14 -0700
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
<merlyn <at> stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion




Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Sat, 11 Aug 2012 09:20:01 GMT) Full text and rfc822 format available.

Notification sent to merlyn <at> stonehenge.com (Randal L. Schwartz):
bug acknowledged by developer. (Sat, 11 Aug 2012 09:20:01 GMT) Full text and rfc822 format available.

Message #10 received at 12171-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Randal L. Schwartz <merlyn <at> stonehenge.com>
Cc: 12171-done <at> debbugs.gnu.org
Subject: Re: bug#12171: 24.1.50;
	Cocoa filenames being ignored at launch of OSX Emacs
Date: Sat, 11 Aug 2012 11:11:02 +0200
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
> <merlyn <at> stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.posterous.com/ for Smalltalk discussion
> 
> 





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 08 Sep 2012 11:24:02 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.