Skip to content

REPL: jump to first/last history entries#22829

Merged
rfourquet merged 4 commits into
masterfrom
rf/repl-firstlast
Jul 27, 2017
Merged

REPL: jump to first/last history entries#22829
rfourquet merged 4 commits into
masterfrom
rf/repl-firstlast

Conversation

@rfourquet

Copy link
Copy Markdown
Member

Fixes bullet 3 of #8447.
In particular after prefix-searching in history, it's easy to get stuck in very old history. Then there is no easy way to get back to the end of history (I usually delete the current line and press enter...). history_last, with "Alt-<", fixes that. I think I would want to add the ^G shortcut to "cancel" history navigation and get back to last entry (as a synonym for "Alt-<").

@rfourquet rfourquet added the REPL Julia's REPL (Read Eval Print Loop) label Jul 16, 2017
@rfourquet

Copy link
Copy Markdown
Member Author

The failed test frim travis shows

	From worker 1:	compile: Test Failed
  Expression: Foo.g() === 97.0
   Evaluated: 2.0 === 97.0

It seems unrelated, but could this be a real bug popping up?

@fredrikekre

Copy link
Copy Markdown
Member

#22552

@rfourquet

Copy link
Copy Markdown
Member Author

I will merge in a few days if no objection.

@tkelman

tkelman commented Jul 23, 2017

Copy link
Copy Markdown
Contributor

This should probably be documented somewhere

@rfourquet
rfourquet force-pushed the rf/repl-firstlast branch from 4f317ce to 1974ddb Compare July 24, 2017 11:07
Comment thread NEWS.md Outdated
`enumerate(IndexLinear, iterable)` yields linear indices and
`enumerate(IndexCartesian, iterable)` yields cartesian indices ([#16378]).

* Jump to first/last history entries via "Alt-<" and "Alt->" ([#22829]).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... in the REPL via ...

@rfourquet
rfourquet force-pushed the rf/repl-firstlast branch from b47572a to 1fa4784 Compare July 27, 2017 12:12
@rfourquet
rfourquet merged commit 29c78b7 into master Jul 27, 2017
@rfourquet
rfourquet deleted the rf/repl-firstlast branch July 27, 2017 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

REPL Julia's REPL (Read Eval Print Loop)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants