unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41859: 27.0.91; docstring for 'man' command
@ 2020-06-14 18:46 Ron Mitchell
  2020-06-20  8:37 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Ron Mitchell @ 2020-06-14 18:46 UTC (permalink / raw)
  To: 41859

[-- Attachment #1: Type: text/plain, Size: 7260 bytes --]


C-h f man (describe-function "man")

brings up the docstring for the 'man' function. Several of the usages
described involve an argument string containing a space, namely

1 cat
-a chmod
-l somefile.1
-k pattern

But these argument strings cannot be entered because argument entry is
performing a completing read on available man pages.

The 'Info' documentation does not mention these usages.


In GNU Emacs 27.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
of 2020-04-30 built on tessa
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Linux Mint 19.3

Recent messages:
Invoking man krc.1 in the background
Can't find the krc.1 manpage
Invoking man ./krc.1 in the background
./krc.1 man page formatted
Mark saved where search started
Quit [2 times]
Mark saved where search started
Type C-x 1 to delete the help window, C-M-v to scroll help.
GNU Emacs 27.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) 
of 2020-04-30
previous-line: Beginning of buffer
previous-line: Beginning of buffer
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER LCMS2 GMP

Important settings:
value of $LANG: en_GB.UTF-8
locale-coding-system: utf-8-unix

Major mode: Help

Minor modes in effect:
global-magit-file-mode: t
magit-auto-revert-mode: t
global-git-commit-mode: t
async-bytecomp-package-mode: t
org-roam-mode: t
override-global-mode: t
helm-cider-mode: t
shell-dirtrack-mode: t
display-time-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
line-number-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail tabify man macrostep-c cmacexp
macrostep cc-mode-expansions cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs cl-print eieio-opt speedbar
sb-image ezimage dframe help-fns radix-tree doc-view jka-compr
image-mode exif make-mode org-clock view cal-china lunar solar cal-dst
cal-bahai cal-islam cal-hebrew holidays hol-loaddefs diary-lib
diary-loaddefs cal-iso magit-bookmark magit-submodule magit-obsolete
magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull
magit-fetch magit-clone magit-remote magit-commit magit-sequence
magit-notes magit-worktree magit-tag magit-merge magit-branch
magit-reset magit-files magit-refs magit-status magit magit-repos
magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff
magit-core magit-autorevert autorevert filenotify magit-margin
magit-transient magit-process magit-mode git-commit transient magit-git
magit-section magit-utils crm log-edit pcvs-util add-log with-editor
async-bytecomp server calc-menu calc-aent calc calc-loaddefs calc-macs
mule-util cal-move scheme misearch multi-isearch org-goto vc-git
diff-mode flyspell ispell dired-aux sh-script smie executable
org-roam-protocol org-roam org-roam-graph org-roam-doctor org-roam-db
emacsql-sqlite3 emacsql emacsql-compiler org-roam-dailies
org-roam-capture org-capture org-roam-completion org-roam-buffer
org-roam-macs org-roam-compat f org-protocol cus-edit
use-package-bind-key bind-key elfeed-show elfeed-search wid-edit
bookmark pp shr svg dom elfeed-csv elfeed elfeed-curl elfeed-log
elfeed-db elfeed-lib url-queue xml-query gnugol helm-cider
helm-cider-spec helm-cider-repl helm-cider-cheatsheet helm-cider-util
cider-cheatsheet helm helm-source helm-multi-match helm-lib async cider
tramp-sh cider-debug cider-inspector cider-browse-ns cider-mode
cider-completion cider-profile cider-eval compile cider-repl-history
pulse cider-repl cider-resolve cider-test cider-overlays
cider-stacktrace cider-doc cider-browse-spec cider-clojuredocs
cider-popup cider-eldoc cider-client cider-common etags fileloop xref
cider-util color cider-connection sesman-browser nrepl-client
docker-tramp tramp-cache tramp tramp-loaddefs trampver tramp-integration
files-x tramp-compat shell parse-time iso8601 ls-lisp queue nrepl-dict
cider-compat spinner clojure-mode-expansions sesman vc vc-dispatcher
clojure-mode project lisp-mnt align imenu parseedn parseclj-parser
parseclj-lex a direx eieio-compat synonyms jquery-doc xml cl
jquery-doc-data company pcase auto-complete popup page-ext try cl-extra
help-mode use-package-ensure use-package-core expand-region
text-mode-expansions the-org-mode-expansions er-basic-expansions
thingatpt expand-region-core expand-region-custom ido org-element
avl-tree generator org-tempo tempo ob-lisp ob-ditaa ob-clojure
org-trello-setup edmacro kmacro org-trello-hash org-trello-log
org-trello-utils s dash cus-start cus-load org-mobile org-agenda org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src
ob-comint org-pcomplete pcomplete comint ansi-color ring org-list
org-faces org-entities noutline outline easy-mmode org-version
ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs
org-loaddefs find-func cal-menu calendar cal-loaddefs finder-inf
mm-archive message dired dired-loaddefs format-spec rfc822 mml mml-sec
epa derived gnus-util rmail rmail-loaddefs text-property-search
time-date mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode
mail-utils gnutls network-stream url-http mail-parse rfc2231 rfc2047
rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny url-cache
url-auth url url-proxy url-privacy url-expand url-methods url-history
url-cookie url-domsuf url-util mailcap epg epg-config advice time
tex-site debian-el kotl-autoloads rx slime-autoloads info package
easymenu browse-url url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 774771 113262)
(symbols 48 44906 1)
(strings 32 195931 27114)
(string-bytes 1 6228911)
(vectors 16 72916)
(vector-slots 8 1775941 136538)
(floats 8 952 636)
(intervals 56 37282 2586)
(buffers 1000 61))

