[O] One-keystroke command to move blocks of text up and down

2013-02-24 Thread Susan Cragin
I use Meta-up-arrow and Meta-down-arrow to move headings in org and entries in 
spreadsheets. 
Would like to be able to use the same or similar command to move blocks of text 
up or down. 
The current solution--highlight then kill/yank--is just too slow.
Suggestions?






Re: [O] One-keystroke command to move blocks of text up and down

2013-02-24 Thread Susan Cragin



-Original Message-
>From: Carsten Dominik 
>Sent: Feb 24, 2013 11:16 AM
>To: Susan Cragin 
>Cc: emacs-orgmode@gnu.org
>Subject: Re: [O] One-keystroke command to move blocks of text up and down
>
>
>On 24.2.2013, at 16:53, Susan Cragin  wrote:
>
>> I use Meta-up-arrow and Meta-down-arrow to move headings in org and entries 
>> in spreadsheets. 
>> Would like to be able to use the same or similar command to move blocks of 
>> text up or down. 
>> The current solution--highlight then kill/yank--is just too slow.
>> Suggestions?
>
>Hi Susan,
>
>what do you mean by "blocks".  A paragraph?  Does the command
>
>M-x mark-paragraph
>
>select the right amount of text?  If so, you could try the command 
>transpose-paragraphs.
>
>- Carsten

No. I have the following example. Each of these sentences is a paragraph 
because it has a carriage return after it. I need to re-order the 
sentence/paragraphs into correct order. 

** Journal
This is paragraph three. 
This is paragraph two. 
This is paragraph one. 

** Other Heading





Re: [O] One-keystroke command to move blocks of text up and down

2013-02-24 Thread Susan Cragin
>M-up and M-down also move paragraphs and most blocks (in Org 7.9).
>Unfortunately, binding is shadowed when trying to move a src block.

When I try that I get these messages:
Cannot drag this element forward. 
Cannot drag this element backward.





Re: [O] One-keystroke command to move blocks of text up and down

2013-02-24 Thread Susan Cragin
>>>M-up and M-down also move paragraphs and most blocks (in Org 7.9).
>>>Unfortunately, binding is shadowed when trying to move a src block.
>>
>> When I try that I get these messages:
>> Cannot drag this element forward. 
>> Cannot drag this element backward.
>
>Can you share the file on which you tested this?

Here is the file. Most elements have been removed. The test was under today's 
date. 

>If there is only one paragraph under a headline, you cannot move
>it up and down, the move is constrained by the structure of the
>file.
>
>Check also C-M-t (Control Meta t) to transpose elements and
>S-M- to move a line up and down (this last command is
>structure-agnostic and can be handy sometimes.)

Hmmm 
S-M- should be the ticket but doesn't work for me. 
Assume this is SHIFT-ALT (held down together) up arrow. 
Also tried SHIFT-ESC up. 



temp.org
Description: Binary data


[O] M-S-(down-arrow) worked briefly this morning and now does not

2013-02-25 Thread Susan Cragin
Hi. 
I updated my emacs git, got the new org-mode, and tried M-S-UpArrow. 
And it worked. I was elated. 
And then I closed the program and re-opened it, and now it no longer works. 
The message is:
This command is active in special context like tables, headlines or items
--Susan







Re: [O] M-S-(down-arrow) worked briefly this morning and now does not

2013-02-25 Thread Susan Cragin
Works. 
My mistake. 
Thanks for help. 
Susan






Re: [O] Build fail with emacs 24.3.1

2013-03-13 Thread Susan Cragin
>I just installed Emacs 24.3.1 on OSX 10.8.2
>and tried to build the latest git version of orgmode. It fails.
>Is this due to the fact that I have a new emacs,
>or is it a more general problem.
>Here is the output from building:
>
>
>Ran 428 tests, 426 results as expected, 2 unexpected (2013-03-13 08:36:11+0100)
>5 expected failures
>
>2 unexpected results:
>   FAILED  test-org-export/define-derived-backend
>   FAILED  test-org-export/derived-backend-p
>
>make[1]: *** [test-dirty] Error 1
>make: *** [up2] Error 2

I don't know OSX at all but mine failed for a couple of days with Ubuntu and it 
was because the build-deps have either changed or been updated. 
So I ran 
sudo apt-get build-dep emacs24 
and got a few new files. 
HTH. Susan






