From: "Roodwriter@core.com" <Roodwriter@core.com>
Subject: Re: soft wrapping and line numbers
Date: Fri, 02 May 2003 15:06:37 -0400 [thread overview]
Message-ID: <vb5gehku0me7db@corp.supernews.com> (raw)
In-Reply-To: 5lllxqgudo.fsf@rum.cs.yale.edu
Stefan Monnier wrote:
>>>>>> "Roodwriter@core" == Roodwriter@core com <Roodwriter@core.com>
>>>>>> writes:
>> Refill also has problems with tabs--indenting everything.
>
> I'm not sure what you're referring to here. Could you expand on it
> a little ?
>
>> That's not a bad way to work if you're like me and tend to hit the caps
>> lock when you're reaching for the tab key. But if you want your text to
>> have proper tabs you can do my Handy-Dandy, Patented, Kludgey, Little
>> Genius Workaround.
>
> You might want to try longlines.el which does the same as your workaround
> but differently and allows you to deal with short unwrapped lines (using
> use-hard-newlines).
>
>
> Stefan
I hope I'm remembering all this correctly. It's been about a year.
With the refill mode in standard text mode using the tab, the tab will tab
every line right after that. With paragraph-indent-text-mode I had problems
with the size of the tab indents varying. That is, sometimes they might be
the equivalent of eight spaces, sometimes five. Cutting and pasting from
DOS files seemed to exacerbate this. Sometimes they'd be spaces rather than
actual tabs. Since the original files were tabbed, and not spaced, I don't
know why this is. It also did this with just general cut and pasting within
the file.
I'm a writer so I just switched to writing in the TeX style of
double-spacing between paragraphs using regular text mode instead of
tabbing. Then I use the macro I described to convert it to long lines when
I'm finished. I send out my work by e-mail so I don't want shortlines when
I'm pasting into the e-mail program. This could result in the receiver
getting weird line breaks.
One of the side benefits, that I mentioned, was that I have a lot less
trouble with hitting the caps-lock when I'm reaching for the tab. So I'm
getting in the habit of working this way. Lots less capital cleanup.
I also had to make three companion macros. One that removes tabs and
converts everything back to double-spaced paragraph form. Another to paste
copied text in a filled manner, so I don't have to go back and fill it
manually. And another to unfill paragraphs for times when I DO need to keep
things in the double-space form.
For what it's worth, I'm using version 21.1.1. Maybe there's a better answer
out there and I didn't have to go to all this trouble. Maybe I just
displayed my ignorance in front of the world. But it still seems to me like
the most sophisticated editor in the world should have the basic capability
of wordwrap without newlines. Like I said, Windows Notepad can handle it.
Emacs should also. I suspect it would become a whole lot more popular among
writers if it could do this without going to a lot of trouble.
I was reluctant to even say anything to the first poster--probably I
shouldn't--because, since Emacs is a free program, I feel like an ingrate
complaining about it.
--Rod
--
Author of "Linux for Non-Geeks--Clear-eyed Answers for Practical Consumers"
and "Boring Stories from Uncle Rod." Both are available at
http://www.rodwriterpublishing.com/index.html
To reply by e-mail, take the extra "o" out of my e-mail address. It's to
confuse spambots, of course.
next prev parent reply other threads:[~2003-05-02 19:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <b8mjep$8b2$1@acs2.byu.edu>
2003-04-29 23:54 ` soft wrapping and line numbers Johan Bockgård
2003-04-30 13:53 ` Javier Oviedo
2003-05-01 14:45 ` John Kliff Jochens
[not found] ` <mailman.5444.1051801721.21513.help-gnu-emacs@gnu.org>
2003-05-02 14:25 ` Javier Oviedo
2003-04-30 14:41 ` Kai Großjohann
2003-04-30 18:20 ` Roodwriter
2003-05-01 22:44 ` Stefan Monnier
2003-05-02 19:06 ` Roodwriter [this message]
2003-05-02 21:23 ` Stefan Monnier
2003-05-04 14:38 ` Oliver Scholz
2003-05-03 17:32 ` Kai Großjohann
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=vb5gehku0me7db@corp.supernews.com \
--to=roodwriter@core.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.