GNU bug report logs - #14954
24.3.50; eww doesn't not use browse-url-xdg-open properly?

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Fri, 26 Jul 2013 03:08:02 UTC

Severity: minor

Found in version 24.3.50

Done: Jambunathan K <kjambunathan <at> gmail.com>

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 14954 in the body.
You can then email your comments to 14954 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#14954; Package emacs. (Fri, 26 Jul 2013 03:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jambunathan K <kjambunathan <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 26 Jul 2013 03:08:03 GMT) Full text and rfc822 format available.

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

From: Jambunathan K <kjambunathan <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; eww doesn't not use browse-url-xdg-open properly?
Date: Fri, 26 Jul 2013 08:38:40 +0530
0. Install xdg-open
1. Put cursor on inside the URL below.

    http://thread.gmane.org/47B4E3B2.3050402 <at> gmail.com

1. M-x browse-url-xdg-open or M-x browse-url or Left mouse click
   
   See firefox getting launched.

2. M-x eww-browse-with-external-browser

   See following backtrace.

    Debugger entered--Lisp error: (wrong-type-argument stringp nil)
      call-process("xdg-open" nil 0 nil nil)
      browse-url-xdg-open(nil)
      apply(browse-url-xdg-open nil nil)
      browse-url-default-browser(nil)
      eww-browse-with-external-browser()
      call-interactively(eww-browse-with-external-browser record nil)
      command-execute(eww-browse-with-external-browser record)
      execute-extended-command(nil "eww-browse-with-external-browser")
      call-interactively(execute-extended-command nil nil)
      command-execute(execute-extended-command)

I have no fancy customization of browse-url-* options.  Just the
standard defaults on a debian.

In GNU Emacs 24.3.50.24 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2013-07-26 on debian-6.05
Bzr revision: 113547 rgm <at> gnu.org-20130726015506-xqc4ksyjl4qxvh8f
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
  value of $LANG: en_IN
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t







Reply sent to Jambunathan K <kjambunathan <at> gmail.com>:
You have taken responsibility. (Fri, 15 Nov 2013 05:02:01 GMT) Full text and rfc822 format available.

Notification sent to Jambunathan K <kjambunathan <at> gmail.com>:
bug acknowledged by developer. (Fri, 15 Nov 2013 05:02:02 GMT) Full text and rfc822 format available.

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

From: Jambunathan K <kjambunathan <at> gmail.com>
To: 14954-done <at> debbugs.gnu.org
Subject: Re: bug#14954: 24.3.50;
 eww doesn't not use browse-url-xdg-open properly?
Date: Fri, 15 Nov 2013 10:30:42 +0530
OP here.  Closed.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#14954; Package emacs. (Sun, 01 Dec 2013 13:31:02 GMT) Full text and rfc822 format available.

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

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 14954 <at> debbugs.gnu.org
Subject: Re: bug#14954: 24.3.50;
 eww doesn't not use browse-url-xdg-open properly?
Date: Sun, 01 Dec 2013 14:30:15 +0100
Jambunathan K <kjambunathan <at> gmail.com> writes:

> 1. Put cursor on inside the URL below.
>
>     http://thread.gmane.org/47B4E3B2.3050402 <at> gmail.com
>
> 1. M-x browse-url-xdg-open or M-x browse-url or Left mouse click
>
>    See firefox getting launched.
>
> 2. M-x eww-browse-with-external-browser
>
>    See following backtrace.

`eww-browse-with-external-browser' is a command only usable in eww mode
buffers, so I don't think that's a bug...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#14954; Package emacs. (Sun, 01 Dec 2013 14:17:01 GMT) Full text and rfc822 format available.

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

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 14954 <at> debbugs.gnu.org
Subject: Re: bug#14954: 24.3.50;
 eww doesn't not use browse-url-xdg-open properly?
Date: Sun, 01 Dec 2013 15:16:19 +0100
Jambunathan K <kjambunathan <at> gmail.com> writes:

> I just did
>
>     M-x eww-browse-with-external-browser
>
> in a Message mode buffer and I see this

But why would you call an eww mode command in a different buffer?

Having all mode-specific commands check that they're in the right buffer
before doing anything would be kinda odd.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#14954; Package emacs. (Sun, 01 Dec 2013 17:20:04 GMT) Full text and rfc822 format available.

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

From: Jambunathan K <kjambunathan <at> gmail.com>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 14954 <at> debbugs.gnu.org
Subject: Re: bug#14954: 24.3.50;
 eww doesn't not use browse-url-xdg-open properly?
Date: Sun, 01 Dec 2013 19:07:57 +0530
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:

> Jambunathan K <kjambunathan <at> gmail.com> writes:
>
>> 1. Put cursor on inside the URL below.
>>
>>     http://thread.gmane.org/47B4E3B2.3050402 <at> gmail.com
>>
>> 1. M-x browse-url-xdg-open or M-x browse-url or Left mouse click
>>
>>    See firefox getting launched.
>>
>> 2. M-x eww-browse-with-external-browser
>>
>>    See following backtrace.
>
> `eww-browse-with-external-browser' is a command only usable in eww mode
> buffers, so I don't think that's a bug...

I just did

    M-x eww-browse-with-external-browser

in a Message mode buffer and I see this

    browse-url-xdg-open: Wrong type argument: stringp, nil

As a layman, it is difficult for me to understand what that means...

Anyways...




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#14954; Package emacs. (Mon, 02 Dec 2013 06:52:02 GMT) Full text and rfc822 format available.

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

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 14954 <at> debbugs.gnu.org
Subject: Re: bug#14954: 24.3.50;
 eww doesn't not use browse-url-xdg-open properly?
Date: Mon, 02 Dec 2013 07:51:06 +0100
Jambunathan K <kjambunathan <at> gmail.com> writes:

> Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:
>
>> But why would you call an eww mode command in a different buffer?
>
> Shouldn't the command ask for what it needs, a URL?

Nope.  That's not how that command is meant to be used.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#14954; Package emacs. (Mon, 02 Dec 2013 08:15:02 GMT) Full text and rfc822 format available.

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

From: Jambunathan K <kjambunathan <at> gmail.com>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 14954 <at> debbugs.gnu.org
Subject: Re: bug#14954: 24.3.50;
 eww doesn't not use browse-url-xdg-open properly?
Date: Mon, 02 Dec 2013 12:07:24 +0530
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:

> But why would you call an eww mode command in a different buffer?

Shouldn't the command ask for what it needs, a URL?




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 30 Dec 2013 12:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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