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: Sat, 21 Jul 2018 22:17:24 +0900 Message-ID: <0B99031B-209E-4828-BD1B-416E1E09F497@gmail.com> References: <20180720165431792380014@bob.proulx.com> <441C26FC-5F31-4C6E-A201-56FBAC5070D0@gmail.com> <20180720215215494599155@bob.proulx.com> 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 1532178957 22458 195.159.176.226 (21 Jul 2018 13:15:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 21 Jul 2018 13:15:57 +0000 (UTC) To: Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 21 15:15:53 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 1fgrjk-0005kf-Qf for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Jul 2018 15:15:52 +0200 Original-Received: from localhost ([::1]:52421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgrlr-0006xA-P5 for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Jul 2018 09:18:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgrlP-0006x5-Os for help-gnu-emacs@gnu.org; Sat, 21 Jul 2018 09:17:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgrlK-0003dr-Tz for help-gnu-emacs@gnu.org; Sat, 21 Jul 2018 09:17:35 -0400 Original-Received: from mail-pl0-x22d.google.com ([2607:f8b0:400e:c01::22d]:42046) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgrlK-0003dB-In for help-gnu-emacs@gnu.org; Sat, 21 Jul 2018 09:17:30 -0400 Original-Received: by mail-pl0-x22d.google.com with SMTP id z7-v6so4565977plo.9 for ; Sat, 21 Jul 2018 06:17:30 -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=uDo9sna63EhgTGtrRTeXQs75OmQCb+wMjYd6sW2a2EE=; b=OPlLNoAnTsi5VTKhGBltc+VBgDakQJBAgWE0/3fjv2oTrSqYdkB23c3sioVXr2Hs02 7DHumZhGMIZdx/5vWiRLe3F38V+1zzPfGx1AfVqNInQBnOGG3/itue6X9+bfmB4oKVQv pKW+tsmROSmK1PByloJBO8cnAjqSkakmIqsrpGoJHXHeyghslNJ8zP/EQlJ31BemFhna 9rTfQmsY7bifXINoNeWPt7hOB25x47fIoRB9MyqtIV282/z8ZtisH8oxlRwSXJUJk6HJ zr3oMzzunRrBoA8BdjKb/5gxkYSmkDIZ9QgTxeHYiXKcsWVQTcKYfo8Ps97v5LE0kKRf lWrw== 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=uDo9sna63EhgTGtrRTeXQs75OmQCb+wMjYd6sW2a2EE=; b=PB1MaVmsU4wKoYZMBsFjtbRfrHAzfyWnnEsuvL2yuJE77gX60Ds6/bZgx8ItuXF7e1 TimXp5iG/GxxicPQLzzhwfr3BkKtyh44s9H2AEohwPAtb9ThJt8W3N3L3/gY++wUxu9p hMN2Pr1X1VDdvBVTrM3yZTlTUcblwOtM6yGMSglamcGrpsPz4qXHO3YYUMNeaFQTTru5 6U5mx4768rCW/QjRD3wLLgDVmdR18DbcY42OIJ4pLK2BwOBJPloz9cPXGrcTLS9eJrgV Nn7xjAyG5/V9/FcbnNyzxvRxKuFnX/HCQZFQFHXlckEzQehibJTUhESlfing8KegVmg/ BoTw== X-Gm-Message-State: AOUpUlF5zpnQEhjIQQ7xMSbxH6WolzqgAfS5ba1Wlk7YzuRG+4bWnWvO VsiijaNOxDFI/Gqv4MeJkfZjuNK51fc= X-Google-Smtp-Source: AAOMgpchbzxCft/knYSNn1s5uH1pk3aymsX7MplXiXE1h27Es4+m23yKUTXadf2M77HCOjOERCXVwA== X-Received: by 2002:a17:902:8486:: with SMTP id c6-v6mr5752609plo.283.1532179049083; Sat, 21 Jul 2018 06:17:29 -0700 (PDT) Original-Received: from [192.168.1.7] (pl36180.ag0304.nttpc.ne.jp. [133.232.212.84]) by smtp.gmail.com with ESMTPSA id 21-v6sm11429176pgx.20.2018.07.21.06.17.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Jul 2018 06:17:28 -0700 (PDT) In-Reply-To: <20180720215215494599155@bob.proulx.com> 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:400e:c01::22d 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:117535 Archived-At: > On Jul 21, 2018, at 12:53, Bob Proulx wrote: >=20 > 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. >=20 > 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. >=20 > As I said, someone will prove that it is possible. :-) ... knock on wood ... Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune