unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18044: 24.3; `info-display-manual' should use completing input for manual name
@ 2014-07-18  2:26 Samuel Bronson
  2014-07-18  3:47 ` Drew Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Samuel Bronson @ 2014-07-18  2:26 UTC (permalink / raw)
  To: 18044

I think it would be possible to extract the necessary machinery from the
function `Info-read-node-name' and its -1/-2 friends, but I don't grok
completion well enough to do it myself, and one of the core
(not-info-specific) completion functions involved isn't even documented.


In GNU Emacs 24.3.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2014-06-06 on babin, modified by Debian
Windowing system distributor `Colin Harrison', version 11.0.60900031
System Description:	Debian GNU/Linux testing (jessie)

Configured using:
 `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu'
 '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 '--localstatedir=/var/lib' '--infodir=/usr/share/info'
 '--mandir=/usr/share/man' '--with-pop=yes'
 '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp'
 '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes'
 '--with-x-toolkit=lucid' '--with-toolkit-scroll-bars' '--without-gconf'
 '--without-gsettings' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2
 -fstack-protector --param=ssp-buffer-size=4 -Wformat
 -Werror=format-security -Wall' 'LDFLAGS=-Wl,-z,relro'
 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  xterm-mouse-mode: t
  show-paren-mode: t
  recentf-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-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
  transient-mark-mode: t

Recent input:
<up> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> 
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> M-x 
<up> <up> <up> C-g M-x m a g i t - s t a t <tab> <return> 
<help-echo> <up> <up> <up> <up> <up> <down> <down> 
<down> <down> <down> <down> <down> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <down> <down> <down> <down> 
<down> s <down> <down> <down> <down> <prior> <next> 
<down> <down> <down> <down> <up> <up> <up> <up> <up> 
<down> c F o i x SPC <backspace> <backspace> <backspace> 
<backspace> i x SPC t y p o SPC i n SPC s t u b <home> 
<end> f SPC <backspace> <backspace> SPC f o r SPC <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> s t u b SPC e n 
t r y SPC f o r SPC g c c i n t <C-left> " <end> " 
<left> <left> <C-left> <C-left> x r e f SPC <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
SPC <C-left> m e n u SPC <end> C-c C-c <down-mouse-1> 
<mouse-1> <next> <down> <down> <down> <up> <up> <up> 
<up> <down> <down> <down> <down> <down> <up> <up> <up> 
<up> <up> <up> <up> <down> <down> <down> <down> <down> 
<down> <down> <up> <up> <up> <up> <up> <up> <down> 
<down> <down> <down> <down> <up> <up> <up> <up> <up> 
<up> <up> <up> <prior> <switch-frame> <down-mouse-1> 
<mouse-1> <switch-frame> <down-mouse-1> <mouse-1> <switch-frame> 
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> 
<mouse-movement> <mouse-1> <C-home> <next> <next> <next> 
<next> <next> <next> <help-echo> <help-echo> <switch-frame> 
<help-echo> <switch-frame> <down-mouse-1> <mouse-1> 
M-x i C-g M-x i n f o - <tab> <tab> d i s <tab> <return> 
g c c <tab> <backspace> i n t <return> M-x e m a c 
s <tab> b <tab> u g <tab> <tab> C-g C-x C-f ~ / C-g 
M-x r e p o r t <tab> b <tab> e <tab> <return>

Recent messages:
Directory has changed on disk; type g to update Dired
Quit
(No files need saving)
Type C-c C-c to commit (C-c C-k to cancel).
git finished.
Mark set
Quit
Making completion list... [3 times]
Quit [2 times]
Making completion list...

Load-path shadows:
/home/naesten/system/emacs/dist/elpa/w3-4.0.49/ssl hides /usr/share/emacs24/site-lisp/wl/ssl
/usr/share/emacs24/site-lisp/css-mode/css-mode hides /usr/share/emacs/site-lisp/css-mode/css-mode
/usr/share/emacs/site-lisp/autoconf/autotest-mode hides /usr/share/emacs/site-lisp/autotest-mode
/usr/share/emacs/24.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs24/site-lisp/flim/md4 hides /usr/share/emacs/24.3/lisp/md4
/home/naesten/system/emacs/dist/elisp/loaddefs hides /usr/share/emacs/24.3/lisp/loaddefs
/usr/share/emacs24/site-lisp/flim/hex-util hides /usr/share/emacs/24.3/lisp/hex-util
/home/naesten/system/emacs/dist/elpa/json-1.2/json hides /usr/share/emacs/24.3/lisp/json
/home/naesten/system/emacs/dist/elisp/t-mouse hides /usr/share/emacs/24.3/lisp/t-mouse
/usr/share/emacs24/site-lisp/html-helper-mode/tempo hides /usr/share/emacs/24.3/lisp/tempo
/usr/share/emacs24/site-lisp/css-mode/css-mode hides /usr/share/emacs/24.3/lisp/textmodes/css-mode
/usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.3/lisp/textmodes/rst
/usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.3/lisp/textmodes/ispell
/usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.3/lisp/textmodes/flyspell
/usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.3/lisp/net/sasl-digest
/usr/share/emacs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.3/lisp/net/sasl-cram
/usr/share/emacs24/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.3/lisp/net/hmac-md5
/usr/share/emacs24/site-lisp/flim/hmac-def hides /usr/share/emacs/24.3/lisp/net/hmac-def
/usr/share/emacs24/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.3/lisp/net/sasl-ntlm
/usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/emacs/24.3/lisp/net/ntlm
/usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.3/lisp/net/sasl
/usr/share/emacs24/site-lisp/wl/rfc2368 hides /usr/share/emacs/24.3/lisp/mail/rfc2368
/home/naesten/system/emacs/dist/elisp/package hides /usr/share/emacs/24.3/lisp/emacs-lisp/package
/home/naesten/system/emacs/dist/elpa/tabulated-list-0/tabulated-list hides /usr/share/emacs/24.3/lisp/emacs-lisp/tabulated-list
/usr/share/emacs24/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x
/usr/share/emacs24/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style
/usr/share/emacs24/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar
/usr/share/emacs24/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold
/usr/share/emacs24/site-lisp/auctex/preview hides /usr/share/emacs/site-lisp/auctex/preview
/usr/share/emacs24/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context
/usr/share/emacs24/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl
/usr/share/emacs24/site-lisp/auctex/prv-emacs hides /usr/share/emacs/site-lisp/auctex/prv-emacs
/usr/share/emacs24/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en
/usr/share/emacs24/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp
/usr/share/emacs24/site-lisp/auctex/plain-tex hides /usr/share/emacs/site-lisp/auctex/plain-tex
/usr/share/emacs24/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite
/usr/share/emacs24/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font
/usr/share/emacs24/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik
/usr/share/emacs24/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex
/usr/share/emacs24/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp
/usr/share/emacs24/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info
/usr/share/emacs24/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex
/usr/share/emacs24/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt
/usr/share/emacs24/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex
/usr/share/emacs24/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf
/usr/share/emacs24/site-lisp/debian-el/preseed hides /usr/share/emacs/site-lisp/debian-el/preseed
/usr/share/emacs24/site-lisp/debian-el/gnus-BTS hides /usr/share/emacs/site-lisp/debian-el/gnus-BTS
/usr/share/emacs24/site-lisp/debian-el/debian-el hides /usr/share/emacs/site-lisp/debian-el/debian-el
/usr/share/emacs24/site-lisp/debian-el/debian-bug hides /usr/share/emacs/site-lisp/debian-el/debian-bug
/usr/share/emacs24/site-lisp/debian-el/deb-view hides /usr/share/emacs/site-lisp/debian-el/deb-view
/usr/share/emacs24/site-lisp/debian-el/apt-utils hides /usr/share/emacs/site-lisp/debian-el/apt-utils
/usr/share/emacs24/site-lisp/debian-el/apt-sources hides /usr/share/emacs/site-lisp/debian-el/apt-sources
/usr/share/emacs24/site-lisp/debian-el/debian-el-loaddefs hides /usr/share/emacs/site-lisp/debian-el/debian-el-loaddefs
/usr/share/emacs24/site-lisp/html-helper-mode/hhm-config hides /usr/share/emacs/site-lisp/html-helper-mode/hhm-config
/usr/share/emacs24/site-lisp/html-helper-mode/visual-basic-mode hides /usr/share/emacs/site-lisp/html-helper-mode/visual-basic-mode
/usr/share/emacs24/site-lisp/html-helper-mode/tempo hides /usr/share/emacs/site-lisp/html-helper-mode/tempo
/usr/share/emacs24/site-lisp/html-helper-mode/html-helper-mode hides /usr/share/emacs/site-lisp/html-helper-mode/html-helper-mode
/usr/share/emacs24/site-lisp/mailcrypt/mc-toplev hides /usr/share/emacs/site-lisp/mailcrypt/mc-toplev
/usr/share/emacs24/site-lisp/mailcrypt/mc-remail hides /usr/share/emacs/site-lisp/mailcrypt/mc-remail
/usr/share/emacs24/site-lisp/mailcrypt/mc-pgp6 hides /usr/share/emacs/site-lisp/mailcrypt/mc-pgp6
/usr/share/emacs24/site-lisp/mailcrypt/mc-pgp5 hides /usr/share/emacs/site-lisp/mailcrypt/mc-pgp5
/usr/share/emacs24/site-lisp/mailcrypt/mc-pgp hides /usr/share/emacs/site-lisp/mailcrypt/mc-pgp
/usr/share/emacs24/site-lisp/mailcrypt/mc-gpg hides /usr/share/emacs/site-lisp/mailcrypt/mc-gpg
/usr/share/emacs24/site-lisp/mailcrypt/mailcrypt hides /usr/share/emacs/site-lisp/mailcrypt/mailcrypt
/usr/share/emacs24/site-lisp/mailcrypt/expect hides /usr/share/emacs/site-lisp/mailcrypt/expect
/usr/share/emacs24/site-lisp/mailcrypt/mc-setversion hides /usr/share/emacs/site-lisp/mailcrypt/mc-setversion
/usr/share/emacs24/site-lisp/psgml/psgml-edit hides /usr/share/emacs/site-lisp/psgml/psgml-edit
/usr/share/emacs24/site-lisp/psgml/psgml-charent hides /usr/share/emacs/site-lisp/psgml/psgml-charent
/usr/share/emacs24/site-lisp/psgml/psgml hides /usr/share/emacs/site-lisp/psgml/psgml
/usr/share/emacs24/site-lisp/psgml/psgml-other hides /usr/share/emacs/site-lisp/psgml/psgml-other
/usr/share/emacs24/site-lisp/psgml/psgml-api hides /usr/share/emacs/site-lisp/psgml/psgml-api
/usr/share/emacs24/site-lisp/psgml/psgml-sysdep hides /usr/share/emacs/site-lisp/psgml/psgml-sysdep
/usr/share/emacs24/site-lisp/psgml/psgml-init hides /usr/share/emacs/site-lisp/psgml/psgml-init
/usr/share/emacs24/site-lisp/psgml/psgml-parse hides /usr/share/emacs/site-lisp/psgml/psgml-parse
/usr/share/emacs24/site-lisp/psgml/psgml-info hides /usr/share/emacs/site-lisp/psgml/psgml-info
/usr/share/emacs24/site-lisp/psgml/psgml-ids hides /usr/share/emacs/site-lisp/psgml/psgml-ids
/usr/share/emacs24/site-lisp/psgml/psgml-dtd hides /usr/share/emacs/site-lisp/psgml/psgml-dtd
/usr/share/emacs/24.3/lisp/gnus/.dir-locals hides /home/naesten/system/emacs/dist/elisp/magit/.dir-locals
/usr/share/emacs24/site-lisp/emacs-goodies-el/markdown-mode hides /home/naesten/system/emacs/dist/elisp/markdown-mode/markdown-mode

Features:
(shadow emacsbug info-xref find-dired tabify org-wl org-w3m org-vm
org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp
ob-exp org-exp-blocks org-agenda org-info org-gnus org-docview
org-bibtex bibtex org-bbdb org-table org ob-tangle ob-ref ob-lob
ob-table org-footnote org-src ob-comint ob-keys org-pcomplete org-list
org-faces org-entities noutline outline org-version ob-emacs-lisp ob
org-compat org-macs ob-eval org-loaddefs cal-menu calendar cal-loaddefs
url-http url-gw url-auth url-handlers w3m-form w3m-cookie w3m-bookmark
w3m-tabmenu w3m-session w3m doc-view w3m-hist w3m-fb bookmark-w3m
w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util debian-bug
view magit-bisect magit-key-mode magit filecache readme-debian
debian-changelog-mode inform-mode term ehelp electric ispell nxml-uchnm
rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri
rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns
nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok etags
sgml-mode psgml psgml-html imenu tex-info texinfo tex dbus shell
pcomplete make-mode thumbs image-file image-dired image-mode debug
thingatpt rmail speedbar sb-image ezimage dframe info misearch
multi-isearch vc-git xgit-dvc xgit xgit-annotate rect dvc-annotate
xgit-log filladapt cc-langs cus-edit apropos tla smerge-mode dvc-state
dvc-config dvc-diff dvc-fileinfo diff tla-gnus dvc-gnus dvc-cmenu
dvc-about dvc-version dvc-revlist uniquify sh-script smie executable
help-mode uudecode jka-compr mule-util flow-fill mm-archive gnus-html
browse-url xml url-cache mm-url bbdb-hooks bzr-core tla-core pp
tla-autoconf tla-defs dvc-log dvc-unified dvc-tips dired-x dired ffap
commit-patch-buffer log-edit pcvs-util add-log vc vc-dispatcher
diff-mode ediff-merg ediff-diff ediff-wind ediff-help ediff-util
ediff-mult ediff-init ediff xdarcs-core xgit-core xhg-core xmtn-minimal
sort smiley gnus-cite gnus-async gnus-bcklg qp gnus-ml mailcrypt
disp-table gnus-topic nndoc nndraft nnmh parse-time netrc gnutls
network-stream starttls tls nnfolder bbdb-gnus bbdb-snarf mail-extr
nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp
gnus-cache gnus-registry registry eieio-base spam spam-stat bbdb-com
gnus-uu yenc gnus-msg gnus-art mm-uu mml2015 epg-config mm-view
mml-smime smime dig gnus-sum nnoo gnus-group gnus-undo nnmail
mail-source gnus-start gnus-spec gnus-int gnus-range message sendmail
format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader
gnus-win gnus gnus-ems nnheader mail-utils server derived xcscope
arc-mode archive-mode asm-mode my-asm slime-autoloads dvc-autoloads
dvc-core dvc-lisp dvc-buffers dvc-ui dvc-register dvc-utils dvc-emacs
ewoc dvc-defs dvc-site cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs elisp-depend
ps-print-bg-fixup bbdb timezone wgrep grep compile comint ansi-color
ring edebug warnings trace xt-mouse paren recentf tree-widget wid-edit
cus-start cus-load eldoc-eval-autoloads elisp-cache-autoloads
erc-hl-nicks-autoloads fill-column-indicator-autoloads
find-file-in-git-repo-autoloads gitconfig-mode-autoloads
gitignore-mode-autoloads mo-git-blame-autoloads occur-x-autoloads
smartparens-autoloads dash-autoloads synonyms-autoloads
tabulated-list-autoloads w3-autoloads wgrep-autoloads yagist-autoloads
json-autoloads yasnippet-bundle-autoloads yasnippet-bundle dropdown-list
advice help-fns advice-preload yasnippet easymenu assoc package
find-func cl-macs gv w3m-load psgml-init proof-site proof-autoloads
pg-vars mmm-auto mmm-vars mmm-compat cl cl-lib mailcrypt-init
haskell-mode-autoloads edmacro kmacro emacs-goodies-el
emacs-goodies-custom emacs-goodies-loaddefs easy-mmode dpkg-dev-el
dpkg-dev-el-loaddefs tempo url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util url-parse
auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util
time-date mm-util mail-prsvr password-cache url-vars mailcap xml-parse
doxymacs debian-el debian-el-loaddefs bbdb-autoloads preview-latex
tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind dynamic-setting font-render-setting x-toolkit x multi-tty
emacs)

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!





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

* bug#18044: 24.3; `info-display-manual' should use completing input for manual name
  2014-07-18  2:26 bug#18044: 24.3; `info-display-manual' should use completing input for manual name Samuel Bronson
