ipython prompt issue

Bug #1020412 reported by Andreas Roehler
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
High
Andreas Roehler
Debian
Fix Released
Unknown

Bug Description

Am 02.07.2012 20:14, schrieb Yaroslav Halchenko:> Package: python-mode
> Version: 1:6.0.10-1
> Severity: grave
>
> Due to popularity of ipython and the purpose of python-mode to provide means
> for interactive work with python code within emacs I consired this bug
> important for the most of the users of python-mode (thus grave).
>
> In ipython shell ran by python-mode I enter some command and then try to get
> back to it by pressing C-Up, previous command gets inserted BEFORE the prompt,
> thus making it unusable
>
> In [3]: i = 1
>
> i = 1In [5]:
>
> FWIW it behaves correctly in a regular python shell
>
> -- System Information:
> Debian Release: wheezy/sid
> APT prefers testing
> APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages python-mode depends on:
> ii emacs [emacsen] 23.3+1-1
> ii emacs23 [emacsen] 23.4+1-3
> ii python 2.7.2-10
> ii python2.6 2.6.7-4
> ii python2.7 2.7.3~rc2-2.1
>
> Versions of packages python-mode recommends:
> ii pychecker 0.8.19-3
> ii pymacs 0.23-1.1
>
> Versions of packages python-mode suggests:
> ii pylint 0.24.0-1
> ii python-ropemacs 0.6c2-4
>
> -- no debconf information
>
>
>

Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.1.0
importance: Undecided → High
Changed in debian:
status: Unknown → New
Changed in python-mode:
status: New → Confirmed
Revision history for this message
Andreas Roehler (a-roehler) wrote :

Hi Yaroslav,

please send the value of `ipython-de-input-prompt-regexp'

thanks,

Andreas

Revision history for this message
Yaroslav Halchenko (yarikoptic) wrote :

ipython-de-input-prompt-regexp is a variable defined in `python-mode.el'.
Its value is
"\\(?:\nIn \\[[0-9]+\\]: *.*\n----+> \\(.*\n\\)[\n]?\\)\\|\\(?:\nIn \\[[0-9]+\\]: *\\(.*\n\\)\\)\\|^[ ]\\{3\\}[.]\\{3,\\}: *\\(.*\n\\)"

Revision history for this message
Andreas Roehler (a-roehler) wrote :

Hi Yaroslav,

inserting BEFORE the prompt should be gone, thus closed this report.
Several other ipython bugs visible here, should be fixed during this month.

Should you see these bugs in August, please report.

Thanks,

Andreas

Changed in python-mode:
status: Confirmed → Fix Committed
Changed in debian:
status: New → Confirmed
Changed in python-mode:
status: Fix Committed → Fix Released
Changed in debian:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.