From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: roodwriter@ureach.com Newsgroups: gmane.emacs.help Subject: Re: longlines-mode and newline-and-indent Date: 19 Nov 2006 13:08:13 -0500 Organization: Linux Private Site Message-ID: <87bqn3gvhu.fsf@linux.site> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163961636 14241 80.91.229.2 (19 Nov 2006 18:40:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Nov 2006 18:40:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 19 19:40:35 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 1Glraf-0003Ma-9b for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Nov 2006 19:40:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Glrae-0000pa-NI for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Nov 2006 13:40:28 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!69.28.186.77.MISMATCH!hwmnpeer03.lga!hwmnpeer01.lga!news.highwinds-media.com!hw-filter.lga!newsfe03.lga.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-X-Trace: pgpdkimbbbabbbpekannfilpcpbbolnmjamcpeooackonkodgkfghfolbbibcmdjkmgcflkngpejhidfdbmgllpfihnknpkolaapknkhfihhpcolcocldallabapkicghgindeflifgphkdl Original-NNTP-Posting-Date: Sun, 19 Nov 2006 11:08:14 MST Original-Xref: shelby.stanford.edu gnu.emacs.help:143205 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:38822 Archived-At: "todd@monkeybytes.org" writes: > I'm trying to get some functionality using longlines-mode and newline- > and-indent. Essentially, I want to write text under longlines-mode > (soft returns at the fill column) but still be able to automatically > indent my 5-spaces on line (hard) returns via the return key. I > believe newline-and-indent is seeing the soft return from longlines- > mode as the last indentation, and not indenting at all. Any help > would be appreciated... also, if this is the incorrect approach for > this behavior, please let me know ;-) > > Thanks- > T > > > I've found that using longlines.el with paragraph-indent-text-mode will give you the classic tabbed paragraph using M-i to tab. (There are also C-q C-i and C-q tab). You could use a macro, I suppose, to return and then tab. I one time tried to redefine the tab key to M-i but found it made some of my macros act strange. You'd need to use some keystroke command that isn't already in use. That said, as a full-time writer who uses longlines.el, I've found it easier to use the block paragraph style when writing--a blank line between paragraphs. There are many Emacs commands dealing with paragraphs that won't work correctly with tabbed paragraphs. It's easy to make a macro--I have a permanent one because I do this all the time--that converts back and forth. Block paragraphs also allow you to use regular text mode, which seems to work better for me when I use outline-mode, which is all the time. Hope this helps. --Rod ______________________ Author of "Linux for Non-Geeks--Clear-eyed Answers for Practical Consumers" and "Boring Stories from Uncle Rod." To reply by e-mail take the second "o" out of the e-mail address.