Re: [O] Difficulties Accessing git Repository

2013-10-09 Thread Susan Cragin
I get this:

$ git clone orgm...@orgmode.org:org-mode.git
Cloning into 'org-mode'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.






[O] Having trouble with hidestars this morning

2013-11-04 Thread Susan Cragin
Hello. 
Normally outlines are supposed to start up in hidestars view, which shows one 
star per level, indented, thusly:

* First Level 
  * Second
* Third

But after compiling both emacs and org-mode from git this morning, and 
re-installing, my outlines show all the stars, and the stars cannot be turned 
off. I've tried: 

#+STARTUP: indent
#+STARTUP: hidestars

Suggestions? Is there some sort of M-x hidestars command that I might have 
toggled accidentally?











Re: [O] Having trouble with hidestars this morning

2013-11-07 Thread Susan Cragin
Just a FYI. I got this at this morning's org-mode git compile the following warning at the end. It's probably due to all the settings tinkering I did, and I haven't had time to investigate it, but thought I'd pass it along. org-version: 8.2.1 (release_8.2.1-223-g065627)makeinfo --no-split org.texi -o orgorg.texi:1318: warning: node up `Initial visibility' in menu `Global and local cycling' and in sectioning `Visibility cycling' differorg.texi:1362: warning: node up `Catching invisible edits' in menu `Global and local cycling' and in sectioning `Visibility cycling' differ





[O] Hidestars problem cured in this morning's emacs git

2013-11-09 Thread Susan Cragin
FYI to list. I just downloaded and installed. Hidestars back to good.so compile away!





[O] M-up-arrow no longer moves text up

2013-11-25 Thread Susan Cragin
Hello. 

I compile both emacs and org-mode daily. 
Today M-up and M-down have stopped working as a mode of moving a line of plain 
text up and down. 
I get this message:
command-execute: Wrong type argument: commandp, handle-focus-in

The problem may be with emacs rather than with org-mode. I'm having other 
trouble such as that the ribbon on top (File / Edit / Options / Buffers / Tools 
/ Help) doesn't work either. 

Susan 





Re: [O] M-up-arrow no longer moves text up

2013-11-25 Thread Susan Cragin
I have confirmed that the problem is with the emacs build. Emacs24 works with 
today's org-mode.

--Susan message--
>I compile both emacs and org-mode daily. 
>Today M-up and M-down have stopped working as a mode of moving a line of plain 
>text up and down. 
>The problem may be with emacs rather than with org-mode. I'm having other 
>trouble such as that the ribbon on top (File / Edit / Options / Buffers / 
>Tools / Help) doesn't work either. 






[O] Sh-ALT-RightArrow behavior has changed to demote only first subheader when subheaders collapsed

2014-01-12 Thread Susan Cragin
I noticed that the behavior of SHIFT-ALT-RightArrow has changed when the 
subheadings are hidden. 
Before all the subheadings changed at the same level. Now only the heading 
immediately below it does. 
See below for my example. 
This is my ordinary setup for my agenda. However, on the day I am working on, I 
move the date (Sunday 12 January) out to Level 1, so it comes immediately to my 
attention. 
It used to be that I would promote Sunday 12 January to Level 1, and its three 
subheadings (Agenda, TODO and Journal) would promote also, to Level 2. But now 
only Agenda does so.
??
Ditto the reverse, to demote. 
This may be new functionality, or it may be a bug. 
Please note that I have a today-compiled version of both emacs and org-mode on 
my machine. 
Susan 


* 2014 Agenda
** January
*** Sunday 12 January
 Agenda
| Start | Stop | Item | Comment |
|---+--+--+-|
|   |  |  | | 
 TODO List
| X | Pr | Task | Time |
|---++--+--|
|   | a1 | p&s  |  |
|   | b1 | journal  |  |
|   | d1 | exercise |  |
|   ||  |  |
 Journal
Today I worked. 









[O] SH-ALT-RightArrow works but not SH-ALT-LeftArrow to uniformly promote subheadings

2014-01-15 Thread Susan Cragin
Bastien,
Silly me. I should have checked both directions. So your fix fixed half the 
problem. 
Susan






[O] Some desktop managers co-opt C-M-right and C-M-left

2014-04-20 Thread Susan Cragin
Aggghhh.
I changed to the Enlightenment desktop manager, changed my underlying distro to 
Lubuntu (LXDE)

