From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Shift-Arrow Pass Through for windmove? Date: Mon, 26 Apr 2010 10:56:06 +0200 Message-ID: <87hbmywq1l.fsf@gmx.de> References: <87633jb57w.wl%ded-law@ddoherty.net> <87ochaqhau.fsf@gmx.de> <5BE40E2F-2FB3-4010-9C68-8D66E351BED7@gmail.com> <87zl0tpxig.fsf@gmx.de> <87y6gdkyoh.fsf@gmx.de> <791B9A5D-B71B-4B5A-B933-D321DE7485F8@gmail.com> <87y6gbc1v2.fsf@gmx.de> <4BD4A8FB.5090302@ddoherty.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6K72-0008FM-7M for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 04:56:20 -0400 Received: from [140.186.70.92] (port=40528 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6K70-0008FC-H4 for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 04:56:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6K6z-0004RB-31 for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 04:56:18 -0400 Received: from mail.gmx.net ([213.165.64.20]:45232) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O6K6y-0004R0-NV for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 04:56:17 -0400 In-Reply-To: <4BD4A8FB.5090302@ddoherty.net> (Daniel E. Doherty's message of "Sun, 25 Apr 2010 15:41:31 -0500") 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: "Daniel E. Doherty" Cc: "Daniel E. Doherty" , "emacs-orgmode@gnu org" , Carsten Dominik --=-=-= "Daniel E. Doherty" writes: > Carsten, > > Many thanks. You 'da man! > > Sebastian, > > Not being adept at elisp, would you mind posting code to take advantage of these > new hooks for windmove? Daniel, this here will do: --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ;; Make windmove work in org-mode: (add-hook 'org-shiftup-final-hook 'windmove-up) (add-hook 'org-shiftleft-final-hook 'windmove-left) (add-hook 'org-shiftdown-final-hook 'windmove-down) (add-hook 'org-shiftright-final-hook 'windmove-right) --=-=-= Best wishes Sebastian > > Regards, > > Dan > > Sebastian Rose wrote: >> Carsten Dominik writes: >> >>> OK, I have now 4 more hooks >>> >>> org-shiftup-final-hook >>> org-shiftdown-final-hook >>> org-shiftleft-final-hook >>> org-shiftright-final-hook >>> >>> >>> They will run *before* Org is trying to support shift-select. I do not >>> think i makes sense to run the after.... >>> >> >> >> Perfect. Thanks! >> >> 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 --=-=-=--