From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: What does (looking-at "\\>") mean? Date: Sun, 25 Jan 2009 08:52:22 -0800 Message-ID: <003401c97f0d$4b6e44f0$0200a8c0@us.oracle.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232902410 16697 80.91.229.12 (25 Jan 2009 16:53:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2009 16:53:30 +0000 (UTC) To: "'Wang Lei'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 17:54:43 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 1LR8Fo-0008Iu-RH for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 17:54:37 +0100 Original-Received: from localhost ([127.0.0.1]:46977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LR8EX-0000tC-80 for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 11:53:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LR8Da-0008Vk-Uo for help-gnu-emacs@gnu.org; Sun, 25 Jan 2009 11:52:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LR8DZ-0008TN-Ch for help-gnu-emacs@gnu.org; Sun, 25 Jan 2009 11:52:18 -0500 Original-Received: from [199.232.76.173] (port=39107 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LR8DY-0008Sa-Q1 for help-gnu-emacs@gnu.org; Sun, 25 Jan 2009 11:52:16 -0500 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:61233) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LR8DY-0006zq-7T for help-gnu-emacs@gnu.org; Sun, 25 Jan 2009 11:52:16 -0500 Original-Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n0PGpYhW001498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 25 Jan 2009 16:51:36 GMT Original-Received: from acsmt703.oracle.com (acsmt703.oracle.com [141.146.40.81]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n0PGq9gn017666; Sun, 25 Jan 2009 16:52:10 GMT Original-Received: from dradamslap1 (/24.5.128.33) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 25 Jan 2009 08:52:08 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acl/BpALumv/sYJQQlei6WJ1E3zE8gABiyVA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt703.oracle.com [141.146.40.81] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.497C98BA.0012:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:61626 Archived-At: > (looking-at "\\>") > > But, I can't figure out what this "\\>" means. > Could someone give me a explanation ? Ask Emacs. Emacs will give you an explanation. `C-h f looking-at' tells you: ,---- | Return t if text after point matches regular expression REGEXP. | This function modifies the match data that `match-beginning', | `match-end' and `match-data' access; save and restore the match | data if you want to preserve them. `---- IOW, (looking-at "\\>") returns t if the text following the cursor matches the regexp "\\>". Now you might want to ask Emacs about regexps...