On Wed, Feb 11, 2015 at 02:44:50PM +0200, Clemens Heuberger wrote:
> >From 6.5.rc0 on,
>       sage -n ipython
> does no longer work, it starts the sagenb notebook with directory 
> ipython.sagenb.
> 
> Until 6.5.beta6, this opened the ipython notebook.
> 
> sage -n -h says:
>   --notebook [NOTEBOOK], -n [NOTEBOOK], -notebook [NOTEBOOK]
>                         The notebook to run [one of: default, ipython,
>                         sagenb]. Default is sagenb
> 
> sage -h says
>   -n, --notebook      -- shortcut for --notebook=default
> 
> So these two bits of documentation contradict each other and we have a change 
> of
> behaviour.
> 
> I do not know whether this is intentional, especially after the discussions in
>       http://trac.sagemath.org/ticket/17280
> where we broke old behaviour already once.
> 
> I guess that this has been introduced in
>       http://trac.sagemath.org/ticket/17685


No, the changes made on that ticket only concern the -n=blah calls, you
can still do sage -n=ipython.

The wrong part is 

if [ "$1" = "-notebook" -o "$1" = '--notebook' -o "$1" = '-n' ]; then
    shift
    sage-cleaner >/dev/null 2>&1 &
    exec sage-notebook --notebook=default "$@"
fi

where, when the '-n' option is passed explicitely use the default
notebook. It was introduced in
http://git.sagemath.org/sage.git/commit/?id=487807cdaaa32f8cf8090fa2271d8c5ac762252e

Ciao,
Thierry


 
> Regards, CH

> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to