Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Underlines instead of headings in notebook version of docstring for R functions #4057

Closed
sagetrac-aginiewicz mannequin opened this issue Sep 4, 2008 · 12 comments
Closed

Comments

@sagetrac-aginiewicz
Copy link
Mannequin

sagetrac-aginiewicz mannequin commented Sep 4, 2008

Things are different in notebook and console:

  • Because of underline trick, in notebook headings in docstring consists of only underline!

Component: interfaces

Issue created by migration from https://trac.sagemath.org/ticket/4057

@sagetrac-aginiewicz sagetrac-aginiewicz mannequin added this to the sage-3.1.2 milestone Sep 4, 2008
@sagetrac-aginiewicz
Copy link
Mannequin Author

sagetrac-aginiewicz mannequin commented Sep 4, 2008

a simple (and probably not best) way to deal with "underline only" problem in notebook docstring for R functions

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Sep 4, 2008

comment:1

Attachment: underline_trick.patch.gz

Hi,

this is some laundry list of things and should be first discussed on sage-devel before opening clearly defined tickets. Trac is not a discussion forum :)

Invalid.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin removed this from the sage-3.1.2 milestone Sep 4, 2008
@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Sep 4, 2008
@sagetrac-mabshoff

This comment has been minimized.

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-3.1.2 milestone Sep 4, 2008
@sagetrac-mabshoff sagetrac-mabshoff mannequin reopened this Sep 4, 2008
@sagetrac-aginiewicz
Copy link
Mannequin Author

sagetrac-aginiewicz mannequin commented Sep 4, 2008

comment:3

when limited to one issue, defect seems to fit better to this one...

@sagetrac-aginiewicz sagetrac-aginiewicz mannequin changed the title Possible improvements to ? and ?? for R functions Underlines instead of headings in notebook version of ?? for R functions Sep 4, 2008
@sagetrac-aginiewicz
Copy link
Mannequin Author

sagetrac-aginiewicz mannequin commented Sep 4, 2008

comment:4

(forgot to assign ticket to myself)

@sagetrac-aginiewicz sagetrac-aginiewicz mannequin changed the title Underlines instead of headings in notebook version of ?? for R functions Underlines instead of headings in notebook version of docstring for R functions Sep 4, 2008
@TimothyClemans
Copy link
Mannequin

TimothyClemans mannequin commented Sep 8, 2008

comment:5

See http://sage.math.washington.edu/home/tclemans/R_docstring_before_after.png for the before and after screenshots.

@sagetrac-aginiewicz
Copy link
Mannequin Author

sagetrac-aginiewicz mannequin commented Sep 15, 2008

better solution to problem

@sagetrac-aginiewicz
Copy link
Mannequin Author

sagetrac-aginiewicz mannequin commented Sep 15, 2008

comment:6

Attachment: underline_trick.2.patch.gz

I attached better fix of problem, it fixes not only the r.sth? notation but also not fixed by previous - r.help("sth") - also it doesn't add check related to R in generic module so I guess previous was bad

@williamstein
Copy link
Contributor

apply this and the patch right above this.

@williamstein
Copy link
Contributor

comment:7

Attachment: sage-4057-part2.patch.gz

REFEREE REPORT:

Looks good, but needs to only delete the underline in embedded mode. I've attached a patch to do that.

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Nov 28, 2008

comment:8

Merged underline_trick.2.patch and sage-4057-part2.patch in Sage 3.2.1.rc0.

Andrzej: Your patch was a diff, please make sure to post proper hg patches in the future. I have committed this patch in your name to the repo for proper credit.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin modified the milestones: sage-3.2.2, sage-3.2.1 Nov 28, 2008
@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Nov 28, 2008
@sagetrac-aginiewicz
Copy link
Mannequin Author

sagetrac-aginiewicz mannequin commented Nov 28, 2008

comment:9

I know, the patch was attached before the one from which I found out earlier you prefer hg patch :)...

thanks for including this anyway,
cheers,
Andrzej.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant