From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56432: run-dig vs dig -- do we need both? Date: Thu, 07 Jul 2022 13:52:16 +0300 Message-ID: <837d4p5h5r.fsf@gnu.org> References: <87r12xgv1k.fsf@gnus.org> <87tu7tgtqw.fsf@gmail.com> <83bku15huy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6783"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, larsi@gnus.org, 56432@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 07 12:54:59 2022 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 1o9P9u-0001YU-Vw for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Jul 2022 12:54:59 +0200 Original-Received: from localhost ([::1]:43572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9P9u-000140-38 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Jul 2022 06:54:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9P82-000720-QM for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 06:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9P82-0000oy-HW for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 06:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9P82-00038X-HY for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 06:53:02 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 56432-submit@debbugs.gnu.org id=B56432.165719115412022 (code B ref 56432); Thu, 07 Jul 2022 10:53:02 +0000 Original-Received: (at 56432) by debbugs.gnu.org; 7 Jul 2022 10:52:34 +0000 Original-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 Original-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 Original-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==; Original-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 In-Reply-To: (message from Stefan Kangas on Thu, 7 Jul 2022 12:47:42 +0200) 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" Xref: news.gmane.io gmane.emacs.bugs:236356 Archived-At: > 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?