[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30822: 25.3; python-shell-send-defun sends only one line
From: |
Nitish |
Subject: |
bug#30822: 25.3; python-shell-send-defun sends only one line |
Date: |
Thu, 05 Apr 2018 23:22:19 -0400 |
As Noam Postavsky mentioned, there was an unconditional (forward-line 1)
expression.
The issue manifests itself in a different way too. In the example that David
Liu gave, add a decorator to the function on the first line. Then
`python-shell-send-defun` enters an infinite loop.
The attached patch fixes both these issues. `(forward-line 1)` should be called
only when `(forward-line -1)` moves Point and `(looking-at..` returns false.
0001-30822-Fixed-infinite-loop-and-also-removed-an-extra-.patch
Description: Text Data
- bug#30822: 25.3; python-shell-send-defun sends only one line,
Nitish <=
- bug#30822: 25.3; python-shell-send-defun sends only one line, Noam Postavsky, 2018/04/06
- bug#30822: 25.3; python-shell-send-defun sends only one line, Nitish, 2018/04/06
- bug#30822: 25.3; python-shell-send-defun sends only one line, Noam Postavsky, 2018/04/08
- bug#30822: 25.3; python-shell-send-defun sends only one line, Andreas Röhler, 2018/04/09
- bug#30822: 25.3; python-shell-send-defun sends only one line, Noam Postavsky, 2018/04/09
- bug#30822: 25.3; python-shell-send-defun sends only one line, Andreas Röhler, 2018/04/11