Subject: bug#6077: closed (Re: 23.1.96; start-process error)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 04 Mar 2011 08:23:02 +0000

Your bug report

#6077: 23.1.96; start-process error

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].

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

Subject: Re: 23.1.96; start-process error
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Fri, 04 Mar 2011 03:22:04 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.1

This crops up in a few places. I have a vague memory that there is some
problem with/opposition to a general fix. Installed a fix for
browse-url.

Subject: 23.1.96; start-process error
From: Leo <[email-masked]>
To: [email-masked]
Date: Sun, 02 May 2010 10:51:32 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

When invoking browse-url in a buffer where the default directory no
longer exists which happens quite often if you have long-running emacs
session, the following error is generated and browse-url aborts the
action.

Debugger entered--Lisp error: (file-error "Setting current directory" "no such file or directory" "/Users/leo/Desktop/untitled folder/")
  start-process("open http://paste.lisp.org/display/98663" nil "open" "http://paste.lisp.org/display/98663")
  browse-url-default-macosx-browser("http://paste.lisp.org/display/98663" nil)
  apply(browse-url-default-macosx-browser "http://paste.lisp.org/display/98663" nil)
  browse-url("http://paste.lisp.org/display/98663")
  rcirc-browse-url-at-point(19540)
  rcirc-browse-url-at-mouse((mouse-2 (#<window 9505 on [email-masked]> 19540 (375 . 232) 1105613306 nil 19540 (46 . 15) nil (7 . 7) (8 . 15))))
  call-interactively(rcirc-browse-url-at-mouse nil nil)

I wonder if it makes sense to make start-process more robust in this
case. Thanks.

Leo