From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takaaki ISHIKAWA Subject: Re: org-tree-slide: some small changes Date: Sun, 27 Jan 2013 23:58:53 +0900 Message-ID: <950F2F7C-5F31-4CF8-B92E-43BEE3880EAF@ieee.org> References: <87txq3upj1.fsf@ucl.ac.uk> Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzThD-0008SH-T3 for emacs-orgmode@gnu.org; Sun, 27 Jan 2013 09:59:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TzThC-0000qT-DE for emacs-orgmode@gnu.org; Sun, 27 Jan 2013 09:58:59 -0500 Received: from mail-da0-f52.google.com ([209.85.210.52]:64250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzThC-0000qB-88 for emacs-orgmode@gnu.org; Sun, 27 Jan 2013 09:58:58 -0500 Received: by mail-da0-f52.google.com with SMTP id f10so855943dak.25 for ; Sun, 27 Jan 2013 06:58:56 -0800 (PST) In-Reply-To: <87txq3upj1.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: takaxp@ieee.org, Emacs Org mode mailing list Dear Eric, Thank you for your feedback! And I'm so glad to hear you like org-tree-slide.el. I've just updated my code in Github. The code includes the two hooks. On the other hand, I deleted =org-mode-slide-mode-hook= because it did not work well. I had to check the typo more carefully, sorry for that. If you don't mind, I would like to add your name into the source code as a contributor. I Hope for the success of your talk ;-) Best Takaaki On 2013/01/27, at 15:08, Eric S Fraga wrote: > Dear Takaaki, > > I have been playing with your org tree slide mode. I really like it. > > It didn't quite do what I wanted so I have played around with it. I've > made a couple of simple changes which you may wish to consider > incorporating. Specifically, I have added two hooks, one run just > before playing the slide show and one run when the slide show is > stopped. This allows me to, for instance, turn off flyspell mode, > increase the text scale etc. for the actual slide show but revert these > back after I am finished showing the slides. > > I realise that the play hook may duplicate the mode-hook you already had > defined but I couldn't get the latter to work. It turns out that there > was a typographical error in =org-tree-slide-mode= in that it tried to > run the wrong hook (=org-mode-slide-mode-hook= instead of > =org-tree-slide-mode-hook=) but I only figured that out once I had added > my own hooks. I have fixed that error as well but decided to leave the > hooks in place for the moment (I have to work on an actual talk now...). > > Please see attached the slightly modified version of your code and an > example slide show which shows a couple of example hooks. Please feel > free to incorporate any of the changes you wish, if any. > > Thanks for an excellent little tool that is proving to be very useful to > me! > > eric -- Takaaki ISHIKAWA GITI, Waseda University ( ' -')b http://about.me/takaxp