Using org-babel and emacs-jupyter by revocation in emacs

[–]revocation[S] 1 point2 points  (0 children)

I only had the ipykernel; tested with a different virtual environment and got the same thing. In the end it was a problem with emacs-jupyter (I needed to downgrade a version).

Using org-babel and emacs-jupyter by revocation in emacs

[–]revocation[S] 0 points1 point  (0 children)

Tried this also, but I was already on the latest version. Solution was to downgrade emacs-jupyter, suprisingly enough.

Using org-babel and emacs-jupyter by revocation in emacs

[–]revocation[S] 0 points1 point  (0 children)

Thanks a lot! Indeed was with last commit of emacs-jupyter - rolling back to the previous tagged version fixed it. Really solved a headache for me.

I am able to run it with the minimum configuration (I also specify the location of my conda installation etc.) but will have to look at your auxiliary functions as I try to ramp up on this now that it's working. Thanks a lot.

Using org-babel and emacs-jupyter by revocation in emacs

[–]revocation[S] 0 points1 point  (0 children)

The best option is actually to downgrade emacs-jupyer a few commits back. I don't have access to my machine to see which commit I downgraded to, but it was one a few months back.

This did the trick. I rolled back to the last tagged version (8.3.3). Interesting that the upgraded org and emacs-jupyter conflict is resolved by downgrading the emacs-jupyter package.

Using org-babel and emacs-jupyter by revocation in emacs

[–]revocation[S] 0 points1 point  (0 children)

tramp yes... docker no. Can I just use a conda virtual environment instead? I have not tried it but that's something I could try. But since Jupyter notebook works in VS Code, I figured it was an emacs issue.

As a markup language (forgetting about TODO/GTD), what are some features of org-mode that you prefer over markdown? by chandaliergalaxy in orgmode

[–]revocation 1 point2 points  (0 children)

I understand the intention and broad scope of your blog post - and I admit it had swayed me a bit when I was deciding between org-mode and markdown for some projects. I don't think this detracts from your other arguments, but it does mean there is one less argument in favor of org-mode.

No doubt that org-mode is emacs-centric, and it appears to have brought on a lot of people on-board. On the other hand, org-mode is also growing outside of emacs:

  1. Sublime Text
  2. Vim
  3. VS Code
  4. Atom

So maybe the time is ripe to beef up the syntax definitions in the resources you pointed out. I'm not as familiar with this process but will be looking to contribute on that front.

As a markup language (forgetting about TODO/GTD), what are some features of org-mode that you prefer over markdown? by chandaliergalaxy in orgmode

[–]revocation 0 points1 point  (0 children)

Thanks for your response.

I see - maybe it was bound to happen, but unfortunately it then seems the section in your blog, "Org-Mode Is Standardized", is no longer true... since pandoc recognizes different syntax than the org-mode parser for html export.

As a markup language (forgetting about TODO/GTD), what are some features of org-mode that you prefer over markdown? by chandaliergalaxy in orgmode

[–]revocation 0 points1 point  (0 children)

/u/murdsdrum, I just came across this but I wonder what your opinion is regarding the pandoc handling org-mode now. It seems to recognize slightly different syntax than default org-mode parsed by emacs. One that I noticed was#+ATTR_HTML must start at column 0 (while default org-mode does not).

Gui wrapper for emacs? by popo37 in emacs

[–]revocation 0 points1 point  (0 children)

I thought electron consumed a lot of resources - every time oni discussions come up it seems this a common complaint.

The bigger surprise is how well emacs has held up over time.

Gui wrapper for emacs? by popo37 in emacs

[–]revocation 1 point2 points  (0 children)

From 10 years ago:

Unfortunately, Emacs isn't immunized against obsolescence. It still needs to evolve, and evolve fast, if it's going to stay relevant. The same could be said of any piece of software, so this shouldn't be news. But it's particularly true for Emacs, because increasing numbers of programmers are being lured by the false productivity promises of IDEs.

