osdir.com
mailing list archive

Subject: Doubly escaped ampersands in tasks? - msg#00031

List: emacs.planner.general

Date: Prev Next Index Thread: Prev Next Index
Here's hoping the mailers don't corrupt the following...

If I put an ampersand into a planner task description (eg "wash &
polish the cat"), in the dayfile the text includes a single character,
the ampersand.

When published out to planner-xhtml, it becomes doubly-escaped, and
appears in the final xhtml file as the nine-character string
"Xamp;amp;" where X is the ampersand character.

Is there a fix for this?

Adrian


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Install problems - muse-colors and others

TC <a81220@xxxxxxxxxxxxxx> writes: > I didn't actually make any changes to Makefiles.def, but when I ran > make although it managed to compelte the autoloads target it fell > over when it began the main lisp target build, with the following: > > While compiling toplevel forms in file > /home/tc/elisp/planner/planner-accomplishments.el: > !! File error (("Cannot open load file" "muse-colors")) > Done > While compiling toplevel forms in file > /home/tc/elisp/planner/planner-appt.el: > !! File error (("Cannot open load file" "muse-colors")) > Done > While compiling toplevel forms in file > /home/tc/elisp/planner/planner-authz.el: > !! File error (("Cannot open load file" "muse-colors")) > Done > [...] > What am I doing wrong? I'm not sure, but whatever it is, I'm doing it too :) I did look at the Makefile a little and determined that it's the 'autoload' target that's causing those errors. FWIW, you don't have to run make for planner and/or muse to work, you simply need to add the correct paths to your environment and then load the desired modules, (load "planner") is probabaly the only one required for planner to work. -- Seeya, Paul

Next Message by Date: click to view message preview

Re: Re: Install problems - muse-colors and others

> I did look at the Makefile a little and determined that it's the > 'autoload' target that's causing those errors. Hmmm. I'm not so sure. I ran "make fullclean" and then "make autoload". It built fine. I then ran "make lisp" and it fell over. > FWIW, you don't have to run make for planner and/or muse to work, you > simply need to add the correct paths ... OK, so it's really just byte-compiling then? That said, I did try a simple load of planner.el (hacing first made sure I added the relevant planner and muse lisp to my laod path) and it griped at me with some lisp error. tc

Previous Message by Thread: click to view message preview

Install problems - muse-colors and others

I'm revisiting planner after a long absence. Things have moved on a lot! So much so, however, that I can't even get it off the ground. I followed the instructions line by line from: http://www.plannerlove.com/pmwiki/pmwiki.php?n=Main.DownloadingPlanner And then proceeded to: http://www.plannerlove.com/pmwiki/pmwiki.php?n=Main.Install I didn't actually make any changes to Makefiles.def, but when I ran make although it managed to compelte the autoloads target it fell over when it began the main lisp target build, with the following: While compiling toplevel forms in file /home/tc/elisp/planner/planner-accomplishments.el: !! File error (("Cannot open load file" "muse-colors")) Done While compiling toplevel forms in file /home/tc/elisp/planner/planner-appt.el: !! File error (("Cannot open load file" "muse-colors")) Done While compiling toplevel forms in file /home/tc/elisp/planner/planner-authz.el: !! File error (("Cannot open load file" "muse-colors")) Done And many more like that. I wondered if perhaps my .emacs needed to add .../planner and .../muse/lisp to my load path, but that didn't help. What am I doing wrong? thx, tc

Next Message by Thread: click to view message preview

Re: Doubly escaped ampersands in tasks?

"Adrian Tritschler" <adrian.tritschler@xxxxxxxxx> writes: > Here's hoping the mailers don't corrupt the following... > > If I put an ampersand into a planner task description (eg "wash & > polish the cat"), in the dayfile the text includes a single character, > the ampersand. > > When published out to planner-xhtml, it becomes doubly-escaped, and > appears in the final xhtml file as the nine-character string > "Xamp;amp;" where X is the ampersand character. > > Is there a fix for this? I've committed a fix to the development version. -- Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/ Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net /` |\ | | | IRC: freenode.net/mwolson: #emacs, #hcoop, #muse, #PurdueLUG |_] | \| |_| Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC pgp37iUWNZElJ.pgp Description: PGP signature _______________________________________________ Planner-el-discuss mailing list Planner-el-discuss@xxxxxxx https://mail.gna.org/listinfo/planner-el-discuss
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by