From: roodwriter@ureach.com
Subject: Re: longlines-mode and newline-and-indent
Date: 19 Nov 2006 13:08:13 -0500 [thread overview]
Message-ID: <87bqn3gvhu.fsf@linux.site> (raw)
In-Reply-To: mailman.838.1163957195.2155.help-gnu-emacs@gnu.org
"todd@monkeybytes.org" <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.
next parent reply other threads:[~2006-11-19 18:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.838.1163957195.2155.help-gnu-emacs@gnu.org>
2006-11-19 18:08 ` roodwriter [this message]
2006-11-19 16:32 longlines-mode and newline-and-indent todd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bqn3gvhu.fsf@linux.site \
--to=roodwriter@ureach.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.