From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: Re: how to wrap headings Date: Thu, 23 Oct 2008 20:39:01 +0530 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 1Kt1oB-0006pV-AZ for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 11:09:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kt1o9-0006n5-FV for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 11:09:06 -0400 Received: from [199.232.76.173] (port=38034 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kt1o9-0006mt-6F for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 11:09:05 -0400 Received: from ti-out-0910.google.com ([209.85.142.191]:22095) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kt1o9-00027G-2p for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 11:09:05 -0400 Received: by ti-out-0910.google.com with SMTP id u5so231669tia.10 for ; Thu, 23 Oct 2008 08:09:02 -0700 (PDT) In-Reply-To: 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: Rich E Cc: emacs-orgmode@gnu.org On Thu, Oct 23, 2008 at 7:53 PM, Rich E wrote: > 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. [1] helped me. Do note I am not recommending tiny-tools.. not that I have any personal experience with it but this guy sure does [2]. 1. http://tiny-tools.sourceforge.net/emacs-keys.html 2. http://obsidianrook.com/devnotes/whinery/beware-tinytools.html HTH -- Manish