jed-users mailing list

[2013 Date Index] [2013 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[Jed-users-l] Request for a couple of adjustments to python-mode


Hello fellow Jed users,

I've been using Jed as my primary editor since the late 90s/early 2000s.
I've enjoyed watching Jed grow in users and features while retaining its
compactness and speed.  That said, there are two things that I would like
to see changed (or worked around)

1.  Making a new line on an indented paragraph without changing the
indentation level.  If I run 'jed' on an empty file, without choosing a
mode, it preserves the indentation level of a line after I hit Enter.
However, if I hit enter in the whitespace before the start of the line,
then the indentation level of the line falls back to zero.  How can I set
this to not do that?

2.  Word wrapping respecting Python comments. I would like for
Python-mode's word-wrap to ensure that Python comment symbols stay at the
start of the line. As it is right now, word-wrap does no special handling
of comment symbols, and jumbles them up in the word-wrapped paragraph.  The
solution to this could be to just remove the comment symbols from the
beginning of every line in the paragraph, word-wrap the paragraph with
respect to a wrap-length minus 2 (for the '# and ' '),, and then put the
comment symbols back at the front of every line of the word-wrapped
paragraph.

What are your thoughts?

Thanks!
- Roey
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


[2013 date index] [2013 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]