emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Edward DeMeulle <ed@demeulle.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: auto-fill non-op, fill-paragraph error
Date: Sat, 29 Sep 2012 00:27:07 -0400	[thread overview]
Message-ID: <7962.1348892827@alphaville> (raw)
In-Reply-To: Message from Edward DeMeulle <ed@demeulle.org> of "Fri\, 28 Sep 2012 21\:06\:04 PDT." <87sja1scb7.fsf@demeulle.org>

Edward DeMeulle <ed@demeulle.org> wrote:

> Achim Gratz <Stromeko@nexgo.de> writes:
> > It also tells you that it is not a good idea to keep …/org/contrib in
> > load-path before …/org.  Maybe the manual and Worg should be checked for
> > bad advice in that direction?
> 
> My init is set as follows:
> (add-to-list 'load-path "~/.emacs.d/org-mode/lisp") 
> (add-to-list 'load-path "~/.emacs.d/org-mode/contrib/lisp") 
> 
> isn't that the way it should be?
> 

No - C-h f add-to-list RET says:

,----
| add-to-list is a compiled Lisp function in `subr.el'.
| 
| (add-to-list LIST-VAR ELEMENT &optional APPEND COMPARE-FN)
| 
| Add ELEMENT to the value of LIST-VAR if it isn't there yet.
| The test for presence of ELEMENT is done with `equal',
| or with COMPARE-FN if that's non-nil.
| If ELEMENT is added, it is added at the beginning of the list,
| unless the optional argument APPEND is non-nil, in which case
| ELEMENT is added at the end.
`----

So you can either reverse the order, or you can say

  (add-to-list 'load-path "~/.emacs.d/org-mode/contrib/lisp" t) 

which will add it to the end of the list.

The two methods are not equivalent, mind you, but in either case the org
lisp directory will be found before the org contrib lisp directory.

And check with C-h v load-path RET afterwards to make sure that
things are as they should be.

Nick

  reply	other threads:[~2012-09-29  4:27 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18  1:39 Edward DeMeulle
2012-09-18  6:44 ` Bastien
2012-09-18 14:09   ` Edward DeMeulle
2012-09-24 12:02     ` modeless
2012-09-24 13:57       ` Bastien
     [not found]         ` <CALLZsM=Z_tOqNGT=V8kfcFAZhU0LjW6iQ04hVBBuGREh9hjeuA@mail.gmail.com>
     [not found]           ` <87vcf3l9cu.fsf@bzg.ath.cx>
     [not found]             ` <CALLZsMn_OahEnx2LhsUAUMTfvaR3gTVW2wrFWo7vY99DiMDFbw@mail.gmail.com>
     [not found]               ` <87a9wektfg.fsf@bzg.ath.cx>
2012-09-25 15:56                 ` Jörn Gersdorf
2012-09-27  1:23                   ` Edward DeMeulle
2012-09-27  8:11                     ` Bastien
2012-09-27 14:16                       ` Edward DeMeulle
2012-09-27 14:42                         ` Edward DeMeulle
2012-09-27 21:23                           ` Bastien
2012-09-28  3:41                             ` Edward DeMeulle
2012-09-28  6:37                               ` Bastien
2012-09-28 13:32                                 ` Edward DeMeulle
2012-09-28 13:54                                   ` Bastien
2012-09-28 14:39                                     ` Edward DeMeulle
2012-09-28 14:54                                       ` Bastien
2012-09-28 14:56                                         ` Edward DeMeulle
2012-09-28 15:06                                           ` Edward DeMeulle
2012-09-28 19:27                                         ` Achim Gratz
2012-09-29  4:06                                           ` Edward DeMeulle
2012-09-29  4:27                                             ` Nick Dokos [this message]
2012-09-29  5:14                                               ` Edward DeMeulle
2012-09-29  5:28                                           ` Bastien

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=7962.1348892827@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=ed@demeulle.org \
    --cc=emacs-orgmode@gnu.org \
    /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).