From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexander Asteroth Newsgroups: gmane.emacs.devel Subject: elisp code to list interactive functions Date: Thu, 04 Nov 2021 09:08:26 +0100 Message-ID: <874k8sz67e.fsf@h-brs.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27800"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.4; emacs 27.2 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 04 10:13:23 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1miYoF-00072T-5O for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Nov 2021 10:13:23 +0100 Original-Received: from localhost ([::1]:46228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miYoE-0003m5-9g for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Nov 2021 05:13:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miXvK-0008E6-EK for emacs-devel@gnu.org; Thu, 04 Nov 2021 04:16:38 -0400 Original-Received: from sv-2s11.infcs.de ([194.95.66.48]:55126 helo=ux-2s-mailproxy.inf.h-brs.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miXvG-0000od-Ln for emacs-devel@gnu.org; Thu, 04 Nov 2021 04:16:36 -0400 Original-Received: from gyps.l7 (p5797302f.dip0.t-ipconnect.de [87.151.48.47]) (authenticated bits=0) by ux-2s-mailproxy.inf.h-brs.de (8.15.2/8.15.2/Debian-8ska0) with ESMTPSA id 1A48GRG1008073 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 4 Nov 2021 09:16:28 +0100 Original-Received: from gyps.h-brs.de (localhost [IPv6:::1]) by gyps.l7 (Postfix) with ESMTP id 359024200F6 for ; Thu, 4 Nov 2021 09:16:21 +0100 (CET) X-Auth: by SMTP AUTH @ ux-2s11 X-MIMEDefang-Info-ge: Gescannt in Inf@FH-BRS, Regeln s. MiniFAQ E-Mail/Mailscanner X-Scanned-By: MIMEDefang @ FB02 @ H-BRS Received-SPF: pass client-ip=194.95.66.48; envelope-from=alexander.asteroth@h-brs.de; helo=ux-2s-mailproxy.inf.h-brs.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 04 Nov 2021 05:12:25 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:278662 Archived-At: Dear all, I don't know if I'm right here but I don't find a group that is devoted to elisp programming. I'm trying to write a little funtion that I can call from emacsclient to get a list of interactive functions available. The result shoud be a list of strings or just one string, more or less what the *Completions* buffer displays when pressing M-x followed by . I'm sure there must be a very simple solution to this but somehow I get lost in the code in simple.el on my search for it. Why am I doing this? Im currently trying to make i3wm and emacs more aware of each other, because after 3 years of using exwm I'm now moving back to using a dedicated WM. Nevertheless I want the WM to still feel like Emacs, when I use it ;-) Cheers, Alex