* bug#31810: 26.1; dig doesn't process parameters correctly when called interactivly
@ 2018-06-13 1:50 Jens Lange
2018-06-13 16:25 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Jens Lange @ 2018-06-13 1:50 UTC (permalink / raw
To: 31810
[-- Attachment #1: Type: text/plain, Size: 460 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 921 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#31810: 26.1; dig doesn't process parameters correctly when called interactivly
2018-06-13 1:50 bug#31810: 26.1; dig doesn't process parameters correctly when called interactivly Jens Lange
@ 2018-06-13 16:25 ` Eli Zaretskii
2021-06-24 16:52 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2018-06-13 16:25 UTC (permalink / raw
To: Jens Lange; +Cc: 31810
severity 31810 wishlist
thanks
> From: Jens Lange <jens.lange.de@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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#31810: 26.1; dig doesn't process parameters correctly when called interactivly
2018-06-13 16:25 ` Eli Zaretskii
@ 2021-06-24 16:52 ` Lars Ingebrigtsen
0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-06-24 16:52 UTC (permalink / raw
To: Eli Zaretskii; +Cc: Jens Lange, 31810
Eli Zaretskii <eliz@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-06-24 16:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-13 1:50 bug#31810: 26.1; dig doesn't process parameters correctly when called interactivly Jens Lange
2018-06-13 16:25 ` Eli Zaretskii
2021-06-24 16:52 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.