From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.help Subject: Re: Refill mode for text-mode, but not for org-mode Date: Fri, 24 Oct 2008 16:50:54 +0200 Message-ID: <871vy6m4hd.fsf@gnu.org> References: <55ca2c0c-90ed-4b57-9ff6-01b43886e844@c60g2000hsf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224859921 3841 80.91.229.12 (24 Oct 2008 14:52:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2008 14:52:01 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Decebal Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 24 16:52:50 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 1KtO1j-0000uX-Nc for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Oct 2008 16:52:36 +0200 Original-Received: from localhost ([127.0.0.1]:58520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtO0d-0000VR-D0 for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Oct 2008 10:51:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtO0G-0000TJ-2W for help-gnu-emacs@gnu.org; Fri, 24 Oct 2008 10:51:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtO0D-0000SX-Tm for help-gnu-emacs@gnu.org; Fri, 24 Oct 2008 10:51:03 -0400 Original-Received: from [199.232.76.173] (port=49845 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtO0D-0000SU-OV for help-gnu-emacs@gnu.org; Fri, 24 Oct 2008 10:51:01 -0400 Original-Received: from ag-out-0708.google.com ([72.14.246.248]:37381) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KtO0D-0004cO-Bs for help-gnu-emacs@gnu.org; Fri, 24 Oct 2008 10:51:01 -0400 Original-Received: by ag-out-0708.google.com with SMTP id 31so822927agc.10 for ; Fri, 24 Oct 2008 07:50:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:to:cc:subject :in-reply-to:references:user-agent:date:message-id:mime-version :content-type:from; bh=b2EcODhkaWe0bKry8jR6FS8iicvGx9SLyXZN0jOBwTw=; b=xVe5z7ctBkHZIAbrHcHBVMSwS46dgAbuAllMQF+YZzX0gpto2OzAkmpjj4uwyqDIhD qsACc7LJdTKfuYmfMTZ65MaUBvhJgUhBfxra1YlvlndWcaCtaohB9oLb7r/BUMcwLa5D Q6Z/DRRcON6y6EA5mFoF7Wj8b9KLsV0NTgPp4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=to:cc:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type:from; b=OIEhuIrKqHY5HR4G4PtJ7DQItctQORDR6seAs1pCdKXQt/L8bEjE/IlLSk8uoeXKHA mbaMe8PrQNu/7X39oHpBNoKrEdLmoYizQEguOseyZkuqk4jErYZbckWWmn/uZdiWA8b7 l1F9/Kw66M9VkBrcMde3PC8kP/1jNTvSzMTB8= Original-Received: by 10.100.41.9 with SMTP id o9mr2744268ano.49.1224859857192; Fri, 24 Oct 2008 07:50:57 -0700 (PDT) Original-Received: from bzg (dhcp-49-81.media.mit.edu [18.85.49.81]) by mx.google.com with ESMTPS id b45sm123638hsa.14.2008.10.24.07.50.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 24 Oct 2008 07:50:56 -0700 (PDT) Original-Received: by bzg (Postfix, from userid 1000) id 9E4BD162213; Fri, 24 Oct 2008 16:50:54 +0200 (CEST) In-Reply-To: <55ca2c0c-90ed-4b57-9ff6-01b43886e844@c60g2000hsf.googlegroups.com> (Decebal's message of "Fri, 24 Oct 2008 07:18:03 -0700 (PDT)") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:59131 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? (add-hook 'org-mode-hook (lambda () (refill-mode 0))) -- Bastien