Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-20 Thread John Hendy
On Mon, May 20, 2013 at 11:14 AM, Matt Lundin wrote: > John Hendy writes: > >>> On Wed, May 15, 2013 at 2:54 AM, Christian Moe >>> wrote: > >>> I've been following this thread and there has been some great >>> discussion about future plans for re-write and context-sensitive >>> functionality. I

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-20 Thread Matt Lundin
John Hendy writes: >> On Wed, May 15, 2013 at 2:54 AM, Christian Moe wrote: >> I've been following this thread and there has been some great >> discussion about future plans for re-write and context-sensitive >> functionality. In the mean time, can we revert the C-RET behavior back >> to adding

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-20 Thread John Hendy
On Mon, May 20, 2013 at 10:54 AM, John Hendy wrote: > On Wed, May 15, 2013 at 2:54 AM, Christian Moe wrote: >> >> Hi, >> >> My user input is partially to blame for this, I think. See toward the >> end of this thread: >> >> http://comments.gmane.org/gmane.emacs.orgmode/69794 >> >> I was under the

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-20 Thread John Hendy
On Wed, May 15, 2013 at 2:54 AM, Christian Moe wrote: > > Hi, > > My user input is partially to blame for this, I think. See toward the > end of this thread: > > http://comments.gmane.org/gmane.emacs.orgmode/69794 > > I was under the impression that the behavior of M-RET had changed, but I > may h

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-17 Thread Rick Frankel
On Fri, May 17, 2013 at 03:26:09PM +0200, Carsten Dominik wrote: > There was discussion about `C-c *'. For me the main application > of this command it to turn an item into a headline, and to turn *several* > lines into a series of headline (by selecting the lines first) - this is > a very freque

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-17 Thread Jason F. McBrayer
Carsten Dominik writes: > On 16.5.2013, at 21:11, Jason F. McBrayer wrote: >> Another thing to take into account in the rewrite is doing the right >> thing even when electric-indent-mode or electric-layout-mode are >> enabled. The current implementation is not compatible with >> electric-indent-

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-17 Thread Carsten Dominik
Hi everyone, yes, thanks for making this table, Samuel. I think the functionality is a bit overkill, in particular the implementation with pressing M-RET twice for special functionality. This becomes too confusing, I think. The elementary function of M-RET is continue in the current list/outlin

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-17 Thread Carsten Dominik
On 16.5.2013, at 21:11, Jason F. McBrayer wrote: > Bastien writes: > >> Thanks a lot Samuel for writing this. >> >> Just a quick note to tell you that this discussion *is* important, >> and well read, as we plan to rewrite those functions. Presenting >> features wrt contexts so clearly is gr

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-16 Thread Jason F. McBrayer
Bastien writes: > Thanks a lot Samuel for writing this. > > Just a quick note to tell you that this discussion *is* important, > and well read, as we plan to rewrite those functions. Presenting > features wrt contexts so clearly is great -- thanks for doing this. Another thing to take into acco

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-16 Thread Eric S Fraga
Eric Abrahamsen writes: > Samuel Wales writes: > >> How about this? IMO this would be ideal. >> >> - M-RET is for the current context >> - C-RET is for a new context [...] > I still think it's pretty important to have an option for creating a new > headline *below* all the contents of the

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-16 Thread Rick Frankel
On 2013-05-15 23:17, Eric Abrahamsen wrote: Samuel Wales writes: Also, C-RET and M-RET currently seem to be identical? I still think it's pretty important to have an option for creating a new headline *below* all the contents of the current subtree -- what C-RET used to do. Also, the above p

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-16 Thread Eric Abrahamsen
Samuel Wales writes: > Hi Eric, > > On 5/15/13, Eric Abrahamsen wrote: >> I still think it's pretty important to have an option for creating a new >> headline *below* all the contents of the current subtree -- what C-RET >> used to do. > > This might be a good thing to make a user preference. >

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-16 Thread Miro Bezjak
Once this gets implemented I'd really like to see the same table in org manual. It's a really good summary. Regards, Miro On Thu, May 16, 2013 at 8:21 AM, Bastien wrote: > Samuel Wales writes: > > > > |-+--++--| > > | command

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-16 Thread Detlef Steuer
On Thu, 16 May 2013 09:22:30 +0200 Daniel Bausch wrote: > Hi! > > > I still think it's pretty important to have an option for creating a new > > headline *below* all the contents of the current subtree -- what C-RET > > used to do. > > I like to second, that there needs to be a short key bindin

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-16 Thread Daniel Bausch
Hi! > I still think it's pretty important to have an option for creating a new > headline *below* all the contents of the current subtree -- what C-RET > used to do. I like to second, that there needs to be a short key binding to insert a new headline below the current entry when the context is i

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-15 Thread Bastien
Samuel Wales writes: > |-+--++--| > | command | context | pos| action | > |-+--++--| > | c-ret | any | any|

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-15 Thread Samuel Wales
Hi Eric, On 5/15/13, Eric Abrahamsen wrote: > I still think it's pretty important to have an option for creating a new > headline *below* all the contents of the current subtree -- what C-RET > used to do. This might be a good thing to make a user preference. > Also, the above provides a whole

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-15 Thread Eric Abrahamsen
Samuel Wales writes: > How about this? IMO this would be ideal. > > - M-RET is for the current context > - C-RET is for a new context > > |-+--++--| > | command | context | pos| action | >

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-15 Thread Samuel Wales
How about this? IMO this would be ideal. - M-RET is for the current context - C-RET is for a new context |-+--++--| | command | context | pos| action | |-+--+---

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-15 Thread Eric Abrahamsen
Christian Moe writes: > Eric Abrahamsen writes: > >> I don't see why `org-ctrl-c-star' --> `org-toggle-heading' isn't enough >> for creating headlines out of existing text. > > Fair point, but I find it useful to have a simpler and speedier > combination, redundant or not. For instance, I often

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-15 Thread Christian Moe
Eric Abrahamsen writes: > I don't see why `org-ctrl-c-star' --> `org-toggle-heading' isn't enough > for creating headlines out of existing text. Fair point, but I find it useful to have a simpler and speedier combination, redundant or not. For instance, I often use Org to make structured docume

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-15 Thread Eric Abrahamsen
Christian Moe writes: > Hi, > > My user input is partially to blame for this, I think. See toward the > end of this thread: > > http://comments.gmane.org/gmane.emacs.orgmode/69749 > > I was under the impression that the behavior of M-RET had changed, but I > may have given a wrong or incomplete d

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-15 Thread Christian Moe
Hi, My user input is partially to blame for this, I think. See toward the end of this thread: http://comments.gmane.org/gmane.emacs.orgmode/69794 I was under the impression that the behavior of M-RET had changed, but I may have given a wrong or incomplete description of the "old behavior" I see

[O] M-RET and C-RET turn current line of text into a heading?

2013-05-14 Thread Eric Abrahamsen
For the past couple of weeks I'm finding that both M-RET and C-RET turn the line under point into a heading, instead of inserting a new heading elsewhere. This happens with `org-M-RET-may-split-line' set to anything. So this: #+begin_src org * Chapter One :PROPERTIES: :some_prop: t :END: In which

