unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: roodwriter@ureach.com
To: help-gnu-emacs@gnu.org
Subject: Re: Refill mode for text-mode, but not for org-mode
Date: Fri, 24 Oct 2008 16:21:30 -0400	[thread overview]
Message-ID: <87skql68xh.fsf@dell-desktop.example.com> (raw)

Decebal <CLDWesterhof@gmail.com> writes:

> I have the following in my .emacs:
>     (add-hook 'text-mode-hook
>       (lambda () (refill-mode 1)
>       )
>
> This sets refill-mode for text-mode -what I want-, but also for 
org-
> mode -what I do not want-. How can I set it for text-mode 
without also
> setting it for org-mode?

I used to bind refill-mode to my F-12 key. It's a toggle.  Helpful 
when you're switching between modes. Any shortcut would be fine, 
though.

Being a writer I've changed to longlines-mode now. As I recall, I 
had to change some setting in org-mode to make longlines-mode work 
correctly. Seems like org-mode truncates lines by default to make 
its math tables work better. I use org-mode more like an improved 
organizer-mode to hide chunks of notes.

Now my F-12 toggle is set for longlines-mode for those times when 
the commands need to work on the whole line.

I'm only throwing out the longlines option because I've noticed a 
lot of people don't seem to know about it.

Rod


             reply	other threads:[~2008-10-24 20:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-24 20:21 roodwriter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-10-24 14:18 Refill mode for text-mode, but not for org-mode Decebal
2008-10-24 14:50 ` Bastien
2008-10-24 18:36 ` Johan Bockgård
     [not found] ` <mailman.2022.1224873381.25473.help-gnu-emacs@gnu.org>
2008-10-25  7:45   ` Decebal

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87skql68xh.fsf@dell-desktop.example.com \
    --to=roodwriter@ureach.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).