From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: (void-function subr-native-elisp-p) Date: Sat, 01 May 2021 23:03:30 +0300 Message-ID: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32796"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs Developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 01 22:05:34 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 1lcvrq-0008QS-0n for ged-emacs-devel@m.gmane-mx.org; Sat, 01 May 2021 22:05:34 +0200 Original-Received: from localhost ([::1]:35198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcvrp-0000at-2D for ged-emacs-devel@m.gmane-mx.org; Sat, 01 May 2021 16:05:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcvqL-00007J-PM for emacs-devel@gnu.org; Sat, 01 May 2021 16:04:03 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:46537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcvqG-0001b2-Px for emacs-devel@gnu.org; Sat, 01 May 2021 16:04:01 -0400 Original-Received: from localhost ([::ffff:154.227.44.235]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000046166.00000000608DB429.00007D8F; Sat, 01 May 2021 13:03:52 -0700 Received-SPF: pass client-ip=217.170.207.13; envelope-from=support1@rcdrun.com; helo=stw1.rcdrun.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:268730 Archived-At: This is what I get on master when I press: C-h k SPC Debugger entered--Lisp error: (void-function subr-native-elisp-p) (subr-native-elisp-p def) (cond ((or (stringp def) (vectorp def)) "a keyboard macro") ((and (symbolp function) (get function 'reader-construct)) "a reader construct") (aliased (format-message "an alias for `%s'" real-def)) ((subr-native-elisp-p def) (concat beg "native compiled Lisp function")) ((subrp def) (concat beg (if (eq 'unevalled (cdr (subr-arity def))) "special form" "built-in function"))) ((autoloadp def) (format "an autoloaded %s" (cond ((commandp def) "interactive Lisp function") ((eq (nth 4 def) 'keymap) "keymap") ((nth 4 def) "Lisp macro") (t "Lisp function")))) ((or (eq (car-safe def) 'macro) (macrop function)) (concat beg "Lisp macro")) ((byte-code-function-p def) (concat beg "compiled Lisp function")) ((module-function-p def) (concat beg "module function")) ((eq (car-safe def) 'lambda) (concat be g "Lisp function")) ((eq (car-safe def) 'closure) (concat beg "Lisp closure")) ((keymapp def) (let ((is-full nil) (elts (cdr-safe def))) (while elts (if (char-table-p (car-safe elts)) (setq is-full t elts nil)) (setq elts (cdr-safe elts))) (concat beg (if is-full "keymap" "sparse keymap")))) (t "")) (princ (cond ((or (stringp def) (vectorp def)) "a keyboard macro") ((and (symbolp function) (get function 'reader-construct)) "a reader construct") (aliased (format-message "an alias for `%s'" real-def)) ((subr-native-elisp-p def) (concat beg "native compiled Lisp function")) ((subrp def) (concat beg (if (eq 'unevalled (cdr (subr-arity def))) "special form" "built-in function"))) ((autoloadp def) (format "an autoloaded %s" (cond ((commandp def) "interactive Lisp function") ((eq (nth 4 def) 'keymap) "keymap") ((nth 4 def) "Lisp macro") (t "Lisp function")))) ((or (eq (car-safe def) 'macro) (macrop function)) (concat beg "Lisp macro")) ((byte-code-function-p def) (concat beg "compiled Lisp function")) ((module-function-p def) (concat beg "module function")) ((eq (car-safe def) 'lambda) (co ncat beg "Lisp function")) ((eq (car-safe def) 'closure) (concat beg "Lisp closure")) ((keymapp def) (let ((is-full nil) (elts (cdr-safe def))) (while elts (if (char-table-p (car-safe elts)) (setq is-full t elts nil)) (setq elts (cdr-safe elts))) (concat beg (if is-full "keymap" "sparse keymap")))) (t ""))) (progn (princ (cond ((or (stringp def) (vectorp def)) "a keyboard macro") ((and (symbolp function) (get function 'reader-construct)) "a reader construct") (aliased (format-message "an alias for `%s'" real-def)) ((subr-native-elisp-p def) (concat beg "native compiled Lisp function")) ((subrp def) (concat beg (if (eq 'unevalled (cdr ...)) "special form" "built-in function"))) ((autoloadp def) (format "an autoloaded %s" (cond ((commandp def) "interactive Lisp function") ((eq ... ...) "keymap") ((nth 4 def) "Lisp macro") (t "Lisp function")))) ((or (eq (car-safe def) 'macro) (macrop function)) (concat beg "Lisp macro")) ((byte-code-function-p def) (concat beg "compiled Lisp function")) ((module-function-p def) (concat beg "module function")) ((eq (car-safe def) 'lambda) (concat beg "Lisp fun ction")) ((eq (car-safe def) 'closure) (concat beg "Lisp closure")) ((keymapp def) (let ((is-full nil) (elts (cdr-safe def))) (while elts (if (char-table-p ...) (setq is-full t elts nil)) (setq elts (cdr-safe elts))) (concat beg (if is-full "keymap" "sparse keymap")))) (t ""))) (if (and aliased (not (fboundp real-def))) (princ ",\nwhich is not defined.") (save-current-buffer (set-buffer standard-output) (save-excursion (let ((save-match-data-internal (match-data))) (unwind-protect (progn (if ... ...)) (set-match-data save-match-data-internal 'evaporate))))) (if file-name (progn (princ (format-message " in `%s'" (if (eq file-name ...) "C source code" (help-fns-short-filename file-name)))) (save-current-buffer (set-buffer standard-output) (save-excursion (re-search-backward (substitute-com mand-keys "`\\([^`']+\\)'") nil t) (help-xref-button 1 'help-function-def function file-name))))) (princ "."))) (let* ((file-name (find-lisp-object-file-name function (if aliased 'defun def))) (beg (if (and (or (byte-code-function-p def) (keymapp def) (memq (car-safe def) '...)) (stringp file-name) (help-fns--autoloaded-p function file-name)) (concat "an autoloaded " (if (commandp def) "interactive ")) (if (commandp def) "an interactive " "a ")))) (progn (princ (cond ((or (stringp def) (vectorp def)) "a keyboard macro") ((and (symbolp function) (get function 'reader-construct)) "a reader construct") (aliased (format-message "an alias for `%s'" real-def)) ((subr-native-elisp-p def) (concat beg "native compiled Lisp function")) ((subrp def) (concat beg (if (eq ... ...) "special form" "built-in function"))) ((autoloadp def) (format "an autoloaded %s" (cond (... "interactive Lisp function") (... "keym ap") (... "Lisp macro") (t "Lisp function")))) ((or (eq (car-safe def) 'macro) (macrop function)) (concat beg "Lisp macro")) ((byte-code-function-p def) (concat beg "compiled Lisp function")) ((module-function-p def) (concat beg "module function")) ((eq (car-safe def) 'lambda) (concat beg "Lisp function")) ((eq (car-safe def) 'closure) (concat beg "Lisp closure")) ((keymapp def) (let ((is-full nil) (elts ...)) (while elts (if ... ...) (setq elts ...)) (concat beg (if is-full "keymap" "sparse keymap")))) (t ""))) (if (and aliased (not (fboundp real-def))) (princ ",\nwhich is not defined.") (save-current-buffer (set-buffer standard-output) (save-excursion (let ((save-match-data-internal ...)) (unwind-protect (progn ...) (set-match-data save-match-data-internal ...))))) (if file-name (progn (princ (format-message " in `%s'" (if ... "C source code" ...))) (save-current-buffer (set-buffer standard-output) (save-excursion (re-search-backward ... nil t) (help-xref-button 1 ... function file-name))))) (princ ".")))) (let ((_real-function x33) (def x35) (aliased x37) (real-def x39)) (let* ((file-name (find-lisp-object-file-name function (if aliased 'defun def))) (beg (if (and (or (byte-code-function-p def) (keymapp def) (memq ... ...)) (stringp file-name) (help-fns--autoloaded-p function file-name)) (concat "an autoloaded " (if (commandp def) "interactive ")) (if (commandp def) "an interactive " "a ")))) (progn (princ (cond ((or (stringp def) (vectorp def)) "a keyboard macro") ((and (symbolp function) (get function ...)) "a reader construct") (aliased (format-message "an alias for `%s'" real-def)) ((subr-native-elisp-p def) (concat beg "native compiled Lisp function")) ((subrp def) (concat beg (if ... "special form" "built-in function"))) ((autoloadp def) (format "an autoloaded %s" (cond ... ... ... ...))) ((or (eq ... ...) (macrop function)) (concat beg "Lisp macro")) ((byte-code-function-p def) (concat beg "compiled Lisp function")) ((module-function-p def) (concat beg "module function")) ((eq (car-safe def) 'lambda) (concat beg "Lisp function")) ((eq (car-safe def) 'closure) (concat beg "Lisp closure")) ((keymapp def) (let (... ...) (while elts ... ...) (concat beg ...))) (t ""))) (if (and aliased (not (fboundp real-def))) (princ ",\nwhich is not defined.") (save-current-buffer (set-buffer standard-output) (save-excursion (let (...) (unwind-protect ... ...)))) (if file-name (progn (princ (format-message " in `%s'" ...)) (save-current-buffer (set-buffer standard-output) (save-excursion ... ...)))) (princ "."))))) (progn (ignore (null x40)) (let ((_real-function x33) (def x35) (aliased x37) (real-def x39)) (let* ((file-name (find-lisp-object-file-name function (if aliased 'defun def))) (beg (if (and (or ... ... ...) (stringp file-name) (help-fns--autoloaded-p function file-name)) (concat "an autoloaded " (if ... "interactive ")) (if (commandp def) "an interactive " "a ")))) (progn (princ (cond ((or ... ...) "a keyboard macro") ((and ... ...) "a reader construct") (aliased (format-message "an alias for `%s'" real-def)) ((subr-native-elisp-p def) (concat beg "native compiled Lisp function")) ((subrp def) (concat beg ...)) ((autoloadp def) (format "an autoloaded %s" ...)) ((or ... ...) (concat beg "Lisp macro")) ((byte-code-function-p def) (concat beg "compiled Lisp function")) ((module-function-p de f) (concat beg "module function")) ((eq ... ...) (concat beg "Lisp function")) ((eq ... ...) (concat beg "Lisp closure")) ((keymapp def) (let ... ... ...)) (t ""))) (if (and aliased (not (fboundp real-def))) (princ ",\nwhich is not defined.") (save-current-buffer (set-buffer standard-output) (save-excursion (let ... ...))) (if file-name (progn (princ ...) (save-current-buffer ... ...))) (princ ".")))))) (let* ((x39 (car-safe x38)) (x40 (cdr-safe x38))) (progn (ignore (null x40)) (let ((_real-function x33) (def x35) (aliased x37) (real-def x39)) (let* ((file-name (find-lisp-object-file-name function (if aliased ... def))) (beg (if (and ... ... ...) (concat "an autoloaded " ...) (if ... "an interactive " "a ")))) (progn (princ (cond (... "a keyboard macro") (... "a reader construct") (aliased ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (t ""))) (if (and aliased (not ...)) (princ ",\nwhich is not defined.") (save-current-buffer (set-buffer standard-output) (save-excursion ...)) (if file-name (progn ... ...)) (princ "."))))))) (progn (ignore (consp x38)) (let* ((x39 (car-safe x38)) (x40 (cdr-safe x38))) (progn (ignore (null x40)) (let ((_real-function x33) (def x35) (aliased x37) (real-def x39)) (let* ((file-name (find-lisp-object-file-name function ...)) (beg (if ... ... ...))) (progn (princ (cond ... ... ... ... ... ... ... ... ... ... ... ... ...)) (if (and aliased ...) (princ ",\nwhich is not defined.") (save-current-buffer ... ...) (if file-name ...) (princ ".")))))))) (let* ((x37 (car-safe x36)) (x38 (cdr-safe x36))) (progn (ignore (consp x38)) (let* ((x39 (car-safe x38)) (x40 (cdr-safe x38))) (progn (ignore (null x40)) (let ((_real-function x33) (def x35) (aliased x37) (real-def x39)) (let* ((file-name ...) (beg ...)) (progn (princ ...) (if ... ... ... ... ...)))))))) (progn (ignore (consp x36)) (let* ((x37 (car-safe x36)) (x38 (cdr-safe x36))) (progn (ignore (consp x38)) (let* ((x39 (car-safe x38)) (x40 (cdr-safe x38))) (progn (ignore (null x40)) (let ((_real-function x33) (def x35) (aliased x37) (real-def x39)) (let* (... ...) (progn ... ...)))))))) (let* ((x35 (car-safe x34)) (x36 (cdr-safe x34))) (progn (ignore (consp x36)) (let* ((x37 (car-safe x36)) (x38 (cdr-safe x36))) (progn (ignore (consp x38)) (let* ((x39 (car-safe x38)) (x40 (cdr-safe x38))) (progn (ignore (null x40)) (let (... ... ... ...) (let* ... ...)))))))) (progn (ignore (consp x34)) (let* ((x35 (car-safe x34)) (x36 (cdr-safe x34))) (progn (ignore (consp x36)) (let* ((x37 (car-safe x36)) (x38 (cdr-safe x36))) (progn (ignore (consp x38)) (let* ((x39 ...) (x40 ...)) (progn (ignore ...) (let ... ...)))))))) (let* ((x33 (car-safe val)) (x34 (cdr-safe val))) (progn (ignore (consp x34)) (let* ((x35 (car-safe x34)) (x36 (cdr-safe x34))) (progn (ignore (consp x36)) (let* ((x37 (car-safe x36)) (x38 (cdr-safe x36))) (progn (ignore (consp x38)) (let* (... ...) (progn ... ...)))))))) (progn (ignore (consp val)) (let* ((x33 (car-safe val)) (x34 (cdr-safe val))) (progn (ignore (consp x34)) (let* ((x35 (car-safe x34)) (x36 (cdr-safe x34))) (progn (ignore (consp x36)) (let* ((x37 ...) (x38 ...)) (progn (ignore ...) (let* ... ...)))))))) (let* ((val (help-fns--analyze-function function))) (progn (ignore (consp val)) (let* ((x33 (car-safe val)) (x34 (cdr-safe val))) (progn (ignore (consp x34)) (let* ((x35 (car-safe x34)) (x36 (cdr-safe x34))) (progn (ignore (consp x36)) (let* (... ...) (progn ... ...)))))))) help-fns-function-description-header(self-insert-command) (let ((pt1 (save-current-buffer (set-buffer (help-buffer)) (point)))) (help-fns-function-description-header function) (save-current-buffer (set-buffer (help-buffer)) (fill-region-as-paragraph (save-excursion (goto-char pt1) (forward-line 0) (point)) (point)))) describe-function-1(self-insert-command) describe-key(((" " . [32]))) funcall-interactively(describe-key ((" " . [32]))) call-interactively(describe-key nil nil) command-execute(describe-key)