auto-filling and indent-for-comment.

Uwe Brauer oub at mat.ucm.es
Thu Jan 17 14:39:31 EST 2008


Hello

The following trivial function 
(defun my-add-comment ()				;Version:1.118
  "Combination of linefeed and indent for comment."
  (interactive)							
  (line-feed)
  (indent-for-comment))


Also me to add comments in this form 
(defun my-add-comment ()				;Version:1.118
  "Combination of linefeed and indent for comment."
  (interactive)							
  (line-feed)                    ;this is almost to easy
  (indent-for-comment))          ; to be true


Now I would like that a modification of auto-fill-mode/and or
adaptive-fill would produce this result.

Anybody has an idea?

thanks

Uwe Brauer 



More information about the XEmacs-Beta mailing list