From unknown Sun Jun 22 04:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13800: 24.3.50; About an example in "(elisp) Writing Emacs Primitives" Resent-From: Xue Fuqiao Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Feb 2013 06:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13800@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13616890686151 (code B ref -1); Sun, 24 Feb 2013 06:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Feb 2013 06:57:48 +0000 Received: from localhost ([127.0.0.1]:46447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9VWt-0001bA-G4 for submit@debbugs.gnu.org; Sun, 24 Feb 2013 01:57:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55569) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9VWo-0001az-Np for submit@debbugs.gnu.org; Sun, 24 Feb 2013 01:57:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9VVI-0006mF-QR for submit@debbugs.gnu.org; Sun, 24 Feb 2013 01:56:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-102.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:51801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9VVI-0006mB-Mq for submit@debbugs.gnu.org; Sun, 24 Feb 2013 01:56:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9VVE-0005bY-Jt for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2013 01:56:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9VVC-0006kz-CQ for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2013 01:56:04 -0500 Received: from mail-pb0-f47.google.com ([209.85.160.47]:44375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9VVC-0006kp-5t for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2013 01:56:02 -0500 Received: by mail-pb0-f47.google.com with SMTP id rp2so1133792pbb.34 for ; Sat, 23 Feb 2013 22:56:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:organization:x-mailer :mime-version:content-type:content-transfer-encoding; bh=/kQPhx9vyuqo+Dq1gFQ64X0pxE9v8smIM1q4Gc26f8E=; b=BLFtSWIGtzUDF9IvKywsrHkVJiQj4ZbD4CIirnismEEBeOqJo8GzNtj3AOptAXSKYl Z5E/fJNDSZKEybeXmGHMq4rYKLmGtNRf/k1qh9lHF+z9+gfoyLSCHza2Xhhh/1VI/9zz oxpUQDyZ7EZx16WqMtNy5AMwcmm4sCPoygO6f65WlwnnpPv67GhGxdH7JnbU0yuqTtxI /r6TcZ0lhRmXmJm/GCqLOvz0huYEpObKH2PbrCAU4oeVOsnRXYEpMGXwy3cBdLR6LBzl bqlxV4dn/GWicq8PN8lqGmfkAIuK+d5fTCoJpGf5pGJXTDjumz8Nf7t1ucCUfOSI6Agx BH8g== X-Received: by 10.68.236.130 with SMTP id uu2mr11700353pbc.152.1361688961026; Sat, 23 Feb 2013 22:56:01 -0800 (PST) Received: from Emacs ([61.149.226.23]) by mx.google.com with ESMTPS id y9sm9178751paw.1.2013.02.23.22.55.54 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 23 Feb 2013 22:56:00 -0800 (PST) Date: Sun, 24 Feb 2013 14:55:48 +0800 From: Xue Fuqiao Message-Id: <20130224145548.19f7704b99f913667ab3e4bb@gmail.com> Organization: The Church of Emacs X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.13; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) In (info "(elisp) Writing Emacs Primitives"): INTERACTIVE This is an interactive specification, a string such as might be used as the argument of `interactive' in a Lisp function. In the case of `or', it is 0 (a null pointer), indicating that `or' cannot be called interactively. A value of `""' indicates a function that should receive no arguments when called interactively. If the value begins with a `(', the string is evaluated as a Lisp form. For examples of the last two forms, see `widen' and `narrow-to-region' in `editfns.c'. In the last sentence, neither the INTERACTIVE of the example primitive `widen' nor `narrow-to-region' begins with a `('. I think `narrow-to-region' should be replaced by primitives like `insert-char' instead. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.0) of 2013-02-24 on Emacs Bzr revision: 111865 rgm@gnu.org-20130223220645-ym5xjdm8i09p2huy Windowing system distributor `The X.Org Foundation', version 11.0.11300000 System Description: Ubuntu 12.10 Configured using: `configure --config-cache --enable-link-time-optimization' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: r e - e m - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Best regards, Xue Fuqiao. http://www.emacswiki.org/emacs/XueFuqiao From unknown Sun Jun 22 04:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13800: 24.3.50; About an example in "(elisp) Writing Emacs Primitives" Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Feb 2013 15:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Xue Fuqiao Cc: 13800@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 13800-submit@debbugs.gnu.org id=B13800.136171846721816 (code B ref 13800); Sun, 24 Feb 2013 15:08:01 +0000 Received: (at 13800) by debbugs.gnu.org; 24 Feb 2013 15:07:47 +0000 Received: from localhost ([127.0.0.1]:47649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9dB5-0005fp-Dp for submit@debbugs.gnu.org; Sun, 24 Feb 2013 10:07:47 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:61113) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9dAx-0005fX-U5 for 13800@debbugs.gnu.org; Sun, 24 Feb 2013 10:07:44 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MIQ00E00CITKS00@a-mtaout22.012.net.il> for 13800@debbugs.gnu.org; Sun, 24 Feb 2013 17:05:19 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MIQ00E40CKVKP10@a-mtaout22.012.net.il>; Sun, 24 Feb 2013 17:05:19 +0200 (IST) Date: Sun, 24 Feb 2013 17:05:09 +0200 From: Eli Zaretskii In-reply-to: <20130224145548.19f7704b99f913667ab3e4bb@gmail.com> X-012-Sender: halo1@inter.net.il Message-id: <83obf9kb16.fsf@gnu.org> References: <20130224145548.19f7704b99f913667ab3e4bb@gmail.com> X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.2 (/) > Date: Sun, 24 Feb 2013 14:55:48 +0800 > From: Xue Fuqiao > > > In (info "(elisp) Writing Emacs Primitives"): > > INTERACTIVE > This is an interactive specification, a string such as might be > used as the argument of `interactive' in a Lisp function. In the > case of `or', it is 0 (a null pointer), indicating that `or' > cannot be called interactively. A value of `""' indicates a > function that should receive no arguments when called > interactively. If the value begins with a `(', the string is > evaluated as a Lisp form. For examples of the last two forms, see > `widen' and `narrow-to-region' in `editfns.c'. > > In the last sentence, neither the INTERACTIVE of the example primitive > `widen' nor `narrow-to-region' begins with a `('. I think > `narrow-to-region' should be replaced by primitives like `insert-char' > instead. And then, a few years later, someone else will say that the same happened with insert-char, yes? I'd rather suggest to remove any references to the sources, as that is a source of constant maintenance pains and inaccuracies in the docs. Instead, I suggest to add to the manual an example of such a DEFUN declaration. From unknown Sun Jun 22 04:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13800: 24.3.50; About an example in "(elisp) Writing Emacs Primitives" Resent-From: Xue Fuqiao Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Feb 2013 22:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 13800@debbugs.gnu.org Received: via spool by 13800-submit@debbugs.gnu.org id=B13800.1361744719973 (code B ref 13800); Sun, 24 Feb 2013 22:26:01 +0000 Received: (at 13800) by debbugs.gnu.org; 24 Feb 2013 22:25:19 +0000 Received: from localhost ([127.0.0.1]:48196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9k0V-0000Fd-5u for submit@debbugs.gnu.org; Sun, 24 Feb 2013 17:25:19 -0500 Received: from mail-pb0-f44.google.com ([209.85.160.44]:39167) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9k0S-0000FW-Vh for 13800@debbugs.gnu.org; Sun, 24 Feb 2013 17:25:18 -0500 Received: by mail-pb0-f44.google.com with SMTP id wz12so1311991pbc.31 for <13800@debbugs.gnu.org>; Sun, 24 Feb 2013 14:23:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:in-reply-to :references:organization:x-mailer:mime-version:content-type :content-transfer-encoding; bh=uyzmu9dUCAmps7mMj4OcdvEhcA8RDOz6OWr5paQSvI8=; b=gX8HJ2fTPIMAGw+2etDlDn/2uNqtQB6fNTdnCFDvfsoJgjKmhthaUB1ZEjSXpeNo+G Cb/XOFoZysN++jYfZY03zEgmbRncdfcjjpMRbttnK3lbduTIqo/AvzrduDJeSwR717B9 jOOV6R+o7cUIsceTVOXH9InTPpbssU6ArYynCG9nG84wKbvXtEmaCaX68gy3WPOp7rts Wh+ejmbcQCz40GJyBYHMf0cznVJKm8rIUAQoZA3xaVfNun+jZgoVe2fsQHaUuIsfZtS+ Iel5XUIXZJAB9/eLoAHNSNDQYVApchxNILNKZACz8tOTfEqNkSWMrL2MW5yDeJmX4MuO M8LQ== X-Received: by 10.66.175.143 with SMTP id ca15mr15703869pac.155.1361744620572; Sun, 24 Feb 2013 14:23:40 -0800 (PST) Received: from Emacs ([61.149.225.108]) by mx.google.com with ESMTPS id y9sm11283493paw.1.2013.02.24.14.23.38 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 24 Feb 2013 14:23:39 -0800 (PST) Date: Mon, 25 Feb 2013 06:23:36 +0800 From: Xue Fuqiao Message-Id: <20130225062336.30ae53f81de10e10bda2aaee@gmail.com> In-Reply-To: <83obf9kb16.fsf@gnu.org> References: <20130224145548.19f7704b99f913667ab3e4bb@gmail.com> <83obf9kb16.fsf@gnu.org> Organization: The Church of Emacs X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.13; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Sun, 24 Feb 2013 17:05:09 +0200 Eli Zaretskii wrote: > > Date: Sun, 24 Feb 2013 14:55:48 +0800 > > From: Xue Fuqiao > > In (info "(elisp) Writing Emacs Primitives"): > > INTERACTIVE > > This is an interactive specification, a string such as might be > > used as the argument of `interactive' in a Lisp function. In the > > case of `or', it is 0 (a null pointer), indicating that `or' > > cannot be called interactively. A value of `""' indicates a > > function that should receive no arguments when called > > interactively. If the value begins with a `(', the string is > > evaluated as a Lisp form. For examples of the last two forms, see > > `widen' and `narrow-to-region' in `editfns.c'. > > > > In the last sentence, neither the INTERACTIVE of the example primitive > > `widen' nor `narrow-to-region' begins with a `('. I think > > `narrow-to-region' should be replaced by primitives like `insert-char' > > instead. > And then, a few years later, someone else will say that the same > happened with insert-char, yes? > I'd rather suggest to remove any references to the sources, as that is > a source of constant maintenance pains and inaccuracies in the docs. > Instead, I suggest to add to the manual an example of such a DEFUN > declaration. +1 -- Best regards, Xue Fuqiao. http://www.emacswiki.org/emacs/XueFuqiao From unknown Sun Jun 22 04:20:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Xue Fuqiao Subject: bug#13800: closed (Re: 24.3.50; About an example in "(elisp) Writing Emacs Primitives") Message-ID: References: <20130224145548.19f7704b99f913667ab3e4bb@gmail.com> X-Gnu-PR-Message: they-closed 13800 X-Gnu-PR-Package: emacs Reply-To: 13800@debbugs.gnu.org Date: Sun, 21 Apr 2013 11:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1366544162-29194-1" This is a multi-part message in MIME format... ------------=_1366544162-29194-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #13800: 24.3.50; About an example in "(elisp) Writing Emacs Primitives" which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 13800@debbugs.gnu.org. --=20 13800: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D13800 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1366544162-29194-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 13800-done) by debbugs.gnu.org; 21 Apr 2013 11:35:43 +0000 Received: from localhost ([127.0.0.1]:34831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UTsYY-0007aG-Kd for submit@debbugs.gnu.org; Sun, 21 Apr 2013 07:35:42 -0400 Received: from mail-ie0-f180.google.com ([209.85.223.180]:62044) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UTsYW-0007a6-Br for 13800-done@debbugs.gnu.org; Sun, 21 Apr 2013 07:35:41 -0400 Received: by mail-ie0-f180.google.com with SMTP id to1so1447277ieb.39 for <13800-done@debbugs.gnu.org>; Sun, 21 Apr 2013 04:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=35xS6r43iJHPQ7JLHh+ZDcQ1d7OgkPU1JpXEsadNyvA=; b=lAukkGxulaHc4awsnfd/T0JfnajW2uam2KYVk8qLiZqhzcArg1XKjuGMoay0CfOHYM WJGnTfoWuMqiCGmCDEJ0bnr9UmQdO1J3kvoIKH6Wgi7/FSKCpBMqesfBsVlIPbTrEx8H AR1x15iA5EezjpsLWGesgATFxgrE6tjkY0JCSkgIMVeHvbiNBfOxaQB8Byw9WUna0EKK 7igDXsgcMp+3iK744x1ZJ3UQyf4RF8Rp5tB0NF/WJ2xMDDxGnESYS4/cRpXwjUBo+qvf FVvcOk9+F5cySFtKEmclmD7p/FzWo3XBH+lRslaNW0mMWdobDxe0OxH24tlnKvxBVWLV Xqtg== MIME-Version: 1.0 X-Received: by 10.50.152.7 with SMTP id uu7mr1058498igb.78.1366543854767; Sun, 21 Apr 2013 04:30:54 -0700 (PDT) Received: by 10.43.18.10 with HTTP; Sun, 21 Apr 2013 04:30:54 -0700 (PDT) Date: Sun, 21 Apr 2013 19:30:54 +0800 Message-ID: Subject: Re: 24.3.50; About an example in "(elisp) Writing Emacs Primitives" From: xfq To: 13800-done@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 13800-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) Fixed, thanks. -- Best regards, Xue Fuqiao. http://www.gnu.org/software/emacs/ ------------=_1366544162-29194-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Feb 2013 06:57:48 +0000 Received: from localhost ([127.0.0.1]:46447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9VWt-0001bA-G4 for submit@debbugs.gnu.org; Sun, 24 Feb 2013 01:57:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55569) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9VWo-0001az-Np for submit@debbugs.gnu.org; Sun, 24 Feb 2013 01:57:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9VVI-0006mF-QR for submit@debbugs.gnu.org; Sun, 24 Feb 2013 01:56:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-102.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:51801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9VVI-0006mB-Mq for submit@debbugs.gnu.org; Sun, 24 Feb 2013 01:56:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9VVE-0005bY-Jt for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2013 01:56:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9VVC-0006kz-CQ for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2013 01:56:04 -0500 Received: from mail-pb0-f47.google.com ([209.85.160.47]:44375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9VVC-0006kp-5t for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2013 01:56:02 -0500 Received: by mail-pb0-f47.google.com with SMTP id rp2so1133792pbb.34 for ; Sat, 23 Feb 2013 22:56:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:organization:x-mailer :mime-version:content-type:content-transfer-encoding; bh=/kQPhx9vyuqo+Dq1gFQ64X0pxE9v8smIM1q4Gc26f8E=; b=BLFtSWIGtzUDF9IvKywsrHkVJiQj4ZbD4CIirnismEEBeOqJo8GzNtj3AOptAXSKYl Z5E/fJNDSZKEybeXmGHMq4rYKLmGtNRf/k1qh9lHF+z9+gfoyLSCHza2Xhhh/1VI/9zz oxpUQDyZ7EZx16WqMtNy5AMwcmm4sCPoygO6f65WlwnnpPv67GhGxdH7JnbU0yuqTtxI /r6TcZ0lhRmXmJm/GCqLOvz0huYEpObKH2PbrCAU4oeVOsnRXYEpMGXwy3cBdLR6LBzl bqlxV4dn/GWicq8PN8lqGmfkAIuK+d5fTCoJpGf5pGJXTDjumz8Nf7t1ucCUfOSI6Agx BH8g== X-Received: by 10.68.236.130 with SMTP id uu2mr11700353pbc.152.1361688961026; Sat, 23 Feb 2013 22:56:01 -0800 (PST) Received: from Emacs ([61.149.226.23]) by mx.google.com with ESMTPS id y9sm9178751paw.1.2013.02.23.22.55.54 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 23 Feb 2013 22:56:00 -0800 (PST) Date: Sun, 24 Feb 2013 14:55:48 +0800 From: Xue Fuqiao To: bug-gnu-emacs@gnu.org Subject: 24.3.50; About an example in "(elisp) Writing Emacs Primitives" Message-Id: <20130224145548.19f7704b99f913667ab3e4bb@gmail.com> Organization: The Church of Emacs X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.13; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) In (info "(elisp) Writing Emacs Primitives"): INTERACTIVE This is an interactive specification, a string such as might be used as the argument of `interactive' in a Lisp function. In the case of `or', it is 0 (a null pointer), indicating that `or' cannot be called interactively. A value of `""' indicates a function that should receive no arguments when called interactively. If the value begins with a `(', the string is evaluated as a Lisp form. For examples of the last two forms, see `widen' and `narrow-to-region' in `editfns.c'. In the last sentence, neither the INTERACTIVE of the example primitive `widen' nor `narrow-to-region' begins with a `('. I think `narrow-to-region' should be replaced by primitives like `insert-char' instead. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.0) of 2013-02-24 on Emacs Bzr revision: 111865 rgm@gnu.org-20130223220645-ym5xjdm8i09p2huy Windowing system distributor `The X.Org Foundation', version 11.0.11300000 System Description: Ubuntu 12.10 Configured using: `configure --config-cache --enable-link-time-optimization' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: r e - e m - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Best regards, Xue Fuqiao. http://www.emacswiki.org/emacs/XueFuqiao ------------=_1366544162-29194-1--