all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.