[mew-int 01882] Re: bad behaviour of M-q
Werner LEMBERG
wl at example.com
Fri Sep 17 16:22:24 JST 2004
> > Consider this line:
> >
> > This is some text which uses the greater than sign `>' in some text.
> >
> > Assuming value 70 for fill-common, press M-q and you get this:
> >
> > This is some text which uses the greater than sign `>' in some
> > >text.
>
> This is intentional.
I know, but...
> Since ">" is the quote mark, Mew sets comment-start to ">".
The logic where to apply this during the execution of M-q is not optimal.
> This is hard coding at this moment. If you wish, I will make it
> customizable.
Maybe some rules help to improve the behaviour. Right now these
suggestions come to my mind:
. If `>' appears in column 12 or greater, don't treat it as
comment-start. This ad-hoc value should be customizable.
. If `>' appears in column 1-11, test the previous and next line
whether we also have `>' at the same position.
. Provide a new command within mew, say, C-M-q, which is the same as
M-q in text mode, and which ignores `>'.
Werner
More information about the Mew-int
mailing list