From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 03 02:11:45 2013 Received: (at submit) by debbugs.gnu.org; 3 Jun 2013 06:11:45 +0000 Received: from localhost ([127.0.0.1]:48401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjNzd-0001mQ-8x for submit@debbugs.gnu.org; Mon, 03 Jun 2013 02:11:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45186) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjNzb-0001m1-7Z for submit@debbugs.gnu.org; Mon, 03 Jun 2013 02:11:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjNxe-0001gP-PU for submit@debbugs.gnu.org; Mon, 03 Jun 2013 02:09:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_XBL, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjNxe-0001gL-M6 for submit@debbugs.gnu.org; Mon, 03 Jun 2013 02:09:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjNxZ-0004If-V1 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 02:09:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjNxV-0001fI-3P for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 02:09:37 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:34582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjNxU-0001fB-TA for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 02:09:33 -0400 Received: by mail-pd0-f175.google.com with SMTP id 5so1596356pdd.34 for ; Sun, 02 Jun 2013 23:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=AFf8oSKr/peoPqKB8Hpfp0T99J3qe3TS4fmb2GoWqG4=; b=jt0at/sOAqap0wQc0HJjwzXQxqnvGS7egrWJDy6g1f2BBzr7mPCLB94W5o+85XSNVw HKJBIEqp84O0vSBKV4yLwP3eIRgcmSGQFY6vzhtBAjZmu9+8XbJDPYGV0BbwjO4bmlS1 E65wYiJCCcIUUJtonccFhh3ihevqRKCI7mJqOTiQKxFaeTYMN8VcDFf6dGKyDpRimpAR IZR4p3+c4bgqawbFg4hlieZdez4+j6JrUBMShx2BXE92ZRT0o6arbPr8Iy304/zpBR8Y rzO824w0zj0dt2ukY+9dphepCiCI3Sj96QNjwK1pJmFaVcsR1FN+tLWY2DpC8xwHu4sX wKiA== X-Received: by 10.68.239.169 with SMTP id vt9mr22149977pbc.8.1370239772138; Sun, 02 Jun 2013 23:09:32 -0700 (PDT) Received: from debian-6.05 ([115.242.228.116]) by mx.google.com with ESMTPSA id eq5sm9512982pbc.15.2013.06.02.23.09.29 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Sun, 02 Jun 2013 23:09:31 -0700 (PDT) From: Jambunathan K To: bug-gnu-emacs@gnu.org Subject: 24.3.50; semantic/bovine/el.el + return value of `which-function' Date: Mon, 03 Jun 2013 11:39:47 +0530 Message-ID: <874ndfohck.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 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 (------) I see that when Emacs lisp files are parsed by semantic, the return value of `which-function' has extra decorations. 1. Put the below snippet in your .emacs 2. emacs -Q 3. Examine *Messages* buffer. You will see {declare-function} (find-file) The `{}' and `()' are what I call decorations. 4. Comment `load-library' line in .emacs. Restart emacs. 5. You will see ;; null-device ;; find-file Semantic intelligently identifies the `declare-function' rightly while Emacs naively identifies a preceding `defvar'. (Thumbs up for semantic parsing) But, please clarify how to interpret the extra decorations (or remove them if they are spurious). --8<---------------cut here---------------start------------->8--- (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(semantic-mode t) '(which-function-mode t)) (load-library "semantic/bovine/el.el") (find-library "files.el") (re-search-forward "declare-function") (forward-char 5) (message (which-function)) (find-function 'find-file) (forward-line 1) (message (which-function)) (view-echo-area-messages) --8<---------------cut here---------------end--------------->8--- In GNU Emacs 24.3.50.2 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2013-06-03 on debian-6.05 Bzr revision: 112824 rgm@gnu.org-20130602182638-wbn53t13ukjyzxq5 Windowing system distributor `The X.Org Foundation', version 11.0.10707000 Important settings: value of $LANG: en_IN locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 14 22:56:29 2013 Received: (at 14546-done) by debbugs.gnu.org; 15 Nov 2013 03:56:29 +0000 Received: from localhost ([127.0.0.1]:53006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhAWC-00085u-N1 for submit@debbugs.gnu.org; Thu, 14 Nov 2013 22:56:29 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:39697) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhAWA-00085e-Og for 14546-done@debbugs.gnu.org; Thu, 14 Nov 2013 22:56:27 -0500 Received: by mail-pa0-f50.google.com with SMTP id kp14so1449107pab.37 for <14546-done@debbugs.gnu.org>; Thu, 14 Nov 2013 19:56:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=zXz7Lp4KtTVvJvaoBur8BzJM6N8KCmIOthfcrFO0pKM=; b=NpWFxqfImqw0Faydih2+/IYGwDn6t8CPIqc0ozKz6RoIcfFZoUdSpcOuGedKuu+OEF hhqiEyk3EgLJpr5xzd1DKI4AZ3/vdoX2Sh96lf8DQoLoBr9l99hc6IjFdPlmKS1Ai5ZD xSU3SNXc/3LlrZ9HifS84VNWxsTsR7yvD8klqAXSIJL97+bBwI3735XQQqST8ThgYvq7 rg39sWcWZ2MDawIV2rSwCbVf4PE3WxZml4XzOQqFdtLHHvHSTsHsTTBzrxgTqz51tALJ gVxpAZpydpevG3+fPPsB4JXZHcutas8yyIC2x+ZeW31Zvm4fDifSf2o7v+27FD8hd9RZ nAnw== X-Received: by 10.68.196.69 with SMTP id ik5mr4826855pbc.132.1384487781090; Thu, 14 Nov 2013 19:56:21 -0800 (PST) Received: from debian-6.05 ([101.63.165.167]) by mx.google.com with ESMTPSA id e8sm1183349pbr.37.2013.11.14.19.56.17 for <14546-done@debbugs.gnu.org> (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Thu, 14 Nov 2013 19:56:20 -0800 (PST) From: Jambunathan K To: 14546-done@debbugs.gnu.org Subject: Re: bug#14546: 24.3.50; semantic/bovine/el.el + return value of `which-function' References: <874ndfohck.fsf@gmail.com> Date: Tue, 01 Jan 2002 05:59:14 +0530 In-Reply-To: <874ndfohck.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 03 Jun 2013 11:39:47 +0530") Message-ID: <87bsgeykv9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: If this is problematic for someone, he will report it. So closing it. [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.50 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (kjambunathan[at]gmail.com) 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_PASS SPF: sender matches SPF record 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 14546-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: If this is problematic for someone, he will report it. So closing it. [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.50 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (kjambunathan[at]gmail.com) 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_PASS SPF: sender matches SPF record 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid If this is problematic for someone, he will report it. So closing it. From unknown Sat Aug 16 22:47:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 13 Dec 2013 12:24:16 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator