From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: guivho Newsgroups: gmane.emacs.help Subject: fill-paragraph problem Date: Wed, 15 Jun 2011 13:48:22 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1308139144 25520 80.91.229.12 (15 Jun 2011 11:59:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2011 11:59:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 15 13:59:00 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QWokO-0005j6-Ky for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jun 2011 13:59:00 +0200 Original-Received: from localhost ([::1]:56172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWokN-0005nn-Hv for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jun 2011 07:58:59 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWoaT-000410-Nm for help-gnu-emacs@gnu.org; Wed, 15 Jun 2011 07:48:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWoaR-0000Qa-Ti for help-gnu-emacs@gnu.org; Wed, 15 Jun 2011 07:48:45 -0400 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:56108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWoaR-0000QS-As for help-gnu-emacs@gnu.org; Wed, 15 Jun 2011 07:48:43 -0400 Original-Received: by ywb26 with SMTP id 26so252044ywb.0 for ; Wed, 15 Jun 2011 04:48:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=XPzAB5FcZPbVGZO2lHBQIwAWw5PPKCZ+Oxg7nFF4snw=; b=U6fsr+69wfWZ5QQcsnbRdHCNWuHWt/o4Ljn8mFP2OodqXVEoLKWSsbD2oHg1e80AN6 abqEJVGGd9F45halVfEoBzOoHsCxc/IfO9Vnj+K+RHTjEi2gSTa3be+tunbKY1BWZsLl 6zs+ELfu6SUjc6Fx0KpPM3iQVk6XzhMMvZ/Ds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=pAwc8SkBfu67Sh9WjwfweMkdBED5d8K9/g04Z2n/Gk7Gc9v+xo6PiMgAfJVzV1TuHg XuUwbviMScQBU0sNuzfGAe6GVZPkSYSTIgLwFHRkEcMsn3otjqErlovCGpSTjCUyZm0k 6sHTa5Axr6ffigBOjHhqZTrPwWFQrv4UghcKQ= Original-Received: by 10.91.3.17 with SMTP id f17mr686287agi.199.1308138522158; Wed, 15 Jun 2011 04:48:42 -0700 (PDT) Original-Received: by 10.90.33.10 with HTTP; Wed, 15 Jun 2011 04:48:22 -0700 (PDT) X-Google-Sender-Auth: IK9EQq7SYBAjiI4ejxUoARVuU7k X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81354 Archived-At: When I execute fill-paragraph I get a different result depending upon whether I've selected the paragraph or not. In the example following, I use a part of the fill-paragraph description text: [quote] Fill each of the paragraphs in the region. A prefix arg means justify as well. Ordinarily the variable `fill-column' controls the width. [unquote] For the example, I flow these three lines as a paragraph with one single line: [quote] Fill each of the paragraphs in the region. A prefix arg means justify as well. Ordinarily the variable `fill-column' controls the width. [unquote] With the cursor inside that line, (without selecting it!), hitting M-x fill-paragraph produces following result: [quote] Fill each of the paragraphs in the region. A prefix arg means justify as well. Ordinarily the variable `fill-column' controls the width. [unquote] However, when selecting this paragraph as region, fill-paragraph produces the expected result: [quote] Fill each of the paragraphs in the region. A prefix arg means justify as well. Ordinarily the variable `fill-column' controls the width. [unquote] I am totally puzzled about the white space that gets inserted on all but the first line if the paragraph has not been selected. Variables `fill-paragraph-function' and `fill-prefix' are both nil. The leading white-space gets inserted whether transient-mark-mode is enabled or disabled. Is there any way to avoid this behaviour? It's kind of annoying to have to select the current paragraph before being able to flow it properly. TIA, Guivho.