unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23402: 25.1.50; Some links in doc strings from C aren't turned into links
@ 2016-04-29 18:23 Lars Ingebrigtsen
  2016-04-29 18:28 ` Lars Ingebrigtsen
  2016-04-29 18:29 ` Glenn Morris
  0 siblings, 2 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-29 18:23 UTC (permalink / raw)
  To: 23402


(describe-function 'kbd)
=>
kbd is a compiled Lisp function in ‘subr.el’.

(kbd KEYS)

Convert KEYS to the internal Emacs key representation.
KEYS should be a string constant in the format used for
saving keyboard macros (see ‘edmacro-mode’).

The subr.el is linked, but the edmacro-mode isn't...



In GNU Emacs 25.1.50.33 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9)
 of 2016-04-29 built on mouse
Repository revision: 0c035a742f4298b8a924de70756df730be2de989
Windowing system distributor 'The X.Org Foundation', version 11.0.11803000
System Description:	Ubuntu 16.04 LTS

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LC_MONETARY: nb_NO.UTF-8
  value of $LC_NUMERIC: nb_NO.UTF-8
  value of $LC_TIME: nb_NO.UTF-8
  value of $LANG: C
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent messages:
Checking new news...done
Contacting host: debbugs.gnu.org:80
Opening nndoc server on /tmp/gnus-temp-group-5541M3N-ephemeral...done
Type C-x 1 to delete the help window.
next-line: End of buffer
user-error: No mark set in this buffer
mouse-2, RET: find function's definition
mouse-2, RET: go back to previous help buffer
user-error: No cross-reference here
Making completion list...

Load-path shadows:
~/src/emacs/elpa/packages/debbugs/debbugs-org hides /home/larsi/.emacs.d/elpa/debbugs-0.7/debbugs-org
~/src/emacs/elpa/packages/debbugs/debbugs-browse hides /home/larsi/.emacs.d/elpa/debbugs-0.7/debbugs-browse
~/src/emacs/elpa/packages/debbugs/debbugs-gnu hides /home/larsi/.emacs.d/elpa/debbugs-0.7/debbugs-gnu
~/src/emacs/elpa/packages/debbugs/debbugs hides /home/larsi/.emacs.d/elpa/debbugs-0.7/debbugs

Features:
(shadow emacsbug flow-fill texinfo shell pcomplete grep compile comint
pp two-column kmacro iso-transl edebug pulse thingatpt xref project
apropos vc-annotate misearch multi-isearch log-view log-edit ring
pcvs-util vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc-dir ewoc
bug-reference mailalias smtpmail sendmail ecomplete whitespace vc
vc-dispatcher copyright vc-git diff-mode map eieio-opt speedbar sb-image
ezimage dframe find-func nndoc crm qp shr-color color eww gnus-html
help-fns sort gnus-cite smiley ansi-color url-queue url-cache mm-archive
gnus-async gnus-dup gnus-ml gmane spam-gmane dns mm-url disp-table
gnus-fun gnus-mdrtn gnus-topic nndraft nnmh utf-7 nnfolder
network-stream starttls nnir spam-report spam spam-stat gnus-uu yenc
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art
mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum
gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source
utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message
format-spec rfc822 mml mml-sec epa epg mailabbrev gmm-utils mailheader
gnus-win gnus nnheader gnus-util rmail rmail-loaddefs mail-utils
wid-edit movie mkv shr svg browse-url imdb dom pvr debug debbugs-gnu
easy-mmode derived subr-x debbugs soap-client mm-decode mm-bodies
mm-encode url-http tls gnutls url-auth mail-parse rfc2231 rfc2047
rfc2045 ietf-drums url-gw nsm puny url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util mailcap warnings
rng-xsd rng-dt rng-util xsd-regexp xml ido flyspell ispell dired
dired-loaddefs add-log mail-extr mm-util mail-prsvr jka-compr cl
finder-inf info package epg-config url-handlers url-parse auth-source
cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars
seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv
cl-loaddefs pcase cl-lib time-date mule-util 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 newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame 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 charscript case-table epa-hook
jka-cmpr-hook help simple abbrev obarray minibuffer 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 dbusbind inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 1055016 353159)
 (symbols 48 162159 0)
 (miscs 40 1107 4121)
 (strings 32 252887 86935)
 (string-bytes 1 8617069)
 (vectors 16 48454)
 (vector-slots 8 1802821 186862)
 (floats 8 6237 2611)
 (intervals 56 40506 5838)
 (buffers 976 140)
 (heap 1024 419280 102081))

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






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

* bug#23402: 25.1.50; Some links in doc strings from C aren't turned into links
  2016-04-29 18:23 bug#23402: 25.1.50; Some links in doc strings from C aren't turned into links Lars Ingebrigtsen
@ 2016-04-29 18:28 ` Lars Ingebrigtsen
  2016-04-29 18:29 ` Glenn Morris
  1 sibling, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-29 18:28 UTC (permalink / raw)
  To: 23402

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Convert KEYS to the internal Emacs key representation.
> KEYS should be a string constant in the format used for
> saving keyboard macros (see ‘edmacro-mode’).
>
> The subr.el is linked, but the edmacro-mode isn't...

Ah, it's because edmacro-mode is defined in a file not loaded yet...

Hm...  I guess there isn't much Emacs can do in that case.

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





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

* bug#23402: 25.1.50; Some links in doc strings from C aren't turned into links
  2016-04-29 18:23 bug#23402: 25.1.50; Some links in doc strings from C aren't turned into links Lars Ingebrigtsen
  2016-04-29 18:28 ` Lars Ingebrigtsen
@ 2016-04-29 18:29 ` Glenn Morris
  2016-04-29 19:57   ` Glenn Morris
  1 sibling, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2016-04-29 18:29 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 23402

Lars Ingebrigtsen wrote:

> The subr.el is linked, but the edmacro-mode isn't...

It is after you load edmacro.el. This is as expected. Standard
workaround, if it matters:
  
  *** `C-h f' (`describe-function') can now perform autoloading.
  When this command is called for an autoloaded function whose docstring
  contains a key substitution construct, that function's library is
  automatically loaded, so that the documentation can be shown
  correctly.  To disable this, set `help-enable-auto-load' to nil.

Don't know offhand if it works for stuff in C.





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

* bug#23402: 25.1.50; Some links in doc strings from C aren't turned into links
  2016-04-29 18:29 ` Glenn Morris
@ 2016-04-29 19:57   ` Glenn Morris
  2016-04-29 20:15     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2016-04-29 19:57 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 23402

Glenn Morris wrote:

> `help-enable-auto-load'

Ah, no, that's only relevant for things that are autoloaded.






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

* bug#23402: 25.1.50; Some links in doc strings from C aren't turned into links
  2016-04-29 19:57   ` Glenn Morris
@ 2016-04-29 20:15     ` Lars Ingebrigtsen
  2016-04-29 20:37       ` Glenn Morris
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-29 20:15 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 23402-close

Glenn Morris <rgm@gnu.org> writes:

> Glenn Morris wrote:
>
>> `help-enable-auto-load'
>
> Ah, no, that's only relevant for things that are autoloaded.

Yeah, I don't think there is anything that Emacs can do here when you
have a doc string referring to a function that isn't loaded.  Emacs
can't find the function, so...

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





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

* bug#23402: 25.1.50; Some links in doc strings from C aren't turned into links
  2016-04-29 20:15     ` Lars Ingebrigtsen
@ 2016-04-29 20:37       ` Glenn Morris
  0 siblings, 0 replies; 6+ messages in thread
From: Glenn Morris @ 2016-04-29 20:37 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 23402


It could (subject to help-enable-auto-load) guess that `foo-*' is
defined in foo.el, and try loading foo.
Or if guessing isn't good enough, some markup before the `foo-*'
could indicate the defining library.





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

end of thread, other threads:[~2016-04-29 20:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-29 18:23 bug#23402: 25.1.50; Some links in doc strings from C aren't turned into links Lars Ingebrigtsen
2016-04-29 18:28 ` Lars Ingebrigtsen
2016-04-29 18:29 ` Glenn Morris
2016-04-29 19:57   ` Glenn Morris
2016-04-29 20:15     ` Lars Ingebrigtsen
2016-04-29 20:37       ` Glenn Morris

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