[IPython-dev] Re: ipython: patch to implement @bookmark, @cdb magics

Ville Vainio vivainio at kolumbus.fi
Tue Jun 29 15:16:26 EDT 2004

Fernando Perez wrote:

> I'd actually prefer to implement the 'cd to bookmark' via a -b option 
> to @cd instead of as a wholesale new magic.  It keeps the 
> functionality nicely together, and it makes it more likely that people 
> will actually use it.

Hmm, I'd kinda like to have it as cdb. It's much faster to type, and I 
implemented it in anticipation of frequent directory switching back and 
forth, like cdb foos [foo source], do some stuff there, cdb fooh [foo 
header], do other stuff there.

Well, the new patch I've attached implements it that way anyway ;-). I 
also removed the persistent file as config option; I just couldn't get 
the config system working :-/. I guess it could be implemented as config 
option once the config system is fixed, i.e. python-based configuration 
files are implemented.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: second_patch_for_bookmarks.diff
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20040629/cfb9ae6d/attachment.ksh>

More information about the IPython-dev mailing list