From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: roodwriter@ureach.com Newsgroups: gmane.emacs.help Subject: Re: Refill mode for text-mode, but not for org-mode Date: Fri, 24 Oct 2008 16:21:30 -0400 Message-ID: <87skql68xh.fsf@dell-desktop.example.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1224880843 12984 80.91.229.12 (24 Oct 2008 20:40:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2008 20:40:43 +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 Oct 24 22:41:44 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KtTTb-00070V-BK for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Oct 2008 22:41:43 +0200 Original-Received: from localhost ([127.0.0.1]:39914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtTSV-00050Q-Im for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Oct 2008 16:40:35 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe09.iad.POSTED!7564ea0f!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:gO08vCVKSqUEsQR1kilvR1Bpsns= Original-Lines: 30 Original-NNTP-Posting-Host: addndpeeanndebnboopongelpiliadeb Original-X-Complaints-To: abuse@charter.net Original-X-Trace: gbibggbfamgkfdiofkhgnhldfhiklkalikdoodilmohffeibaddndpeeanndebnboalifkemkaidhllmicphdnhlachnbjlmcnbemmmddehociiadpfkbalbogdogcfebgjklipccefckbgb Original-NNTP-Posting-Date: Fri, 24 Oct 2008 20:21:32 UTC Original-Xref: news.stanford.edu gnu.emacs.help:163805 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59142 Archived-At: Decebal 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