unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14932: [wishlist] Let symbol-file handle functions defined in C source files
@ 2013-07-22 11:31 Xue Fuqiao
  2013-07-25 18:33 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Xue Fuqiao @ 2013-07-22 11:31 UTC (permalink / raw)
  To: 14932

severity wishlist

I wish that symbol-file could handle _any_ kind of symbols.  I just
tried two symbols (both of them are defined in C), but neither of them
works:

(symbol-file 'symbol-function)
⇒ nil

(symbol-file 'set)
⇒ nil

(Don't know whether it can handle uninterned symbols.)

--
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/





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

* bug#14932: [wishlist] Let symbol-file handle functions defined in C source files
  2013-07-22 11:31 bug#14932: [wishlist] Let symbol-file handle functions defined in C source files Xue Fuqiao
@ 2013-07-25 18:33 ` Stefan Monnier
  2021-05-30  6:25   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2013-07-25 18:33 UTC (permalink / raw)
  To: Xue Fuqiao; +Cc: 14932

> I wish that symbol-file could handle _any_ kind of symbols.  I just
> tried two symbols (both of them are defined in C), but neither of them
> works:

> (symbol-file 'symbol-function)
> ⇒ nil

> (symbol-file 'set)
> ⇒ nil

You can find the "symbol file" of functions defined in C, as
demonstrated by C-h f symbol-function RET (which uses help-C-file-name),
but indeed symbol-file does not do it.  Do you have a particular reason
why you'd need it?


        Stefan





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

* bug#14932: [wishlist] Let symbol-file handle functions defined in C source files
  2013-07-25 18:33 ` Stefan Monnier
@ 2021-05-30  6:25   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-30  6:25 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Xue Fuqiao, 14932

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> You can find the "symbol file" of functions defined in C, as
> demonstrated by C-h f symbol-function RET (which uses help-C-file-name),
> but indeed symbol-file does not do it.

I've now mentioned this in the doc string.

-- 
(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-05-30  6:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-22 11:31 bug#14932: [wishlist] Let symbol-file handle functions defined in C source files Xue Fuqiao
2013-07-25 18:33 ` Stefan Monnier
2021-05-30  6:25   ` 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).