From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wang Lei Newsgroups: gmane.emacs.help Subject: Re: What does (looking-at "\\>") mean? Date: Mon, 26 Jan 2009 01:51:10 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232931102 2640 80.91.229.12 (26 Jan 2009 00:51:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2009 00:51:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 26 01:52:55 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRFie-0000cF-00 for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 01:52:52 +0100 Original-Received: from localhost ([127.0.0.1]:46811 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRFhM-0001Lz-57 for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 19:51:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRFh3-0001Jx-1e for help-gnu-emacs@gnu.org; Sun, 25 Jan 2009 19:51:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRFh1-0001Iv-M3 for help-gnu-emacs@gnu.org; Sun, 25 Jan 2009 19:51:12 -0500 Original-Received: from [199.232.76.173] (port=59732 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRFh1-0001Is-GJ for help-gnu-emacs@gnu.org; Sun, 25 Jan 2009 19:51:11 -0500 Original-Received: from rv-out-0708.google.com ([209.85.198.240]:13064) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRFh1-0003jk-2z for help-gnu-emacs@gnu.org; Sun, 25 Jan 2009 19:51:11 -0500 Original-Received: by rv-out-0708.google.com with SMTP id k29so6668511rvb.6 for ; Sun, 25 Jan 2009 16:51:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=6PNDMMvovjyd7tILs29h53HwmQhAvPhfloyXlEYOC4Q=; b=vXM2jER/qQrjqDgRmthlyVJqonD18dZZ1MVT8tMZm98mg4M4uG0PzOg7Lw5ImLGufh nIbASqQPMrDLwoKe7jT8bXdMjMCu7qDZbJIHL2bDMy+0eYV/IKJtKc1LdBhcjv7QOkAc O4m5aHJhTl24bNdT70LxNLu7kGzMXRl99OaCo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=kF7RLki2JXv4tW5RGL07z3gxvUyYlC7Lp7bpkmFBwBBAQXSlXSnzuZq4a/83qmgJVy DfLpOwHqySG5UA+ZhfK6xf28TEYqCSv92cpSb2GZukj37SgOPvqitMYyqzzoCSb1bEgU ldfhgLUsdTW4uzbKuBVmA0FYRnYAF4vS0kZkE= Original-Received: by 10.140.177.15 with SMTP id z15mr3635908rve.17.1232931070149; Sun, 25 Jan 2009 16:51:10 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61644 Archived-At: I searched in elisp-info, but forgot emacs-info. :( Now, I got it. Thanks for your all! On 1/25/09, weber wrote: > From the emacs info on regexps: > > `\>' > matches the empty string, but only at the end of a word. `\>' > matches at the end of the buffer only if the contents end with a > word-constituent character. > > HTH > Hugo > > Wang Lei wrote: >> Hi, all. >> >> I copied a piece of code like this: >> >> (defun my-indent-or-complete () >> (interactive) >> (if (looking-at "\\>") >> (hippie-expand nil) >> (indent-for-tab-command))) >> >> But, I can't figure out what this "\\>" means. Could someone give me a >> explanation ? >> >> Many thanks! >> >> -- >> Regards >> Lei > -- Regards Lei