Both desktop managers co-opt the C-M-right and -left keys to change desktops. 
(They also co-opt C-S-right.) Ditto -up and -down.

I have tried the following: 

(global-set-key (kbd "C-S-right") 'org-demote-subtree)
(global-set-key (kbd "C-S-left") 'org-promote-subtree)

error: C-S- must prefix a single character, not right

Have also tried C-M-right, with similar results. 

Does anyone have an idea? I have two problems. On-line documentation has told 
me that I can spell out the word "right" to mean "right-arrow," but clearly 
that is wrong, and there is one letter that does this. ???

My second problem is this: will a command set in .emacs over-ride a command set 
by my desktop? If it does not, should I try the following, and use the Windows 
/ super key?

(global-set-key (kbd "C-s-right") 'org-demote-subtree)







Re: [O] Some desktop managers co-opt C-M-right and C-M-left

2014-04-20 Thread Susan Cragin
I answered my own question. 
.emacs does not take precedence over my desktop manager. 

Solution: use Super key, as follows.
(global-set-key (kbd "C-s-") 'org-demote-subtree)
(global-set-key (kbd "C-s-") 'org-promote-subtree)
(global-set-key (kbd "C-s-") 'org-move-subtree-up)
(global-set-key (kbd "C-s-") 'org-move-subtree-down)







Re: [O] Some desktop managers co-opt C-M-right and C-M-left

2014-04-20 Thread Susan Cragin

Thanks, Thorsten, for the <> hint. 

(global-set-key (kbd "C-s-") 'org-demote-subtree)
(global-set-key (kbd "C-s-") 'org-promote-subtree)
(global-set-key (kbd "C-s-") 'org-move-subtree-up)
(global-set-key (kbd "C-s-") 'org-move-subtree-down)


-Original Message-
>From: Thorsten Jolitz 
>Sent: Apr 20, 2014 7:56 AM
>To: emacs-orgmode@gnu.org
>Subject: Re: [O] Some desktop managers co-opt C-M-right and C-M-left
>
>Susan Cragin  writes:
>
>> Aggghhh.
>> I changed to the Enlightenment desktop manager, changed my underlying
>> distro to Lubuntu (LXDE)
>>
>> Both desktop managers co-opt the C-M-right and -left keys to change
>> desktops. (They also co-opt C-S-right.) Ditto -up and -down.
>>
>> I have tried the following: 
>>
>> (global-set-key (kbd "C-S-right") 'org-demote-subtree)
>> (global-set-key (kbd "C-S-left") 'org-promote-subtree)
>>
>> error: C-S- must prefix a single character, not right
>>
>> Have also tried C-M-right, with similar results. 
>>
>> Does anyone have an idea? I have two problems. On-line documentation
>> has told me that I can spell out the word "right" to mean
>> "right-arrow," but clearly that is wrong, and there is one letter that
>> does this. ???
>
>maybe "C-S-"?
>
>> My second problem is this: will a command set in .emacs over-ride a
>> command set by my desktop? 
>
>I don't think so, the command will probably never reach Emacs because
>its used by the WM
>
>> If it does not, should I try the following, and use the Windows /
>> super key?
>
>You could also try to change the WM (or OS) keybindings and free those
>key combinations you want for Emacs. Its an ongoing struggle, I had and
>have these problems/conflict too, its even worse on the console where
>some keyboard keys are just dead by default. 
>
>-- 
>cheers,
>Thorsten
>
>






[O] Bug??

2014-05-06 Thread Susan Cragin
Hi. I got error messages on my compiles relating to the documents, starting perhaps yesterday or the day before. I re-downloaded the repo and updated my depends files, to no avail. This is just FYI.Done (Total of 108 files compiled, 3 skipped)make[2]: Leaving directory '/home/susan/org-mode/lisp'make[1]: Leaving directory '/home/susan/org-mode/lisp'make -C doc infomake[1]: Entering directory '/home/susan/org-mode/doc'org-version: 8.2.6 (release_8.2.6-945-gc80509)makeinfo --no-split org.texi -o orgmake[1]: makeinfo: Command not foundMakefile:55: recipe for target 'org' failedmake[1]: *** [org] Error 127make[1]: Leaving directory '/home/susan/org-mode/doc'mk/targets.mk:126: recipe for target 'info' failedmake: *** [info] Error 2