From unknown Sun Jun 22 03:57:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56432: run-dig vs dig -- do we need both? Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2022 08:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 56432@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165718305413898 (code B ref -1); Thu, 07 Jul 2022 08:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jul 2022 08:37:34 +0000 Received: from localhost ([127.0.0.1]:55703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9N0w-0003c5-5y for submit@debbugs.gnu.org; Thu, 07 Jul 2022 04:37:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:56420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9N0q-0003bv-PW for submit@debbugs.gnu.org; Thu, 07 Jul 2022 04:37:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9N0q-0001ZC-Hu for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 04:37:28 -0400 Received: from mail-pf1-f179.google.com ([209.85.210.179]:35509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9N0p-0001iO-4f for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 04:37:28 -0400 Received: by mail-pf1-f179.google.com with SMTP id x184so4612349pfx.2 for ; Thu, 07 Jul 2022 01:37:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=TTUXzdCx1DPw0h9SgkqoB/vyYd4SoORFUTbj7ebvqNU=; b=F9q5dd/ZgXvqb7zO4yBWJVBhvcH5ErZwzhWoQgaO+UdpopT8+3dGp8DSWL6BE4UZ1U aVl0GjBipyzljTNhBl0muy7Tz1UB0mlflVX9KKSXkt/BvqsgplRZn3bKzvKPzsl7HFX9 0B6h76JMsg9JyWD5Ua0Qs47JL6iO++40K5iHmkwQu/8SkfznqFNujn4gvObCAt94bc8g 4f7qRQiwMtit7aE0lPi515RKNTb39TmgFy3T34jaJilktjj5VO5q4mUqAsgT2KDFte5r CtvC08pEWfxODtJpxHTJzjSagU1RB32Jar3WpRiWG+MjjJ2Oe7qCLw3uoz+X9SrjGRFD ircA== X-Gm-Message-State: AJIora/thBeoD6ZvEAuRg1k1Abd/inm5Px9tWsVLXv7DiXd9ioOn2/9n XX4UxgiFBuQq0Ef+ff+IbBRCT170cqxtWlptbL8o6smn X-Google-Smtp-Source: AGRyM1ugq7kqNBbTwRkLNjmcHlOVlk2q4d0a6RkTwhdt+Ag1GQJhr73jNq3tH4BzJlJS718xTNexf0jhidnyaoTd3fk= X-Received: by 2002:a17:902:7c0d:b0:16b:7dd2:626c with SMTP id x13-20020a1709027c0d00b0016b7dd2626cmr51296314pll.152.1657183045696; Thu, 07 Jul 2022 01:37:25 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 7 Jul 2022 01:37:25 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Thu, 7 Jul 2022 01:37:25 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.210.179; envelope-from=stefankangas@gmail.com; helo=mail-pf1-f179.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Severity: wishlist Do we really need both the `dig' and the `run-dig' commands? Should one of them be obsoleted? If we want to be able to specify both query-type and server, we could consider using double and triple prefixes for that. Or even write a transient. From unknown Sun Jun 22 03:57:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56432: run-dig vs dig -- do we need both? Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2022 08:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 56432@debbugs.gnu.org Received: via spool by 56432-submit@debbugs.gnu.org id=B56432.165718423215887 (code B ref 56432); Thu, 07 Jul 2022 08:58:01 +0000 Received: (at 56432) by debbugs.gnu.org; 7 Jul 2022 08:57:12 +0000 Received: from localhost ([127.0.0.1]:55729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9NJv-00048B-RR for submit@debbugs.gnu.org; Thu, 07 Jul 2022 04:57:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9NJr-00047k-Mf for 56432@debbugs.gnu.org; Thu, 07 Jul 2022 04:57:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UoqFzl6keo7w+YSipg4xYOmcaSv0tlJmwHAo25CzEls=; b=te9bEp3fy/kM5Dy+q1fEsRY949 lRpRrRpfO+YY6mSQ8OLE4JVbvzoctbsLvZwIxG6nhxHwB5+Kk1e6TSzzTSxS/Sz4rz76Ceqoubjxx HG09hZj9TafGRi39+VAHdBoEyR32D3nX2brjxvS0IO0uQu4hr0tjP18JwxqRCDF2XVhQ=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o9NJh-0006Dw-WA; Thu, 07 Jul 2022 10:57:00 +0200 From: Lars Ingebrigtsen In-Reply-To: (Stefan Kangas's message of "Thu, 7 Jul 2022 01:37:25 -0700") References: X-Now-Playing: Doubting Thomas's _Father Don't Cry_: "Turn A New Leaf" Date: Thu, 07 Jul 2022 10:56:55 +0200 Message-ID: <87r12xgv1k.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: > Do we really need both the `dig' and the `run-dig' commands? > > Should one of them be obsoleted? If we want to be able to specify both > query-type and server, we could consider using double and tr [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Kangas writes: > Do we really need both the `dig' and the `run-dig' commands? > > Should one of them be obsoleted? If we want to be able to specify both > query-type and server, we could consider using double and triple > prefixes for that. Or even write a transient. Looks like `run-dig' should be obsoleted (since it's just a wrapper around the "dig" program) and has worse output. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 22 03:57:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56432: run-dig vs dig -- do we need both? Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2022 09:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Stefan Kangas , 56432@debbugs.gnu.org Received: via spool by 56432-submit@debbugs.gnu.org id=B56432.165718590927000 (code B ref 56432); Thu, 07 Jul 2022 09:26:01 +0000 Received: (at 56432) by debbugs.gnu.org; 7 Jul 2022 09:25:09 +0000 Received: from localhost ([127.0.0.1]:55781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9Nky-00071Q-UI for submit@debbugs.gnu.org; Thu, 07 Jul 2022 05:25:09 -0400 Received: from mail-wm1-f44.google.com ([209.85.128.44]:43914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9Nku-00070h-0K for 56432@debbugs.gnu.org; Thu, 07 Jul 2022 05:25:07 -0400 Received: by mail-wm1-f44.google.com with SMTP id u12-20020a05600c210c00b003a02b16d2b8so10353759wml.2 for <56432@debbugs.gnu.org>; Thu, 07 Jul 2022 02:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=b7/cisrbDxF68AvLbtPvZe1Y4+ffhf0Ei8zGaJf1ZIo=; b=K9eRTiyhcwd2p/u2z3xHYYq59BYMiUoXD6md9N4qLIEkH7pRwiuUitLwR0o/U0X0mr few17k55CcZStWsby/CXQ5CCH/7xKKQnaVUNdT+yaYQo/fAJZW8xwsmBsvydqarNY6c3 ll1fEu78otvdY8r4qGfG/Lu9bnl0mNgWrIalHxgdwrmvtTz68zGpFFK7hoEJYhHkjo8o qd05PHz9yt6QZHRn3t1ypOJhI/FRhf48GKxSyXjosdqa2PSKCFR58gzgyb09zg81ownX L9gOFS1+Up+REOfChkoaeGZ7QCutWlayMAYXAsCoqwWFRGEOq+su7iMXt4Gskrx/lIWO HVhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=b7/cisrbDxF68AvLbtPvZe1Y4+ffhf0Ei8zGaJf1ZIo=; b=GF/OCyEwXALcxTJU18qw8bgGy70RXfyb0W7M4hK7MSELVSyxlYY6noA+44RTSCVHb7 Fw8zfhRx3B8g8NFTvaUN/4QN86BP9c+HTKwuYPCSb7YSzv3kRDlA3IZPuCrXxZ5d8m1T P7Tnnv4eZgNLm3Xo2F+72ERT54zHXTkI5M50kkPiHspJDvq68dAUhCxkaTafSI8eUseK P/fnNrs8D9ZIXV7qO9GNYsYXUfIV80YVuF1/OKQMJgTBGcMF72Z/WgUebxytqP4SHWwq mDcClWXufGaimGX58oRIeDuvKay1/Xj7yI867qhNWSdmQce+aP8WJmGket0R9gH/arYX v6tg== X-Gm-Message-State: AJIora8hi5QNixpIT0nBb93V0XWDagpplb+4L/URW+BCL5Tz6vZLfcV/ dzoLY2tAl6KnWxGtkZbcR+/ITuhzhLE= X-Google-Smtp-Source: AGRyM1vkpJXL6MwB6SNQqY8Vhug5Vk0jGfzWBmRzEUQfyirAEHb6a++hzI6bUYfSScfcPAGDgSyyxQ== X-Received: by 2002:a1c:4c0b:0:b0:3a1:92da:bddf with SMTP id z11-20020a1c4c0b000000b003a192dabddfmr3269848wmf.188.1657185897588; Thu, 07 Jul 2022 02:24:57 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:ff67:c6d5:9c19:297c]) by smtp.gmail.com with ESMTPSA id c3-20020adfef43000000b0021bab0ba755sm39355710wrp.106.2022.07.07.02.24.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 02:24:56 -0700 (PDT) From: Robert Pluim In-Reply-To: <87r12xgv1k.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 07 Jul 2022 10:56:55 +0200") References: <87r12xgv1k.fsf@gnus.org> Date: Thu, 07 Jul 2022 11:24:55 +0200 Message-ID: <87tu7tgtqw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Thu, 07 Jul 2022 10:56:55 +0200, Lars Ingebrigtsen said: Lars> Stefan Kangas writes: >> Do we really need both the `dig' and the `run-dig' commands? >>=20 >> Should one of them be obsoleted? If we want to be able to specify b= oth >> query-type and server, we could consider using double and triple >> prefixes for that. Or even write a transient. Lars> Looks like `run-dig' should be obsoleted (since it's just a wrapp= er Lars> around the "dig" program) and has worse output. For extra credit, add a =CA=BCserver=CA=BC arg to a wrapper around `dns-que= ry', and obsolete `dig' as well. Robert --=20 From unknown Sun Jun 22 03:57:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56432: run-dig vs dig -- do we need both? Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2022 09:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Robert Pluim Cc: Stefan Kangas , 56432@debbugs.gnu.org Received: via spool by 56432-submit@debbugs.gnu.org id=B56432.165718608527281 (code B ref 56432); Thu, 07 Jul 2022 09:29:01 +0000 Received: (at 56432) by debbugs.gnu.org; 7 Jul 2022 09:28:05 +0000 Received: from localhost ([127.0.0.1]:55794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9Nnp-00075w-2j for submit@debbugs.gnu.org; Thu, 07 Jul 2022 05:28:05 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9Nnm-00075Q-Be for 56432@debbugs.gnu.org; Thu, 07 Jul 2022 05:28:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=yWrHs2j0cpHEKJC4WAv4Z+pcbkUj456l9+WbfW3eZ3M=; b=vXlDfIJL6tg6pGWYfOdCZKuw1X HnYwOLQDqwqWypI60iNV+Hwe8fpvIOViEww9DIj7hKIeCph9Oo9qWl2wQJ5aSy2aPb2iNfsKR+QT1 6B63J0+JPtgPML9RN6NZKSf2CHxz4GkAm2kenzdB1i1k3PXDyIP0JmyrCD3zBPBveNhE=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o9Nnd-0006Re-BG; Thu, 07 Jul 2022 11:27:55 +0200 From: Lars Ingebrigtsen In-Reply-To: <87tu7tgtqw.fsf@gmail.com> (Robert Pluim's message of "Thu, 07 Jul 2022 11:24:55 +0200") References: <87r12xgv1k.fsf@gnus.org> <87tu7tgtqw.fsf@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVVTFksIyx/dYfR xsgOCQv///9l4j0tAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YHBwkaDnt6WsUAAAGcSURBVDjLddPt mYMgDADgiA4AlAEQOkBrbgBi2X+mS0A+vD7HLx9fAyGJsEBdwXtojwEUQq7L8MpjkQJ3vYZlfm8q kDEaIM8rFpCAGtqWKWAkQN3gRAYqAWGbISFs9QQV/Aw0wfIVUXcK7QxD/ETrBWqCc2cA2CSnxdjQ drEg3+gCBqaUbESGs4IblzAq4jM7AicB0+U0RHznFCrMxSggN5dbzOXQRu8C5guyelOHbXQpZPW6 AEA/jwnsK38QFgG1H323dYtHWmsEl3bAAxEj1giu1B1wgPkPli+4io4dzjgAKpAW/VwRWwVpx1oG Qv0B/jhigXgDGSPkRvAchA48nqA2gZ/7VtzBJBd5lAh9gZM+KSp7RQGKUpESEfK5a/kN0i65Ia4V uMrpcL1bFvEIDWxYdBtRauk663k0nN6v96FllR87AefUZi52sFuC0XKawCU/xiRhB30DmiCn8TfR tdXB2UOeIpJfW0kycKUKyFXS69HBO/Lye3FCh1fHZ0RkyrackiLfzjaghY+3pXlZczNCB1dA/kjT usTrF8cox9B0KrUDAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA3LTA3VDA5OjI2OjE0KzAwOjAw fwk7rwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNy0wN1QwOToyNjoxNCswMDowMA5UgxMAAAAA SUVORK5CYII= X-Now-Playing: AR Kane's _Single Collection (2)_: "Snow Joke " Date: Thu, 07 Jul 2022 11:27:52 +0200 Message-ID: <875yk9gtlz.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Robert Pluim writes: > For extra credit, add a =?UTF-8?Q?=CA=BCserver=CA=BC?= arg to a wrapper around `dns-query', > and obsolete `dig' as well. dns.el requires UDP, I think, so it wouldn't work on Windows? (Nor all DNS servers support TCP.) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Robert Pluim writes: > For extra credit, add a =CA=BCserver=CA=BC arg to a wrapper around `dns-q= uery', > and obsolete `dig' as well. dns.el requires UDP, I think, so it wouldn't work on Windows? (Nor all DNS servers support TCP.) On the other hand, I don't know whether the dig executable is available on Windows. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 22 03:57:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56432: run-dig vs dig -- do we need both? Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2022 09:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Robert Pluim Cc: Lars Ingebrigtsen , 56432@debbugs.gnu.org Received: via spool by 56432-submit@debbugs.gnu.org id=B56432.165718658728117 (code B ref 56432); Thu, 07 Jul 2022 09:37:01 +0000 Received: (at 56432) by debbugs.gnu.org; 7 Jul 2022 09:36:27 +0000 Received: from localhost ([127.0.0.1]:55802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9Nvv-0007JQ-3Y for submit@debbugs.gnu.org; Thu, 07 Jul 2022 05:36:27 -0400 Received: from mail-pf1-f172.google.com ([209.85.210.172]:34514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9Nvr-0007Iz-72 for 56432@debbugs.gnu.org; Thu, 07 Jul 2022 05:36:25 -0400 Received: by mail-pf1-f172.google.com with SMTP id 70so3147337pfx.1 for <56432@debbugs.gnu.org>; Thu, 07 Jul 2022 02:36:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ut9vVvPikNHh/G7N2n/3Yw+NOvi3+oRvJfODHwNwMH4=; b=a3ot6poxd7vhTSKRiExCIUpiVFqEPY1MEDkfsChOJYz6EIvxK7I3LHiKF2LdFb/wUh p+LPbs+Fl/RBYCIN6MaVGh5Jho/0ub4bwgSdZuCkLr4akoR+aES36uh/DU2W+8YnO5RI 7a/xEGEBXqF/q3djnP0iq9vJ1TarLbn7Wn1PyWNmSNaSyp+XTP7FbQU7xC8uKzs+tiwG M907VfojMjJRb5EzrDLnfCDqlvFP12yLzB/0G2nxjbSafR3bXR4Cx1qhX6BbdtlrPeym iAjjT8FqGQzyr9/Z1iwUOxrWETQtCr2cRb+I7vJQgyIyU9nA76XwxVCSJRQbpRG27SF/ q/GQ== X-Gm-Message-State: AJIora9tzoxGGb4onfmFAVU3NAetIYO0AUcCK8Gv/AuSAzkzCm7sBQJ1 zKPN5A5K6OEERrjQqSsHOLxtZ12k4IJkHjGyqUs= X-Google-Smtp-Source: AGRyM1tT/nGmhMlkxrD2Ptyu8QkVn42BNdJHTrf/DkFWG7e30gypmLtHgnfRFsjbJahLqdz71p6hYhgCliqjk8ndyeg= X-Received: by 2002:a17:903:2444:b0:16b:917e:3b04 with SMTP id l4-20020a170903244400b0016b917e3b04mr50090477pls.145.1657186577480; Thu, 07 Jul 2022 02:36:17 -0700 (PDT) MIME-Version: 1.0 References: <87r12xgv1k.fsf@gnus.org> <87tu7tgtqw.fsf@gmail.com> In-Reply-To: <87tu7tgtqw.fsf@gmail.com> From: Stefan Kangas Date: Thu, 7 Jul 2022 11:36:06 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) close 56432 29.1 thanks Robert Pluim writes: > Lars> Looks like `run-dig' should be obsoleted (since it's just a wra= pper > Lars> around the "dig" program) and has worse output. Thanks, now done (commit 707124d2b9). > For extra credit, add a =CA=BCserver=CA=BC arg to a wrapper around `dns-q= uery', > and obsolete `dig' as well. This part is left as an exercise for the reader. ;-) From unknown Sun Jun 22 03:57:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56432: run-dig vs dig -- do we need both? Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2022 10:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: rpluim@gmail.com, larsi@gnus.org, 56432@debbugs.gnu.org Received: via spool by 56432-submit@debbugs.gnu.org id=B56432.165719023910443 (code B ref 56432); Thu, 07 Jul 2022 10:38:01 +0000 Received: (at 56432) by debbugs.gnu.org; 7 Jul 2022 10:37:19 +0000 Received: from localhost ([127.0.0.1]:55864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9Osp-0002iN-Kc for submit@debbugs.gnu.org; Thu, 07 Jul 2022 06:37:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9Oso-0002i9-4c for 56432@debbugs.gnu.org; Thu, 07 Jul 2022 06:37:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9Osi-0007Hm-O0; Thu, 07 Jul 2022 06:37:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=SdqZ2RqIYb+96PGhbg/vY9DXkNdQH/I2/VrK2bPyB44=; b=AwFPr2uR3qOm 4S3iYk44PZi7n22CKxXvnuGIrZNG8IgAmfK3vCr8cUoigrQwrntmiWRrfj2WUEml0ofT707EDhxuK Aj+C41O5hfauwTIbj4JYjCSdRRtlaPihXS4CX0QZ4jTTNH/yQk8ftqY5FsE7caQQkLOeorHxVaxyF 618zxa9nKSrqwWTUPV4QvftOmmwXLO5myevTnmlgk6TJO7tnA2Dq1CAF3XtdqvbYil80mew5tDp6b lz+hYKTMBXaqUWhSReX+iF2ZPYEB9VouA6yxcLweOv5J7jCvZK7rXtwlH8Eu1o3rkSveYcwjXTwyM 2emrejpaf6WD7huUN4smDQ==; Received: from [87.69.77.57] (port=1773 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9Osh-0005YI-MD; Thu, 07 Jul 2022 06:37:12 -0400 Date: Thu, 07 Jul 2022 13:37:09 +0300 Message-Id: <83bku15huy.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Thu, 7 Jul 2022 11:36:06 +0200) References: <87r12xgv1k.fsf@gnus.org> <87tu7tgtqw.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: Lars Ingebrigtsen , 56432@debbugs.gnu.org > From: Stefan Kangas > Date: Thu, 7 Jul 2022 11:36:06 +0200 > > close 56432 29.1 > thanks > > Robert Pluim writes: > > > Lars> Looks like `run-dig' should be obsoleted (since it's just a wrapper > > Lars> around the "dig" program) and has worse output. > > Thanks, now done (commit 707124d2b9). Such a hurry... run-dig seems to be able to guess the host using net-utils-machine-at-point, something 'dig' doesn't. So if we want to tell people top use the latter, IMO we should teach 'dig' that trick. From unknown Sun Jun 22 03:57:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56432: run-dig vs dig -- do we need both? Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2022 10:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: rpluim@gmail.com, stefan@marxist.se, 56432@debbugs.gnu.org Received: via spool by 56432-submit@debbugs.gnu.org id=B56432.165719027910493 (code B ref 56432); Thu, 07 Jul 2022 10:38:02 +0000 Received: (at 56432) by debbugs.gnu.org; 7 Jul 2022 10:37:59 +0000 Received: from localhost ([127.0.0.1]:55868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9OtS-0002jB-Tt for submit@debbugs.gnu.org; Thu, 07 Jul 2022 06:37:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9OtQ-0002ix-IO for 56432@debbugs.gnu.org; Thu, 07 Jul 2022 06:37:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9OtL-0007MC-8a; Thu, 07 Jul 2022 06:37:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=apOdIfDujAoX+WtvPzmy76C8KB4l+uo6e17Bf+ZHFDA=; b=kY3SKytmqkg7 nLP+czZTXzyYfy6S7kaUTADyT37VnWmF0HvTjxxpJ5cNkq4vygA2ErqtJF5/4Wis+NV+jndjZVqzz hi+08yNsHmJJ6Z87E6JmTrI2AQl6bT8/EUworcd7TKqvwD8YGPrnXVDW4xfAJHD+QLUwfOT2eQau3 Ru97NXDMF921Nm5vBIO/38aWbJyMJbMieyWb+J1OXqJsAvvnuhHgE1wwSEjWwk3JkRhZKnXBEwJl6 urFVAKwNtGrRXJCyP//NQiWx7x3WnzMIES4X6qIbuqMjV0Hg3S034Q6p784z4hmBcL2Klca9WWCjq BJMuJFyNxDVNd5EbVjVG2A==; Received: from [87.69.77.57] (port=1812 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9OtK-0005oH-Nq; Thu, 07 Jul 2022 06:37:51 -0400 Date: Thu, 07 Jul 2022 13:37:47 +0300 Message-Id: <83a69l5htw.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <875yk9gtlz.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 07 Jul 2022 11:27:52 +0200) References: <87r12xgv1k.fsf@gnus.org> <87tu7tgtqw.fsf@gmail.com> <875yk9gtlz.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: Stefan Kangas , 56432@debbugs.gnu.org > From: Lars Ingebrigtsen > Date: Thu, 07 Jul 2022 11:27:52 +0200 > > On the other hand, I don't know whether the dig executable is available > on Windows. It is, albeit not by default: https://phoenixnap.com/kb/dig-windows From unknown Sun Jun 22 03:57:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56432: run-dig vs dig -- do we need both? Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2022 10:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Robert Pluim , Lars Ingebrigtsen , 56432@debbugs.gnu.org Received: via spool by 56432-submit@debbugs.gnu.org id=B56432.165719088511558 (code B ref 56432); Thu, 07 Jul 2022 10:49:02 +0000 Received: (at 56432) by debbugs.gnu.org; 7 Jul 2022 10:48:05 +0000 Received: from localhost ([127.0.0.1]:55873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9P3E-00030K-T6 for submit@debbugs.gnu.org; Thu, 07 Jul 2022 06:48:05 -0400 Received: from mail-pg1-f172.google.com ([209.85.215.172]:34791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9P39-0002yv-3t for 56432@debbugs.gnu.org; Thu, 07 Jul 2022 06:48:03 -0400 Received: by mail-pg1-f172.google.com with SMTP id g4so17786151pgc.1 for <56432@debbugs.gnu.org>; Thu, 07 Jul 2022 03:47:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6yadN0wJuOXBDe+39RVXbmAoTHcF+YkdA8vihRLYFkc=; b=V1WYaX5CaZ2K1sX24A2VBjRNqELXYWrYZcM1yUO1Aep/0RuSqy1Z7TjApoFyQ+nsAj cdMW4f6KCKkpnilpVPf6R29X0a8SKruk15D2DNx83i90qWzLQqZIuDjIkcO3qDwoO9pj WI8PYdayuBfAvbw9nD3ObSSlD8L0rOifqRkQJpKkd1BCMOpS3CBd12pCEMFGELFR3fh5 6XVYlss0xpURmiWkEN3sAcgAfOcvGtu+bsGU3NIoMJCaq3fdFWV4fX52pj0yLir+bWf4 WLe9zevFQ38Df6r/t+cs0Uq+EZlEquf5mkVXG6E7jOihdRjyBhK2mMDAI+8pnp69b9LU 1N1g== X-Gm-Message-State: AJIora8dsX9WPEfYCgtVKXZr9xJAg51OA1hlnSNRXgtjtxrd23iZMtlR GhownIY70VtENCtbvB4DJvqpmuryXd2GYGqlF48= X-Google-Smtp-Source: AGRyM1tCUjeiBFGXJYFeBqrwi86xQ/WfrVHBJrJcztu2S1wMOUjzdsSoO//umXIb1JnLnOVkoE7qvrJqUhKP6+Wh/Tk= X-Received: by 2002:a17:903:2444:b0:16b:917e:3b04 with SMTP id l4-20020a170903244400b0016b917e3b04mr50372354pls.145.1657190873333; Thu, 07 Jul 2022 03:47:53 -0700 (PDT) MIME-Version: 1.0 References: <87r12xgv1k.fsf@gnus.org> <87tu7tgtqw.fsf@gmail.com> <83bku15huy.fsf@gnu.org> In-Reply-To: <83bku15huy.fsf@gnu.org> From: Stefan Kangas Date: Thu, 7 Jul 2022 12:47:42 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Eli Zaretskii writes: > run-dig seems to be able to guess the host using > net-utils-machine-at-point, something 'dig' doesn't. So if we want to > tell people top use the latter, IMO we should teach 'dig' that trick. net-utils-machine-at-point does not seem very useful to me (it seems to pick up any word whether or not it looks like a domain name?), but perhaps we could use thing-at-point instead? From unknown Sun Jun 22 03:57:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56432: run-dig vs dig -- do we need both? Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2022 10:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: rpluim@gmail.com, larsi@gnus.org, 56432@debbugs.gnu.org Received: via spool by 56432-submit@debbugs.gnu.org id=B56432.165719115412022 (code B ref 56432); Thu, 07 Jul 2022 10:53:02 +0000 Received: (at 56432) by debbugs.gnu.org; 7 Jul 2022 10:52:34 +0000 Received: from localhost ([127.0.0.1]:55891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9P7Z-00037q-SO for submit@debbugs.gnu.org; Thu, 07 Jul 2022 06:52:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9P7R-00037X-9Y for 56432@debbugs.gnu.org; Thu, 07 Jul 2022 06:52:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43022) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9P7L-0000it-PR; Thu, 07 Jul 2022 06:52:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=W42eBmhL0MUw3C54KG8viIQLCWMD3h+JytQfsLG/TbU=; b=StyOqbENuYI+ FmVTMoAfs18Z5QrNvKezcGLzatvNxkBTz0J6KUGvt76D+7q/k/RuPcvsFgBvZcYcHNNyAZWE7dFT8 HR36a7sLfIqPA9xUIbnOg8SztumaFBZwubNDVTCt7+kR7svDQi956s/ZYPJdmpUu3mUJo4MblCJ9l oCiupNtLsM4C0Ll+6fJ6djg2TLHm8n4hWcPaJEhVwrI6LphJBqaOfvWYh5EokX8W4BknBXBryK0nl ovApGfagvwjuKkEgV6s8w9bcJ12mLhPMb6JRuiRjjIQR/+dpmgKV5a3fuk9eMaakZiIfGH+jHghVy y0eukJ8r72r+tbf5WWll5A==; Received: from [87.69.77.57] (port=2700 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9P7L-0004Lt-6x; Thu, 07 Jul 2022 06:52:19 -0400 Date: Thu, 07 Jul 2022 13:52:16 +0300 Message-Id: <837d4p5h5r.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Thu, 7 Jul 2022 12:47:42 +0200) References: <87r12xgv1k.fsf@gnus.org> <87tu7tgtqw.fsf@gmail.com> <83bku15huy.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Thu, 7 Jul 2022 12:47:42 +0200 > Cc: Robert Pluim , Lars Ingebrigtsen , 56432@debbugs.gnu.org > > Eli Zaretskii writes: > > > run-dig seems to be able to guess the host using > > net-utils-machine-at-point, something 'dig' doesn't. So if we want to > > tell people top use the latter, IMO we should teach 'dig' that trick. > > net-utils-machine-at-point does not seem very useful to me (it seems > to pick up any word whether or not it looks like a domain name?) Is it really any worse than not showing any possibly useful default at all? > but perhaps we could use thing-at-point instead? If thing-at-point can guess machines better, sure, why not? But if it isn't better, why not use net-utils-machine-at-point? From unknown Sun Jun 22 03:57:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56432: run-dig vs dig -- do we need both? Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2022 13:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Robert Pluim , Lars Ingebrigtsen , 56432@debbugs.gnu.org Received: via spool by 56432-submit@debbugs.gnu.org id=B56432.165720130312455 (code B ref 56432); Thu, 07 Jul 2022 13:42:01 +0000 Received: (at 56432) by debbugs.gnu.org; 7 Jul 2022 13:41:43 +0000 Received: from localhost ([127.0.0.1]:56052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9RlH-0003Ep-IC for submit@debbugs.gnu.org; Thu, 07 Jul 2022 09:41:43 -0400 Received: from mail-pg1-f175.google.com ([209.85.215.175]:42941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9RlF-0003Ea-DT for 56432@debbugs.gnu.org; Thu, 07 Jul 2022 09:41:42 -0400 Received: by mail-pg1-f175.google.com with SMTP id o18so17403442pgu.9 for <56432@debbugs.gnu.org>; Thu, 07 Jul 2022 06:41:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rIwURe1UbY3k6P7op+y7fNqwO9xaGSVOWdbj5KAw16Q=; b=b72yTx0V5g64bZalzFwxqDOWUy0xLwLSTK75Ahn5rLUWScE7hi8E+dXmAV7dqMJYpp YcLtP2ztX+WDt497w2xBZhQmJjS+fV6RvvdqAnR74qZlQPeU1ANW0EthyTVXikj0yGiO 61mkve3wBpUAOlcWVtpOJVRMR38lolT49xUEZiTIjLJFqzJIzY1wWoYIqeQWBt14xMw0 8hwHgnVKFSoHA1LKIINZEqcpQGRAvQJrjZjRbnoLtUF8SR8rik/iCJRTJZwE8IKn0egU 5NaEADSQxgmt7L/KNsfMrFI209C8CrC5wb5GfqNApEa4ADk2NaPWpBsRG995z31o/HpB lcVw== X-Gm-Message-State: AJIora/qXjwmVBdkPPwfWPZL4Cjb4vng05Z9ws5aIjctvLWPc2C2Ds/k cgee+h7W94VLiUETWzWs5RVujLUk+jFNTpl4NtQ= X-Google-Smtp-Source: AGRyM1uE9wS26G4VUJTraP5Wn2RSDxwWftILIx/PPpuViNN2lXOEKbcInBdSOxIvSqcRJHjiD0DuJUgFnJ3nATP2O54= X-Received: by 2002:a17:902:7c0d:b0:16b:7dd2:626c with SMTP id x13-20020a1709027c0d00b0016b7dd2626cmr52474338pll.152.1657201295379; Thu, 07 Jul 2022 06:41:35 -0700 (PDT) MIME-Version: 1.0 References: <87r12xgv1k.fsf@gnus.org> <87tu7tgtqw.fsf@gmail.com> <83bku15huy.fsf@gnu.org> <837d4p5h5r.fsf@gnu.org> In-Reply-To: <837d4p5h5r.fsf@gnu.org> From: Stefan Kangas Date: Thu, 7 Jul 2022 15:41:24 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Eli Zaretskii writes: > > net-utils-machine-at-point does not seem very useful to me (it seems > > to pick up any word whether or not it looks like a domain name?) > > Is it really any worse than not showing any possibly useful default at > all? I found it much worse, but this was mostly due to using the obsolete INITIAL-CONTENTS argument (which meant you had to delete that less than useful input to type something useful). So I've now changed `dig' to use a standard default instead (commit 7b84f9a5d8). > > but perhaps we could use thing-at-point instead? > > If thing-at-point can guess machines better, sure, why not? But if it > isn't better, why not use net-utils-machine-at-point? It seems like the ffap versions are strictly better, so I've replaced the net-utils-* versions with ffap-* (commit a651c309fd). From unknown Sun Jun 22 03:57:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56432: run-dig vs dig -- do we need both? Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2022 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Stefan Kangas , 56432@debbugs.gnu.org Received: via spool by 56432-submit@debbugs.gnu.org id=B56432.165720444619050 (code B ref 56432); Thu, 07 Jul 2022 14:35:02 +0000 Received: (at 56432) by debbugs.gnu.org; 7 Jul 2022 14:34:06 +0000 Received: from localhost ([127.0.0.1]:57528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9SZy-0004xC-HI for submit@debbugs.gnu.org; Thu, 07 Jul 2022 10:34:06 -0400 Received: from mail-wm1-f53.google.com ([209.85.128.53]:36456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9SZv-0004wh-QC for 56432@debbugs.gnu.org; Thu, 07 Jul 2022 10:34:05 -0400 Received: by mail-wm1-f53.google.com with SMTP id i128-20020a1c3b86000000b003a2ce31b4f8so1214755wma.1 for <56432@debbugs.gnu.org>; Thu, 07 Jul 2022 07:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=E5nqrh+41iGQ3LX5I4SGWsIvFgnnBG5pElBei6kcibA=; b=PmbOcPKI9OkyUyPijWmPo3/YBEdOUAVg0Y+6Lc8RDxjA4ZozoORuMMFAOK2Vcf1C8h cu9X1rW8kHaFINEqT8jTXmXIsEXOhyEc5TPhCb5Y2X5Vkb+xvuA7NG1/YpoiCQs12cmc TC6EQivNNERQF5UTEWjMa1dmWbuUs1RlvRHHqfXINGFYWo9QGEF/6CSeVk/GTbeMQEtv xcVFnTrcB4i1KVlqlnPUmQuD69sbBPNasP4pPI60J0dLZpJzx3eNFljFDhMw3AB9MphA d/wqXAbjnU/h/xkkC8QOaEyZey5mlqJPTWSVzxrVTmAFLIKcy/Oebc+aZHSjJHelKEDG 3aAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=E5nqrh+41iGQ3LX5I4SGWsIvFgnnBG5pElBei6kcibA=; b=1TCq4Y8YI0GrTHfqYHdY3nK3ZLxIUf9rYvrgH3LwbJnkoeuJ+uYVsXOAIunQ/V1uxe lfnl4X8FIsLGJJl2lobctYyKQtzRW2DoxRMxVE6Cq9gT+OCbLRdQPFtRgvqPYZ8gE3GH 1P3Wy+gPDWfbgl+PvJ268QlBHuNUQndR0XgVs14mQWdGppJN96giDbVwF1WAJRln746c 5m4pK/AizrdfjJ3J5rRU0lAQsThFSGfd0Od2cT7M+zBmZB8qStJM8LVY6sPUWp1XvOpv ipx0nIDZMqPACgk5cPyc1Tb2OJYddGyX7fIbnTn1EyJoF/NUdYNPUWrjNjJTSXwlNjKT NGbg== X-Gm-Message-State: AJIora8TaT2L+Kh7Ej+VdUfentxndhQwHwzSOujTve5kSIA6vBKnD2N4 kvw2xkt4mYyuqiX2Uvb8O/ZG/o2UFsY= X-Google-Smtp-Source: AGRyM1vNWvBQmfLa3JzcrqFEV7myIeYWWRvk7jp+d1QCAMTmk+vof5+0V5Qq7ij6hOiy6IrjtK+W9Q== X-Received: by 2002:a05:600c:4f48:b0:3a0:45dd:8bd5 with SMTP id m8-20020a05600c4f4800b003a045dd8bd5mr4973931wmq.80.1657204437542; Thu, 07 Jul 2022 07:33:57 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:ff67:c6d5:9c19:297c]) by smtp.gmail.com with ESMTPSA id z21-20020a1c4c15000000b0039c871d3191sm30063126wmf.3.2022.07.07.07.33.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 07:33:56 -0700 (PDT) From: Robert Pluim In-Reply-To: <875yk9gtlz.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 07 Jul 2022 11:27:52 +0200") References: <87r12xgv1k.fsf@gnus.org> <87tu7tgtqw.fsf@gmail.com> <875yk9gtlz.fsf@gnus.org> Date: Thu, 07 Jul 2022 16:33:56 +0200 Message-ID: <87mtdlgffv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Thu, 07 Jul 2022 11:27:52 +0200, Lars Ingebrigtsen said: Lars> Robert Pluim writes: >> For extra credit, add a =CA=BCserver=CA=BC arg to a wrapper around `= dns-query', >> and obsolete `dig' as well. Lars> dns.el requires UDP, I think, so it wouldn't work on Windows? (N= or all Lars> DNS servers support TCP.) It falls back to TCP on windows, so yes, it would not work with the small minority of servers that don=CA=BCt support TCP. All we need is Someone=E2=84=A2 to fix UDP support on Windows. Robert --=20