From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rich E" Subject: Re: Re: how to wrap headings Date: Thu, 23 Oct 2008 16:23:35 +0200 Message-ID: References: <87r668ff2s.fsf@gollum.intra.norang.ca> <48FFC8F5.1030102@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kt16A-0003ea-Oy for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 10:23:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kt169-0003du-Ut for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 10:23:38 -0400 Received: from [199.232.76.173] (port=48570 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kt169-0003dj-OI for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 10:23:37 -0400 Received: from mail-gx0-f10.google.com ([209.85.217.10]:59767) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kt169-0002nL-Hk for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 10:23:37 -0400 Received: by gxk3 with SMTP id 3so10315160gxk.18 for ; Thu, 23 Oct 2008 07:23:36 -0700 (PDT) In-Reply-To: <48FFC8F5.1030102@gmx.de> Content-Disposition: inline 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: sebastian_rose@gmx.de, emacs-orgmode@gnu.org ah, very nice and easy. That was the call I was looking for. So now I have toggle-truncate-lines bound to C-x-q, but I cannot use it in the file I want, which is in Python mode. I get the message "Not defining or executing kbd macro". I have it bound like this: (global-set-key (kbd "C-x q") 'toggle-truncate-lines) .. maybe there is a better way to bind it? I'm just kindof hacking at the .emacs file, don't really know the api well. On Thu, Oct 23, 2008 at 2:44 AM, Sebastian Rose wrote: > Funny enough, yesterday I wrote this one here: > > > > (defun my-toggle-truncate-lines () > "Toggle truncate-lines." > (interactive) > (setq truncate-lines (if truncate-lines nil t))) > > > > I've bound it to H-t (I like those windows keys in Linux/GNU :-) and use > it a lot (since yesterday). It's so usefull, that I wonder if something > like this is in emacs already??? > > > > > Bernt Hansen wrote: >> >> "Rich E" writes: >> >>> I just have a simple question: how can I wrap the headings so they >>> don't go off the visual window? >> >> M-x set-truncate-lines >> >> It toggles line wrapping on and off. >> >> -Bernt >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >