From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rares Vernica Newsgroups: gmane.emacs.help Subject: Re: autofill - wrong number of arguments when refilling paragraph Date: Sun, 26 Feb 2006 12:45:05 -0800 Organization: University of California, Irvine Message-ID: References: <4401825b$0$15786$14726298@news.sunsite.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1141188957 17304 80.91.229.2 (1 Mar 2006 04:55:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Mar 2006 04:55:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 01 05:55:53 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FEJNJ-0005Rn-3n for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Mar 2006 05:55:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FEJNI-00035G-JV for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Feb 2006 23:55:44 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!news.usc.edu!news.service.uci.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-NNTP-Posting-Host: cse104g.ics.uci.edu User-Agent: Thunderbird 1.5 (Windows/20051201) In-Reply-To: <4401825b$0$15786$14726298@news.sunsite.dk> Original-Xref: shelby.stanford.edu gnu.emacs.help:137812 Original-To: help-gnu-emacs@gnu.org 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:33438 Archived-At: Ralf Angeli wrote: > * Rares Vernica (2006-02-26) writes: > >> I am editing a .tex file and the auto-fill-mode is on. When trying to >> refill a paragraph I get: > > What does "refill" mean? Do you type a space so that Auto Fill mode > kicks in an fills the current line (as the subject of your message > seems to indicate) or do you type `M-q' for filling a paragraph > manually? I type M-q inside a paragraph. >> Wrong number of arguments: #, 2 > > What version of Emacs is this? Do you use AUCTeX? Can you type `M-x > toggle-debug-on-error RET', provoke the error again, and post the > resulting backtrace? The version is 21.4 and I think I use ACUTeX. Thanks a lot, Ray --- Debugger entered--Lisp error: (wrong-number-of-arguments # 2) set-match-data((# # # # # #) evaporate) byte-code("ÁÂ\"‡" [save-match-data-internal set-match-data evaporate] 3) byte-code("`Vƒoo„oÆyƒoÇÈ ÉÊ\nË°!ƒŠÌ”bˆÍ ÎŽÏ bˆ*Í ЎÇÑ\f!ÒÓ Ô°!*ƒbÕ``\fG\\\"\f˜ƒOÏ bˆÌyˆ` Wƒ\\`‚]Ö‚f֔)×ØÙ\"ˆ‚Ù‡" [limit TeX-comment-start-regexp LaTeX-paragraph-commands-regexp save-match-data-internal TeX-esc start -1 looking-at "^[ ]*" "*" "[ ]*\\(" "\\)" 1 match-data ((byte-code "ÁÂ\"‡" [save-match-data-internal set-match-data evaporate] 3)) TeX-find-macro-end ((byte-code "ÁÂ\"‡" [save-match-data-internal set-match-data evaporate] 3)) regexp-quote "[@A-Za-z]+" "\\|[ ]*\\($\\|" "\\)" buffer-substring-no-properties 0 throw found nil end-point] 7) LaTeX-backward-paragraph() LaTeX-fill-paragraph(nil) fill-paragraph(nil) call-interactively(fill-paragraph)