From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: removing old installations Date: Sun, 26 Jun 2011 20:42:59 -0700 Message-ID: <871uyghrcs.fsf@ericabrahamsen.net> References: <87ei2hizlt.fsf@ericabrahamsen.net> <4E06CCEF.9040206@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1309146284 5982 80.91.229.12 (27 Jun 2011 03:44:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2011 03:44:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 27 05:44:41 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qb2kb-0004H7-8A for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2011 05:44:41 +0200 Original-Received: from localhost ([::1]:45173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb2ka-0008DQ-Ex for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jun 2011 23:44:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb2jJ-0008DA-KM for help-gnu-emacs@gnu.org; Sun, 26 Jun 2011 23:43:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qb2jI-0006uO-Fl for help-gnu-emacs@gnu.org; Sun, 26 Jun 2011 23:43:21 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:40274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb2jI-0006uH-6a for help-gnu-emacs@gnu.org; Sun, 26 Jun 2011 23:43:20 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qb2jG-0003qo-AD for help-gnu-emacs@gnu.org; Mon, 27 Jun 2011 05:43:18 +0200 Original-Received: from c-71-227-187-115.hsd1.wa.comcast.net ([71.227.187.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Jun 2011 05:43:18 +0200 Original-Received: from eric by c-71-227-187-115.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Jun 2011 05:43:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-227-187-115.hsd1.wa.comcast.net User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:htWZpvUttAkybBorX1Jrull1pnk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81451 Archived-At: On Sat, Jun 25 2011, Andreas Röhler wrote: > Am 25.06.2011 19:34, schrieb Eric Abrahamsen: >> I'm running the Ubuntu repository version of emacs (23.2.1) on Natty. In >> the past I've tried compiling both emacs 24 and emacs 23 myself on this >> machine, before deciding it was unnecessary and just using the >> repository version. As near as I can tell I've cleared the old 24 and 23 >> installations out of my system, but leftover files are still interfering >> with byte compilation in my present system. >> >> Makefiles in external packages like gnus or org-mode set the executable >> to "emacs" (ie, no full path). There are no other "emacs" executables on >> my path, but still I need to change the makefiles to specify >> "/usr/bin/emacs", or else I pick up weird bits from emacs 24, and my >> compiled files behave strangely (I can provide more details). > > > Hi, > > that would be of interest for me, just to understand how Emacs behaves. What was happening was that a call to a function named internal-temp-output-buffer-show, which only exists in emacs 24, was getting dragged in when my org-mode files were compiled. I ran into it in the org-export function, though grepping my compiled org-mode codebase showed that it had crept into more than a few of the compiled files. It was confusing because org-export complained that the function couldn't be found; meanwhile no mention of that function appears anywhere in the org codebase. Manually re-compiling the org-export function definition from within emacs cleared the problem up. That function seems to be included in src/window.c in the emacs trunk source, but I don't know where in your system it ends up after you've compiled and installed emacs 24. Nor do I know why it was pollution byte compilation in my regular emacs.