From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesper Harder <harder@myrealbox.com> Newsgroups: gmane.emacs.help Subject: Re: paragraph definition problems Date: Sun, 14 Sep 2003 04:28:06 +0200 Organization: http://purl.org/harder/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <m3d6e4xfwp.fsf@defun.localdomain> References: <3f62b25c@news.unimelb.edu.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063507576 4977 80.91.224.253 (14 Sep 2003 02:46:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Sep 2003 02:46:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 14 04:46:15 2003 Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org> Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19yMty-0004CF-00 for <geh-help-gnu-emacs@m.gmane.org>; Sun, 14 Sep 2003 04:46:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19yMtT-0002B3-HO for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2003 22:45:43 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; <N5ksn~%wJ@2pjF}="tV; FBsdpFarSWA<oYkZsViGf:F^SD-KXhvFxh; ~]?)SWm~+u}; 0=x}<vOm&5J+?]yB2d]q4x8\0g7SX Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:uV6YakmSyulm6kv4jp4TgQEGuCk= Original-Lines: 23 Original-NNTP-Posting-Host: 195.249.130.17 Original-X-Trace: 1063506704 dtext01.news.tele.dk 83054 195.249.130.17 Original-X-Complaints-To: abuse@post.tele.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:116587 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org> List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>, <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe> List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs> List-Post: <mailto:help-gnu-emacs@gnu.org> List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help> List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>, <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe> Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12508 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12508 Joerg <nospam@nospam.org> writes: > Let's say I've got the following text: > > This is a paragraph. > This should be a new paragraph because of the space at the beginning. > > Now, if I press M-h to select the paragraph in the second line, the line > above is also selected, in spite of the space in the beginning of the second > one. Also M-q fills those "paragraphs" together. I think `paragraph-indent-text-mode' does what you want: ,----[ C-h f paragraph-indent-text-mode RET ] | paragraph-indent-text-mode is an interactive compiled Lisp function | in `textmodes/text-mode'. (paragraph-indent-text-mode) | | Major mode for editing text, with leading spaces starting a paragraph. | In this mode, you do not need blank lines between paragraphs | when the first line of the following paragraph starts with whitespace. | `paragraph-indent-minor-mode' provides a similar facility as a minor mode. | `----