From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.help Subject: fill-paragraph / fill region in latex (auctex) buffer Date: Mon, 14 Nov 2005 19:25:22 +0000 Message-ID: <5A4F65E5-135B-4EC0-AB06-4F03C5799E1C@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1131996449 1688 80.91.229.2 (14 Nov 2005 19:27:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Nov 2005 19:27:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 14 20:27:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EbjxZ-00008E-9i for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Nov 2005 20:25:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EbjxY-0000nw-9i for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Nov 2005 14:25:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EbjxI-0000nq-Ol for help-gnu-emacs@gnu.org; Mon, 14 Nov 2005 14:25:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EbjxG-0000nb-K8 for Help-gnu-emacs@gnu.org; Mon, 14 Nov 2005 14:25:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EbjxG-0000nX-H6 for Help-gnu-emacs@gnu.org; Mon, 14 Nov 2005 14:25:26 -0500 Original-Received: from [66.249.82.206] (helo=xproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EbjxG-0005FM-Hx for Help-gnu-emacs@gnu.org; Mon, 14 Nov 2005 14:25:26 -0500 Original-Received: by xproxy.gmail.com with SMTP id s19so1255463wxc for ; Mon, 14 Nov 2005 11:25:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=eq1hzgdREMZqDcVJ9L/1HDEHithcK7ziY0dYGEfscsTCRsvEm4HYXVITzeG6ACcVM6rcKKwrorrd0sCCOQeTvI0e3aG+R2PKe+TfXdr7WCnq/MLfUlmYodU/X5wuRcOxOU81Af6dB+vbnk7+0MrEjr9OT/5llzoj6dKpl8rORJA= Original-Received: by 10.64.179.4 with SMTP id b4mr5729451qbf; Mon, 14 Nov 2005 11:25:25 -0800 (PST) Original-Received: from ?129.215.174.81? ( [129.215.174.81]) by mx.gmail.com with ESMTP id o32sm1325903qbe.2005.11.14.11.25.22; Mon, 14 Nov 2005 11:25:25 -0800 (PST) Original-To: Emacs help X-Mailer: Apple Mail (2.746.2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31048 Archived-At: When I do fill-paragraph on a long line that starts with a %, the line is correctly wrapped and a % is added in front of each line. This is in latex-mode (AUCTeX). fill-paragraph-function is nil. When I select a region with the same text, the behavior is different - no %'s are inserted, and I get an undesirable result. This is annoying, because I would want to use fill-region on a whole buffer in order to wrap lines, and it turns all the commented out stuff into text that appears in my latex document... Is this a bug? If so, is it due to Emacs or to AUCTeX?