From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: The convenient method to check/inspect/retrieve the definition/usage of any commands/symbols/operators used in elisp code. Date: Sat, 19 Jun 2021 21:57:01 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25088"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 19 15:57:35 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1lubTb-0006SQ-L4 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 19 Jun 2021 15:57:35 +0200 Original-Received: from localhost ([::1]:38008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lubTa-0001oP-Jq for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 19 Jun 2021 09:57:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lubTH-0001oF-6U for help-gnu-emacs@gnu.org; Sat, 19 Jun 2021 09:57:15 -0400 Original-Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]:36413) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lubTF-0003PL-He for help-gnu-emacs@gnu.org; Sat, 19 Jun 2021 09:57:14 -0400 Original-Received: by mail-qk1-x72b.google.com with SMTP id i68so18442659qke.3 for ; Sat, 19 Jun 2021 06:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=RCw/cBkpd5jX4koFHNLlmSwe8g6xP2EfcQJg0PA7n1w=; b=UymaYaBrz+XvHGAYs8tdK0s0gdvgtJm6zzH6ZKKZMoxJDFBrtX+GNwkcxSkmrkVGrd KAt+dEjYf98mRcgnBgBveUq6yOws7qVKzLXmiZARMNXb7u5KMJb/lssntCX3QNyrbqcA Mbx1geSgqXnMeP02z+zARKpmFgOreI28O6Ojp0awEWgSv0P9bizYSAgr46dwS/r9A6Hh RxxgaajD7c55cLGaJ6dEfbYFeS3QOua45k911ghT3qNGzAte+5TayYVw3qbzHOTdxrPt CDRuELH84zKQaQwJD3n4n9F165LKtaSStiDo8ewr6u12pQaoApIYnb5xQcxO20NGbuuI g4OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=RCw/cBkpd5jX4koFHNLlmSwe8g6xP2EfcQJg0PA7n1w=; b=KhInV4bSjdInZfFIQzdzONUnYaO4ABQ4cxRjkDGEXB78cQhdwP6Cz1ij1AYsgKYqhS zvk5hZQAAnzBc8DKdgNjL/cLOg5sDhzlwe+7X/PjMzdLZx2wqfE2gbDWqzpg38+EhZ2P rOKY/qEoWGAwoAQxQqqA9sZpH1axkqYROkr2QdYZVZ7TD3J6GexBjuNWShoa8aD2t1Rv SLNc8ore5luckdLAmEnTGfg7B1fbcvWTksG2tM5DRY+z05wGCzDGAGjB/R+VMbIEYKdA bJINfHg3IA/T2FRqo7PfNki3PjPsKfrzpmfKpc+rv7/5cxzz2ecOGiwYwbq7xdNFKrns 0bKg== X-Gm-Message-State: AOAM53041/3nEfrzilxRT03KVzfDY4+qkiaGl7EoQvo4RZLHCVQoqqbX PxJlgQXuGBx85+YOO2whoBRLUN3K6K4ZwBhiw7ixEXdxBL/hdF9iFJI= X-Google-Smtp-Source: ABdhPJyL+8uKPJ7pGJggaBIE1EnfCzl9bnzcj2lrJ15t0XgYKm3pJymrOrSUXaBSoaTSWikjJJ/Dme51RnFeIdndJyA= X-Received: by 2002:a25:af06:: with SMTP id a6mr18872665ybh.326.1624111032339; Sat, 19 Jun 2021 06:57:12 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::72b; envelope-from=hongyi.zhao@gmail.com; helo=mail-qk1-x72b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:131017 Archived-At: Dear all, Are there any built-in method of Emacs which can let me conveniently check/inspect/retrieve the definition/usage of any commands/symbols/operators used in elisp code at-the-point/in-situ? Say, for the following code snippets: ;;; (defun fk/company-wordfreq-toggle-language (&optional language) (interactive) (setq ispell-local-dictionary (or language (if (string= ispell-local-dictionary "english") "turkish" "english"))) [...] `(progn ,@(mapcar (lambda (p) `(use-package ,p)) packages))) (use-multiple-packages flycheck dash ) [...] (mapcar #'straight-use-package '(flycheck lsp-mode dash ...)) ;or equivalently (defvar my-package-list '(flycheck lsp-mode dash ...)) (mapcar #'straight-use-package my-package-list) ;;; I want to find some convenient methods built in Emacs itself with an in-situ manner - by moving the point to the interest position - to check any commands/symbols/operators used in them. Regards -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering NO. 552 North Gangtie Road, Xingtai, China