From: Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org
Subject: Re: [Toby.Allsopp@navman.com: auto-fill in c-mode messes up incomplete comments]
Date: Fri, 29 Dec 2006 00:09:58 +0200 [thread overview]
Message-ID: <87ac178yfd.fsf@kobe.laptop> (raw)
In-Reply-To: <87slf353y9.fsf@lrde.org> (Michaël Cadilhac's message of "Tue\, 26 Dec 2006 11\:47\:26 +0100")
On Tue, 26 Dec 2006 11:47:26 +0100, michael@cadilhac.name (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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
next prev parent reply other threads:[~2006-12-28 22:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-25 0:43 [Toby.Allsopp@navman.com: auto-fill in c-mode messes up incomplete comments] Richard Stallman
2006-12-25 11:25 ` Michaël Cadilhac
2006-12-26 0:13 ` Toby Allsopp
2006-12-26 2:26 ` Richard Stallman
2006-12-26 10:47 ` Michaël Cadilhac
2006-12-27 2:59 ` Richard Stallman
2007-01-01 22:49 ` Alan Mackenzie
2006-12-28 22:09 ` Giorgos Keramidas [this message]
2007-01-02 21:09 ` Alan Mackenzie
2007-01-03 20:46 ` Alan Mackenzie
2007-01-04 7:59 ` Toby Allsopp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ac178yfd.fsf@kobe.laptop \
--to=keramida@ceid.upatras.gr \
--cc=bug-cc-mode@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.