[ python-Feature Requests-1175686 ] add "reload" function

SourceForge.net noreply at sourceforge.net
Sun Jun 5 16:32:56 CEST 2005


Feature Requests item #1175686, was opened at 2005-04-03 03:48
Message generated for change (Comment added) made by kbk
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1175686&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IDLE
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: paul rubin (phr)
Assigned to: Nobody/Anonymous (nobody)
Summary: add "reload" function

Initial Comment:
The file menu in Editor windows could benefit from a
"reload" function that re-reads the file from disc and
loads it into the editor, replacing what's currently in
the editor.  That's useful for those of us who like to
edit with Emacs in another window while running the
code under Idle.  To get really fancy, it might be cool
to optionally display a diff between the in-editor
version and the on-disk version allowing merging
changes, but that's maybe over the top.

Other editors usually do have commands like this,
e.g.M-x Revert-file in Emacs or ":e!" in vi.

----------------------------------------------------------------------

>Comment By: Kurt B. Kaiser (kbk)
Date: 2005-06-05 09:32

Message:
Logged In: YES 
user_id=149084

Responding to your "misplaced" post, I use emacs for
everything also; basically I live in emacs.  However, my
question still stands.  Have you tried IDLE with the 
autosave and F5 to run?  If IDLE had incremental search
it would be pretty close or maybe even better.  I used to
use emacs to develop IDLE but I find I'm increasingly 
using IDLE for that purpose.

----------------------------------------------------------------------

Comment By: Kurt B. Kaiser (kbk)
Date: 2005-05-26 11:20

Message:
Logged In: YES 
user_id=149084

I like the Revert idea better.  It probably should be
above "Close" in the File menu.  Otherwise, if it's
next to "Recent Files", someday someone is going
to select it by mistake and be really ticked.

I think the suggestion violates KISS.  Over time, it's
ideas like this that cause creeping features and a
boated interface.

But again, why not use IDLE instead of emacs to
edit Python code?  One button Save/Run!  What is
the killer feature that's missing from IDLE?  That would
be the real thing to work on.

----------------------------------------------------------------------

Comment By: Kurt B. Kaiser (kbk)
Date: 2005-04-18 21:55

Message:
Logged In: YES 
user_id=149084

Why do you use Emacs instead of IDLE? (I use emacs
myself sometimes, but I'm curious what your reasons
are these days.)

----------------------------------------------------------------------

Comment By: Raymond Hettinger (rhettinger)
Date: 2005-04-18 17:48

Message:
Logged In: YES 
user_id=80475

If added, it should definitely be called "revert" instead of
"reload".  The latter already has a specific meaning in
Python that relates to imports.  The former seems to be
standard terminology across a number of editing tools from
emacs to photoshop.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1175686&group_id=5470


More information about the Python-bugs-list mailing list