Hi Eli,

 EZ> Sorry, I spake too fast and too harsh.
No you don't. You tried to explain what is going in there.
 EZ> It is true that the code
 EZ> which handles @defXXX commits atrocities against the usual Texinfo
 EZ> syntax, but most @-commands are unaffected by this.
 EZ> The ones which are dangerous inside @defXXX are macro calls
 EZ> and @value.  (I see your source uses @value, so be warned;
 EZ> I hope that the patches below will eliminate the need for that.)
see below.

 EZ> The problem with @@ in this case is unique to the HTML mode, and
 EZ> it is due to a bug: the HTML branch of the code doesn't
 EZ> expand the text, but instead adds it to output verbatim.
It seemed to me, that you don't read my mail completly ;-(

 EZ> The following changes should fix the problem.  If they don't
 EZ> solve all the problems, please tell which ones persist.
[...]
Take a look at the following:
KM> This above works in Info very well, and like I expected, but
KM> it does not work in HTML, cause the handling of the Arguments to
KM> @defmac is working not like I thought (I have taken a look
KM> into the source code, there are missing some execute_string
KM> for HTML area, but this won't solve the complete problem
KM> anymore).

KM> The scanning of the arguments for @defmac and for the other
KM> definition commands is not correct (IMHO).

KM> The defined_name value within source code shows:
KM> "@value{AT}" and not more. The rest will be added in later
KM> reader loop and not as a result from scanning arguments to
KM> @defmac.
KM> It should be:
KM> "@value{AT}TESTMACOR@value{AT}" This can be resolved in
KM> HTML using execute_string ().


What do you think about the following?
KM> The next thought I have was to suppress complete
KM> replacement if such an argument starts with a single brace.

KM> @defmac {@value{AT}TESTMACOR@value{AT}} ()
KM> should be inserted as it is.

KM> -- Macro: @value{AT}TESTMACOR@value{AT} ()

KM> Might this be a acceptable way?

KM> I don't know of the emacs manuals, might there be a chance
KM> to change them? If it is needed.



-- 
Jabba dabba dooohhh      e-mail: [EMAIL PROTECTED]
'til next mail.        Internet: http://www.fido.de/~kama/
  Karl Heinz 7:-)       Fidonet: 2:2452/110.18
                          Voice: +49 241 962380

--- FEddy 1.4.03 via ifcico
 * Origin: http://www.fido.de/~kama/fte/fte.html FTE Mirror
(2:2452/110.18)

---*reiss*------*schnippel*--------------------------*knabber*-----*fetz*---

-- 
Jabba dabba dooohhh      e-mail: [EMAIL PROTECTED]
Auf wiedermailen.      Internet: http://www.fido.de/~kama/
  Karl Heinz 7:-)       Fidonet: 2:2452/110.18
                          Voice: +49 241 962380

Reply via email to