* canonical modifications to makefile for ubuntu feisty emacs 22.1.1?
@ 2007-09-05 14:42 Brian van den Broek
2007-09-05 15:34 ` Brian van den Broek
0 siblings, 1 reply; 3+ messages in thread
From: Brian van den Broek @ 2007-09-05 14:42 UTC (permalink / raw)
To: emacs-orgmode
Hi all,
In addition to being pretty new to org-mode, I'm also an emacs novice.
I am running ubuntu feisty with emacs 22.1.1 from the feisty backports
repository.
At some point, I made a mess of things in upgrading org-mode; stupidly
I sometimes modified the makefile so as to install the local lisp
files to a local lisp tree ~/emacs/site-lisp (loaded by my .emacs) and
sometimes so that they ended up in /usr/local/share/emacs/site-lisp.
My bad.
This just bit me as I installed 5.08 and ended up running 5.07a
despite that until I worked things out. Bandage applied to foot, all
seems fine for now.
But, I'd like not to shoot myself again. As yet, I've been modifying
the makefile on the basis of hope, rather than knowledge.
Could someone with a similar OS/emacs combo please suggest what's the
right thing to do?
Thanks and best,
Brian vdB
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: canonical modifications to makefile for ubuntu feisty emacs 22.1.1?
2007-09-05 14:42 canonical modifications to makefile for ubuntu feisty emacs 22.1.1? Brian van den Broek
@ 2007-09-05 15:34 ` Brian van den Broek
2007-09-06 7:47 ` Ian Barton
0 siblings, 1 reply; 3+ messages in thread
From: Brian van den Broek @ 2007-09-05 15:34 UTC (permalink / raw)
Cc: emacs-orgmode
Brian van den Broek said unto the world upon 09/05/2007 10:42 AM:
> Hi all,
>
> In addition to being pretty new to org-mode, I'm also an emacs novice. I
> am running ubuntu feisty with emacs 22.1.1 from the feisty backports
> repository.
>
> At some point, I made a mess of things in upgrading org-mode; stupidly I
> sometimes modified the makefile so as to install the local lisp files to
> a local lisp tree ~/emacs/site-lisp (loaded by my .emacs) and sometimes
> so that they ended up in /usr/local/share/emacs/site-lisp. My bad.
<snip>
> Could someone with a similar OS/emacs combo please suggest what's the
> right thing to do?
Hi all,
I got a couple of off-list replies. I summarize them here for future
googlers :-)
Both replies suggested that ~/emacs/site-lisp was probably the right
thing. (You can ensure that works by including a line like
(add-to-list 'load-path "/home/brian/emacs/site-lisp")
early in your .emacs.)
The really helpful bit was reminding me that I ought to run the make
dance as me, rather than by sudo'ing. This will ensure that the
process will only work if I am indeed installing into my local directory.
Thanks to those who wrote,
Brian vdB
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: canonical modifications to makefile for ubuntu feisty emacs 22.1.1?
2007-09-05 15:34 ` Brian van den Broek
@ 2007-09-06 7:47 ` Ian Barton
0 siblings, 0 replies; 3+ messages in thread
From: Ian Barton @ 2007-09-06 7:47 UTC (permalink / raw)
To: emacs-orgmode
>> At some point, I made a mess of things in upgrading org-mode; stupidly
>> I sometimes modified the makefile so as to install the local lisp
>> files to a local lisp tree ~/emacs/site-lisp (loaded by my .emacs) and
>> sometimes so that they ended up in /usr/local/share/emacs/site-lisp.
>> My bad.
>
Brian,
Having got some similar holes in my feet I install in my /home directory.
In my Makefile I have:
# Where local software is found
prefix=~/emacs
# Where local lisp files go.
lispdir = $(prefix)/org
In my .emacs:
(setq load-path (cons "~/emacs/org" load-path))
Thus any mistakes only affect my /home directory an so are more easily
fixed. If you are the only user of the computer, this method works well.
Ian.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-06 7:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-05 14:42 canonical modifications to makefile for ubuntu feisty emacs 22.1.1? Brian van den Broek
2007-09-05 15:34 ` Brian van den Broek
2007-09-06 7:47 ` Ian Barton
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.