bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: macro names and M-q


From: Werner LEMBERG
Subject: Re: macro names and M-q
Date: Wed, 21 Mar 2001 22:51:31 +0100 (CET)

> > Some keywords like @itemx are ignored if I press M-q, others like
> > @code aren't.
> 
> I don't think that's true.  It's just that _any_ string which starts
> with a `@' is treated by M-q as a separate paragraph.

Not really.  It is `@' followed a letter followed by a space or
newline.  Something like @foo{...} is thus not covered.

> >   .  Which code does control this?
> 
> See the variables paragraph-separate and paragraph-start set by
> texinfo-mode.

Aah, this is it!

> >   .  If I define a macro in texinfo, I would like to indicate to M-q
> >      that it should be treated like @itemx and not like @code.  How
> >      can I do that?
> 
> Please give an example.  If that macro is used on a line by itself,
> texinfo.el should already do that.  If it is not used on a line by
> itself, why do you need filling to ignore it?

It is no longer necessary since I can say address@hidden {...}' (note the space
after address@hidden') without problems -- this feature isn't really
documented...

Thanks for your help.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]