After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660322 - Ability to hide individual results
Ability to hide individual results
Status: RESOLVED WONTFIX
Product: reinteract
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: reinteract-maint
reinteract-maint
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2011-09-28 03:45 UTC by Owen Taylor
Modified: 2018-07-10 22:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2011-09-28 03:45:11 UTC
[ Orginally filed by Ulrik Sverdrup as http://www.reinteract.org/trac/ticket/4 ]

Make it easier to copy and paste chunks inside reinteract, or copy a whole suite into another "pure" python script, but allowing the user to hide or clear the displayed/printed results.

Either we could have in effect everything marked for recomputation, or we could just have a toggleable state show/don't show for results.

It could also be solved by different copy-selection behaviors, but some users will want to copy just the results, some just the code and some the whole transcript (both). 

11/14/07 19:50:59 changed by otaylor
====================================

Don't you always want either: a) just the python code or b) doctests format (see ticket #1)? I can't think of a case where I'd want to get just everything without distinction as currently. (And there's definitely no case where you want to copy a result and insert into the buffer tagged as not-editable, as happens currently!)

So, my instinct here is that the default should be to skip the results, and have a separate "copy as doctests", maybe with the short-cut control-shift-c

(The exception being when *just* a single result or part of a results is selected... then it should copy what's selected by default, since the user clearly didn't want to copy nothing.)

The one way I could imagine doing hide-results is treating it as "folding" - to be able to click in the margin to hide/show any result, then have options to "hide all results" and "show all results". That sounds useful just for working with the buffer, leaving aside cut-and-paste.

11/17/07 21:57:12 changed by otaylor
====================================

    summary changed from Hide or clear result text to Ability to hide individual results.

I've committed:

    Fixes so that by default copying doesn't include results
    A "Copy as Doctests" menu item resolving ticket #1 

I'm going to retitle this bug to refer to idea of temporarily hiding results while leaving them in the buffer.
Comment 1 André Klapper 2018-07-10 22:05:31 UTC
Reinteract is not under active development anymore and had its last code changes
in early 2012: http://git.fishsoup.net/cgit/reinteract/log/

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the
responsibility for active development again.