From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.help Subject: Re: Help with PHP setup Date: Fri, 20 Jul 2018 13:14:58 +0900 Message-ID: References: <00C2B92C-44D4-428D-B58B-1980D5DE9963@scratch.space> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1532060025 21302 195.159.176.226 (20 Jul 2018 04:13:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2018 04:13:45 +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 06:13:41 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 1fgMnP-0005JB-Mv for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Jul 2018 06:13:35 +0200 Original-Received: from localhost ([::1]:46341 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgMpU-00023n-V9 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Jul 2018 00:15:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgMov-0001vp-Bn for help-gnu-emacs@gnu.org; Fri, 20 Jul 2018 00:15:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgMos-0004px-3Q for help-gnu-emacs@gnu.org; Fri, 20 Jul 2018 00:15:09 -0400 Original-Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:41714) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgMor-0004oV-QK for help-gnu-emacs@gnu.org; Fri, 20 Jul 2018 00:15:06 -0400 Original-Received: by mail-pg1-x535.google.com with SMTP id z8-v6so5661891pgu.8 for ; Thu, 19 Jul 2018 21:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=ZkSWzk1R1RqiEvZcjTXDJ3xakacBLw01RQcXn5WSVcg=; b=u4lPOq+RMNoAToplKcciDcm6Ebwk2Ja08UeJ9E2bD5+TRn7tJA4CHiNcx6JpHwkR66 +BFPFCXimszXTLWII/YbdgVQEwBtjDvVkeaPONMT00lt3J3dlvbyeMXC3pEtN8oJUqs2 fNh4dmujQIGHNE59+2ALgGjzcCqoWwYfLxfgEQ4Q+IvYCweQB0W1jcHXljdt9s661Lx0 2SQPhoE11c5cYNJUz5h9pfW0I2hFpsgQIbz+VeqLKGce8vywGeqgx+VFVma7GbOAxI+J QmlhLQBQfWA1iIIUdQwNpeznVIhY/1yrWHTdSKSGWR6+ok70jYiIyH8E2NdAJW6/NsAa dRUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=ZkSWzk1R1RqiEvZcjTXDJ3xakacBLw01RQcXn5WSVcg=; b=VoE2LxO7G5a6Q9IreIEY0PTC8qbAY0JUUHAd5G8pvESWNN1XZWZT+ERp0Mn1ebY/yv uVDOQ/xHyAFZ+003bnV7GbuWRVvvQYgtyIuSGT4XXDumHI+DjThTrbdzkKIwVnpugyz6 aHBZnN9EYnUef/1oTYVsMUxpttSE1aHFMtpT7q648/j/jrIdDjhKxQ74sRdkb48aTLPS prbav6EslP5IOnyBWTHFel+3szc3UKh9cP/0Z/nQkNgH2SsAdBFL6XXNp6ZQRJ/wVl02 aIxLY6sJoASvlJybyrMHRtNn3yJU9voY6PBZ0MrpvkLZ50mcG/sBfN2D0el/i+5DYaQw vp9Q== X-Gm-Message-State: AOUpUlFbIzuJaXbsRl/uZrXuGaOboBWmdoyNlERo4DEvvy1rEeamF2zd Cu6FGCilhUT1bu+OOabrPK2Vcc0s X-Google-Smtp-Source: AAOMgpeWy5TizvjkzuqNJ91K2SnSQcKdEboA4gOIls0y77DGR+oVj+iY9kANh+mjsBF6Y1J7XrvVkg== X-Received: by 2002:aa7:8307:: with SMTP id t7-v6mr523821pfm.81.1532060103953; Thu, 19 Jul 2018 21:15:03 -0700 (PDT) Original-Received: from [10.254.2.135] ([210.160.37.46]) by smtp.gmail.com with ESMTPSA id h190-v6sm805730pge.85.2018.07.19.21.15.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jul 2018 21:15:02 -0700 (PDT) In-Reply-To: <00C2B92C-44D4-428D-B58B-1980D5DE9963@scratch.space> X-Mailer: Apple Mail (2.3445.9.1) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::535 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:117511 Archived-At: > On Jul 20, 2018, at 11:32, Van L wrote: >=20 >=20 >>> 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 ? >=20 > At a guess, are you trying to do the following? >=20 > - You have a host: php-dev.example.com=20 >=20 > - You have a file there = /-:php-dev.example.com:/usr/local/site/info.php >=20 > - You have ssh terminal access using `ssh php-dev.example.com` >=20 > - 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 Something like this except I'm working on localhost with a running = Apache server etc. Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune