unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Filling Block Comment
@ 2006-03-17  4:43 August Karlstrom
  2006-03-17 19:16 ` Andreas Röhler
  2006-03-21 16:53 ` Stefan Monnier
  0 siblings, 2 replies; 7+ messages in thread
From: August Karlstrom @ 2006-03-17  4:43 UTC (permalink / raw)


Hi everyone,

With

(require 'newcomment)
(setq comment-start "/*")
(setq comment-end "*/")
(set (make-local-variable 'fill-paragraph-function) 		
'fill-comment-paragraph)

the block comment

/* xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz */

is filled as (something like)

/* xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz
/* xyz xyz xyz */

instead of

/* xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz
xyz xyz xyz */

How do I make `fill-comment-paragraph' work with block comments?


August

-- 
I am the "ILOVEGNU" signature virus. Just copy me to your
signature.  This email was infected under the terms of the GNU
General Public License.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-03-28 23:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-17  4:43 Filling Block Comment August Karlstrom
2006-03-17 19:16 ` Andreas Röhler
2006-03-18 23:42   ` August Karlstrom
2006-03-19 20:06     ` Andreas Röhler
2006-03-28 23:37       ` August Karlstrom
2006-03-21 16:53 ` Stefan Monnier
2006-03-28 17:52   ` August Karlstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).