wavexx / python-x.el

python.el extras for interactive evaluation
https://melpa.org/#/python-x
GNU General Public License v3.0
9 stars 2 forks source link

Don't send two adjacent code blocks in `send-block-with-motion` #9

Closed vspinu closed 8 years ago

vspinu commented 8 years ago

Problem: If point is between two paragraphs, python-shell-send-paragraph will send two paragraphs.

Fix: Make all evaluation commands forward-looking, in a sense that if evaluation portion is ambiguous send the next one.

vspinu commented 8 years ago

I am adding some more minor changes to this branch. I think they should be quite non-controversial.

First one is to fix a range of checkdoc errrors, most notably first line must be a complete sentence with < 80 chars.

Second one is to add .dir-locals.el with indent-tabs-mode set to nil. This allows all collaborators and github pages to see the same code. The code was really badly indented on my machine with tab-width of 4.

wavexx commented 8 years ago

I merged the first commit last week, but I realized rewriting some descriptions for checkdoc would be a better idea than simply adding some punctuation.

vspinu commented 8 years ago

Well, I didn't just add punctuation here and there. I also rewrote a bunch of them. It should have had you started with a reasonable cleanup. If you plan for a complete rewrite, that's surely fine by me.

wavexx commented 8 years ago

On Sat, Feb 27 2016, Vitalie Spinu notifications@github.com wrote:

Well, I didn't just add punctuation here and there. I also rewrote a bunch of them. It should have had you started with a reasonable cleanup. If you plan for a complete rewrite, that's surely fine by me.

Ok, I missed those. I'm slowly going over them again.