emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Announcing hideshow-org.el
@ 2009-03-31  6:10 Shane Celis
  2009-04-01  8:41 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Shane Celis @ 2009-03-31  6:10 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Announcing hideshow-org.el
  2009-03-31  6:10 Announcing hideshow-org.el Shane Celis
@ 2009-04-01  8:41 ` Carsten Dominik
  2009-04-02  2:44   ` Shane Celis
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2009-04-01  8:41 UTC (permalink / raw)
  To: Shane Celis; +Cc: emacs-orgmode


On Mar 31, 2009, at 8:10 AM, Shane Celis wrote:

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

Wow, these would have made good examples for my talk.  Disastrous keys,
invalidating the entire point of folding.

> 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


This looks like a huge improvement.  Congratulations, maybe you should
talk to Thien-Thi and Dan, if they are interested to incorporate this
into hideshow as an option.

- Carsten

>
> Thanks again for org-mode.  It's fundamentally changed the way I  
> relate with emacs.
>
> -Shane
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Announcing hideshow-org.el
  2009-04-01  8:41 ` Carsten Dominik
@ 2009-04-02  2:44   ` Shane Celis
  0 siblings, 0 replies; 3+ messages in thread
From: Shane Celis @ 2009-04-02  2:44 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

On Apr 1, 2009, at 1:41 AM, Carsten Dominik wrote:
> This looks like a huge improvement.  Congratulations, maybe you should
> talk to Thien-Thi and Dan, if they are interested to incorporate this
> into hideshow as an option.

Thank you very much for the kind words.  I'd be happy to suggest the  
idea after I've spent some more time with the code and the majority of  
its kinks have surfaced.  :)

-Shane

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-02  2:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-31  6:10 Announcing hideshow-org.el Shane Celis
2009-04-01  8:41 ` Carsten Dominik
2009-04-02  2:44   ` Shane Celis

Code repositories for project(s) associated with this 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).