emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] usage of org-mouse?


From: Nick Dokos
Subject: Re: [O] usage of org-mouse?
Date: Fri, 14 Mar 2014 09:06:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Nick Dokos <address@hidden> writes:

> Rainer M Krug <address@hidden> writes:
>
>> Nick Dokos <address@hidden> writes:
>>
>>> Rainer M Krug <address@hidden> 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 
>>
>> ,----
>> | <down-mouse-1> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]