emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Graham Smith <myotisone@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: In response to: .emacs works on Mac but not on Ubuntu
Date: Tue, 16 Jun 2009 18:12:18 -0400	[thread overview]
Message-ID: <14350.1245190338@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Graham Smith <myotisone@gmail.com> of "Tue\, 16 Jun 2009 22\:31\:14 BST." <2c75873c0906161431j372dc264p303b5d35f4c230b5@mail.gmail.com>

Graham Smith <myotisone@gmail.com> 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.  To check that, type
> >
> > dpkg --list | grep org
> >
> > and see if org mode was installed by the package manager.  If so, just do a
> > normal remove and see if that doesn't take care of it.
> 
> 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.
> 

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 have
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:

,----
| 
| Sender: Eraldo Helal <admin@eraldo.at>
| From: Eraldo Helal <office@eraldo.at>
| To: Scot Becker <scot.becker@gmail.com>
| Cc: nicholas.dokos@hp.com, Org-Mode <emacs-orgmode@gnu.org>
| Date: Wed, 29 Apr 2009 19:29:32 +0200 (CEST)
| Subject: Re: [Orgmode] ascii export error
| X-FireGPG-Version: 0.7.5
| 
| 
| [[PGP Signed Part:Undecided]]
| I deleted "/etc/emacs/site-start.d/50org-mode.el".
| Everything works as intended now.
| 
| Special thanks to Nick and Scot. :)
| 
| On Wed, Apr 29, 2009 at 10:36, Scot Becker <scot.becker@gmail.com> wrote:
| 
|     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.
|    
|     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.
|    
|     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.
|    
|     Scot
| 
|     On Tue, Apr 28, 2009 at 10:02 PM, Eraldo Helal <office@eraldo.at> wrote:
|     > 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 <office@eraldo.at> wrote:
|     >>
|     >> 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-file ? //
|     >> 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
|     >
|     >
| 
| 
| [[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

  reply	other threads:[~2009-06-16 22:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-16 21:21 In response to: .emacs works on Mac but not on Ubuntu Jere McDevitt
2009-06-16 21:31 ` Graham Smith
2009-06-16 22:12   ` Nick Dokos [this message]
2009-06-17 15:40     ` Graham Smith
2009-06-17 16:24       ` Ian Barton
2009-06-17 16:46         ` Graham Smith
2009-06-17 17:28           ` Ian Barton
2009-06-17 18:04             ` Graham Smith
2009-06-17 17:30         ` Graham Smith
  -- strict thread matches above, loose matches on Subject: below --
2009-06-16 21:40 jere.mcdevitt
2009-08-14  7:22 how to draw picture in org-mode ? Does it support tikz/pgf ? waterloo
2009-08-14  8:03 ` Graham Smith
2009-08-14 10:53   ` Nick Dokos
2009-08-14 11:30     ` waterloo
     [not found]       ` <13156.1250249867@gamaville.dokosmarshall.org>
2009-08-14 11:50         ` waterloo
2009-08-15 11:37           ` waterloo
2009-08-15 14:26             ` Bernt Hansen
2009-08-16  2:23               ` waterloo
2009-08-16  2:42                 ` Bernt Hansen
2009-08-16  2:46                   ` waterloo
2009-08-16 15:58                     ` Eric Schulte
2009-08-16 16:04                       ` Eric Schulte
2009-08-16 18:40                         ` waterloo
2009-08-16  7:40     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14350.1245190338@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=myotisone@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).