Nick Dokos <ndo...@gmail.com> writes: > Rainer M Krug <rai...@krugs.de> writes: > >> Nick Dokos <ndo...@gmail.com> writes: >> >>> Rainer M Krug <rai...@krugs.de> 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