help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with PHP setup


From: Jean-Christophe Helary
Subject: Re: Help with PHP setup
Date: Sat, 21 Jul 2018 22:17:24 +0900


> On Jul 21, 2018, at 12:53, Bob Proulx <bob@proulx.com> wrote:
> 
> Jean-Christophe Helary wrote:
>> So we can actually have a function that replaces the path part of
>> the file by a localhost url and run a command that opens that in the
>> default browser.
> 
> Won't that stack up new tabs endlessly?  Or at least every time the
> function runs, which as I understand it would be every time the buffer
> was saved to a file?

That's a possibility. On macOS I can see how some AppleScript glue can help 
target a given tab or do something similar. I don't know how natively 
scriptable are browsers on Linux or Windows so a solution targeting a given tab 
is unlikely to be portable...


>> Nothing icky about it, we just need the correct parameters to put
>> that together.
> 
> As I said, someone will prove that it is possible.  :-)

... knock on wood ...


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune




reply via email to

[Prev in Thread] Current Thread [Next in Thread]