[-- Attachment #2: Type: text/html, Size: 9446 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#41859: 27.0.91; docstring for 'man' command
  2020-06-14 18:46 bug#41859: 27.0.91; docstring for 'man' command Ron Mitchell
@ 2020-06-20  8:37 ` Eli Zaretskii
       [not found]   ` <6f4fdead-b5df-4163-9fd4-34928373af1f@www.fastmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2020-06-20  8:37 UTC (permalink / raw)
  To: Ron Mitchell; +Cc: 41859

> From: Ron Mitchell <ron@ronmitchell.co.uk>
> Date: Sun, 14 Jun 2020 19:46:27 +0100
> 
> C-h f man (describe-function "man") 
> 
> brings up the docstring for the 'man' function. Several of the usages 
> described involve an argument string containing a space, namely 
> 
> 1 cat 
> -a chmod 
> -l somefile.1 
> -k pattern 
> 
> But these argument strings cannot be entered because argument entry is 
> performing a completing read on available man pages. 

Thank you for your report.

However, I cannot reproduce the problem.  The first example works
as-is for me, and the others work if I use "C-q SPC" to insert a
space.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#41859: 27.0.91; docstring for 'man' command
       [not found]   ` <6f4fdead-b5df-4163-9fd4-34928373af1f@www.fastmail.com>
@ 2020-06-27  7:49     ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2020-06-27  7:49 UTC (permalink / raw)
  To: Ron Mitchell; +Cc: 41859-done

> Date: Mon, 22 Jun 2020 00:25:34 +0100
> From: "Ron Mitchell" <ron@ronmitchell.co.uk>
> 
> Hi Eli,
> 
> Thanks for your reply.
> 
> I agree that '1 cat' can indeed be entered as is.
> 
> However even as a user of emacs for over twenty years it did not occur to me to use C-q to enter the required space in the other examples.  Could I suggest that the docstring be amended to provide this hint?

Fair enough, I added a note to the doc string to that effect.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-27  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-14 18:46 bug#41859: 27.0.91; docstring for 'man' command Ron Mitchell
2020-06-20  8:37 ` Eli Zaretskii
     [not found]   ` <6f4fdead-b5df-4163-9fd4-34928373af1f@www.fastmail.com>
2020-06-27  7:49     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).