@ 2014-07-18  3:47 ` Drew Adams
  2014-07-18  6:26 ` Eli Zaretskii
  2021-07-14  9:06 ` Lars Ingebrigtsen
  2 siblings, 0 replies; 6+ messages in thread
From: Drew Adams @ 2014-07-18  3:47 UTC (permalink / raw)
  To: Samuel Bronson, 18044

> I think it would be possible to extract the necessary machinery from the
> function `Info-read-node-name' and its -1/-2 friends, but I don't grok
> completion well enough to do it myself, and one of the core
> (not-info-specific) completion functions involved isn't even documented.

Righto.  info+.el has done that for a long time, with this defun:

;; REPLACE ORIGINAL in `info.el':
;;
;; Use completion for inputting the manual name.
;;
(defun info-display-manual (manual)
  "Go to Info buffer that displays MANUAL, creating if it does not exist."
  ;;  (interactive "sManual name: ")
  (interactive
   (let ((manuals  ()))
     (condition-case nil
         (with-temp-buffer
           (Info-mode)
           (Info-directory)
           (goto-char (point-min))
           (re-search-forward "\\* Menu: *\n" nil t)
           (let (manual)
             (while (re-search-forward "\\*.*: *(\\([^)]+\\))" nil t)
               (setq manual  (match-string 1))
               (set-text-properties 0 (length manual) nil manual)
               (add-to-list 'manuals (list manual)))))
       (error nil))
     (list (completing-read "Display manual: " manuals))))
  (let ((blist (buffer-list))
        (manual-re (concat "\\(/\\|\\`\\)" manual "\\(\\.\\|\\'\\)"))
        (case-fold-search t)
        found)
    (dolist (buffer blist)
      (with-current-buffer buffer
        (when (and (eq major-mode 'Info-mode)
                   (stringp Info-current-file)
                   (string-match manual-re Info-current-file))
          (setq found  buffer
                blist  ()))))
    (if found
        (switch-to-buffer found)
      (info-initialize)
      (info (Info-find-file manual)))))

