From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel,gmane.emacs.xemacs.beta Subject: unfill-paragraph(region) is different in GNU emacs and xemacs (was: unfill-paragraph (region) and indentation, ) Followup-To: gmane.emacs.xemacs.beta Date: Fri, 06 Nov 2009 20:44:10 +0900 Message-ID: <87639nev3p.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87zl747u59.fsf@mat.ucm.es> <878wemeic7.fsf@mat.ucm.es> <87skcsrmyv.fsf_-_@mat.ucm.es> Reply-To: xemacs-beta@xemacs.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1257507432 30539 80.91.229.12 (6 Nov 2009 11:37:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Nov 2009 11:37:12 +0000 (UTC) Cc: XEmacs Beta Discussion , emacs-devel@gnu.org, Stefan Monnier , Miles Bader To: Uwe Brauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 06 12:37:05 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N6N7l-00005D-Jp for ged-emacs-devel@m.gmane.org; Fri, 06 Nov 2009 12:37:01 +0100 Original-Received: from localhost ([127.0.0.1]:35498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6N7l-000223-3m for ged-emacs-devel@m.gmane.org; Fri, 06 Nov 2009 06:37:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N6N6j-0001Yl-4D for emacs-devel@gnu.org; Fri, 06 Nov 2009 06:35:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6N6e-0001UX-3G for emacs-devel@gnu.org; Fri, 06 Nov 2009 06:35:56 -0500 Original-Received: from [199.232.76.173] (port=57800 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6N6d-0001UH-P4 for emacs-devel@gnu.org; Fri, 06 Nov 2009 06:35:51 -0500 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]:47150) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N6N6b-0004JQ-Gd; Fri, 06 Nov 2009 06:35:49 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps02.sk.tsukuba.ac.jp (Postfix) with ESMTP id 9A4CD820E; Fri, 6 Nov 2009 20:35:45 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id C714F1A266C; Fri, 6 Nov 2009 20:44:10 +0900 (JST) In-Reply-To: <87skcsrmyv.fsf_-_@mat.ucm.es> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" d20e0a45a4b2 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:116683 gmane.emacs.xemacs.beta:31196 Archived-At: Reply-To set to xemacs-beta, as it seems this subthread is offtopic on emacs-devel. Uwe Brauer writes: > No it does not surprise, it is Xemacs filling function itself with > behaves different. > Could somebody from the Xemacs dev team comment on this? Yeah, they're different. I doubt anybody has given the core fill function love in a couple decades, everybody uses filladapt as far as I know. It's one of those things where we kept the core function for compatibility with Emacs despite a far superior third-party implementation (it was at the time, anyway; I've used nothing else for over two decades). On your sample text, with filladapt it does what I would expect: it treats the first and last lines (which have different prefixes from the rest of the lines) as separate paragraphs, and fills the middle lines to a single line with the same indentation.