From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Compiling Elisp to a native code with a GCC plugin Date: Thu, 16 Sep 2010 11:57:41 +0900 Message-ID: <87iq26z97e.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87bp805ecr.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284607496 23768 80.91.229.12 (16 Sep 2010 03:24:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 16 Sep 2010 03:24:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 16 05:24:55 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ow55i-0000rx-U2 for ged-emacs-devel@m.gmane.org; Thu, 16 Sep 2010 05:24:55 +0200 Original-Received: from localhost ([127.0.0.1]:54084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ow55i-0000tA-9S for ged-emacs-devel@m.gmane.org; Wed, 15 Sep 2010 23:24:54 -0400 Original-Received: from [140.186.70.92] (port=40586 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ow55b-0000rh-HP for emacs-devel@gnu.org; Wed, 15 Sep 2010 23:24:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ow55a-0001Zh-Au for emacs-devel@gnu.org; Wed, 15 Sep 2010 23:24:47 -0400 Original-Received: from [130.158.254.171] (port=59069 helo=dmail02.cc.tsukuba.ac.jp) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ow55Z-0001Z8-Vg for emacs-devel@gnu.org; Wed, 15 Sep 2010 23:24:46 -0400 Original-Received: from imss12.cc.tsukuba.ac.jp (unknown [130.158.254.130]) by dmail02.cc.tsukuba.ac.jp (Postfix) with ESMTP id 3E91AF62AE for ; Thu, 16 Sep 2010 12:04:26 +0900 (JST) Original-Received: from imss12.cc.tsukuba.ac.jp (imss12.cc.tsukuba.ac.jp [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 24FAFF4003; Thu, 16 Sep 2010 12:04:17 +0900 (JST) Original-Received: from mgmt1.sk.tsukuba.ac.jp (unknown [130.158.97.223]) by imss12.cc.tsukuba.ac.jp (Postfix) with ESMTP id 168D2F4002; Thu, 16 Sep 2010 12:04:17 +0900 (JST) Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id 144AD3FA048D; Thu, 16 Sep 2010 12:04:17 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 109DC1A34BB; Thu, 16 Sep 2010 11:57:42 +0900 (JST) In-Reply-To: X-Mailer: VM undefined under 21.5 (beta29) "garbanzo" ed3b274cc037 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130240 Archived-At: Lars Magne Ingebrigtsen writes: > Is there any function like > > (is-the-string-following-point-equal-to-this-string-p "foo ") Does every one-line function need to be a built-in? (defun is-the-string-following-point-equal-to-this-string-p (s) (string= s (buffer-substring (point) (+ (point) (length s))))) or (defun is-the-string-following-point-equal-to-this-string-p (s) (search-forward s (+ (point) (length s)) t))