23 Jan 2009 21:35

### link questions

Thanks for this application. I use it a great deal both at work and school.

2 questions regarding links.
1. I  believe in the past commenting lines (;) ensured they were not published.... but still kept the inline
link in emacs alive. The current version of emacs-muse responds to the comment by un-linking any links on
the line. Is there a way I can
change back? There are many cases I've used muse links where they are not intended for publication.

2. Images and links. Again, I use inline emacs-muse linking a lot to jump from file to file. When I set up an
image as a link, i.e. [[link][image]] , I get a good published link, but I get  no inline link, which is
disappointing from my perspective. Yes, I can create a separate inline link, but then I need to comment it
out for publication, and I get back to problem 1. Ideally, I'd love to have an image that works as an inline
emacs-muse hyperlink as well as a published html hyperlink.

Thanks for any help, and again for the program. It's incredibly useful!

John L.

---------------
mailto: john_lachapelle <at> ieee.org
web: http://jlachapelle.home.mindspring.com


18 Jan 2009 17:48

### Footnote in the title

Hi all,
I have a muse file with a first line like this:

#title Blabla[1]

And the footnote below as usual; all this done in footnote-mode with "C-c ! a".

Publishing to html, I get the footnote correctly inserted but the title
looks like this:

Blabla[1]

And of course you cannot click on the "1".

I did not try any other style with this file, but I wonder if this could
be improved?

Cheers,
--

--
jean


14 Jan 2009 16:34

### emacs, muse and utf-8

hi all,

just now i ran into a problem that may actually be due to how emacs
behaves, but i think it would be a good idea to post it here anyway, even
if it's just in case someone else runs into a similar problem.

i have a muse project set up for my website. i have sort-of a fixed
template for all my pages, with a menu on the right and my office address
printed at the top of the page.

the menu and address bar are in separate files, which i include on each
page with include-directives. this works fine most of the time.

on some pages where this address is included, a problem arises, however.
the file that contains the address is utf-8 encoded, because it contains a
non-ASCII character. when the page itself does not contain non-ASCII
characters, emacs thinks the file is not utf-8 encoded. as a result, the
html page created by muse claims it's not utf-8 encoded (although in fact
it is), and the address is displayed wrong (at least in firefox, haven't
tested with other browsers). it shows "GrÃ¼neburgplatz" rather than
"Grüneburgplatz".

i've set up my (linux) system to be utf all the way (LANG=en_US.UTF-8). in
emacs, i have set current-language-environment to UTF-8. IIUC this is the
correct way to make utf-8 the default for emacs. (is it really?) the
problem is that in spite of this, when a file does contains only ASCII
characters, emacs doesn't treat the file as utf-8, which seems to deceive
muse.

i use a somewhat customised xhtml header, which i have added below.

(Continue reading)

6 Jan 2009 20:03

### journal-rss issue

Hi,

I have the following problem: When I try to publish a blog as rss feed the first line in the description is always missing. It looks fine in the html version but not in the xml:

* 20081009: SAP goes public

The identification of organic material through comparisons of DNA sequences from a sample
to DNA sequences from a database, is an important research tool in a number of scientific
disciplines. In the zoological and ecological literature, identification of unknown...

turns into xml like this:

