From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pierre Lorenzon Newsgroups: gmane.emacs.auctex.general,gmane.emacs.help Subject: filling and comments Date: Wed, 27 Jun 2007 11:49:28 +0200 (CEST) Message-ID: <20070627.114928.193705952.pollock.nageoire@wanadoo.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182937831 4138 80.91.229.12 (27 Jun 2007 09:50:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2007 09:50:31 +0000 (UTC) To: help-gnu-emacs@gnu.org, auctex@gnu.org Original-X-From: auctex-bounces+geag-auctex=m.gmane.org@gnu.org Wed Jun 27 11:50:30 2007 Return-path: Envelope-to: geag-auctex@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I3UAQ-0004pJ-63 for geag-auctex@m.gmane.org; Wed, 27 Jun 2007 11:50:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3UAP-0002Gk-Ar for geag-auctex@m.gmane.org; Wed, 27 Jun 2007 05:50:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I3UA3-0002GY-9K for auctex@gnu.org; Wed, 27 Jun 2007 05:50:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I3UA2-0002GG-OT for auctex@gnu.org; Wed, 27 Jun 2007 05:50:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3UA2-0002G6-FX for auctex@gnu.org; Wed, 27 Jun 2007 05:50:06 -0400 Original-Received: from smtp20.orange.fr ([193.252.22.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I3UA2-0006QR-0W for auctex@gnu.org; Wed, 27 Jun 2007 05:50:06 -0400 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2024.orange.fr (SMTP Server) with ESMTP id 10AA11C00096 for ; Wed, 27 Jun 2007 11:50:04 +0200 (CEST) Original-Received: from localhost (APuteaux-154-1-72-22.w81-249.abo.wanadoo.fr [81.249.115.22]) by mwinf2024.orange.fr (SMTP Server) with ESMTP id BF10D1C0008D; Wed, 27 Jun 2007 11:50:03 +0200 (CEST) X-ME-UUID: 20070627095003782.BF10D1C0008D@mwinf2024.orange.fr X-Mailer: Mew version 5.1 on Emacs 22.1 / Mule 5.0 (SAKAKI) X-detected-kernel: Linux 2.4-2.6 X-BeenThere: auctex@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion about AUCTeX List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: auctex-bounces+geag-auctex=m.gmane.org@gnu.org Errors-To: auctex-bounces+geag-auctex=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.auctex.general:2114 gmane.emacs.help:45305 Archived-At: Hi, I am surprised by the difference between the behavior of the fill-region command in modes like emacs-lisp-mode and latex-mode provided by auctex. Personnaly I'd like that it works the same way ! If there is something to modify/customize please tell me ! So what : In emacs-lisp-mode (or Makefile mode or other programming moddes I think,) when there is a long line starting with a comment : e.g. ;; and filling the region containing this line with the fill-region command, the ;; is propagated on all lines created by the fill command. In latex-mode, (the line is now starting with %%), and executing the same command in the same situation, the long line is broken into smaller ones but the %% is not propagated ! It means that the short created lines are not commtnted ! and anyway that's not what I want ! What should I do ? Regards Pierre