From mboxrd@z Thu Jan 1 00:00:00 1970 From: Austin Frank Subject: Re: bug? in orgstruct-mode Date: Wed, 25 Feb 2009 23:57:28 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1365766637==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LcYJo-0005ls-4J for emacs-orgmode@gnu.org; Wed, 25 Feb 2009 23:57:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LcYJm-0005kl-D6 for emacs-orgmode@gnu.org; Wed, 25 Feb 2009 23:57:55 -0500 Received: from [199.232.76.173] (port=54243 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcYJm-0005ki-8A for emacs-orgmode@gnu.org; Wed, 25 Feb 2009 23:57:54 -0500 Received: from main.gmane.org ([80.91.229.2]:40801 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LcYJl-0008Q6-Ni for emacs-orgmode@gnu.org; Wed, 25 Feb 2009 23:57:53 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LcYJe-0003HF-9G for emacs-orgmode@gnu.org; Thu, 26 Feb 2009 04:57:46 +0000 Received: from cpe-74-67-179-53.rochester.res.rr.com ([74.67.179.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Feb 2009 04:57:46 +0000 Received: from austin.frank by cpe-74-67-179-53.rochester.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Feb 2009 04:57:46 +0000 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: emacs-orgmode@gnu.org --===============1365766637== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Sun, Feb 22 2009, Carsten Dominik wrote: > yes, this is something I have been missing myself. Glad it wasn't just me. I feel guilty if I'm the only one requesting the feature. Now that you've implemented it, are you using orgstruct++-mode? > orgstruct-mode is a mode that steals away bindings from the major mode > and overrules them in certain contexts. In general, it does make > sense to keep the regions where this applies small, so that the normal > functions bound to the same keys can do there thing everywhere else. Maybe it makes sense for people who still cling to the idea that there are useful modes outside of org-mode ;) > You are describing here a case, where you actually never want to use > the original function of that key M-RET, right? Yes, I almost never want to use `message-newline-and-reformat'. > (defun org-run-insert-heading () > (interactive) > (run-like-in-org-mode 'org-insert-heading)) Did not know about `run-like-in-org-mode'. Very cool. > What I have now done as well is to extend orgstruct++-mode so that it > will do what you ask for. You neet to pull the git version for this > change. I use this full time in text-based modes now. It's especially great for composing emails (message-mode) and editing commit messages (magit-log-edit-mode). Thanks for adding this feature. I understand why it can't be the default, but I would encourage folks to try it. It works really well for me. Have a good one, /au =2D-=20 Austin Frank http://aufrank.net GPG Public Key (D7398C2F): http://aufrank.net/personal.asc --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAkmmITgACgkQlHMl2/XbR4HpqACgtnJoXlRBf8An0H4KlhgRNADE IREAn1TvJkffgaJLGSZS0P2RvUVHqOfc =d+Pr -----END PGP SIGNATURE----- --=-=-=-- --===============1365766637== 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 --===============1365766637==--