Re: [O] M-RET and C-RET

2011-12-05 Thread Greg Troxel
Please keep in mind that C-ret is not an ascii or 8-bit character (or even a character, really), so people using emacs in an xterm (rather than via X) do not have C-ret available. In general I find that org mode becomes a little awkward in a terminal due to usage of ungeneratable characters. p

Re: [O] M-RET and C-RET

2011-12-04 Thread Michael Brand
Hi Nicolas Thank you for all the explanations. On Sun, Dec 4, 2011 at 11:33, Nicolas Goaziou wrote: > Though, from what I read, > I think that you really mean to argue for a change of the default value > of `org-M-RET-may-split-line' (to, i.e. '((default . t) (item))) not for > a change of code.

Re: [O] M-RET and C-RET

2011-12-04 Thread Nicolas Goaziou
Hello, Michael Brand writes: > I try to argue for some supposed common Org user that likes it simple > like me, is used to the behavior of M-RET and C-RET on headings and > is about to learn to use lists and M-RET but doesn't want to know > about org-M-RET-may-split-line that he prefers to leave

Re: [O] M-RET and C-RET

2011-12-03 Thread Michael Brand
Hi Nicolas I try to argue for some supposed common Org user that likes it simple like me, is used to the behavior of M-RET and C-RET on headings and is about to learn to use lists and M-RET but doesn't want to know about org-M-RET-may-split-line that he prefers to leave on its default as typical f

Re: [O] M-RET and C-RET

2011-12-03 Thread Nicolas Goaziou
Hello, Michael Brand writes: > With > > #+begin_src org > ,*** abc > ,*** def > ,- ghi > ,- jkl > #+end_src > > M-RET on "j" inserts a line above but I expected it below. If I > want a line above I would move the point to "-" before doing M-RET > like I do on a heading where I mo

Re: [O] M-RET and C-RET

2011-12-02 Thread Michael Brand
Hi all Now that I use M-RET more often when editing lists I was about trying to make a patch to remove what seems to me an inconsistency between headings and list items. But after I have read the docstrings of org-insert-item and org-list-insert-item the current behavior seems so intentional that

[O] M-RET and C-RET

2011-11-26 Thread sindikat
You can use M-RET-may-split-line, to make it respect content in lists, more or less. I would guess the reason that they are different is to be able to always easily start a new heading. This is very helpful, thank you. But how to make it so M-RET will: 1. not split line; 2. add new list item

Re: [O] M-RET and C-RET

2011-11-26 Thread Tom Prince
On Fri, 25 Nov 2011 17:49:09 +0100, "sindikat" wrote: > Hello everyone, > > M-RET works with both headings and plainlists, it's DWIM. > C-RET works only with headings. I wanted to ask, why C-RET is not DWIM? > Wouldn't users want to add new list item respecting the content? You can use M-RET-

[O] M-RET and C-RET

2011-11-25 Thread sindikat
Hello everyone, M-RET works with both headings and plainlists, it's DWIM. C-RET works only with headings. I wanted to ask, why C-RET is not DWIM? Wouldn't users want to add new list item respecting the content? Thanks in advance.