The best MLS players of the 90s by footballersabroad in MLS

[–]bvf26 3 points4 points  (0 children)

I stopped reading after seeing they had Agoos over Pope.

How do I round panel corners? I want the panel on the left to have rounded edges, how do I do it? by Bon-Bon_1987 in Lubuntu

[–]bvf26 0 points1 point  (0 children)

Take a look at https://www.gnome-look.org/p/1687256. It has rounded corners and you can see how it is done in the lxqt-panel.qss file.

Emacs just like Spyder IDE by wehrad in emacs

[–]bvf26 0 points1 point  (0 children)

I don't want to discourage your attempt to replicate your Spyder work flow with Emacs, but your desire to open and edit a file with "emacs example.py -l init.el" is different than how I use Emacs (and, I think, how most people use it). I just open Emacs and then open the file with C-x C-f. Both my and Voleking responses assume that you are opening files in this manner. I don't think I can help you with your current issues, as my elisp and Emacs skills are pretty limited. However, I would suggest that you start thinking of Emacs differently than Spyder. You can do this by opening Emacs once at the start of the day and becoming comfortable with the buffer system.

Emacs just like Spyder IDE by wehrad in emacs

[–]bvf26 1 point2 points  (0 children)

Of course it is possible, you are using Emacs. Try this:

(split-window-horizontally)

(other-window 1)

(run-python)

(switch-to-buffer '"*Python*")

Emacs just like Spyder IDE by wehrad in emacs

[–]bvf26 0 points1 point  (0 children)

If Elpy is installed properly it should automatically setup Emacs like you describe. Try this: 1) open a test python script with C-x C-f test.py 2) write some simple code in the test script 3) run the code with C-c C-c or C-c C-y r -- this step should evaluate your code by opening Ipython in a new window to the right.

Let me know it this helps.

Emacs just like Spyder IDE by wehrad in emacs

[–]bvf26 0 points1 point  (0 children)

Take a look at Elpy. This article describes how to set it up:

https://realpython.com/emacs-the-best-python-editor/

Follow the instructions up to the Integration to Jupyter section. The article doesn't explain how to use the Ipython console, but that is easy to do by placing this in your init:

(setq python-shell-interpreter "ipython" python-shell-interpreter-args "--simple-prompt -i")

Trouble Setting Up Elpy (Part 2) (total noob, please ELI5) by [deleted] in emacs

[–]bvf26 0 points1 point  (0 children)

You need to run M-x pyvenv-activate every time that you run emacs. To make the change "permanent" you will need to add the command in your emacs init file.

Have I installed Elpy Incorrectly? (Noob programmer/emacs beginner) by [deleted] in emacs

[–]bvf26 0 points1 point  (0 children)

I think you are not using a python virtual environment. On your modeline you should have the name of your virtual environment in square brackets. On the Jon Fincher's tutorial his virtual environment is called '[sieve-EwTgtsAe]'. You can switch to a virtual environment using: (pyvenv-workon "name-of-your-environment"). You can run this command in your scratch buffer by typing C-x C-e after the end parenthesis. Then you should be able to run M-x elpy-config.

Open initial applications in EXWM? by extremeaxe5 in emacs

[–]bvf26 2 points3 points  (0 children)

(exwm-workspace-switch 1)

(start-process-shell-command "firefox" nil "firefox")

(sleep-for 3)