From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: automatic line wrap Date: Sat, 05 Jun 2010 02:36:26 +0200 Message-ID: <87bpbql3hx.fsf@gmx.de> References: <1788159802.20100604211350@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=47810 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKhNL-0004Rf-75 for emacs-orgmode@gnu.org; Fri, 04 Jun 2010 20:36:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKhNJ-00045S-SP for emacs-orgmode@gnu.org; Fri, 04 Jun 2010 20:36:34 -0400 Received: from mail.gmx.net ([213.165.64.20]:37862) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OKhNJ-000458-E2 for emacs-orgmode@gnu.org; Fri, 04 Jun 2010 20:36:33 -0400 In-Reply-To: <1788159802.20100604211350@gmail.com> (Ivanov Dmitry's message of "Fri, 4 Jun 2010 21:13:50 +0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ivanov Dmitry Cc: emacs-orgmode@gnu.org --=-=-= Ivanov Dmitry writes: > How can I set the org-mode to automatically wrap the long lines, so they would fit the window size, as it is done in the fundamental mode? Yeesss, wrapping lines is a good idea - in emails too!!! ;) --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline Content-Transfer-Encoding: quoted-printable (add-hook 'org-mode-hook (lambda () (auto-fill-mode 1))) --=-=-= For me, this is done in the text-mode hook. But then I remove auto-fill-mode in several modes like this: --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline Content-Transfer-Encoding: quoted-printable (defun sr-remove-auto-fill-minor-mode() "auto-fill-mode ausschalten" (auto-fill-mode -1)) ;; Turn off auto-fill-mode when loading html-helper-mode: (add-hook 'html-helper-mode-hook 'sr-remove-auto-fill-minor-mode) --=-=-= Sebastian --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--