From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: (thing-at-point 'defun) Date: Tue, 6 Apr 2010 08:49:44 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270569076 1793 80.91.229.12 (6 Apr 2010 15:51:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Apr 2010 15:51:16 +0000 (UTC) To: "'Leo'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 06 17:51:15 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 1NzB3a-0005YK-1B for ged-emacs-devel@m.gmane.org; Tue, 06 Apr 2010 17:51:14 +0200 Original-Received: from localhost ([127.0.0.1]:43178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzB3Z-0002jc-L1 for ged-emacs-devel@m.gmane.org; Tue, 06 Apr 2010 11:51:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzB32-0002MZ-8m for emacs-devel@gnu.org; Tue, 06 Apr 2010 11:50:40 -0400 Original-Received: from [140.186.70.92] (port=39555 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzB31-0002Li-3Y for emacs-devel@gnu.org; Tue, 06 Apr 2010 11:50:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzB2z-0002Hj-TV for emacs-devel@gnu.org; Tue, 06 Apr 2010 11:50:38 -0400 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:19446) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzB2z-0002HY-OM for emacs-devel@gnu.org; Tue, 06 Apr 2010 11:50:37 -0400 Original-Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by acsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o36FoWCK004413 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 6 Apr 2010 15:50:34 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o36BlLFT005069; Tue, 6 Apr 2010 15:50:29 GMT Original-Received: from abhmt002.oracle.com by acsmt353.oracle.com with ESMTP id 150708751270568987; Tue, 06 Apr 2010 08:49:47 -0700 Original-Received: from dradamslap1 (/141.144.225.69) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 06 Apr 2010 08:49:46 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcrVnqHTCs/lqiRhQIK+plqgzkc4TQAAezZw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4BBB5848.010F:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:123270 Archived-At: > 'defun is listed in thing-at-point's doc string. What is this supposed > to do? I eval (thing-at-point 'defun) in various places and it seems > always return nil. It's a bug (IMO). I use this in thingatpt+.el; it is missing from thingatpt.el: ;; `defun' type (put 'defun 'beginning-op 'beginning-of-defun) (put 'defun 'end-op 'end-of-defun) (put 'defun 'forward-op 'end-of-defun)