[Python-mode] patch] add support for hideshow.el

Dan Nicolaescu dann at ics.uci.edu
Thu Apr 27 16:07:54 CEST 2006


Edward Loper <edloper at gradient.cis.upenn.edu> writes:

  > > This patch adds support for hideshow.el 
  > 
  > It's best to submit patches to sourceforge; if you just email them to
  > the list, they're liable to get lost.

I was just following instructions, see in python-mode.el: 

  Send
;; suggestions and other comments to python-mode at python.org.



  > Patch tracker URL:
  > http://sourceforge.net/tracker/?group_id=86916&atid=581351

I am not sure what that is and I don't have time see it. 

  > There's at least one typo in your patch:
  > 
  > > +  (unless (assoc 'pyhon-mode hs-special-modes-alist)
  > 
  > Presumably that should be "python-mode," not "pyhon-mode".  Also,

Yep, sorry about that, it seems that I changed while editing the email
as I don't have this in the original file.


  > hideshow available on all modern flavors of emacs?  It not, this command

As far as I know it is.

  > will probably fail with "symbol's value as variable is void:
  > hs-special-modes-alist"; so it might be good to check if hideshow is
  > available first.



More information about the Python-mode mailing list