emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: auto-fill in c-mode messes up incomplete comments]


From: Giorgos Keramidas
Subject: Re: address@hidden: auto-fill in c-mode messes up incomplete comments]
Date: Fri, 29 Dec 2006 00:09:58 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (berkeley-unix)

On Tue, 26 Dec 2006 11:47:26 +0100, address@hidden (Michaël Cadilhac) wrote:
> I'll try to see if I can find a fix. ATM, I can fix Toby's problem but
> I still have weird behaviors:
>
> *** cc-cmds.el        03 Dec 2006 01:56:56 +0100      1.46
> --- cc-cmds.el        26 Dec 2006 11:32:25 +0100      
> ***************
> *** 3733,3739 ****
>                         ;; text and the ender, depending on how
>                         ;; many there are now.
>                         (unless spaces
> !                         (setq spaces (- ender-column (current-column))))
>                         (setq auto-fill-spaces (c-delete-and-extract-region
>                                                 (point) ender-start))
>                         ;; paragraph filling condenses multiple spaces to
> --- 3730,3736 ----
>                         ;; text and the ender, depending on how
>                         ;; many there are now.
>                         (unless spaces
> !                         (setq spaces (max 1 (- ender-column 
> (current-column)))))e
>                         (setq auto-fill-spaces (c-delete-and-extract-region
>                                                 (point) ender-start))
>                         ;; paragraph filling condenses multiple spaces to

Hi Michael and everyone,

If someone installs this, then please watch out for the trailing `e'
character in the newly added line.

- Giorgos





reply via email to

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