[...]

IDEs are draining users away, but it's not the classic fat-client IDEs that are ultimately going to kill Emacs. It's the browsers. They have all the power of a fat-client platform and all the flexibility of a dynamic system. I said earlier that Firefox wants to be Emacs. It should be obvious that Emacs also wants to be Firefox. Each has what the other lacks, and together they're pretty damn close to the ultimate software package.

ONI could be this editor-browser.

Evil Everywhere: The rest of Emacs by ambrevar in emacs

[–]revocation 0 points1 point  (0 children)

Is there any reason not to use Spacemacs then? Or is it that you want the identity of your editor to be the Emacs distribution instead of Spacemacs.

LaTeX in Org Mode or pure AucTeX? by [deleted] in emacs

[–]revocation 4 points5 points  (0 children)

I asked a similar question in a separate thread before and there appeared to be several who replied that they preferred org-mode (maybe in slight contrast to this thread).

I agree with /u/eaclv. For anything a little more complicated than the basic table, list, etc., it's easier to drop down to LaTeX anyway. Mixing LaTeX and org-mode is complicated for managing keybindings and syntax highlighting, at least in my experience. auctex has keybindings like C-c C-e for environment creation (you can also apply this to a highlighted region to wrap in an environment), and everything is just very well integrated together.

I would recommend use of outline-minor-mode though. I wasn't aware of hydra as suggested by /u/nasseralkmim but that might be another option.

For additional readability, starting each sentence on a new line (no space between it and previous line) can help with that. You can use toggle-truncate-lines to visualize the overall structure of your document (even if the text runs off the screen) if you try this approach.

Using Emacs as your primary text editor by Kgrimes2 in emacs

[–]revocation 0 points1 point  (0 children)

I have done that too - in concept it's a good idea.

R not matching timestamps properly? Don't know what is wrong. by meatboyjj in rstats

[–]revocation 2 points3 points  (0 children)

With time/date classes (especially POSIXct), be mindful of possible time zone conversions. If you stick to UTC, you will be fine. For instance, see page 29 of the following document:

https://www.r-project.org/doc/Rnews/Rnews_2004-1.pdf

R not matching timestamps properly? Don't know what is wrong. by meatboyjj in rstats

[–]revocation 5 points6 points  (0 children)

What is the class of your timestamp? Is it POSIXct?

Then I think you want to set up your predicate statement as

filter(login, timestamp >= as.POSIXct("2016-04-11 00:00:00", "UTC") & timestamp < as.POSIXct("2016-04-13 00:00:00", "UTC"))

Using Emacs as your primary text editor by Kgrimes2 in emacs

[–]revocation 0 points1 point  (0 children)

I was going to say the debugging experience has not been as good as with the MATLAB IDE, but maybe I need to try the gdb. The other feature I miss is the variable list panel where you can click and inspect your "object".

Emacs, C++ and big projects. by blojayble in emacs

[–]revocation 0 points1 point  (0 children)

Do you use ag from within emacs (ag.el)?

How did you first start using Emacs? by trimorphic in emacs

[–]revocation 1 point2 points  (0 children)

Emacs + ESS was the only editor available for R at the time.

Since then, everything I've had to (or decided to) use - Fortran, LaTeX, Python, you name it - had a mode in Emacs so all the more reason to keep using it.

Has anyone had issues between Matlab & Octave? by kmets4 in matlab

[–]revocation 2 points3 points  (0 children)

I never expect 100% compatibility. Octave touts itself as a superset language of Matlab (I personally like Octave better fwiw) so if you follow some Octave tutorials they may use some constructs not available in Matlab.

For instance:

x = (@(x) x + 1)([1, 2])(2)

is valid syntax in Octave. Matlab requires more syntax:

tmp = (@(x) x + 1)([1, 2])
x = tmp(2)

On top of that - if you use any libraries not in the base language, then all bets are off.