From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: In response to: .emacs works on Mac but not on Ubuntu Date: Tue, 16 Jun 2009 18:12:18 -0400 Message-ID: <14350.1245190338@gamaville.dokosmarshall.org> References: <2c75873c0906161431j372dc264p303b5d35f4c230b5@mail.gmail.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGgty-0007by-Ld for emacs-orgmode@gnu.org; Tue, 16 Jun 2009 18:13:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGgtx-0007ap-OA for emacs-orgmode@gnu.org; Tue, 16 Jun 2009 18:13:10 -0400 Received: from [199.232.76.173] (port=43522 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGgtx-0007aQ-F2 for emacs-orgmode@gnu.org; Tue, 16 Jun 2009 18:13:09 -0400 Received: from qmta02.westchester.pa.mail.comcast.net ([76.96.62.24]:37521) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGgtx-0003CW-53 for emacs-orgmode@gnu.org; Tue, 16 Jun 2009 18:13:09 -0400 In-Reply-To: Message from Graham Smith of "Tue\, 16 Jun 2009 22\:31\:14 BST." <2c75873c0906161431j372dc264p303b5d35f4c230b5@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Graham Smith Cc: emacs-orgmode@gnu.org Graham Smith wrote: > > What may be happening is that Ubuntu has a default version of org-mode > > pre-installed in the primary load path directories, so that is what is = being > > picked up and not your latest version.=C2=A0 To check that, type > > > > dpkg --list | grep org > > > > and see if org mode was installed by the package manager.=C2=A0 If so, = just do a > > normal remove and see if that doesn't take care of it. >=20 > I can't check this just now (as I don't have access to my ubuntu > machine at the moment) but as I understand it Org-mode is distributed > with Emacs now, but the commands in the .emacs file over ride the > built in version and use the version in the path set up in .emacs. > That is what happens on the Mac, unless I have misunderstood. >=20 Jere may be right: I recall previous discussions on the list that indicated this kind of problem. You might want to check for the existence of /etc/emacsXXX/site-start.d/50org-mode.el. I can't find a reference to this mail in the archive (the thread seems to h= ave been cut off somehow), but I found it in my archive: Scot Becker had pointed out the existence of this file to Eraldo Helal and that turned out to be the problem. Here is what Eraldo had to say about it: ,---- |=20 | Sender: Eraldo Helal | From: Eraldo Helal | To: Scot Becker | Cc: nicholas.dokos@hp.com, Org-Mode | Date: Wed, 29 Apr 2009 19:29:32 +0200 (CEST) | Subject: Re: [Orgmode] ascii export error | X-FireGPG-Version: 0.7.5 |=20 |=20 | [[PGP Signed Part:Undecided]] | I deleted "/etc/emacs/site-start.d/50org-mode.el". | Everything works as intended now. |=20 | Special thanks to Nick and Scot. :) |=20 | On Wed, Apr 29, 2009 at 10:36, Scot Becker wrote: |=20 | On a debian-based system, and perhaps others, /etc/emacs/site-start.d | has a few files that set variables and define functions for use with | the Debian(Ubuntu, etc) system policies. There might be nothing in | there that your setup depends on, but I wouldn't want to risk it. you | can glance through the files in there and see what kinds of things | they touch. |=20=20=20=20 | However, if you want to try without it, you can rename it. If that | causes errors, you can rename it, then create an empty directory in | the same place /etc/emacs/site-start.d. |=20=20=20=20 | If that's where the problem is, the principal of dissection should | work there as well, just move the files out of the directory one at a | time (tryiing your export with emacs -Q each time, to see where the | offending file is. |=20=20=20=20 | Scot |=20 | On Tue, Apr 28, 2009 at 10:02 PM, Eraldo Helal wro= te: | > Is it save to just delte that directory: /etc/emacs/site-start.d | > Because I guess the error lies somewhere in there. | > Or is this directory important for something? | > | > On Tue, Apr 28, 2009 at 22:46, Eraldo Helal wrot= e: | >> | >> I discovered that there is a directory: /etc/emacs/site-start.d | >> http://paste.org/6848 | >> | >> Does this also get loaded by default and ignored with --no-site-fi= le ? // | >> that would make some sense again (to me) | > | > | > _______________________________________________ | > Emacs-orgmode mailing list | > Remember: use `Reply All' to send replies to the list. | > Emacs-orgmode@gnu.org | > http://lists.gnu.org/mailman/listinfo/emacs-orgmode | > | > |=20 |=20 | [[End of PGP Signed Part]] `---- But I don't think that there is an org-mode package as Jere suggests: I think it came as part of emacs. You'll probably need to do a little surgery as the mail describes. HTH, Nick