unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14954: 24.3.50; eww doesn't not use browse-url-xdg-open properly?
@ 2013-07-26  3:08 Jambunathan K
  2013-11-15  5:00 ` Jambunathan K
  2013-12-01 13:30 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 7+ messages in thread
From: Jambunathan K @ 2013-07-26  3:08 UTC (permalink / raw)
  To: 14954


0. Install xdg-open
1. Put cursor on inside the URL below.

    http://thread.gmane.org/47B4E3B2.3050402@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@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








^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#14954: 24.3.50; eww doesn't not use browse-url-xdg-open properly?
  2013-07-26  3:08 bug#14954: 24.3.50; eww doesn't not use browse-url-xdg-open properly? Jambunathan K
@ 2013-11-15  5:00 ` Jambunathan K
  2013-12-01 13:30 ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 7+ messages in thread
From: Jambunathan K @ 2013-11-15  5:00 UTC (permalink / raw)
  To: 14954-done


OP here.  Closed.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#14954: 24.3.50; eww doesn't not use browse-url-xdg-open properly?
  2013-07-26  3:08 bug#14954: 24.3.50; eww doesn't not use browse-url-xdg-open properly? Jambunathan K
  2013-11-15  5:00 ` Jambunathan K
@ 2013-12-01 13:30 ` Lars Magne Ingebrigtsen
  2013-12-01 13:37   ` Jambunathan K
  1 sibling, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-12-01 13:30 UTC (permalink / raw)
  To: Jambunathan K; +Cc: 14954

Jambunathan K <kjambunathan@gmail.com> writes:

> 1. Put cursor on inside the URL below.
>
>     http://thread.gmane.org/47B4E3B2.3050402@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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#14954: 24.3.50; eww doesn't not use browse-url-xdg-open properly?
  2013-12-01 13:30 ` Lars Magne Ingebrigtsen
@ 2013-12-01 13:37   ` Jambunathan K
  2013-12-01 14:16     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Jambunathan K @ 2013-12-01 13:37 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 14954

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Jambunathan K <kjambunathan@gmail.com> writes:
>
>> 1. Put cursor on inside the URL below.
>>
>>     http://thread.gmane.org/47B4E3B2.3050402@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...





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#14954: 24.3.50; eww doesn't not use browse-url-xdg-open properly?
  2013-12-01 13:37   ` Jambunathan K
@ 2013-12-01 14:16     ` Lars Magne Ingebrigtsen
  2013-12-02  6:37       ` Jambunathan K
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-12-01 14:16 UTC (permalink / raw)
  To: Jambunathan K; +Cc: 14954

Jambunathan K <kjambunathan@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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#14954: 24.3.50; eww doesn't not use browse-url-xdg-open properly?
  2013-12-01 14:16     ` Lars Magne Ingebrigtsen
@ 2013-12-02  6:37       ` Jambunathan K
  2013-12-02  6:51         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Jambunathan K @ 2013-12-02  6:37 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 14954

Lars Magne Ingebrigtsen <larsi@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?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#14954: 24.3.50; eww doesn't not use browse-url-xdg-open properly?
  2013-12-02  6:37       ` Jambunathan K
@ 2013-12-02  6:51         ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-12-02  6:51 UTC (permalink / raw)
  To: Jambunathan K; +Cc: 14954

Jambunathan K <kjambunathan@gmail.com> writes:

> Lars Magne Ingebrigtsen <larsi@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





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-12-02  6:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-26  3:08 bug#14954: 24.3.50; eww doesn't not use browse-url-xdg-open properly? Jambunathan K
2013-11-15  5:00 ` Jambunathan K
2013-12-01 13:30 ` Lars Magne Ingebrigtsen
2013-12-01 13:37   ` Jambunathan K
2013-12-01 14:16     ` Lars Magne Ingebrigtsen
2013-12-02  6:37       ` Jambunathan K
2013-12-02  6:51         ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).