dickmao
506fcb5f98
cannot easily turn off multiple cursors, must detect and correct
2020-03-19 07:36:24 -04:00
dickmao
d7a19d9859
getting undo failure diagnostic in gha
2020-03-14 12:05:29 -04:00
dickmao
10d7f10179
fix rename notebook
2020-03-01 03:02:31 -05:00
dickmao
a4325c0aa4
conflate ein:worksheet-{change,toggle}-cell-type
2020-03-01 01:56:41 -05:00
dickmao
54cb27701f
remove longstanding recursive requires workaround
2020-02-29 22:35:49 -05:00
dickmao
cc87b7ec1c
correct t command
2020-02-24 08:46:08 -05:00
dickmao
4403b65a04
Wrap comint-carriage-motion in disabling of buffer-undo-list
2020-02-22 11:26:29 -05:00
dickmao
e522e52108
redundant boolean check
2020-02-09 11:11:34 -05:00
dickmao
caa760f9d7
test undo in combination with worksheet-execute-all-cells
2020-02-08 19:04:18 -05:00
dickmao
aa3159c2af
modify readme
2020-02-05 10:21:27 -05:00
dickmao
a960c65802
we try to avoid "wait x seconds" in ecukes
2020-02-04 22:19:14 -05:00
Tomasz Mieszkowski
b2267afcfa
Add commands to execute all cells above/below current one
2020-02-04 21:18:58 -05:00
dickmao
4467a25ad9
syntax-multiline was not way to go
2020-01-17 14:17:46 -05:00
dickmao
43e53f0eae
mm-display-external
2020-01-13 15:40:58 -05:00
dickmao
702f04064a
:image/png not :png
2020-01-11 16:03:54 -05:00
dickmao
8a545c508b
close notebook on delete
2020-01-10 23:58:51 -05:00
dickmao
5de0c8b8a4
remove multilang
2020-01-07 16:44:22 -05:00
dickmao
f7180405d6
makes test
2020-01-02 20:09:42 -05:00
dickmao
e12a33588d
replace ein:aif with aif
2019-11-24 00:17:52 -05:00
dickmao
d0d13c8277
get 25.1 to compile
2019-11-13 17:46:50 -05:00
dickmao
49a1c54b00
compile properly (very suspect :mode slot misspecifications in poly-ein)
2019-11-13 13:54:29 -05:00
dickmao
5a23c06df6
burrow the disabling of buffer-undo-list down deep
2019-11-09 11:31:38 -05:00
dickmao
131a4d0517
more grief regarding undo
...
use ein:with-live-buffer instead of the current-buffer at the call site.
2019-11-08 23:29:51 -05:00
dickmao
5e9c30e170
more bad undo bug
...
printed output also doesn't properly set the buffer
before disabling `buffer-undo-list`
2019-11-08 21:06:15 -05:00
dickmao
922c5b6bec
Bad undo bug
...
Need to closure the buffer in execute-cell callback.
2019-11-08 18:25:29 -05:00
dickmao
bcf1c2ac55
purge
...
purge
align pm:get-span no major mode error with diagnostic
purge
2019-11-08 16:05:11 -05:00
dickmao
1bdb5b0651
Polymode bugfixes
...
Because global-font-lock-mode will call font-lock-initial-fontify, the
inconsistency caused by nullifying font-lock-function while preserving
font-lock-fontify-buffer-function causes the whole buffer to get
fontified in polymode
Commit a969736
duplicated the before-until advice on
syntax-propertize. This broke polymode badly, and yet none of my
tests catch this (partly because it's hard to test font-lock).
2019-06-10 19:10:55 -04:00
dickmao
d3b0b97037
pm--get-existing-mode changed signature.
2019-04-29 15:35:32 -04:00
dickmao
539c3339dd
Undo did not account for slideshow
...
C-c C-d breaks undo. Fix as follows:
Before: turn on slide indicator via C-c S, toggle type with C-c C-d
After: toggle type with C-c S.
Benefits: Fixes undo, simplifies slideshow operation, elpy users are
accustomed to having C-c C-d be "jump to doc"
2019-04-04 05:45:34 -04:00
dickmao
234cf391f9
Polymode
...
M-x customize-group RET ein
Toggle Ein:Polymode
Avoid trying to emulate jump-to-definition, eldoc, and autocompletion
functionalities that Elpy will always do better.
Fixes #497 #482 #418
2019-04-02 09:35:17 -04:00
Sam Steingold
48fa153435
Use standard functionality instead of ad hoc functions
...
(ein:filter identity ...) ---> (delete nil ...)
ein:filter --> seq-filter
hash-vals --> hash-table-values
hash-keys --> hash-table-keys
2019-01-15 11:26:09 -05:00
dickmao
9825aa39c0
if C-/
is mapped to anything other than native undo
, disable undoing
2019-01-11 08:32:51 -05:00
dickmao
4c60dec927
Disable undo when failure diagnostic triggered
2019-01-07 08:08:11 -05:00
John Miller
624e9549ef
Merge pull request #444 from dickmao/undo-default-true
...
Enable undo by default
2018-12-29 17:15:06 -06:00
dickmao
58de1294f8
default undo to true
2018-12-28 22:31:23 -05:00
dickmao
129afa5fb4
Respect cursor_start and cursor_end in matches
...
The :cursor_start and :cursor_end fields tell us whether we need to
prepend the prefix ourselves.
Fixes #436
2018-12-28 21:14:11 -05:00
dickmao
dc48a7e75d
Fixes #433
2018-12-13 13:27:27 -05:00
dickmao
bead667ee0
Clean up multilang
...
Do not assume python... leverage ESS to improve R interaction.
Fix both undo and fontify in the presence of toggling cells (`C-c
C-t`)
Fix and test switching kernels
2018-12-08 21:25:48 -05:00
John Miller
608058e07c
ein-worksheet: Fix unhelpful error message.
...
Be more informative to the user when we cannot find an executing cell in either
`ein:worksheet-jump-to-first-executing-cell' or
`ein:worksheet-jump-to-next-executing-cell'.
2018-12-04 09:25:16 -06:00
John Miller
5e1406b912
ein-worksheet: Jump to executing cell.
...
Add commands `ein:worksheet-jump-to-first-executing-cell' and
`ein:worksheet-jumpto-next-executing-cell' which do pretty much what they say.
2018-11-27 16:57:41 -06:00
Sam Steingold
25f2f49943
use cl-defmethod instead of defmethod
...
defmethod macro is obsolete.
it expands to a defun eieio-defmethod which cannot use cl-call-next-method
2018-11-08 16:24:28 -05:00
Sam Steingold
1c6270c425
update the code base to avoid compilation warnings about obsolete functions
...
call-next-method -> cl-call-next-method
set-slot-value -> (setf slot-value)
*-child-p -> cl-typep
oref <keyword> -> slot-value <symbol>
object-p -> eieio-object-p
Closes https://github.com/millejoh/emacs-ipython-notebook/issues/394
2018-11-08 09:36:35 -05:00
dickmao
84fa177a1e
When I C-c C-c also C-c C-r if necessary
...
If user wants to execute cell, and the connection is down,
automatically reconnect, then execute the cell.
2018-11-06 18:36:46 -05:00
dickmao
d621944797
Clean up websocket callbacks
...
Coursera appears to kill websockets every minute or so, and I'm
observing firsthand the buggy behaviors described in #356 . This PR
cleans up the websocket code and kernel restart logic. Removed
backwards compatibility for the v2 messaging api
as keeping it in the presence of the refactoring would make it more
broken that it already was.
2018-10-31 23:38:45 -04:00
John Miller
35f06babc6
ein-worksheet: Fix whitespace, argument list for error call.
...
Missing an argument for the error format string. Also cleaned up some lingering
whitespace.
2018-10-22 14:45:14 -05:00
dickmao
ad8408dfb7
Implement undo
...
`M-x customize-group RET ein`
Toggle `Ein:Worksheet Enable Undo`
Save for Future Sessions
Restart emacs or kill/restart notebook
Fixes #338
2018-10-02 10:00:25 -04:00
Sam Steingold
143267cf06
add ein:worksheet-kernel-status
2018-09-05 09:50:12 -04:00
Tomasz Mieszkowski
c7d77ec2f5
Fix for bumping gc-cons-threshold while opening notebooks
...
Make `ein:gc-prepare-operation` idempotent and add missing call to
`ein:gc-complete-operation` - without it, each subsequently opened notebook
bumps gc threshold to a higher and higher value, effectively disabling all
garbage collection and seriously degrading overall performance.
2018-08-25 21:10:19 +02:00
John Miller
376f263ea9
Documentation fixes.
2018-04-14 13:53:50 -05:00
John Miller
847f7ca5a1
Prepare for v0.14, properly save and load hy codecells.
2018-04-14 13:29:16 -05:00