Emit Sorrels | 21 Mar 21:16 2012
Picon

How do I link between multiple projects

I have the following set up in .emacs

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(require 'muse-mode)
(require 'muse-html)
(require 'muse-project)
(require 'muse-publish)

(setq muse-project-alist
           '(("Foo"
              ("~/Foo" :default "index")
              (:base "html" :path "/var/www/Foo"))

             ("Bar"
              ("~/Bar")
              (:base "html" :path "/var/www/Bar"))))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


I can work on Foo and Bar separately and muse mode works very well.
Now I want to have some links between the two projects... I'm not sure but it looks like I want something like the Bar#EntryName form of a interproject link in the emacs wiki mode.

The following works:
In project Foo I have
[[../Bar/EntryName.html][EntryName]]
However I don't like it hard linking to an html file. Plus, I can't press enter on the link in emacs to go straight to the .muse file.

The following does not work:
[[../Bar/EntryName][EntryName]]
I can follow the link in emacs to edit the .muse file, but the generated html file in project Foo has a link to ../Bar/EntryName without the .html suffix.

What is the correct way to handle this?
<div>
<div>I have the following set up in .emacs</div>
<div>
<br class="Apple-interchange-newline">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div>
<div><br></div>
<div>(require 'muse-mode)</div>
<div>(require 'muse-html)</div>
<div>(require 'muse-project)</div>
<div>(require 'muse-publish)</div>
<div><br></div>
<div>
<div>(setq muse-project-alist</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'(("Foo"</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ("~/Foo" :default "index")</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (:base "html" :path "/var/www/Foo"))</div>
<div><br></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;("Bar"</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ("~/Bar")</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (:base "html" :path "/var/www/Bar"))))</div>
<div><br></div>
</div>
<div>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div>
<div><br></div>
<div><br></div>
<div>I can work on Foo and Bar separately and muse mode works very well.</div>
<div>Now I want to have some links between the two projects... I'm not sure but it looks like I want something like the Bar#EntryName form of a interproject link in the emacs wiki mode.</div>
<div><br></div>
<div>The following works:</div>
<div>In project Foo I have</div>
<div>[[../Bar/EntryName.html][EntryName]]</div>
<div>However I don't like it hard linking to an html file. Plus, I can't press enter on the link in emacs to go straight to the .muse file.</div>
<div><br></div>
<div>The following does not work:</div>
<div><div>[[../Bar/EntryName][EntryName]]</div></div>
<div>I can follow the link in emacs to edit the .muse file, but the generated html file in project Foo has a link to ../Bar/EntryName without the .html suffix.</div>
<div><br></div>
<div>What is the correct way to handle this?</div>
</div>
Michael Olson | 21 Mar 21:28 2012
Picon
Picon

Re: How do I link between multiple projects

Bar::EntryName is probably what you want.

On Wed, Mar 21, 2012 at 1:16 PM, Emit Sorrels <emit.sorrels <at> gmail.com> wrote:
I have the following set up in .emacs

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(require 'muse-mode)
(require 'muse-html)
(require 'muse-project)
(require 'muse-publish)

(setq muse-project-alist
           '(("Foo"
              ("~/Foo" :default "index")
              (:base "html" :path "/var/www/Foo"))

             ("Bar"
              ("~/Bar")
              (:base "html" :path "/var/www/Bar"))))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


I can work on Foo and Bar separately and muse mode works very well.
Now I want to have some links between the two projects... I'm not sure but it looks like I want something like the Bar#EntryName form of a interproject link in the emacs wiki mode.

The following works:
In project Foo I have
[[../Bar/EntryName.html][EntryName]]
However I don't like it hard linking to an html file. Plus, I can't press enter on the link in emacs to go straight to the .muse file.

The following does not work:
[[../Bar/EntryName][EntryName]]
I can follow the link in emacs to edit the .muse file, but the generated html file in project Foo has a link to ../Bar/EntryName without the .html suffix.

What is the correct way to handle this?

_______________________________________________
Muse-el-discuss mailing list
Muse-el-discuss <at> gna.org
https://mail.gna.org/listinfo/muse-el-discuss




--
Michael Olson  |  http://mwolson.org/
<div>
<p>Bar::EntryName is probably what you want.<br><br></p>
<div class="gmail_quote">On Wed, Mar 21, 2012 at 1:16 PM, Emit Sorrels <span dir="ltr">&lt;<a href="mailto:emit.sorrels <at> gmail.com">emit.sorrels <at> gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div>I have the following set up in .emacs</div>
<div>
<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div>
<div><br></div>
<div>(require 'muse-mode)</div>

<div>(require 'muse-html)</div>
<div>(require 'muse-project)</div>
<div>(require 'muse-publish)</div>
<div><br></div>
<div>
<div>(setq muse-project-alist</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'(("Foo"</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ("~/Foo" :default "index")</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (:base "html" :path "/var/www/Foo"))</div>

<div><br></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;("Bar"</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ("~/Bar")</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (:base "html" :path "/var/www/Bar"))))</div>
<div><br></div>
</div>
<div>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div>

<div><br></div>
<div><br></div>
<div>I can work on Foo and Bar separately and muse mode works very well.</div>
<div>Now I want to have some links between the two projects... I'm not sure but it looks like I want something like the Bar#EntryName form of a interproject link in the emacs wiki mode.</div>

<div><br></div>
<div>The following works:</div>
<div>In project Foo I have</div>
<div>[[../Bar/EntryName.html][EntryName]]</div>
<div>However I don't like it hard linking to an html file. Plus, I can't press enter on the link in emacs to go straight to the .muse file.</div>

<div><br></div>
<div>The following does not work:</div>
<div><div>[[../Bar/EntryName][EntryName]]</div></div>
<div>I can follow the link in emacs to edit the .muse file, but the generated html file in project Foo has a link to ../Bar/EntryName without the .html suffix.</div>

<div><br></div>
<div>What is the correct way to handle this?</div>
<br>_______________________________________________<br>
Muse-el-discuss mailing list<br><a href="mailto:Muse-el-discuss <at> gna.org">Muse-el-discuss <at> gna.org</a><br><a href="https://mail.gna.org/listinfo/muse-el-discuss" target="_blank">https://mail.gna.org/listinfo/muse-el-discuss</a><br><br>
</blockquote>
</div>
<br><br clear="all"><div><br></div>-- <br>Michael Olson&nbsp; |&nbsp; <a href="http://mwolson.org/" target="_blank">http://mwolson.org/</a><br>
</div>
Emit Sorrels | 21 Mar 22:06 2012
Picon

Re: How do I link between multiple projects

Is this a recent feature? I'm using the debian squeeze package muse-el (3.12-1.1), and maybe it's too old. When I use the :: format it simply creates a new file in the current project's directory.


While in Foo's muse file, I enter [[Bar::EntryName]]. When I follow the link it creates Bar::EntryName.muse in Foo/. Generated html link is "Bar::EntryName"

Bar is declared in .emacs as a project name.



On Wed, Mar 21, 2012 at 4:28 PM, Michael Olson <mwolson <at> gnu.org> wrote:
Bar::EntryName is probably what you want.

On Wed, Mar 21, 2012 at 1:16 PM, Emit Sorrels <emit.sorrels <at> gmail.com> wrote:
I have the following set up in .emacs

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(require 'muse-mode)
(require 'muse-html)
(require 'muse-project)
(require 'muse-publish)

(setq muse-project-alist
           '(("Foo"
              ("~/Foo" :default "index")
              (:base "html" :path "/var/www/Foo"))

             ("Bar"
              ("~/Bar")
              (:base "html" :path "/var/www/Bar"))))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


I can work on Foo and Bar separately and muse mode works very well.
Now I want to have some links between the two projects... I'm not sure but it looks like I want something like the Bar#EntryName form of a interproject link in the emacs wiki mode.

The following works:
In project Foo I have
[[../Bar/EntryName.html][EntryName]]
However I don't like it hard linking to an html file. Plus, I can't press enter on the link in emacs to go straight to the .muse file.

The following does not work:
[[../Bar/EntryName][EntryName]]
I can follow the link in emacs to edit the .muse file, but the generated html file in project Foo has a link to ../Bar/EntryName without the .html suffix.

What is the correct way to handle this?

_______________________________________________
Muse-el-discuss mailing list
Muse-el-discuss <at> gna.org
https://mail.gna.org/listinfo/muse-el-discuss




--
Michael Olson  |  http://mwolson.org/

_______________________________________________
Muse-el-discuss mailing list
Muse-el-discuss <at> gna.org
https://mail.gna.org/listinfo/muse-el-discuss


<div>
<p>Is this a recent feature? I'm using the debian squeeze package muse-el (3.12-1.1), and maybe it's too old.&nbsp;When I use the :: format it simply creates a new file in the current project's directory.</p>
<div><br></div>
<div>While in Foo's muse file, I enter [[Bar::EntryName]]. When I follow the link it creates Bar::EntryName.muse in Foo/. Generated html link is "Bar::EntryName"</div>
<div><br></div>
<div>Bar is declared in .emacs as a project name.</div>
<div><br></div>
<div>
<br><br><div class="gmail_quote">On Wed, Mar 21, 2012 at 4:28 PM, Michael Olson <span dir="ltr">&lt;<a href="mailto:mwolson <at> gnu.org">mwolson <at> gnu.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
Bar::EntryName is probably what you want.<br><br><div class="gmail_quote">
<div><div class="h5">On Wed, Mar 21, 2012 at 1:16 PM, Emit Sorrels <span dir="ltr">&lt;<a href="mailto:emit.sorrels <at> gmail.com" target="_blank">emit.sorrels <at> gmail.com</a>&gt;</span> wrote:<br>
</div></div>
<blockquote class="gmail_quote">
<div><div class="h5">
<div>I have the following set up in .emacs</div>
<div>
<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div>
<div><br></div>
<div>(require 'muse-mode)</div>

<div>(require 'muse-html)</div>
<div>(require 'muse-project)</div>
<div>(require 'muse-publish)</div>
<div><br></div>
<div>
<div>(setq muse-project-alist</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'(("Foo"</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ("~/Foo" :default "index")</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (:base "html" :path "/var/www/Foo"))</div>

<div><br></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;("Bar"</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ("~/Bar")</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (:base "html" :path "/var/www/Bar"))))</div>
<div><br></div>
</div>
<div>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div>

<div><br></div>
<div><br></div>
<div>I can work on Foo and Bar separately and muse mode works very well.</div>
<div>Now I want to have some links between the two projects... I'm not sure but it looks like I want something like the Bar#EntryName form of a interproject link in the emacs wiki mode.</div>

<div><br></div>
<div>The following works:</div>
<div>In project Foo I have</div>
<div>[[../Bar/EntryName.html][EntryName]]</div>
<div>However I don't like it hard linking to an html file. Plus, I can't press enter on the link in emacs to go straight to the .muse file.</div>

<div><br></div>
<div>The following does not work:</div>
<div><div>[[../Bar/EntryName][EntryName]]</div></div>
<div>I can follow the link in emacs to edit the .muse file, but the generated html file in project Foo has a link to ../Bar/EntryName without the .html suffix.</div>

<div><br></div>
<div>What is the correct way to handle this?</div>
<br>
</div></div>_______________________________________________<br>
Muse-el-discuss mailing list<br><a href="mailto:Muse-el-discuss <at> gna.org" target="_blank">Muse-el-discuss <at> gna.org</a><br><a href="https://mail.gna.org/listinfo/muse-el-discuss" target="_blank">https://mail.gna.org/listinfo/muse-el-discuss</a><br><br>
</blockquote>
</div>
<span class="HOEnZb"><br><br clear="all"><div><br></div>-- <br>Michael Olson&nbsp; |&nbsp; <a href="http://mwolson.org/" target="_blank">http://mwolson.org/</a><br></span><br>_______________________________________________<br>
Muse-el-discuss mailing list<br><a href="mailto:Muse-el-discuss <at> gna.org">Muse-el-discuss <at> gna.org</a><br><a href="https://mail.gna.org/listinfo/muse-el-discuss" target="_blank">https://mail.gna.org/listinfo/muse-el-discuss</a><br><br>
</blockquote>
</div>
<br>
</div>
</div>
Michael Olson | 21 Mar 23:37 2012
Picon
Picon

Re: How do I link between multiple projects

(require 'muse-wiki)     ; load Wiki support

On Wed, Mar 21, 2012 at 2:06 PM, Emit Sorrels <emit.sorrels <at> gmail.com> wrote:
Is this a recent feature? I'm using the debian squeeze package muse-el (3.12-1.1), and maybe it's too old. When I use the :: format it simply creates a new file in the current project's directory.

While in Foo's muse file, I enter [[Bar::EntryName]]. When I follow the link it creates Bar::EntryName.muse in Foo/. Generated html link is "Bar::EntryName"

Bar is declared in .emacs as a project name.



On Wed, Mar 21, 2012 at 4:28 PM, Michael Olson <mwolson <at> gnu.org> wrote:
Bar::EntryName is probably what you want.

On Wed, Mar 21, 2012 at 1:16 PM, Emit Sorrels <emit.sorrels <at> gmail.com> wrote:
I have the following set up in .emacs

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(require 'muse-mode)
(require 'muse-html)
(require 'muse-project)
(require 'muse-publish)

(setq muse-project-alist
           '(("Foo"
              ("~/Foo" :default "index")
              (:base "html" :path "/var/www/Foo"))

             ("Bar"
              ("~/Bar")
              (:base "html" :path "/var/www/Bar"))))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


I can work on Foo and Bar separately and muse mode works very well.
Now I want to have some links between the two projects... I'm not sure but it looks like I want something like the Bar#EntryName form of a interproject link in the emacs wiki mode.

The following works:
In project Foo I have
[[../Bar/EntryName.html][EntryName]]
However I don't like it hard linking to an html file. Plus, I can't press enter on the link in emacs to go straight to the .muse file.

The following does not work:
[[../Bar/EntryName][EntryName]]
I can follow the link in emacs to edit the .muse file, but the generated html file in project Foo has a link to ../Bar/EntryName without the .html suffix.

What is the correct way to handle this?

_______________________________________________
Muse-el-discuss mailing list
Muse-el-discuss <at> gna.org
https://mail.gna.org/listinfo/muse-el-discuss




--
Michael Olson  |  http://mwolson.org/

_______________________________________________
Muse-el-discuss mailing list
Muse-el-discuss <at> gna.org
https://mail.gna.org/listinfo/muse-el-discuss



_______________________________________________
Muse-el-discuss mailing list
Muse-el-discuss <at> gna.org
https://mail.gna.org/listinfo/muse-el-discuss




--
Michael Olson  |  http://mwolson.org/
<div>
<div>(require 'muse-wiki) &nbsp; &nbsp; ; load Wiki support</div>
<br><div class="gmail_quote">On Wed, Mar 21, 2012 at 2:06 PM, Emit Sorrels <span dir="ltr">&lt;<a href="mailto:emit.sorrels <at> gmail.com">emit.sorrels <at> gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">Is this a recent feature? I'm using the debian squeeze package muse-el (3.12-1.1), and maybe it's too old.&nbsp;When I use the :: format it simply creates a new file in the current project's directory.<div>

<br>
</div>
<div>While in Foo's muse file, I enter [[Bar::EntryName]]. When I follow the link it creates Bar::EntryName.muse in Foo/. Generated html link is "Bar::EntryName"</div>
<div><br></div>
<div>Bar is declared in .emacs as a project name.</div>

<div class="HOEnZb"><div class="h5">
<div><br></div>
<div>
<br><br><div class="gmail_quote">On Wed, Mar 21, 2012 at 4:28 PM, Michael Olson <span dir="ltr">&lt;<a href="mailto:mwolson <at> gnu.org" target="_blank">mwolson <at> gnu.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">

Bar::EntryName is probably what you want.<br><br><div class="gmail_quote">
<div><div>On Wed, Mar 21, 2012 at 1:16 PM, Emit Sorrels <span dir="ltr">&lt;<a href="mailto:emit.sorrels <at> gmail.com" target="_blank">emit.sorrels <at> gmail.com</a>&gt;</span> wrote:<br>
</div></div>
<blockquote class="gmail_quote">
<div><div>
<div>I have the following set up in .emacs</div>
<div>
<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div>
<div><br></div>
<div>(require 'muse-mode)</div>

<div>(require 'muse-html)</div>
<div>(require 'muse-project)</div>
<div>(require 'muse-publish)</div>
<div><br></div>
<div>
<div>(setq muse-project-alist</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'(("Foo"</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ("~/Foo" :default "index")</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (:base "html" :path "/var/www/Foo"))</div>

<div><br></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;("Bar"</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ("~/Bar")</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (:base "html" :path "/var/www/Bar"))))</div>
<div><br></div>
</div>
<div>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div>

<div><br></div>
<div><br></div>
<div>I can work on Foo and Bar separately and muse mode works very well.</div>
<div>Now I want to have some links between the two projects... I'm not sure but it looks like I want something like the Bar#EntryName form of a interproject link in the emacs wiki mode.</div>

<div><br></div>
<div>The following works:</div>
<div>In project Foo I have</div>
<div>[[../Bar/EntryName.html][EntryName]]</div>
<div>However I don't like it hard linking to an html file. Plus, I can't press enter on the link in emacs to go straight to the .muse file.</div>

<div><br></div>
<div>The following does not work:</div>
<div><div>[[../Bar/EntryName][EntryName]]</div></div>
<div>I can follow the link in emacs to edit the .muse file, but the generated html file in project Foo has a link to ../Bar/EntryName without the .html suffix.</div>

<div><br></div>
<div>What is the correct way to handle this?</div>
<br>
</div></div>_______________________________________________<br>
Muse-el-discuss mailing list<br><a href="mailto:Muse-el-discuss <at> gna.org" target="_blank">Muse-el-discuss <at> gna.org</a><br><a href="https://mail.gna.org/listinfo/muse-el-discuss" target="_blank">https://mail.gna.org/listinfo/muse-el-discuss</a><br><br>
</blockquote>
</div>
<span><br><br clear="all"><div><br></div>-- <br>Michael Olson&nbsp; |&nbsp; <a href="http://mwolson.org/" target="_blank">http://mwolson.org/</a><br></span><br>_______________________________________________<br>
Muse-el-discuss mailing list<br><a href="mailto:Muse-el-discuss <at> gna.org" target="_blank">Muse-el-discuss <at> gna.org</a><br><a href="https://mail.gna.org/listinfo/muse-el-discuss" target="_blank">https://mail.gna.org/listinfo/muse-el-discuss</a><br><br>
</blockquote>
</div>
<br>
</div>
</div></div>
<br>_______________________________________________<br>
Muse-el-discuss mailing list<br><a href="mailto:Muse-el-discuss <at> gna.org">Muse-el-discuss <at> gna.org</a><br><a href="https://mail.gna.org/listinfo/muse-el-discuss" target="_blank">https://mail.gna.org/listinfo/muse-el-discuss</a><br><br>
</blockquote>
</div>
<br><br clear="all"><div><br></div>-- <br>Michael Olson&nbsp; |&nbsp; <a href="http://mwolson.org/" target="_blank">http://mwolson.org/</a><br>
</div>

Gmane