New answers tagged

0

I think you should change :wrap math to :wrap export latex. That should wrap the output in a #+begin_latex: block, which should in turn export the way you want.


0

I am sorry, I found (probably) a solution (my actual example): #+NAME:electro | TIME | low | high | heatpump | water | accurain | repy1 | repy2 | repy3 | repy4 | |-------------------------+-------+------+----------+-------+----------+-------+-------+-------+-------| | 2016-10-15 08:41:00.000 | 24830 | 3242 | 7308 | 2294 | NaN | ...


1

Two observations related to your configuration: a) You started with the external package python-mode which may not be what you want. Instead, try using the internal package python this way: (use-package python :ensure nil ;; built-in package ;; the rest of your configuration) b) To have ipython correctly working, you need to add these lines ...


0

Despite some people using this package, and despite the fact that it seems to be the first Python supporting library for Emacs, I recommended to the author to rename the feature of this library, maybe to something like 'py-mode'. As it stand, as soon as you download the python-mode.el file and it sits inside your ~/.emacs.d/elpa directory it will be used by ...


1

To jump to a definition I simply use M-.and to jump back M-, In my init file I have that: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(elpy-modules (...


1

I think you want something like this where you only apply the face to part of the match, in this case we mark log as group 1, and only apply the face to it. This pattern won't match the other places you show log above. (font-lock-add-keywords 'python-mode '(("\\(log\\)(.*)" 1 font-lock-builtin-face)))


Top 50 recent answers are included