From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raffi R Subject: Re: indent list item and change list type automatically Date: Sun, 5 Jul 2009 18:26:48 -0400 Message-ID: References: <20524da70906291751j62a2a35du34a40a729be50f93@mail.gmail.com> <87d48f9c6c.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0015174be5e2d04641046dfce3eb Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNaAw-0004Eu-Mn for emacs-orgmode@gnu.org; Sun, 05 Jul 2009 18:27:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNaAv-0004Ea-TB for emacs-orgmode@gnu.org; Sun, 05 Jul 2009 18:27:10 -0400 Received: from [199.232.76.173] (port=58966 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNaAv-0004EW-Mm for emacs-orgmode@gnu.org; Sun, 05 Jul 2009 18:27:09 -0400 Received: from ey-out-1920.google.com ([74.125.78.150]:1809) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MNaAv-0006ti-1L for emacs-orgmode@gnu.org; Sun, 05 Jul 2009 18:27:09 -0400 Received: by ey-out-1920.google.com with SMTP id 3so758126eyh.36 for ; Sun, 05 Jul 2009 15:27:08 -0700 (PDT) In-Reply-To: <87d48f9c6c.wl%ucecesf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga , emacs-orgmode@gnu.org --0015174be5e2d04641046dfce3eb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, Here is the current jot-mode (I think...the latest version is at my lab and is, I think, much less buggy when it comes to showing levels) along with some documentation and a lot of TODOs. It's pretty dirty, and I'd greatly appreciate input. When people think it's at a releasable state, I'll put it up on Worg/EmacsWiki. Thanks, - Raffi. On Sun, Jul 5, 2009 at 3:12 PM, Eric S Fraga wrote: > At Sun, 5 Jul 2009 10:57:34 -0400, > Raffi R wrote: >> >> I've written a very quick and dirty derived mode for org that >> implements the following keystrokes: >> Tab is demote. >> Shift-tab is promote. >> Enter is org-insert-heading. >> C-tab is the old Shift-Tab >> C-j is the old Return. >> >> I know it messes with the default org configuration, which is part of >> why I have not posted it anywhere, but it works *extremely* well for >> me when I'm taking notes e.g. in lecture, and I find myself using >> jot-mode (what I named it) just as often as org-mode proper. >> >> If people are interested, I'd be glad to email it/post it on EmacsWiki >> or Worg (although I should warn you, it is probably very unstylish >> Elisp, too!). > > I cannot speak for others but I'm interested, especially having > recently acquired a Nokia N800 internet tablet... where keystrokes are > to be minimised and your bindings sound quite appropriate for note > taking. =A0Please post here or on wiki/worg sites. > --0015174be5e2d04641046dfce3eb Content-Type: application/octet-stream; name="jot-mode.org" Content-Disposition: attachment; filename="jot-mode.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fwsc0gpq0 KiBKb3QgTW9kZQoKSm90IG1vZGUgaXMgYSBjb2xsZWN0aW9uIG9mIGtleWJvYXJkIHNob3J0Y3V0 cyBhbmQgbGF5b3V0IHNldHRpbmdzIChtb3N0bHkgZm9yY2luZyBzaG93LWFsbCBtb3JlIG9mdGVu IHRoYW4gbm90KSBkZXNpZ25lZCB0byBtYWtlIG9yZy1tb2RlIG1vcmUgYW1lbmFibGUgdG8gcmFw aWQgbm90ZXRha2luZyAoZS5nLiBpbiBsZWN0dXJlcyBvciBicmFpbnN0b3JtaW5nIHNlc3Npb25z KS4gSXQgaXMgYSBkZXJpdmVkIG1vZGUgb2Ygb3JnLW1vZGUuCgoqIEpvdCBNb2RlIGlzIGRlcml2 ZWQgZnJvbSBvcmctbW9kZQoKSm90IG1vZGUgaXMgZXh0cmVtZWx5IHNob3J0LiBUaGlzIGlzIGJl Y2F1c2UgaXQgaXMgYSBkZ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ZpY2Ugd3JhcHBlcnMgYXJvdW5kIHRoZSBleGlzdGluZyBmdW5jdGlvbnMgaW5zdGVh ZCBvZiBkZWZ1bnMgcHJvcGVyLgoqKiBCaW5kIHJldHVybiB0byBvcmctaW5zZXJ0LWhlYWRpbmcg aW5zdGVhZCBvZiBvcmctaW5zZXJ0LWhlYWRpbmctYWZ0ZXItY3VycmVudC4KKiogUHJvbW90ZS9k ZW1vdGUgbm9uLSpzIHdpdGggVGFiL1MtVGFiCgo= --0015174be5e2d04641046dfce3eb Content-Type: application/octet-stream; name="jot.el" Content-Disposition: attachment; filename="jot.el" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fwsc0sp31 Ozs7IGpvdC1tb2RlLmVsIC0tIE5vdGV0YWtpbmcgbW9kZSB0aGF0IGV4dGVuZHMgb3JnLW1vZGUg Zm9yIEVtYWNzLg0KDQo7OyBDb3B5cmlnaHQgKEMpIDIwMDkgUmFmZmkgUnVzaCA8cmFmZmlyQGdt YWlsLmNvbT4NCg0KOzsgTWFpbnRhaW5lcjogUmFmZmkgUnVzaA0KOzsgVmVyc2lvbjogMC4xDQo7 OyBLZXl3b3Jkczogb3V0bGluZXMsIGxlY3R1cmUgbm90ZXMsIG5vdGV0YWtpbmcsIG5vdGVzLCBq b3QNCg0KOzsgVGhpcyBmaWxlIGlzIG5vdCBwYXJ0IG9mIEdOVSBFbWFjcw0KDQo7OyBUaGlzIHBy b2dyYW0gaXMgZnJlZSBzb2Z0d2FyZTsgeW91IGNhbiByZWRpc3RyaWJ1dGUgaXQgYW5kL29yIG1v ZGlmeQ0KOzsgaXQgdW5kZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGlj ZW5zZSBhcyBwdWJsaXNoZWQgYnkNCjs7IHRoZSBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb247IGVp dGhlciB2ZXJzaW9uIDMsIG9yIChhdCB5b3VyIG9wdGlvbikNCjs7IGFueSBsYXRlciB2ZX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ZGUtbWFwIFso c2hpZnQgdGFiKV0gJ29yZy1kby1wcm9tb3RlKQ0KKGRlZmluZS1rZXkgam90LW1vZGUtbWFwIFso Y29udHJvbCB0YWIpXSAnb3JnLXNoaWZ0dGFiKQ0KKGRlZmluZS1rZXkgam90LW1vZGUtbWFwIFso Y29udHJvbCByZXR1cm4pXSAnb3JnLXJldHVybi1pbmRlbnQpICANCg0KDQoNCjs7OyBGaW5pc2gg dXANCihwcm92aWRlICdqb3QtbW9kZSkNCihwcm92aWRlICdqb3Qp --0015174be5e2d04641046dfce3eb Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --0015174be5e2d04641046dfce3eb--