GNU bug report logs - #27487
[PATCH] Associate .pyi with python-mode

Previous Next

Package: emacs;

Reported by: Ville Skyttä <ville.skytta <at> iki.fi>

Date: Sun, 25 Jun 2017 17:20:01 UTC

Severity: minor

Tags: patch

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27487 in the body.
You can then email your comments to 27487 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#27487; Package emacs. (Sun, 25 Jun 2017 17:20:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ville Skyttä <ville.skytta <at> iki.fi>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 25 Jun 2017 17:20:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ville Skyttä <ville.skytta <at> iki.fi>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Associate .pyi with python-mode
Date: Sun, 25 Jun 2017 09:46:02 +0300
https://www.python.org/dev/peps/pep-0484/#id43

* lisp/progmodes/python.el (auto-mode-alist): Add .pyi.
---
 lisp/progmodes/python.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 464b931..6f16912 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -273,7 +273,7 @@
 (autoload 'help-function-arglist "help-fns")
 
 ;;;###autoload
-(add-to-list 'auto-mode-alist (cons (purecopy "\\.pyw?\\'")  'python-mode))
+(add-to-list 'auto-mode-alist (cons (purecopy "\\.py[iw]?\\'") 'python-mode))
 ;;;###autoload
 (add-to-list 'interpreter-mode-alist (cons (purecopy "python[0-9.]*") 'python-mode))
 
-- 
2.9.4





Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Wed, 05 Jul 2017 19:23:01 GMT) Full text and rfc822 format available.

Notification sent to Ville Skyttä <ville.skytta <at> iki.fi>:
bug acknowledged by developer. (Wed, 05 Jul 2017 19:23:01 GMT) Full text and rfc822 format available.

Message #10 received at 27487-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 27487-done <at> debbugs.gnu.org
Subject: Re: bug#27487: [PATCH] Associate .pyi with python-mode
Date: Wed, 05 Jul 2017 15:22:30 -0400
Version: 26.1

Thanks; done in 94b2e1f.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 03 Aug 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 327 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.