emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Austin Frank <austin.frank@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: bug? in orgstruct-mode
Date: Wed, 25 Feb 2009 23:57:28 -0500	[thread overview]
Message-ID: <m0iqmxvlqf.fsf@gmail.com> (raw)
In-Reply-To: F31F39B6-4E90-4A54-8B55-5C85E194167D@uva.nl

[-- Attachment #1.1: Type: text/plain, Size: 1612 bytes --]

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 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

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,

Austin Frank
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc

[-- Attachment #1.2: Type: application/pgp-signature, Size: 193 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.

  reply	other threads:[~2009-02-26  4:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-21 23:23 bug? in orgstruct-mode Austin Frank
2009-02-22 17:39 ` Carsten Dominik
2009-02-26  4:57   ` Austin Frank [this message]
2009-02-26 20:19     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m0iqmxvlqf.fsf@gmail.com \
    --to=austin.frank@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).