Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'url:launchpad': 0.05; 'arguments': 0.07; 'default.': 0.07; 'subject:PEP': 0.07; 'python': 0.09; 'pep': 0.09; 'received:212.227.126': 0.09; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; 'andreas': 0.16; 'received:212.227.126.171': 0.16; 'subject:) ': 0.20; 'parse': 0.22; 'work,': 0.22; 'seems': 0.23; 'patch': 0.24; 'url:bugs': 0.24; 'cc:2**1': 0.24; 'script': 0.24; 'pass': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'implemented': 0.27; 'all.': 0.28; 'file': 0.32; 'cc:no real name:2**1': 0.36; 'should': 0.36; 'subject: (': 0.36; 'subject:: ': 0.38; 'subject:-': 0.40; 'thomas': 0.62; 'acts': 0.71; 'sfxlen:1': 0.91 Date: Thu, 31 Jan 2013 12:05:53 +0100 From: =?ISO-8859-1?Q?Andreas_R=F6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130105 Thunderbird/17.0.2 MIME-Version: 1.0 To: Thomas Heller Subject: Re: Python launcher (PEP 397) and emacs python-mode.el References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:h9nXdT2JjbALoAWgPpZf/E4awfi04Le5J0sDL+N71MT H12lTRAbWbc4xdzq15sdE72HQqyFsRRyo/dvZho4f6+/6bh7z+ 6tCTbe8CJrPEW+xA+fc8WvgtkWLbCA1ZwUMv94DYiKeAoJOsLA m/Te4j58VjBNf+1+ZwVmzg1W/bCoDKXZMt5ZgqzB8yAfijTTZk Tsv19tw5j/8cZuqsZf6livoIzHCiLGVKqeRmyUbUkwTD3GeP1r M+uMPvkZMeoo+ou3quZwdTjhFHJ9pHv5tKCiPZxgksFi3gzURX cmUInXFT1RJFmTJJ8K0sHDymfUoT6pxxgVXletSI4SuMfVe4iH rLyrAtp//MlLNl6Hyegk= Cc: python-list@python.org, python-mode@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1359630370 news.xs4all.nl 6863 [2001:888:2000:d::a6]:43478 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:37988 Am 31.01.2013 10:03, schrieb Thomas Heller: > Has someone managed to patch python-mode.el to use > the PEP 397 python launcher when you hit C-c C-c? > > It seems that emacs should parse the shebang line in the edited > python script and pass the corresponding arguments to py.exe. > Yes, that's the way python-mode.el acts by default. AFAIU that launcher is implemented in Python3.3 and should not need any patch at all. Should it not work, please file a bug-report at https://bugs.launchpad.net/python-mode Andreas > Thomas