From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Van L Newsgroups: gmane.emacs.help Subject: Re: Help with PHP setup Date: Fri, 20 Jul 2018 12:32:20 +1000 Message-ID: <00C2B92C-44D4-428D-B58B-1980D5DE9963@scratch.space> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1532053859 11316 195.159.176.226 (20 Jul 2018 02:30:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2018 02:30:59 +0000 (UTC) To: Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 20 04:30:55 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgLC2-0002qi-Kr for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Jul 2018 04:30:54 +0200 Original-Received: from localhost ([::1]:46134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgLE9-0005Sc-Ba for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Jul 2018 22:33:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgLDb-0005QO-VR for help-gnu-emacs@gnu.org; Thu, 19 Jul 2018 22:32:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgLDY-0006o8-RP for help-gnu-emacs@gnu.org; Thu, 19 Jul 2018 22:32:31 -0400 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:53271) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fgLDY-0006nW-K3 for help-gnu-emacs@gnu.org; Thu, 19 Jul 2018 22:32:28 -0400 X-Originating-IP: 220.240.100.183 Original-Received: from epi.local (unknown [220.240.100.183]) (Authenticated sender: van@scratch.space) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id CC0D5C0003 for ; Fri, 20 Jul 2018 02:32:24 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.198 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117509 Archived-At: >> I am trying to set emacs up so that I can use it for PHP development. >>=20 >> What I am looking for:=20 >> 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. >>=20 >> I have tried the 'impatient-mode' and found it jittery. I do not = necessarily need 'Live-Preview' ... just update upon save. >>=20 >> If I can configure Emacs I won't have to bother learning other = editors and can concentrate on the learning. >=20 > 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=20 - 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 `
x
` in info.php? and see the = result in Firefox web browser as=20 https://php-dev.example.com/info.php=