From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: Newline-phobic text help. Date: Fri, 15 Jul 2016 10:35:29 -0700 Message-ID: References: <87d1mgt5tz.fsf@BanjaLuka.rclayton.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1468604191 6504 80.91.229.3 (15 Jul 2016 17:36:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2016 17:36:31 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 15 19:36:28 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bO72J-0003zY-Lw for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jul 2016 19:36:27 +0200 Original-Received: from localhost ([::1]:34044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO72I-00089h-MU for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jul 2016 13:36:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO71k-00089Q-Ae for help-gnu-emacs@gnu.org; Fri, 15 Jul 2016 13:35:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bO71i-0002S8-48 for help-gnu-emacs@gnu.org; Fri, 15 Jul 2016 13:35:51 -0400 Original-Received: from mail-qt0-x230.google.com ([2607:f8b0:400d:c0d::230]:34144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO71h-0002Rt-W5 for help-gnu-emacs@gnu.org; Fri, 15 Jul 2016 13:35:50 -0400 Original-Received: by mail-qt0-x230.google.com with SMTP id u25so63022880qtb.1 for ; Fri, 15 Jul 2016 10:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=+lC2tRCm05JdjL3Efgo6Y/v2yZJHM9jWTF8Qj/IIWeQ=; b=LBIWqWVjhcoeMOJjkoYE5h9JbrJs7JX+o2xBCXeZrU8JwmN7LY3JiF1hqUIkoGA+i5 krWZk0+Pqj4iqkY3J0MQ9W1FAsjsT8bDb9vGDUYs2kk/iIC5wDk4Wv8M1kIp8OJqoDgq t7S/FqzWlJCg0cH3iV7Q48wZfkiHq/sfpSXTtEu1Orv6MHvxUPUaYT2vM80mtY480X/k +X0HRU15th96ltORa7GdTXNZhPu7d7A7hZj7Kwr1q/aouG1Rj7CBmzrjBOZOQSVclLZN Jg31bC13/qZiZY/LumblEBIA8t8KH0DlJkx/uKqRluMwAriPmLotfz+Rcduq6JdzBder 0AXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=+lC2tRCm05JdjL3Efgo6Y/v2yZJHM9jWTF8Qj/IIWeQ=; b=S9c5YOBm7wly6Jb+EZVsQe6hnp7POLWmmvtUNuxvNj5zg5ywgi18D49wqvXN6DzXSB APuXlN6hQ+jIWURUZD5nq5jZYQCD7Mpz/LGdcgnH4fxjCKCc4IF2+n3Pwe4UBgKSS4t0 HRVf8QBJ75tltAV/7KEezISyarfPcMVJ02vlruhdCL+8z+pBayFsGyxMjKJL3kzlXoPe tTgfjFVoqzNSk2IdOJjfbB/+gQFX03i66/fK48FYLBJ/x+xqPlSqH0v3rLCqRXd2fZol x5DAws8JphtAvOs1MVA7vhMf8ZoBD6mZfCPz2qCEOJREYhI/4YN3sszetFlVuMR+f6uv Zi4Q== X-Gm-Message-State: ALyK8tJXgpktMPLsPOCvJIJCcN8tIEVuK8I6PbouaeRi53eDoUPL8p+YKkOY0FEDRSkRHEgwX8Qm4JFzDZ4upA== X-Received: by 10.200.42.43 with SMTP id k40mr30991326qtk.98.1468604148991; Fri, 15 Jul 2016 10:35:48 -0700 (PDT) Original-Received: by 10.237.48.77 with HTTP; Fri, 15 Jul 2016 10:35:29 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c0d::230 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110871 Archived-At: R. Clayton 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