<item>
<title>SAP goes public</title>
<link>http://ib.berkeley.edu/labs/slatkin/munch/blog/ResearchBlog.html#SAP%20goes%20public</link>
<description><![CDATA[
to DNA sequences from a database, is an important research tool in a number of scientific
disciplines. In the zoological and ecological literature, identification of unknown...

Does anyone know that the problem could be?

Best,
Kasper Munch

--
Department of Integrative Biology
University of California, Berkeley
Office phone: (510) 643-6299

<div><p>Hi,<br><br>I have the following problem: When I try to publish a blog
as rss feed the first line in the description is always missing. It
looks fine in the html version but not in the xml:<br><br>* 20081009: SAP goes public<br><br>The identification of organic material through comparisons of DNA sequences from a sample<br>to DNA sequences from a database, is an important research tool in a number of scientific<br>disciplines. In the zoological and ecological literature, identification of unknown...<br><br>turns into xml like this:<br><br>&lt;item&gt;<br>&lt;title&gt;SAP goes public&lt;/title&gt;<br>&lt;link&gt;<a href="http://ib.berkeley.edu/labs/slatkin/munch/blog/ResearchBlog.html#SAP%20goes%20public" target="_blank">http://ib.berkeley.edu/labs/slatkin/munch/blog/ResearchBlog.html#SAP%20goes%20public</a>&lt;/link&gt;<br>

&lt;description&gt;&lt;![CDATA[<br>to DNA sequences from a database, is an important research tool in a number of scientific<br>disciplines. In the zoological and ecological literature, identification of unknown...<br><br>

Does anyone know that the problem could be?<br><br>Best,<br>Kasper Munch<br clear="all"><br>-- <br>Department of Integrative Biology<br>University of California, Berkeley<br>Office phone: (510) 643-6299<br></p></div>

5 Jan 2009 16:24

### [PATCH] Exclude .el files from byte-compilation and exclude them from installation given that the .elc file is not generated.


Michael Olson writes:
> "Brent Goodrick" <bgoodr <at> gmail.com> writes:
>
> > Byte-compiling Muse from head git source on top-of-trunk CVS Emacs
> > reveals a failure if htmlize.el is not in the load-path:
>
> I've checked in a fix for each of these.

Hi Michael,

Thanks a heap. I pulled that change in and now see a new problem that
somehow I missed before. Since the hack file is not byte-compiled, the
install rule fails to find a file by that name, because it won't exist
if it is not generated. Find below the patch to the contrib/Makefile
that fixes it that I committed locally (well I _hope_ it is local ..:)
).

Be gentle with me kind sir, as I'm a git noob. I committed a change
and then ran git "git format-patch -M origin", and pasted the result of
the file here, modified the Subject line of the original message to
match what get format-patch had, which matches my git commit message
(hmm, should I have kept the commit message to a single line?) .

I used the patch instructions in
http://www.emacswiki.org/emacs/PlannerDevelopment because I didn't see
those instructions in the
http://mwolson.org/static/doc/muse/Development.html page. If I should
deliver these patches to you and/or the mailing list in a more
effective manner, let me know and I'll comply.

Thanks,
Brent

---
contrib/Makefile |    6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/contrib/Makefile b/contrib/Makefile
index e6103ca..859c71a 100644
--- a/contrib/Makefile
+++ b/contrib/Makefile
<at>  <at>  -7,7 +7,8  <at>  <at>  DEFS = $(shell test -f ../Makefile.defs && echo ../Makefile.defs \ include$(DEFS)

EL  = $(wildcard *.el) -ELC =$(patsubst %.el,%.elc,$(EL)) +EL_NOT_BYTE_COMPILED = htmlize-hack.el +ELC =$(patsubst %.el,%.elc,$(filter-out$(EL_NOT_BYTE_COMPILED),$(EL))) all: contrib <at> <at> -16,9 +17,6 <at> <at> contrib:$(ELC)
$(PROJECT)-build.elc: ../scripts/$(PROJECT)-build.el
<at> echo $(PROJECT)-build.el is not byte-compiled -htmlize-hack.elc: htmlize-hack.el - <at> echo htmlize-hack.el is not byte-compiled - %.elc: %.el <at>$(EMACS) -q $(SITEFLAG) -batch -l ../scripts/$(PROJECT)-build.el \
-f batch-byte-compile \$<
--

--
1.5.6.5


2 Jan 2009 03:59

### Invalid certificate when browsing to mail.gna.org ?

When browsing to http://mail.gna.org/listinfo/muse-el-discuss/ I get

Secure Connection Failed

mail.gna.org uses an invalid security certificate.
The certificate is not trusted because it is self signed.

(Error code: sec_error_untrusted_issuer)

* This could be a problem with the server's configuration, or it
could be someone trying to impersonate the server.

* If you have connected to this server successfully in the past,
the error may be temporary, and you can try again later.

Is this my browser config or due to something that is misconfigured on
mail.gna.org?

BTW, I got to that web page via the main page that works at:
http://mwolson.org/projects/EmacsMuse.html

Thanks,
Brent


29 Dec 2008 20:17

### Encrypting regions

It seems like it would be very useful in muse to have a tag indicating
that the text enclosed should be encrypted with GPG. I know that this
would be useful for Planner users, who want to publish notes but have some
text encrypted.

It's not strictly necessary for Planner users, because they can also use
Allout mode for the notes, which supports encryption of topics within
notes. But it would be cleaner and nicer.

I know it could also be done with <command>, but what do people think
about having a dedicated tag for it?


28 Dec 2008 22:44

### error while trying to use <src lang="python">

Hi folks,

I am on up to date muse from the git repo plus up to date emacs. OS is
Debian sid. htmlize version is 1.34. While I tried to publish the
following to html

,----[ a Python snippet ]
| <src lang="python">
| def getdate(f):
|     for line in f:
|         matched = DateRegexp.search(line)
|         if matched:
|             return matched.group(1)
|
|
| if __name__ == "__main__":
|     OutFile = open("timestamps", "w+")
|     recurse(".")
| </src>
----

an error (http://pastie.org/paste/347951) occurred. I also tried to
publish

,----[ a C snippet ]
| <src lang="c">
| #include <stdlib.h>
|
| char *unused;
|
| int main (int argc, char *argv[])
| {
|     puts("Hello, world!\n");
| }
| </src>
----

which worked just fine. Any ideas on why publishing python code fails? I
am no elisp wizard but (void-variable py-mode-map) does not seem quite
right to me.


23 Dec 2008 21:52

### Paragraphs in list items

Hi folks,

Here's some input that IMO doesn't render the way it should:

1. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Curabitur eu ante. Quisque a tortor ac lectus malesuada
placerat.

- foo
- bar

Aliquam erat purus, consectetur non, vestibulum ac, gravida a,
orci. Fusce eget arcu. Sed pellentesque, felis pellentesque
laoreet sodales.

2. Nulla orci tortor, pellentesque quis, hendrerit eget, accumsan
ut, mi. Aenean accumsan interdum eros. Nam tortor velit,
pellentesque vel, dictum tincidunt, malesuada eget, nibh.

I would expect the following (in LaTeX):

\begin{enumerate}
\item Lorem ...

\begin{itemize}
\item foo
\item bar
\end{itemize}

Aliquam ...

\item Nulla ...
\end{enumerate}

The paragraph that starts with "Aliquam" should be a normal paragraph in the first item.  But Muse thinks
it's a blockquote (because the large indentation).  I understand that getting this right is very triky
but I was wondering if anyone knows a solution.

Cheers,
-M.

23 Dec 2008 13:02

### Test message

Test, please ignore...

23 Dec 2008 01:51

### muse install and install-info command

Hello,

The following is on emacs 22.0.93, muse-latest and using cygwin's make.

I just went though an installation of muse on my laptop, and the
install-info command failed with a No such file or directory for
muse'.  I tried to manually execute the command and it failed as well.
However, the following version did work

install-info --info-dir=... muse.info ||:

Note that I added the .info suffix to muse.

I am not sure if this is peculiar to my windows+cygwin setup.  I will
try to do it on my desktop, but that will be sometimes after the new
year.

Mirko

`

Gmane