From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r108033: * lisp/progmodes/python.el (python-pdbtrack-get-source-buffer): Use Date: Wed, 25 Apr 2012 14:29:29 +0800 Message-ID: <87zka05np2.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335405736 10686 80.91.229.3 (26 Apr 2012 02:02:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2012 02:02:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 26 04:02:15 2012 Return-path: Envelope-to: ged-emacs-devel@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 1SNE2B-0000XR-8Y for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2012 04:02:15 +0200 Original-Received: from localhost ([::1]:46292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNE2A-0008Hj-Mi for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2012 22:02:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNE27-0008HY-NB for emacs-devel@gnu.org; Wed, 25 Apr 2012 22:02:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNE25-0006J8-Q1 for emacs-devel@gnu.org; Wed, 25 Apr 2012 22:02:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:37566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNE25-0006Ig-Ic for emacs-devel@gnu.org; Wed, 25 Apr 2012 22:02:09 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SNE21-0000PU-CV for emacs-devel@gnu.org; Thu, 26 Apr 2012 04:02:05 +0200 Original-Received: from 119.255.41.67 ([119.255.41.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Apr 2012 04:02:05 +0200 Original-Received: from sdl.web by 119.255.41.67 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Apr 2012 04:02:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 10 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 119.255.41.67 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) Cancel-Lock: sha1:TyYFDlVuvYbq2kr2TcabhgFrkWo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150037 Archived-At: On 2012-04-26 04:23 +0800, Stefan Monnier wrote: > Better not do that. Instead, add a function in compile.el which looks > at the `compilation-message' and returns the data you need (hopefully > re-using some of the code in compile.el), then use that function in > python.el. I guess compilation--message->loc etc are supposed to be used in compile.el only. I'll fix this after work. Thanks for the note. Leo