[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newline-phobic text help.
From: |
John Mastro |
Subject: |
Re: Newline-phobic text help. |
Date: |
Fri, 15 Jul 2016 10:35:29 -0700 |
R. Clayton <rvclayton@acm.org> wrote:
> You're being polite by not pointing out that using enriched-mode to do what
> I
> want is a stupid idea. Apart from the hard-soft newlines problem, there's
> also
> the header at the beginning of the file.
I'm just not familiar enriched-mode :)
> The only trick would be identifying when you've got an "It's All Text!"
> buffer so you can evaluate that code.
>
> I hacked around that like so: point iat to an editor that's the shim shell
> script
>
> emacs --exec '(defconst its-all-text! t)' $@
>
> and put
>
> (when (boundp? 'its-all-text!)
> (auto-fill-mode -1)
> (visual-line-mode))
>
> in the text-mode-hook.
That's definitely nicer than my suggestion.
John