GNU bug report logs - #6077
23.1.96; start-process error

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Sun, 2 May 2010 09:52:02 UTC

Severity: normal

Found in version 23.1.96

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

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 6077 in the body.
You can then email your comments to 6077 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6077; Package emacs. (Sun, 02 May 2010 09:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 02 May 2010 09:52:02 GMT) Full text and rfc822 format available.

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

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1.96; start-process error
Date: Sun, 02 May 2010 10:51:32 +0100
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 #emacs <at> irc.freenode.net> 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





Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 04 Mar 2011 08:23:01 GMT) Full text and rfc822 format available.

Notification sent to Leo <sdl.web <at> gmail.com>:
bug acknowledged by developer. (Fri, 04 Mar 2011 08:23:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 6077-done <at> debbugs.gnu.org
Subject: Re: 23.1.96; start-process error
Date: Fri, 04 Mar 2011 03:22:04 -0500
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.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6077; Package emacs. (Fri, 04 Mar 2011 08:55:01 GMT) Full text and rfc822 format available.

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

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#6077: 23.1.96; start-process error
Date: Fri, 04 Mar 2011 16:54:11 +0800
On 2011-03-04 16:22 +0800, Glenn Morris wrote:
> 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.

Yes, there is risk in setting a new default directory.

They were discussed in the followup to:
http://permalink.gmane.org/gmane.emacs.devel/135971

But I can't seem to find the thread.

Leo





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6077; Package emacs. (Sat, 05 Mar 2011 03:29:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 6077 <at> debbugs.gnu.org
Cc: rgm <at> gnu.org
Subject: Re: bug#6077: 23.1.96; start-process error
Date: Fri, 04 Mar 2011 22:28:32 -0500
> 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.

There is opposition to fixing it in start/call-process since it does the
wrong thing if the command uses to relative filenames.  There is no
opposition to "a general fix" at all, although such a general fix would
look like a macro that can easily be added where useful/needed, or maybe
some additional arg, or clever reuse of existing arg.


        Stefan




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

This bug report was last modified 12 years and 364 days ago.

Previous Next


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