From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.bugs Subject: added # characters when filling paragraph Date: Sun, 04 Jan 2004 18:41:11 -0600 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1073263390 17972 80.91.224.253 (5 Jan 2004 00:43:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2004 00:43:10 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 05 01:43:00 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdIpg-0001M6-00 for ; Mon, 05 Jan 2004 01:43:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AdJm8-0004ey-6t for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jan 2004 20:43:24 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AdJm1-0004aA-HB for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2004 20:43:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AdJlR-0003r2-1O for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2004 20:43:12 -0500 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AdJlQ-0003q5-JW for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2004 20:42:40 -0500 Original-Received: from lab46.ma.utexas.edu (mail@lab46.ma.utexas.edu [128.83.133.179]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i050fCB04642; Sun, 4 Jan 2004 18:41:12 -0600 Original-Received: from jcorneli by lab46.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1AdInv-0000yk-00; Sun, 04 Jan 2004 18:41:11 -0600 Original-To: bug-gnu-emacs@gnu.org X-all-your-base-are-belong-to-us: You are on the way to destruction. X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6477 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6477 In GNU Emacs 21.3.1 (i386-pc-linux-gnu, X toolkit) of 2003-10-31 on raven, modified by Debian configured using `configure i386-linux --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --without-gif --with-x=yes --with-x-toolkit=athena --without-toolkit-scroll-bars' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: nil default-enable-multibyte-characters: nil ==================================================================================================== I have defined the following function: (defun fill-in (num-columns) "Set the fill column and fill everything to the specified column." (interactive "nFill column: ") (mark-whole-buffer) (set-fill-column num-columns) (fill-individual-paragraphs (point) (mark))) Running this with argument 10 on a buffer with text \newcommand{\aff}[2]{\mathfrak{aff}_{#1} #2} \newcommand{\ala}{\emph{\'a la}} produces \newcommand{\aff}[2]{\mathfrak{aff}_{#1} #2} #\newcommand{\ala}{\emph{\'a #la}}