[Bug 967399] Re: [11.10] Elantech trackpoint does not work Lenovo

2020-06-11 Thread Andreas Roehler
Seems still exist in 2020:
https://answers.launchpad.net/ubuntu/+question/691261

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/967399

Title:
  [11.10] Elantech trackpoint does not work Lenovo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/967399/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1672968] [NEW] package python-mode 1:6.2.2-1 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

2017-03-16 Thread Andreas Roehler
On 15.03.2017 07:15, Christian Rieffel wrote:
> Public bug reported:
>
> package python-mode 1:6.2.2-1 failed to install on yakkety-yak with an
> anaconda system installed
>
> ProblemType: Package
> DistroRelease: Ubuntu 16.10
> Package: python-mode 1:6.2.2-1
> ProcVersionSignature: Ubuntu 4.8.0-41.44-generic 4.8.17
> Uname: Linux 4.8.0-41-generic x86_64
> ApportVersion: 2.20.3-0ubuntu8.2
> Architecture: amd64
> Date: Tue Mar 14 21:40:49 2017
> ErrorMessage: le sous-processus script post-installation installé a retourné 
> une erreur de sortie d'état 1
> InstallationDate: Installed on 2017-02-21 (21 days ago)
> InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 
> (20160719)
> PackageArchitecture: all
> RelatedPackageVersions:
>   dpkg 1.18.10ubuntu1
>   apt  1.3.4
> SourcePackage: python-mode
> Title: package python-mode 1:6.2.2-1 failed to install/upgrade: le 
> sous-processus script post-installation installé a retourné une erreur de 
> sortie d'état 1
> UpgradeStatus: Upgraded to yakkety on 2017-02-23 (19 days ago)
>
> ** Affects: python-mode (Ubuntu)
>   Importance: Undecided
>   Status: New
>
>
> ** Tags: amd64 apport-package yakkety
>
>


For the moment: does installing via Melpa, i.e. M-x list-packages RET 
etc. work for you?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672968

Title:
  package python-mode 1:6.2.2-1 failed to install/upgrade: le sous-
  processus script post-installation installé a retourné une erreur de
  sortie d'état 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-mode/+bug/1672968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1400284] [NEW] Conflict with built-in python.el

2014-12-08 Thread Andreas Roehler
On 08.12.2014 12:21, Philipp Stephani wrote:
> Public bug reported:
>
> Both python.el (part of GNU Emacs) and python-mode provide a mode
> 'python-mode'. Installing the python-mode package will silently register
> python-mode.el for Python files through autoloads. I think these
> autoloads should be dropped because most users will prefer python.el and
> will be surprised that merely installing python-mode is enough to
> override it. Also maybe loading python-mode.el could be aborted if the
> python-mode function is already defined by python.el.
>

As python-mode.el doesn't unload python.el by default, all commands should be 
available.
Will attach the result of M-x run-python RET --(python.el, buffer displays 
"Inferior Python:)--
and M-x python3 RET -(python-mode.el, "Comint:run" at my version)


** Attachment added: "both.png"
   https://bugs.launchpad.net/bugs/1400284/+attachment/4276235/+files/both.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1400284

Title:
  Conflict with built-in python.el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-mode/+bug/1400284/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1205272] Re: package python-mode 1:6.0.12-2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2014-03-06 Thread Andreas Roehler
Am 06.03.2014 13:08, schrieb Launchpad Bug Tracker:
> Status changed to 'Confirmed' because the bug affects multiple users.
>
> ** Changed in: python-mode (Ubuntu)
> Status: New => Confirmed
>

It fails due to missing rx library

There was an effort at XEmacs porting that library

Maybe ask at xemacs-b...@xemacs.org

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1205272

Title:
  package python-mode 1:6.0.12-2 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-mode/+bug/1205272/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2012-10-23 Thread Andreas Roehler
** Changed in: emacs23 (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 319269] Re: installer doesn't want to install python-mode with emacs22

2012-10-02 Thread Andreas Roehler
this bug should not exist any more since Version 1:6.0.10-1.1 uploaded
on 2012-07-20

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/319269

Title:
  installer doesn't want to install python-mode with emacs22

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-mode/+bug/319269/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2012-08-16 Thread Andreas Roehler
** Changed in: python-mode
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1009517] Re: Python-mode incorrectly handles quotes in comments

