all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#21299: describe-function on advised autoloads
@ 2015-08-20 17:39 Glenn Morris
  2016-06-13 22:19 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Glenn Morris @ 2015-08-20 17:39 UTC (permalink / raw)
  To: 21299

Package: emacs
Version: 25.0.50

A couple of issues related to describe-function on advised autoloads.
Current master, emacs -Q.

1) When the autoload has known arguments:

(autoload 'foo1 "foo" "Do something.

\(fn arg1)")

(defun foo-ad (&rest _args))

(advice-add 'foo1 :before #'foo-ad)

C-h f foo1
 ->  foo1 is an alias for 'foo1'

Informative!

Also, the fact that foo1 has advice is not mentioned.


2) When the function has unknown arguments:

(autoload 'foo2 "foo" "Do something.")
(advice-add 'foo2 :before #'foo-ad)

C-h f foo2
 -> foo2 is an alias for 'foo2'

 (foo2 91 65 114 103 32 108 105 115 116 32 110 111 116 32 97 118 97 105
 108 97 98 108 101 32 117 110 116 105 108 32 102 117 110 99 116 105 111
 110 32 100 101 102 105 110 105 116 105 111 110 32 105 115 32 108 111
 97 100 101 100 46 93)

 Do something.

Nice argument list...





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

* bug#21299: describe-function on advised autoloads
  2015-08-20 17:39 bug#21299: describe-function on advised autoloads Glenn Morris
@ 2016-06-13 22:19 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2016-06-13 22:19 UTC (permalink / raw)
  To: 21299


The only remaining issue is now:

> the fact that foo1 has advice is not mentioned.





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

end of thread, other threads:[~2016-06-13 22:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-20 17:39 bug#21299: describe-function on advised autoloads Glenn Morris
2016-06-13 22:19 ` Glenn Morris

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.