http://www.emacswiki.org/InfoPlus
http://www.emacswiki.org/emacs-en/download/info%2b.el





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

* bug#18044: 24.3; `info-display-manual' should use completing input for manual name
  2014-07-18  2:26 bug#18044: 24.3; `info-display-manual' should use completing input for manual name Samuel Bronson
  2014-07-18  3:47 ` Drew Adams
@ 2014-07-18  6:26 ` Eli Zaretskii
  2021-07-14  9:06 ` Lars Ingebrigtsen
  2 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2014-07-18  6:26 UTC (permalink / raw)
  To: Samuel Bronson; +Cc: 18044

> From: Samuel Bronson <naesten@gmail.com>
> Date: Thu, 17 Jul 2014 22:26:46 -0400
> 
> I think it would be possible to extract the necessary machinery from the
> function `Info-read-node-name' and its -1/-2 friends, but I don't grok
> completion well enough to do it myself, and one of the core
> (not-info-specific) completion functions involved isn't even documented.

This function should complete on both manuals already visited in
existing Info buffers, and on manuals installed on the system that are
not yet visited.  The latter part could be slow, so any contributions
should take that into account.





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

* bug#18044: 24.3; `info-display-manual' should use completing input for manual name
  2014-07-18  2:26 bug#18044: 24.3; `info-display-manual' should use completing input for manual name Samuel Bronson
  2014-07-18  3:47 ` Drew Adams
  2014-07-18  6:26 ` Eli Zaretskii
