From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: usage of org-mouse? Date: Fri, 14 Mar 2014 09:06:11 -0400 Message-ID: <87mwgt0w1o.fsf@gmail.com> References: <87vbvh0ys0.fsf@gmail.com> <87r4650xqq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WORoo-00022j-8R for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 09:06:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WORog-0003s1-3Q for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 09:06:34 -0400 Received: from plane.gmane.org ([80.91.229.3]:54665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WORof-0003rr-MS for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 09:06:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WORod-0004nw-Px for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 14:06:23 +0100 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Mar 2014 14:06:23 +0100 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Mar 2014 14:06:23 +0100 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: emacs-orgmode@gnu.org Nick Dokos writes: > Rainer M Krug writes: > >> Nick Dokos writes: >> >>> Rainer M Krug writes: >>> >>>> Hi >>>> >>>> is there a worg page about the usage of org-mouse, and what it should be >>>> doing? >>>> >>>> I read on this list that after (require 'org-mouse) (which I did >>>> successfully) clicking left-mouse-buttom should fold, but it does not >>>> happen. >>>> >>>> Do I have to configure something in addition? Is there an example >>>> configuration? >>>> >>> >>> No, but you have to click on the asterisks, not on the rest of the >>> headline. If you do ``C-h c'' and then click carefully, you will see >>> that clicking on the asterisks is bound to org-open-at-mouse, >>> whereas clicking on the rest of the headline is bound org-mouse-down-mouse. >> >> >> Hm - it tells me >> >> ,---- >> | at that spot runs the command mouse-drag-region >> `---- >> >> I assume that the fact that I evaluated >> >> ,---- >> | (require 'org-mouse) >> `---- >> >> in the scratch buffer does not make a difference. > > There is indeed something fishy going on: I've got two emacsen, one of > which behaves as it "should", the other behaving as you describe. > The second one was an emacs -q -l minimal.emacs invocation: I can't seem > to turn on org-mouse in that. OK - if I do emacs -q -l /path/to/minimal/.emacs foo.org and then do (require 'org-mouse), the mouse actions are not active in the already opened foo.org: I have to revert-buffer or kill it and revisit the file before the mouse bindings are active. Of course, that difficulty does not arise if I do (require 'org-mouse) in the initialization file to begin with. -- Nick