From: Jean-Christophe Helary <brandelune@gmail.com>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Help with PHP setup
Date: Fri, 20 Jul 2018 13:14:58 +0900 [thread overview]
Message-ID: <C981EDA9-045B-44AF-8D9F-CB8140B965C7@gmail.com> (raw)
In-Reply-To: <00C2B92C-44D4-428D-B58B-1980D5DE9963@scratch.space>
> On Jul 20, 2018, at 11:32, Van L <van@scratch.space> wrote:
>
>
>>> I am trying to set emacs up so that I can use it for PHP development.
>>>
>>> What I am looking for:
>>> a) A way to open the files, via my vagrant or lampp setup, in the browser.
>>> b) Update the view in the browser as I save changes to the file in the editor.
>>> c) Switch the view in the browser as I switch from file to file and continue to see the updates upon save.
>>>
>>> I have tried the 'impatient-mode' and found it jittery. I do not necessarily need 'Live-Preview' ... just update upon save.
>>>
>>> If I can configure Emacs I won't have to bother learning other editors and can concentrate on the learning.
>>
>> Same here. Any hint on how to do a live update in localhost or somewhere where the php code can be run ?
>
> At a guess, are you trying to do the following?
>
> - You have a host: php-dev.example.com
>
> - You have a file there /-:php-dev.example.com:/usr/local/site/info.php
>
> - You have ssh terminal access using `ssh php-dev.example.com`
>
> - You want to add the line `<pre>x</pre>` in info.php? and see the result in Firefox web browser as
> https://php-dev.example.com/info.php
Something like this except I'm working on localhost with a running Apache server etc.
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
next prev parent reply other threads:[~2018-07-20 4:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-15 20:10 Help with PHP setup taariqq
2018-07-19 23:57 ` Jean-Christophe Helary
2018-07-20 2:32 ` Van L
2018-07-20 4:14 ` Jean-Christophe Helary [this message]
2018-07-20 5:47 ` Van L
2018-07-20 7:46 ` Jean-Christophe Helary
2018-07-20 7:52 ` Van L
2018-07-20 23:10 ` Bob Proulx
2018-07-20 23:37 ` Jean-Christophe Helary
2018-07-21 3:53 ` Bob Proulx
2018-07-21 13:17 ` Jean-Christophe Helary
2018-07-22 13:56 ` Jean-Christophe Helary
2018-07-22 15:20 ` Jean-Christophe Helary
2018-07-22 15:36 ` Noam Postavsky
2018-07-22 15:44 ` Jean-Christophe Helary
2018-07-22 15:53 ` Jean-Christophe Helary
[not found] ` <mailman.3937.1532129854.1292.help-gnu-emacs@gnu.org>
2018-07-21 3:38 ` Rusi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C981EDA9-045B-44AF-8D9F-CB8140B965C7@gmail.com \
--to=brandelune@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).