@ 2021-07-14  9:06 ` Lars Ingebrigtsen
  2021-07-14 12:06   ` Eli Zaretskii
  2 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-14  9:06 UTC (permalink / raw)
  To: Samuel Bronson; +Cc: 18044

Samuel Bronson <naesten@gmail.com> writes:

> I think it would be possible to extract the necessary machinery from the
> function `Info-read-node-name' and its -1/-2 friends, but I don't grok
> completion well enough to do it myself, and one of the core
> (not-info-specific) completion functions involved isn't even documented.

Hm...  looking at the command in question, it does have completion over
manual names:

commit 010db6da6527d16736fd3c2b607058dd35a70c9a
Author:     Juri Linkov <juri@jurta.org>
AuthorDate: Sun Dec 2 14:41:22 2012 +0800

    * info.el (info-display-manual): Add completion.
    
And this was added before 24.3 was released, so it should also have it.
So is this talking about some other form of completion, or was the bug
report about an earlier Emacs release?

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





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

* bug#18044: 24.3; `info-display-manual' should use completing input for manual name
  2021-07-14  9:06 ` Lars Ingebrigtsen
@ 2021-07-14 12:06   ` Eli Zaretskii
  2021-07-14 13:01     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2021-07-14 12:06 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: naesten, 18044

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Wed, 14 Jul 2021 11:06:56 +0200
> Cc: 18044@debbugs.gnu.org
> 
> Samuel Bronson <naesten@gmail.com> writes:
> 
> > I think it would be possible to extract the necessary machinery from the
> > function `Info-read-node-name' and its -1/-2 friends, but I don't grok
> > completion well enough to do it myself, and one of the core
> > (not-info-specific) completion functions involved isn't even documented.
> 
> Hm...  looking at the command in question, it does have completion over
> manual names:
> 
> commit 010db6da6527d16736fd3c2b607058dd35a70c9a
> Author:     Juri Linkov <juri@jurta.org>
> AuthorDate: Sun Dec 2 14:41:22 2012 +0800
> 
>     * info.el (info-display-manual): Add completion.
>     
> And this was added before 24.3 was released, so it should also have it.
> So is this talking about some other form of completion, or was the bug
> report about an earlier Emacs release?

This feature was added only in Emacs 24.4, not in 24.3.
I think this bug can be closed.





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

* bug#18044: 24.3; `info-display-manual' should use completing input for manual name
  2021-07-14 12:06   ` Eli Zaretskii
@ 2021-07-14 13:01     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-14 13:01 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: naesten, 18044

Eli Zaretskii <eliz@gnu.org> writes:

> This feature was added only in Emacs 24.4, not in 24.3.
> I think this bug can be closed.

OK; done.

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





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

end of thread, other threads:[~2021-07-14 13:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-18  2:26 bug#18044: 24.3; `info-display-manual' should use completing input for manual name Samuel Bronson
2014-07-18  3:47 ` Drew Adams
2014-07-18  6:26 ` Eli Zaretskii
2021-07-14  9:06 ` Lars Ingebrigtsen
2021-07-14 12:06   ` Eli Zaretskii
2021-07-14 13:01     ` Lars Ingebrigtsen

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).