Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #37988

Re: Python launcher (PEP 397) and emacs python-mode.el

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 <andreas.roehler@online.de>
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 Andreas Röhler <andreas.roehler@online.de>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130105 Thunderbird/17.0.2
MIME-Version 1.0
To Thomas Heller <theller@ctypes.org>
Subject Re: Python launcher (PEP 397) and emacs python-mode.el
References <amuqb5FueeU1@mid.individual.net>
In-Reply-To <amuqb5FueeU1@mid.individual.net>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1246.1359630370.2939.python-list@python.org> (permalink)
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

Show key headers only | View raw


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



Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python launcher (PEP 397) and emacs python-mode.el Thomas Heller <theller@ctypes.org> - 2013-01-31 10:03 +0100
  Re: Python launcher (PEP 397) and emacs python-mode.el Andreas Röhler <andreas.roehler@online.de> - 2013-01-31 12:05 +0100
    Re: Python launcher (PEP 397) and emacs python-mode.el Thomas Heller <theller@ctypes.org> - 2013-01-31 17:35 +0100
      Re: Python launcher (PEP 397) and emacs python-mode.el Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2013-01-31 18:26 +0000
        Re: Python launcher (PEP 397) and emacs python-mode.el Thomas Heller <theller@ctypes.org> - 2013-01-31 21:53 +0100
          Re: Python launcher (PEP 397) and emacs python-mode.el Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2013-01-31 23:59 +0000
          Re: Python launcher (PEP 397) and emacs python-mode.el Andreas Röhler <andreas.roehler@online.de> - 2013-02-01 08:13 +0100
      Re: Python launcher (PEP 397) and emacs python-mode.el Andreas Röhler <andreas.roehler@online.de> - 2013-01-31 19:40 +0100

csiph-web