mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 23:41:38 -05:00
3.7 KiB
3.7 KiB
How to update this file
Examine the output of
git log --pretty=format:"%s" ${PREV_VERSION}...${VERSION}
and filter down to the most notable changes, summarize each one. Be sure to
update the VERSION
variables first.
v0.7.0
- Remove compatibility with
ob-ipython
by going back to using ajupyter-
prefix instead of ajupy-
prefix for Jupyter src-block languages. - Re-use windows displaying
jupyter
specific buffers instead of popping up new windows whenever possible, e.g. when displaying a traceback or output caused by evaluating code. Seejupyter-display-current-buffer-reuse-window
. - Consider the underlying REPL client of
org-mode
Jupyter src-blocks as valid clients to associate a source code buffer with usingjupyter-repl-associate-buffer
. - Add the customizable variable
jupyter-org-toggle-latex
which automatically converts latex fragment results oforg-mode
Jupyter src-blocks into images if non-nil. - Add the customizable variables
jupyter-eval-short-result-max-lines
andjupyter-eval-short-result-display-function
which control how to display evaluation results having a number of lines less thanjupyter-eval-short-result-max-lines
. As an example, you can setjupyter-eval-short-result-display-function
topopup-tip
from thepopup
package to show short results inline after evaluation. - When
:results silent
is an argument for anorg-mode
src-block and an error occurs, display a link to jump to the line of the src-block which caused the error along with the error traceback. Note this requires that the underlying kernel language extend thejupyter-org-error-location
method. - Fix integration with
insert-for-yank
inside a REPL buffer. Previously, yanking text from the kill ring into the REPL buffer would interfere with font-lock and motion functions such asbeginning-of-line
. See #14. - Add the minor mode
jupyter-org-interaction-mode
enabled in allorg-mode
buffers by default. This mode enables completion in Jupyter src-blocks directly from theorg-mode
buffer and custom keybindings for each kernel language that are only enabled ifpoint
is inside a Jupyter src-block. You bind keys to commands usingjupyter-org-define-key
. Inspired byscimax
. - Support the
:dir
header argument oforg-mode
src-blocks. Since Jupyter src-blocks have a backing REPL session, the:dir
argument only ensures that the REPL session is initialized in the specified directory. After the session is initialized, the:dir
argument has no effect when evaluating src-blocks with the same underlying session. Now, the directory is changed inside the REPL environment before evaluation of a src-block and reset to the previous directory after evaluation whenever:dir
is specified as a header argument. Note, this requires that the backing kernel language handles:dir
in the changelist argument oforg-babel-jupyter-transform-code
. Also inspired byscimax
. - Add support for inline Jupyter src-blocks in
org-mode
. - For Jupyter src-blocks, delete files of unreachable links from
org-babel-jupyter-resource-directory
. When replacing image link results of a src-block, e.g. by re-evaluation of the src-block, delete the corresponding image file if it exists inorg-babel-jupyter-resource-directory
. Once again inspired byscimax
. - Add the
jupyter-repl-traceback
face. This face is used to fontify the background of a traceback in the REPL buffer to distinguish it from other output. In addition to this face, there is alsojupyter-repl-input-prompt
andjupyter-repl-output-prompt
.