Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!itivax!umich!zip!spencer From: spencer@eecs.umich.edu (Spencer W. Thomas) Newsgroups: comp.emacs Subject: Re: auto-fill-indent-right-margin Message-ID: Date: 6 Sep 89 14:56:53 GMT References: <1054@bimacs.BITNET> Sender: news@zippy.eecs.umich.edu Organization: University of Michigan EECS Dept Lines: 15 In-reply-to: yedidya@bimacs.BITNET's message of 5 Sep 89 12:45:42 GMT There is a function "justify-current-line". You can use this to change your auto-fill-hook as shown below. I haven't tested this extensively, but I did use it while I was typing this reply, so you can see the effect. You also can supply a prefix argument to fill-paragraph to get justification that way. (defun do-auto-justify () (do-auto-fill) (save-excursion (previous-line 1) (justify-current-line))) (setq auto-fill-hook 'do-auto-justify) -- =Spencer (spencer@eecs.umich.edu)