Re: how to change default python editor in linux

2023-01-09 Thread Marcus Müller
The whole point of an *embedded* python block is that it lives *within* the flowgraph, so that giving someone else the flowgraph file is sufficient. So, I'm afraid, we're not going to pull it out of that, that's against its design objective :) If you want to ship python blocks, the usual way i

Re: how to change default python editor in linux

2023-01-09 Thread wieniaw...@outlook.com
hi, Thanks for your patient explaianation. I am glad to make the request, and it is done: https://github.com/gnuradio/gnuradio/issues/6458 BTW, would you pls consider changing the GRC like this: - name: epy_block_0   id: epy_block   parameters: /*    _source_file: "epy_block.py"*/     affi

Re: how to change default python editor in linux

2023-01-09 Thread Marcus Müller
Hi, On 09.01.23 03:14, wieniawski wrote: 1. the local([working dir])'s conf file has the information that it will override the setting in ~/.gnuradio/config.conf No, it's not even read. As I wrote! GNU Radio does not *care* about config files outside ~/.gnuradio. And that is, in my opinion, a

Re: how to change default python editor in linux

2023-01-08 Thread wieniawski
default python editor in linux Hey, However, I tried more. 1. I remove the editor = /usrbin/emacs line in ~/.gnuradio/config.conf 2. I add this line in [working dir]/grc.confGNU Radio doesn't read config files from the working directory. I guess by ed

Re: how to change default python editor in linux

2023-01-08 Thread Marcus Müller
Hey, However, I tried more. 1. I remove the editor = /usrbin/emacs line in ~/.gnuradio/config.conf 2. I add this line in [working dir]/grc.conf GNU Radio doesn't read config files from the working directory. I guess by editing grc.conf, it will have the same result with ~/

Re: how to change default python editor in linux

2023-01-08 Thread Jeff Long
Please keep the discussion on list, so everyone can see your questions. On Sun, Jan 8, 2023 at 8:49 AM wieniaw...@outlook.com < wieniaw...@outlook.com> wrote: > thanks, > > > I have to say that solves my problem. > > > However, I tried more. > > 1. I remove the editor = /usrbin/emacs line in ~/.g

Re: how to change default python editor in linux

2023-01-08 Thread Jeff Long
GRC will remember the editor you choose until you quit the program. To choose an editor permanently, edit ~/.gnuradio/config.conf, and add an "edtor" setting under the "[grc]" section. For instance, [grc] editor = /usr/bin/emacs ... other settings On Sun, Jan 8, 2023 at 6:24 AM wieniaw...@outlook

how to change default python editor in linux

2023-01-08 Thread wieniaw...@outlook.com
hi, I have installed gnuradion through conda. And I created an embedded python block, and I firstly chooses the default editor as VIM. Then every time it is using VIM. How can I changed it to another editor? Thanks,