From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vincenzo Pupillo Newsgroups: gmane.emacs.bugs Subject: bug#72966: 30.0.90; [PATCH] php-ts-mode: custom php.ini config for the built-in php webserver Date: Mon, 02 Sep 2024 16:52:24 +0200 Message-ID: <4744299.vXUDI8C0e8@fedora> References: <5614567.rdbgypaU67@fedora> <86bk16877q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14742"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72966@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 02 16:55:16 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sl8SZ-0003f3-S7 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Sep 2024 16:55:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sl8SN-0001M1-6y; Mon, 02 Sep 2024 10:55:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sl8SL-0001Fl-JW for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2024 10:55:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sl8SL-0007xB-AK for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2024 10:55:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=S8jQDE5PFzh05XBpRw/jsuNVUsJv6XPURWmc7xYn9oU=; b=Ng1Q1Tx1He+rZ5OCdTl9Oc7rZENXL3jd/3vn9P4IbhvUmkzCT4ZfOqD6/gJw3DHj24JdwgVQJBGWF8UxWPGWHrv0TSfObt34u1JRbMBTVXImIGSFzc6jxZD+JgCTfnrBbS5fHHVxrd8vn/vENBncwtn9es6gur4UXHMGspvf2makiBltItd5ACy4nfJbOfjJ4O9Ih5dqNE48p14GQYKbZY0/md/pTZu9nr0OfMYAXvb6LruukURn5SEl6Uumt4DvmddjgkIQesSeQ5PdZ8Ux287X2VKs6pIr2bpmL0gu4gKPYLdjflTl0mXyGcXOhHDHRE7HplJj3s6ylTjXN2Q1Ng==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sl8TJ-0000R0-Pp for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2024 10:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincenzo Pupillo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Sep 2024 14:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 72966-submit@debbugs.gnu.org id=B72966.17252889101524 (code B ref 72966); Mon, 02 Sep 2024 14:56:01 +0000 Original-Received: (at 72966) by debbugs.gnu.org; 2 Sep 2024 14:55:10 +0000 Original-Received: from localhost ([127.0.0.1]:49907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sl8ST-0000OW-Nv for submit@debbugs.gnu.org; Mon, 02 Sep 2024 10:55:10 -0400 Original-Received: from mail-ej1-f44.google.com ([209.85.218.44]:49322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sl8Rs-0000MZ-Tk for 72966@debbugs.gnu.org; Mon, 02 Sep 2024 10:54:34 -0400 Original-Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a8a1acb51a7so32641366b.2 for <72966@debbugs.gnu.org>; Mon, 02 Sep 2024 07:53:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725288746; x=1725893546; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=S8jQDE5PFzh05XBpRw/jsuNVUsJv6XPURWmc7xYn9oU=; b=eKSl55+t7AK0n3YDlpNqZjNinKa0ZvWF1jOslt2Ei1fo64Am/mXejI6zFxy7QmfcCf VphFoNm5pcdyXD62fzN63acMJXxTGUniCoT4iLQdmdis/KpSYKF8ECXQDcjDglLE6z0Y Zm9CLgS60M71xwKOaUXo/lNGQxzlrovEhGB8qelZfcrZTiwz3t5gvTEiOi+8TQSshQwq qnO1RWJbbAb0J9R/foVraIVbz/JuHe+W/0n4g7Ae8nif6S/jbee5hE9tMO4bmWyiFLsi GiMACljwWhc1RIXgWVq6a//k8q/B/iY/NlaJf3ncJOr5a4iFcboF7Om6RKqGOLW31Nae iLDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725288746; x=1725893546; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S8jQDE5PFzh05XBpRw/jsuNVUsJv6XPURWmc7xYn9oU=; b=aWkcQlw3zimDPDxihO6iI4YyAnwN03jdg1OTOVkw7PJwiADC2VvQ0ucGcOTNNhl4NO VjEPp/2MuwdoZ9FjP1peFXpQ137nbchvx5+KndYebVe0FGtihkO63H84R1i1QeQauE3f dqm9SlP/iU5fd6xBuYtGbdMonOn964Tl+moLJK5JVj6zEsR86556leA6Tek2roFJb68J cJavZmqc2ELLKkdR+7Ew+ehZnKNK50+abbu7o/+mWEKm9ZT2QQWPSDQ0G5+aGxNNe2oJ m2T5wmS+rkE+raUULhMpACzSh3lh3kbEYBIBUtwy3I2kQhAqxkUBUg9woRsZTTQy/Okl 7opQ== X-Gm-Message-State: AOJu0YwLedsHqWEAQSWpghx9zaqAZ3EHzfZzoCHKgT34oAgxseh9bbSV 1NGpd8Rafxa9Z9Q/54Tru35gxD/mP5y/WJk90yf/C/uEGMSvmnW39v4rFA== X-Google-Smtp-Source: AGHT+IFFFq4iKzp8jGVOVXE+g/6ASqYJzHethSnNFz1hkJVNPqQ8cr9vtivT3VA00zzhj3Ypw5inLw== X-Received: by 2002:a17:907:948f:b0:a86:a417:72d2 with SMTP id a640c23a62f3a-a8a1d32689cmr25171966b.35.1725288745626; Mon, 02 Sep 2024 07:52:25 -0700 (PDT) Original-Received: from fedora.localnet (2-230-139-124.ip202.fastwebnet.it. [2.230.139.124]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a898909253asm570726966b.93.2024.09.02.07.52.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2024 07:52:25 -0700 (PDT) In-Reply-To: <86bk16877q.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291109 Archived-At: Ok, thanks.=20 I will fix ASAP. Vincenzo. In data luned=C3=AC 2 settembre 2024 16:23:53 CEST, Eli Zaretskii ha scritt= o: > > From: Vincenzo Pupillo > > Date: Mon, 02 Sep 2024 15:29:23 +0200 > >=20 > > Ciao, > > this patch adds a new CONFIG attribute to 'php-ts-mode-run-php-webserve= r' > > that allows you to specify an alternative php.ini file to the default (= or > > whatever is specified in 'php-ts-mode-php-config'). >=20 > Thanks. >=20 > > -(defun php-ts-mode-run-php-webserver (&optional port hostname > > document-root - =20 > > router-script num-of-workers) +(defun php-ts-mode-run-php-webserver > > (&optional port > > + hostname > > + document-root > > + router-script > > + config > > + num-of-workers) > >=20 > > "Run PHP built-in web server. >=20 > This changes a public API in backward-incompatible way, something we > don't do, because it could break someone's code out there. (It is > true that php-ts-mode was introduced in Emacs 30, but that version is > already in pretest and will be released soon, so I don't think we can > change this there, either.) >=20 > So please find a backward-compatible way of adding this feature, > perhaps add the new CONFIG argument as the last one? >=20 > Also, I think this needs a NEWS entry describing the change in > behavior.