emacs-devel
[Top][All Lists]
Advanced

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

Comment filling


From: Michael Mauger
Subject: Comment filling
Date: Tue, 24 Feb 2004 13:17:38 -0800 (PST)

RMS forwarded me a bug report on sql.el related to filling text in
comments in sql.  I was asked to DTRT and confirmed that sql-mode was
behaving the same as c-mode did.  So I felt sql-mode was DTRT.

I took a step back and decided I'd try running this past the knowledgable
masses.

With auto-fill-mode set off, I type the following in a sql-mode buffer:

  -- This comment should be filled to multiple lines

If I then type M-q (fill-paragraph), I get:

  -- This comment should be filled to 
     multiple lines

If, however, I have set `auto-fill-mode' on, I would get:

  -- This comment should be filled to 
  -- multiple lines

Which is what I want.  

Is this a bug in `fill-paragraph' or is there something I can do in
sql-mode to get the desired `fill-paragraph' behavior?

BTW, the bug report and my testing was CVS emacs 21.3.50.  I don't have
an older emacs to test it.

TIA

--M


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools




reply via email to

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