From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nathan Trapuzzano Newsgroups: gmane.emacs.bugs Subject: bug#15848: 24.3.50; cperl-mode + which-function: Improve reporting (corner case) Date: Wed, 13 Nov 2013 06:41:18 -0500 Message-ID: <87li0smsv5.fsf@nbtrap.com> References: <87d2m8pwts.fsf@gmail.com> <87d2m8bhk1.fsf@nbtrap.com> <87iow0quc6.fsf@gmail.com> <87bo1squ1q.fsf@gmail.com> <87ob5sw8zm.fsf@nbtrap.com> <87txfkp6si.fsf@gmail.com> <87d2m8w6bx.fsf@nbtrap.com> <87vbzz9zga.fsf@gmail.com> <877gcf43g5.fsf@nbtrap.com> <87eh6n2o0a.fsf@gmail.com> <87li0v2nkw.fsf@nbtrap.com> <877gcf2n0b.fsf@gmail.com> <871u2nrne5.fsf@nbtrap.com> <878uwukxaw.fsf@gmail.com> <877gcdemmh.fsf@nbtrap.com> <87r4alqzm2.fsf@gmail.com> <87txfhif11.fsf@nbtrap.com> <87siv0hoi8.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384342940 18057 80.91.229.3 (13 Nov 2013 11:42:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Nov 2013 11:42:20 +0000 (UTC) Cc: 15848@debbugs.gnu.org To: Jambunathan K Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 13 12:42:24 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VgYpz-0001y5-Sc for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Nov 2013 12:42:23 +0100 Original-Received: from localhost ([::1]:48051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgYpz-0006yc-I6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Nov 2013 06:42:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgYpp-0006xV-V8 for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 06:42:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgYph-0005J3-Io for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 06:42:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgYpf-0005Ik-Fp for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 06:42:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VgYpe-00017q-Rt for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 06:42:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nathan Trapuzzano Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Nov 2013 11:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15848 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15848-submit@debbugs.gnu.org id=B15848.13843428904283 (code B ref 15848); Wed, 13 Nov 2013 11:42:02 +0000 Original-Received: (at 15848) by debbugs.gnu.org; 13 Nov 2013 11:41:30 +0000 Original-Received: from localhost ([127.0.0.1]:49685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VgYp8-000170-At for submit@debbugs.gnu.org; Wed, 13 Nov 2013 06:41:30 -0500 Original-Received: from oproxy12-pub.mail.unifiedlayer.com ([50.87.16.10]:60003) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1VgYp5-00016r-3E for 15848@debbugs.gnu.org; Wed, 13 Nov 2013 06:41:28 -0500 Original-Received: (qmail 17336 invoked by uid 0); 13 Nov 2013 11:41:24 -0000 Original-Received: from unknown (HELO host393.hostmonster.com) (66.147.240.193) by oproxy12.mail.unifiedlayer.com with SMTP; 13 Nov 2013 11:41:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbtrap.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=WjFXr3NHIrWnit/NR5l2SQukvVpUzwY7hfrHDK6xDic=; b=R4/JUuqAcDm6FeC6LO6tgiWp+RhPcZFGerofQXtK25sMlA0EbFAwzbSZOueZf+4dBUJeXxlEXz60MUKpcoSxXe1a6gGLJ2RfTcO0Y4CwfJoknnte2Z7ngfMFs/CMi8so; Original-Received: from [50.90.253.209] (port=53165 helo=Nathan-GNU) by host393.hostmonster.com with esmtpsa (TLSv1:CAMELLIA128-SHA:128) (Exim 4.80) (envelope-from ) id 1VgYp2-0007Ly-9k; Wed, 13 Nov 2013 04:41:24 -0700 In-Reply-To: <87siv0hoi8.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 13 Nov 2013 10:44:23 +0530") User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3.50 (gnu/linux) X-Identified-User: {1585:host393.hostmonster.com:nbtrapco:nbtrap.com} {sentby:smtp auth 50.90.253.209 authed with nbtrap@nbtrap.com} X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:80356 Archived-At: Jambunathan K writes: > Hmm.... Losing something to gain some thing else doesn't seem good to > me. I don't follow. What's being lost? > I cursorily looked at cperl-mode. My gut feeling is that which-function > decides the box it is in by looking at the markers that is returned. So > we may have to examine what value goes in to the marker. Yes, which-function just looks at the markers in the imenu index. Changing those markers' positions is exactly what the patch does.