How to print all the symbols in emacs using elisp.
It is possible to test wheather a lisp object is a symbol using symbolp
function. But how to collect all the symbols.
Is it possible to access symbol table of emacs?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s one way to do it:
loopis a Common Lisp macro, that has been ported to Emacs Lisp as well. It’s part of theclpackage (part of the standard Emacs distribution), that you’ll have torequireto use it.Another option to consider is probably:
The
aproposinvokation will take significantly more time to complete, but you’ll get more information about the symbols that way.