From mboxrd@z Thu Jan 1 00:00:00 1970 From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) Subject: Re: Emulating list functionality from traditional GUI editors Date: Thu, 11 Dec 2014 12:34:12 -0500 Message-ID: <878uieqeej.fsf@yale.edu> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz7gG-00089s-3q for emacs-orgmode@gnu.org; Thu, 11 Dec 2014 12:37:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xz7g8-0000T5-MH for emacs-orgmode@gnu.org; Thu, 11 Dec 2014 12:37:36 -0500 Received: from plane.gmane.org ([80.91.229.3]:55108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz7g8-0000Sh-FL for emacs-orgmode@gnu.org; Thu, 11 Dec 2014 12:37:28 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xz7fz-0000IW-Lp for emacs-orgmode@gnu.org; Thu, 11 Dec 2014 18:37:19 +0100 Received: from nat-130-132-173-32.central.yale.edu ([130.132.173.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Dec 2014 18:37:19 +0100 Received: from jorge.alfaro-murillo by nat-130-132-173-32.central.yale.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Dec 2014 18:37:19 +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 Calvin Young writes: > * If the cursor is at the end of a list item, then "Return" > should > insert a new list item (i.e., automatically perform > org-meta-return) M- does this. You do not want to do that because you when you want to finish the list finishes it. > * If the cursor is at the beginning of an empty list item, then > "Return" should outdent the list item (or remove it if it's > already at the outer-most indentation level) I am not sure that I understand this but I assume that you would obtain the same with . It goes back and forth between levels of list so if you have - one - two + a + CURSOR_HERE and you hit then it changes to - one - two + a + CURSOR_HERE and then two times (or S- from the beginning) changes it to - one - two + a - CURSOR_HERE > * If the cursor is at the beginning of an empty list item, then > "Backspace" should delete the list item and move my cursor to > the end of the previous list item I guess you could remap to a function that checks if you are at the beginning of the list and when that is true it does what you want, otherwise it just calls `delete-backward-char'. But generally I would do C-a C-k , just two more keystrokes. > * It'd be nice of these rules could be applied to checkboxes as > well M-S- inserts a check box. Best, -- Jorge.