GNU bug report logs - #31810
26.1; dig doesn't process parameters correctly when called interactivly

Previous Next

Package: emacs;

Reported by: Jens Lange <jens.lange.de <at> gmail.com>

Date: Wed, 13 Jun 2018 08:55:02 UTC

Severity: wishlist

Tags: confirmed

Found in version 26.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31810 in the body.
You can then email your comments to 31810 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#31810; Package emacs. (Wed, 13 Jun 2018 08:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jens Lange <jens.lange.de <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 13 Jun 2018 08:55:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jens Lange <jens.lange.de <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1;
 dig doesn't process parameters correctly when called interactivly
Date: Wed, 13 Jun 2018 03:50:32 +0200
[Message part 1 (text/plain, inline)]
Using GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30

How to reproduce:
1. Call dig interactively.
2. Enter: heise.de MX

Observed results:
...
;; QUESTION SECTION:
;heise.de\032MX.            IN  A
...
Expected results:
...
;; QUESTION SECTION:
;heise.de.                      IN      MX
...

Workaround:
Evalutating (dig "heise.de" "MX") gives expected results.
-- 
Mit freundlichen GrĂ¼ssen / With kind regards:
Jens Lange
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31810; Package emacs. (Wed, 13 Jun 2018 16:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 31810 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jens Lange <jens.lange.de <at> gmail.com>
Cc: 31810 <at> debbugs.gnu.org
Subject: Re: bug#31810: 26.1;
 dig doesn't process parameters correctly when called interactivly
Date: Wed, 13 Jun 2018 19:25:20 +0300
severity 31810 wishlist
thanks

> From: Jens Lange <jens.lange.de <at> gmail.com>
> Date: Wed, 13 Jun 2018 03:50:32 +0200
> 
> Using GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30
> 
> How to reproduce:
> 1. Call dig interactively.
> 2. Enter: heise.de MX
> 
> Observed results:
> ...
> ;; QUESTION SECTION:
> ;heise.de\032MX.            IN  A
> ...
> Expected results:
> ...
> ;; QUESTION SECTION:
> ;heise.de.                      IN      MX
> ...

"M-x dig" doesn't support the feature you expect when invoked
interactively: it only asks about the host, but doesn't support
getting the TYPE argument from the user.  You cannot provide both the
host and the type by typing a string with a blank, because the command
interprets that as the name of a host to query about.

IOW, this is a missing feature, not a bug.  Patches to add the missing
capabilities in interactive usage are welcome.

Thanks.




Severity set to 'wishlist' from 'minor' Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 13 Jun 2018 16:26:04 GMT) Full text and rfc822 format available.

Added tag(s) confirmed. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sat, 28 Sep 2019 18:09:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31810; Package emacs. (Thu, 24 Jun 2021 16:53:01 GMT) Full text and rfc822 format available.

Message #15 received at 31810 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Jens Lange <jens.lange.de <at> gmail.com>, 31810 <at> debbugs.gnu.org
Subject: Re: bug#31810: 26.1; dig doesn't process parameters correctly when
 called interactivly
Date: Thu, 24 Jun 2021 18:52:04 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> "M-x dig" doesn't support the feature you expect when invoked
> interactively: it only asks about the host, but doesn't support
> getting the TYPE argument from the user.  You cannot provide both the
> host and the type by typing a string with a blank, because the command
> interprets that as the name of a host to query about.
>
> IOW, this is a missing feature, not a bug.  Patches to add the missing
> capabilities in interactive usage are welcome.

I've now added this to Emacs 28 -- `C-u M-x dig' will prompt for a query
type.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 28.1, send any further explanations to 31810 <at> debbugs.gnu.org and Jens Lange <jens.lange.de <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 24 Jun 2021 16:53:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 23 Jul 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.