From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Breton via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71438: [PATCH] Allow ping to receive optional arguments Date: Sat, 8 Jun 2024 18:48:26 +0000 (UTC) Message-ID: <83570870.1952031.1717872506250@mail.yahoo.com> References: Reply-To: Peter Breton Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1952030_1928263159.1717872506249" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36182"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71438@debbugs.gnu.org To: torsi@fi.uba.ar, pbreton@cs.umb.edu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 09 07:34:31 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 1sGBCJ-0009Cb-D9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Jun 2024 07:34:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGBBc-00071Y-Ck; Sun, 09 Jun 2024 01:33:48 -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 1sGBBa-00070E-V8 for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2024 01:33:47 -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 1sGBBa-00057j-NT for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2024 01:33:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sGBBq-00015L-Ki for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2024 01:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Peter Breton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Jun 2024 05:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71438 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17179112294115 (code B ref -1); Sun, 09 Jun 2024 05:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Jun 2024 05:33:49 +0000 Original-Received: from localhost ([127.0.0.1]:41131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGBBa-00014F-SF for submit@debbugs.gnu.org; Sun, 09 Jun 2024 01:33:48 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:51546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sG17X-0006TW-FF for submit@debbugs.gnu.org; Sat, 08 Jun 2024 14:48:58 -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 1sG17G-0002jv-Ub for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 14:48:39 -0400 Original-Received: from sonic306-2.consmr.mail.bf2.yahoo.com ([74.6.132.41]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sG17E-00088N-SQ for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 14:48:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1717872512; bh=juntNDNDM5EWQ5h0UBC26NJXY3rU5jTJKwvtSmw34Y4=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=LzvgGl7uxi8GCZL7suaqGUlXRglmMPuozxM08aHJhps5SZPd+XCDe2sfiPWgA2Rn2XM2tZ9UMnjmoGveh7+5JtmFfYxbzBVeq0cOv79NGHR/ctH3we7lu+0MqWm2Sl9kvd0Y2kwSLGwSyI3Wy5hv1yWv78lJLjXFa5eNfoXnaQXIVxte4ND0021gJripa8t0EcM/PKT8RYDpXUNiQie/QCPaZDk6yYN6sIgELbuf9vfmv2awLYhl1rwF2+0gbJgw6BhU26bcNssz2dLOlKbufOIyIT3z2BLbUmTBua0Q2fPGo0jPWWcmtrr3XvTJpdObSb/BajWSmvec4t8VBsh5yA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1717872512; bh=yHTqvuDIAFVMbEgbAcdppUvjXOypCYW/YQhmhi1UBo5=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=gDm0rn9tZbomtVVyyfJwT93Fd15IlhcgtqGJVuSFAOGT+V5xDmMJX8lIzWoUVcPmxbtHl3FKxiI13H9LfJS9Cw60rSAQ0ZrausTDnNzIAAlFxaXrCQR6Z/zQ/NCrqatwqZW/KlJYYzoAaLz4PcN7ip2cOf7AmkSqIJKIKp1DXPZamL4VdgbpaFfVv5f3ynjL9XLfqzgBQdqYgUwvdBttCSoz4pK/iBCjBELNgzsXeMSTPkGi0hPEiGRs34VC3u8MAOjfAk7EcK67k3fYNrhsNoa4PQD/9eCAJN7Cbg7fpwnadffPJ6NkRAF+K7QRzM+j3SegvQ6PC5e4tEPP0MEQsw== X-YMail-OSG: dW38KU0VM1m8Os8ghb9hnVTwlWIEj1UO6GtPr3mP4PN6cZg6LvNiK3MM5F95g7V 0CPR_qwRWr.liC1BVHiNNUgS6..2Bn4pTZX_4eYQ8pFFhDemXUewoUP1E2Rt85jz0Kp5ZRHAgXDX 3od7pYedD6mTKtdHweJi1neuEbYymtezZKUXXRghqxInGa6Oo1AklS6N5VdNpoezMfyZuMflFpNj SWy0xYnrAy61LtilJImMe9rhf6WBymI6KX3yiI1ncdiEipqR.ezOHHOqRXmTLKUf8tMdKY48hi5k FM.AYBI4.AKWlVhEqIEzc0vBMtq2ih2udrbqy0lotVdXSqsx8FQOvpYav4L6abF.CnyptlUa2Fko 5f9zDVw99CbsCyk2_qkXEqs9twhpiQW0d6FyuVSgHRADZBHbjI7zT1sA.7DJxKqfOJv8Wxhe.Xis IeBWgd_zECpnlzCn3KPgsz2nNJU8VXU1dUtCu23Fkw.i92C19vGbl8JAvNSEjr3eEDxyCqk3nVQE zLP7_COGHN.JGsi8A6_YH5cJeehLw1sKDUPxTgGAbxsbhQm7rWwPSmvB_x7hvv.yOeTW_mY1K.eb ltCZX8ROWCJ58YvNOC_sjwHjg_A8W7sIDJk6jrl26k5dC.nAemE_2AEnKWGCiP5ol22KJrsa0ole k.L4HgeppTWURfHA.ghoYyXQRs5fOYqt2Vv2IJw_s96MY_Cp1ylCPWQCRpywGv2vuSddI2_IRAS0 OQ5x8nI7Yldrdl7SFvPfwsV_gVEHHssaKZUryCJOqlSzG_sbWUiq7sgnrF6JxRlahcDGUIXjoPa3 p9e37rYlmOQUKtGXVe0FKySuzFiU8gfAW4CCkzOhiu X-Sonic-MF: X-Sonic-ID: 2a348920-75d5-4a7f-9b76-dc81b5f9e3f1 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.bf2.yahoo.com with HTTP; Sat, 8 Jun 2024 18:48:32 +0000 In-Reply-To: X-Mailer: WebService/1.1.22407 YahooMailAndroidMobile Received-SPF: pass client-ip=74.6.132.41; envelope-from=peter_breton@yahoo.com; helo=sonic306-2.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 09 Jun 2024 01:33:45 -0400 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: , X-ACL-Warn: , Peter Breton 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:286914 Archived-At: ------=_Part_1952030_1928263159.1717872506249 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Looks good to me =F0=9F=98=80=C2=A0 Peter=20 =20 On Sat, Jun 8, 2024 at 11:28 AM, TOMAS FABRIZIO ORSI wro= te: Hi! This small patch makes it so that the "ping" interactive=C2=A0fun= ction can receive optional arguments.This allows the caller to change its a= rgument every time. If no=20 arguments are passed, the default variable will be used. Prior to this (if I am not mistaken), one had to change the=C2=A0variable e= ach time. I would love to get some feedback! Thanks in advance. Version: GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu,=20 GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-05-18 PS: This is my first time sending an email to the emacsmailing list. I CC'd= =C2=A0 bug-gnu-emacs@gnu.org because it=20 was the address that the CONTRIBUTE file stated one=20 should send patches to. I apologize in advance if I madea mistake. =20 ------=_Part_1952030_1928263159.1717872506249 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Looks good to me =F0=9F=98=80 

Peter

On Sat, Jun 8, 20= 24 at 11:28 AM, TOMAS FABRIZIO ORSI
<torsi@fi.uba.ar> wrote= :
=
Hi! This small patch makes it so that the "ping" interactive 
function can receive optional arguments.
This allows the c= aller to change its argument every time. If no
arguments are= passed, the default variable will be used.

Pr= ior to this (if I am not mistaken), one had to change the 
v= ariable each time.

I would love to get some feedba= ck! Thanks in advance.

Version: GNU Emacs 29.3= (build 1, x86_64-pc-linux-gnu,
GTK+ Version 3.24.41, cairo version 1.1= 8.0) of 2024-05-18

PS: This is my first time s= ending an email to the emacs

------=_Part_1952030_1928263159.1717872506249--