emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Shane Celis <shane@gnufoo.org>
To: emacs-orgmode@gnu.org
Subject: Announcing hideshow-org.el
Date: Mon, 30 Mar 2009 23:10:26 -0700	[thread overview]
Message-ID: <A085BED7-7079-4370-A36A-88B757AD5CCE@gnufoo.org> (raw)

Hello fellow org-mode users,

Using org-mode has made some things for me intolerable.  I watched  
Carsten Dominik's talk at google where he articulated his desire for a  
simple interface for folding and unfolding.  I became very unhappy  
with the hideshow.el interface for hiding and showing code.  I don't  
know how anyone can bother to use these key bindings.

;;   hs-hide-block       C-c @ C-h     or C-c S-2 C-h   (C-c C-2 C-h  
would be an improvement)
;;   hs-show-block       C-c @ C-s     or C-c S-2 C-h

I endeavored to make hideshow.el work more like org-mode and created  
my extension hideshow-org.el.  Now TAB hides and shows code blocks  
when no indentation is necessary, but indents otherwise.  So for those  
of you who work a lot on code, I encourage you to give it a try.  The  
code and a little screencast that shows it in action is available here:

http://gnufool.blogspot.com/2009/03/make-hideshow-behave-more-like-org-mode.html

Thanks again for org-mode.  It's fundamentally changed the way I  
relate with emacs.

-Shane

             reply	other threads:[~2009-03-31  6:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-31  6:10 Shane Celis [this message]
2009-04-01  8:41 ` Carsten Dominik
2009-04-02  2:44   ` Shane Celis

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=A085BED7-7079-4370-A36A-88B757AD5CCE@gnufoo.org \
    --to=shane@gnufoo.org \
    --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).