2012-07-22 Thread Andreas Roehler
** Changed in: python-mode (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1009517

Title:
  Python-mode incorrectly handles quotes in comments

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/1009517/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2012-07-03 Thread Andreas Roehler
please flag "new" again, should you still encounter the issue,

thanks,

Andreas

** Changed in: python-mode
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2012-07-03 Thread Andreas Roehler
with -1023r

new customizable boolean `py-trailing-whitespace-smart-delete-p'

allows  better handling, coming back at the issue that way

** Changed in: python-mode
   Importance: Undecided => Medium

** Changed in: python-mode
 Assignee: (unassigned) => Andreas Roehler (a-roehler)

** Changed in: python-mode
Milestone: None => 6.1.0

** Changed in: python-mode
   Status: Incomplete => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1009517] Re: Python-mode incorrectly handles quotes in comments

2012-06-06 Thread Andreas Roehler
Am 06.06.2012 15:46, schrieb ConnorMcLaud:
> Python-mode installed from Ubuntu repository
> Version: 1:5.1.0-1
>

Hi,

thanks for the report.

This is fixed in trunk as in last releases.

Maybe check out

https://launchpad.net/python-mode/trunk/6.0.8/+download/python-
mode.el-6.0.8.tar.gz


Andreas


** Changed in: python-mode
 Assignee: (unassigned) => Andreas Roehler (a-roehler)

** Changed in: python-mode
   Importance: Undecided => Medium

** Also affects: ubuntu
   Importance: Undecided
   Status: New

** Changed in: python-mode
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1009517

Title:
  Python-mode incorrectly handles quotes in comments

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/1009517/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670674] Re: Improper indentation when pasting code in gnome-terminal

2012-05-10 Thread Andreas Roehler
** Changed in: python-mode (Ubuntu)
   Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670674

Title:
  Improper indentation when pasting code in gnome-terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670674/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2012-04-22 Thread Andreas Roehler
** Changed in: python-mode
   Importance: Medium => Undecided

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2012-02-29 Thread Andreas Roehler
** Changed in: python-mode
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2012-02-18 Thread Andreas Roehler
Hi Bryce,

should you see something bad, interested to learn about.

BTW think it's worth a new report than,

thanks,

Andreas

** Changed in: python-mode
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2012-01-22 Thread Andreas Roehler
** Changed in: python-mode
 Assignee: Andreas Roehler (a-roehler) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670674] Re: Improper indentation when pasting code in gnome-terminal

2011-10-06 Thread Andreas Roehler
** Changed in: python-mode
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670674

Title:
  Improper indentation when pasting code in gnome-terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670674/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670674] Re: Improper indentation when pasting code in gnome-terminal

2011-09-17 Thread Andreas Roehler
** Changed in: python-mode
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670674

Title:
  Improper indentation when pasting code in gnome-terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670674/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2011-09-02 Thread Andreas Roehler
Am 01.09.2011 21:25, schrieb Bryce Harrington:
> The issue is that if you have a comment with *no* trailing white space,
> then select it with the mouse, and paste it, it pastes in a comment
> *with* trailing whitespace.
>

just coming around this:

http://pedrokroger.com/2010/07/configuring-emacs-as-a-python-ide-2/

(add-hook 'before-save-hook 'delete-trailing-whitespace)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2011-09-01 Thread Andreas Roehler
Am 01.09.2011 21:25, schrieb Bryce Harrington:
> The issue is that if you have a comment with *no* trailing white space,
> then select it with the mouse, and paste it, it pastes in a comment
> *with* trailing whitespace.
>

Can't see any code inside python-mode doing that.
Could you send the output of M-x report-emacs-bug if this happens?

Thanks,

Andreas

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2011-09-01 Thread Andreas Roehler
Dunno how it was before, but don't think it's the task of paste to deal
with trailing whitespace.

So if a comment line has trailing whitespace, remove it before copying
or get it copied.

Copy and paste is the wrong place changing code IMHO,

Don't see any python-mode related bug here, being inclined to flag in
invalid.

Andreas

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2011-08-31 Thread Andreas Roehler
Hi Bryce,

Can't see why commands should get translated,
can't see whats behind the command-names you indicated.

Could you try

(define-key map [(control j)] 'py-newline-and-indent)
(define-key map [(return)] 'py-newline-and-indent)
(define-key map [(control c)(\/)] 'py-indent-line-outmost)

as it comes with the trunk?

Thanks,

Andreas

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2011-08-31 Thread Andreas Roehler
Hi Bryce,

can't see any relation between these commands and any trailing whitespace 
issue, 
as these keys/commands only care for the indent, leaving the rest of line 
untouched.

Cheers,

Andreas

** Changed in: python-mode
   Importance: Undecided => Medium

** Changed in: python-mode
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 670701] Re: Multiline copy including comments cause trailing whitespace to be pasted

2011-08-31 Thread Andreas Roehler
** Changed in: python-mode
 Assignee: (unassigned) => Andreas Roehler (a-roehler)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670701

Title:
  Multiline copy including comments cause trailing whitespace to be
  pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/670701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 310354] Re: 3.0 execute into python session

2011-07-24 Thread Andreas Roehler
** Changed in: python-mode
   Status: Fix Committed => Fix Released

** Changed in: python-mode (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/310354

Title:
  3.0 execute into python session

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/310354/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 310354] Re: 3.0 execute into python session

2011-07-20 Thread Andreas Roehler
** Changed in: python-mode
Milestone: None => 6.0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/310354

Title:
  3.0 execute into python session

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/310354/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 310354] Re: 3.0 execute into python session

2011-06-24 Thread Andreas Roehler
** Changed in: python-mode (Ubuntu)
   Status: Confirmed => Fix Committed

** Changed in: python-mode
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/310354

Title:
  3.0 execute into python session

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/310354/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 310354] Re: 3.0 execute into python session

2011-06-24 Thread Andreas Roehler
Am 24.06.2011 13:32, schrieb Barry Warsaw:
> On Jun 23, 2011, at 05:06 PM, Andreas Roehler wrote:
>
>> Ie in that (new) order:
>>
>> (setq active-shell (or py-which-shell
>> (py-choose-shell-by-shebang)
>> (py-choose-shell-by-import)
>> installed-system-default-python
>
> That seems reasonable to me.  What test will py-choose-shell-by-import
> perform?

it's unchanged. No bug report so far.

>
>> M-x py-toggle-shell without arg will switch between Cpython und Jython -
>> similar as now, but no numeric args required any more,
>>
>> while with C-u prompts for specific Python version - any reachable might
>> be given, python2.7, python3.1 or whatever.
>
> Again, sounds good!
> -Barry

Just checked in before seeing this mail.
Happy testing!

Cheers,

Andreas

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/310354

Title:
  3.0 execute into python session

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/310354/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 310354] Re: 3.0 execute into python session

2011-06-23 Thread Andreas Roehler
Am 13.06.2011 23:02, schrieb Barry Warsaw:
> There are a couple of issues here.
>
> I'd like to see python-mode eventually grow better support for Python 3
> and Python 2 at the same time.  Probably Python 3 support should be a
> derived major-mode so things that are unique to it can be handled
> separately from Python 2 support.  It would then be nice if python-mode
> could auto-detect which to use when possible (this will sometimes be
> difficult), or provide an easy way for the user to specify or switch to
> python3-mode (e.g. via an auto-mode-alist or some such).  Definitely
> python-mode.el should at least keep a local variable that tells you
> whether the current buffer is Python 2 or Python 3.
>
> * Now, when you have such a variable, functions like py-execute-file can
> switch on that to decide what Python code to exec.  For Python 3, I'd
> actually run something like this snippet:
>
> with open(r'%s') as python_mode_exec_hack:
>  exec(python_mode_exec_hack.read())


Hi Barry,

while it seems pretty close at finish, just to communicate some changes:

If that local variable mentioned --lets call it py-which-shell-- doesn't 
exist, shebang, import will be queried, finally recurring to installed 
default Python.

Ie in that (new) order:

(setq active-shell (or py-which-shell
(py-choose-shell-by-shebang)
(py-choose-shell-by-import)
installed-system-default-python

M-x py-toggle-shell without arg will switch between Cpython und Jython - 
similar as now, but no numeric args required any more,

while with C-u prompts for specific Python version - any reachable might 
be given, python2.7, python3.1 or whatever.

Cheers,

Andreas

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/310354

Title:
  3.0 execute into python session

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/310354/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 310354] Re: 3.0 execute into python session

2011-06-14 Thread Andreas Roehler
** Changed in: python-mode
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/310354

Title:
  3.0 execute into python session

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-mode/+bug/310354/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 310354] Re: 3.0 execute into python session

2011-05-20 Thread Andreas Roehler
** Changed in: python-mode (Ubuntu)
   Status: New => Confirmed

** Changed in: python-mode
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/310354

Title:
  3.0 execute into python session

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs