From: Carsten Dominik <dominik@science.uva.nl>
To: Austin Frank <austin.frank@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: bug? in orgstruct-mode
Date: Thu, 26 Feb 2009 21:19:53 +0100 [thread overview]
Message-ID: <1D816E04-0A62-4DBD-907B-EA6CF552C5A8@uva.nl> (raw)
In-Reply-To: <m0iqmxvlqf.fsf@gmail.com>
Hi Austin,
On Feb 26, 2009, at 5:57 AM, Austin Frank wrote:
> 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?
I only added the checking for plain list item context newly to
orgstruct++-mode. The rest was there before, largely
undocumented, I believe.
And yes, I am using it a lot, like you in magit log mode for example.
orgstruct-mode I use in programming modes when I write docstrings etc,
but in any text-like mode, I would also prefer the ++ version.
- Carsten
>
>
>> 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
>
> --
> Austin Frank
> http://aufrank.net
> GPG Public Key (D7398C2F): http://aufrank.net/personal.asc
> _______________________________________________
> 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
prev parent reply other threads:[~2009-02-26 20:21 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
2009-02-26 20:19 ` Carsten Dominik [this message]
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=1D816E04-0A62-4DBD-907B-EA6CF552C5A8@uva.nl \
--to=dominik@science.uva.nl \
--cc=austin.frank@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).