From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexis Newsgroups: gmane.emacs.devel Subject: Re: [Old patch] Unify fn and var help to make learning elisp a little easier Date: Wed, 21 Jan 2015 10:17:24 +1100 Message-ID: <87a91dyrcr.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421795881 16624 80.91.229.3 (20 Jan 2015 23:18:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2015 23:18:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 21 00:17:59 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YDi3b-0001qD-G7 for ged-emacs-devel@m.gmane.org; Wed, 21 Jan 2015 00:17:59 +0100 Original-Received: from localhost ([::1]:45960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDi3a-00031B-HS for ged-emacs-devel@m.gmane.org; Tue, 20 Jan 2015 18:17:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDi3E-0002xH-Uo for emacs-devel@gnu.org; Tue, 20 Jan 2015 18:17:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDi3B-0007Ic-HJ for emacs-devel@gnu.org; Tue, 20 Jan 2015 18:17:36 -0500 Original-Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:59774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDi3B-0007I2-1Q for emacs-devel@gnu.org; Tue, 20 Jan 2015 18:17:33 -0500 Original-Received: by mail-pa0-f48.google.com with SMTP id rd3so48735430pab.7 for ; Tue, 20 Jan 2015 15:17:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:subject:in-reply-to:date:message-id:mime-version :content-type; bh=eMFikaVYQ9l0MqP21QKMmpUZLGHQ1e7rnKPs+GRfsm8=; b=zadzSTaRXRDKm5o7mC6tzwQUz4TxEAJcmPFQa0ewAofBa5gmsrtdQD4PbDJ9gGJiCq 4/b79YP+JG/P7SAkzyWSOW/oH3p1BlH5LjTstHaw8wdBPvopX7yIwLjZcOKAFmaeyj5w QYMHTOalhEYOeZkCqGm/FfBYNY9prIOFcvtQRzsNlvLjW0JCq/50TU0iabRG0KUXjEkh 8IgcHzc9Ohc1DfzO71QIrdNAJjORBETcrSEDgn2jDf62LB/DdZDOKHL/YjjW/Bv+dYRd te1qFgpbmOLIiFmVe7AaZO9oR/FCgBeH3VlkTj2xIKEL6wqJB02M6RL1V8IRRSy5JOeQ T2Nw== X-Received: by 10.66.159.67 with SMTP id xa3mr58157408pab.13.1421795851450; Tue, 20 Jan 2015 15:17:31 -0800 (PST) Original-Received: from localhost (ppp118-209-63-224.lns20.mel4.internode.on.net. [118.209.63.224]) by mx.google.com with ESMTPSA id t4sm1116207pdh.9.2015.01.20.15.17.29 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 20 Jan 2015 15:17:30 -0800 (PST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181493 Archived-At: Kelly Dean writes: > I originally proposed this a couple years ago: > https://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00165.html +1 for adding this functionality. At the moment i'm using the following for exploring (a) the functionality provided by various Emacs subsystems/packages, and (b) the potential customisations available: (defun list-symbols-with-prefix (prefix) "Create a buffer listing functions and variables with prefix PREFIX." (interactive "sPrefix: ") (let ((candidates (sort (all-completions prefix obarray) #'string<))) (switch-to-buffer (generate-new-buffer "*Symbols*")) (dolist (c candidates) (let ((s (intern c))) (cond ((fboundp s) (insert (concat (symbol-name s) " \n"))) ((boundp s) (insert (concat (symbol-name s) " \n"))) (t)))) (beginning-of-buffer) (local-set-key (kbd "RET") 'doc-for-symbol-at-point))) Alexis.