Re: bug in JSON scanner?

2019-03-10 Thread Josef
the external file can be any ordinary Python, C, Lua, ... file. Rather, leo_json.py should use different directives, to make the difference clear. At the same time, I wish Leo would be able to read and write generic JSON files, including syntax highlighting. - Josef -- You received this message

bug in JSON scanner?

2019-03-07 Thread Josef
s no attribute 'get' I tried with something as simple as: [{"abc":"PC","xyz":"blabla"}] in a file. - Josef -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from thi

inconsistent behavior when dragging files

2019-02-07 Thread Josef
to return the file path, but should use os.relpath() instead. - Josef -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googl

Re: Email importer for Leo - crazy idea or ...?

2019-02-07 Thread Josef
ee the subject too in the headline. Regarding TNEF: Since this is a Microsoft specific extension of the mail protocol, Leo would have to deal with it somehow, because the message body is packed up quite differently from the way mbox does this normally. - Josef -- You received this m

Re: edit-pane-csv separator

2019-02-07 Thread Josef
Hi Terry, thank you for this update, it is a very welcome improvement - Josef -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-edito

Re: Nested @clean trees" is ready for testing

2019-02-14 Thread Josef
. Now add a normal child node to the @clean goo.txt node and try to save. It won't let you. I also think it is not quite logical that a node must have an @others in order to have a child @clean node. If the child @clean node is the only child, why should there be an @others in the parent? - Josef

Re: Email importer for Leo - crazy idea or ...?

2019-02-05 Thread Josef
lives in a separate world. This has become a common design strategy though: much data is bound to the program producing it, although it would be much nicer to keep data on a per project or topic basis together, not on a per-tool basis. Josef -- You received this message because you are subscribed

Re: Email importer for Leo - crazy idea or ...?

2019-02-07 Thread Josef
I would like the idea to have a separate mbox file per message, although import from a mail reader or MTA would probably be in form of a single mbox for the whole inbox. The mbox-per-message approach should also lead to the ability link from other programs to a single message, something I have

Re: looking for pre-existing text format for defining event dates in Leo

2019-01-30 Thread Josef
If you have emacs, see how it is done in org-mode. Note also, that Leo can understand already an org-mode subset. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Who should be using Leo

2019-01-30 Thread Josef
Oh - I forgot to mention, I use clones, but rarely, mostly because many of my leaf nodes are small, separate files. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: Who should be using Leo

2019-01-30 Thread Josef
Much has already been said, but I want to add anyway my view. I am a manager, physicist and perhaps an electrical engineer. I use serveral differnt editors all the time, for different reasons, like vim and scite sometime emacs. I use Leo on complex projects, involving many files. I have small

Leo should track directory trees

2019-02-01 Thread Josef
hat it may be sufficient (for me) to let git track the files and just keep Leo's outline in sync with git's idea of history, since all the files which may be used by others are usually in Git anyway. - Josef -- You received this message because you are subscribed to the Google Groups "le

Re: Leo should track directory trees

2019-02-01 Thread Josef
Afterthought: It is really not *that* difficult to re-create the leo outline after some files moved, so I don't know if it is worth a lot of effort to attempt this. Still, it would be cool. - Josef On Friday, February 1, 2019 at 11:12:25 AM UTC+1, Josef wrote: > > Leo is good at staying i

Re: Who should be using Leo

2019-02-01 Thread Josef
. - Josef On Thursday, January 31, 2019 at 6:47:17 PM UTC+1, Edward K. Ream wrote: > > On Wed, Jan 30, 2019 at 8:39 AM Josef > > wrote: > > > > Much has already been said, but I want to add anyway my view. > > > > I am a manager, physicist and perhaps an e

Re: Use LaTeX comment marker % for Leo sentinels in .tex files?

2019-04-18 Thread Josef
des over @clean nodes? - Josef -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group,

writing a new importer/writer

2019-06-03 Thread Josef
importing/writing is done generally? Or should I first start with figuring out how to write a plugin? - Josef -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an ema

switching use-pygments within one leo file

2019-06-05 Thread Josef
syntax, e.g. those between [[ and ]] or between [=[ and ]=] etc. when it contains newlines or quotes. Should I file a bug report, or is this anyhow a "won't fix"? - Josef -- You received this message because you are subscribed to the Google Groups "leo-editor" group.

Re: No python 2 work after December 1, 2019

2019-06-06 Thread Josef
sure anyway ;-) > > But I do think Python 3 is *installed* by default on 18.04. 3.6.7 > currently. > > Cheers -Terry > > On Wed, Jun 5, 2019 at 9:36 AM Josef > wrote: > >> Correction: >> >> as far as I heard, Python 3 is already the default on the currr

Re: No python 2 work after December 1, 2019

2019-06-05 Thread Josef
On Thursday, May 2, 2019 at 1:00:23 PM UTC+2, Edward K. Ream wrote: > > December 1 of this year is a firm cutoff date for further work in the > unified python 2/3 code base that is the basis for Leo 5.9. After that, > further work would be pointless, because official support for Python 2 will

Re: No python 2 work after December 1, 2019

2019-06-05 Thread Josef
Correction: as far as I heard, Python 3 is already the default on the currrent Ubuntu 18.04 LTS. I was under the wrong assumption that Python 2 is the default, because when I upgraded from 16.04 LTS to 18.04 LTS the default Python installation did not change from 2 to 3. Sorry, if I caused

Re: ignoring a node without using sentinels

2019-06-13 Thread Josef
On Wednesday, June 12, 2019 at 5:37:06 PM UTC+2, Edward K. Ream wrote: > > > > On Wed, Jun 12, 2019 at 10:00 AM Josef > > wrote: > >> I mostly work with @clean these days, as that gives me the least grief >> when working with others, who do not use Leo

ignoring a node without using sentinels

2019-06-12 Thread Josef
. An @ignore under @clean generates an error. So there seems to be no way to ignore a node, without using sentinels - or is there? If commenting out (from the headline) would work, that would be an acceptable compromise. - Josef -- You received this message because you are subscribed

Re: ignoring a node without using sentinels

2019-06-13 Thread Josef
e I can always use @file and then @ignore will work fine. Cheers - Josef -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegrou

Re: Team Leo

2019-06-17 Thread Josef
Wow, thank you for listing me: I feel honoured. Nice that you think my nagging is somewhat useful. I did not expect that. - Josef On Monday, June 17, 2019 at 1:48:31 PM UTC+2, Edward K. Ream wrote: > > The following people contributed significantly to Leo 6.0, via > suggestions, code

Re: Team Leo: where are you from?

2019-06-20 Thread Josef
know, or can guess, some locations, but I won't > reveal them unless it's ok with you, surveillance being what it is these > days. > > Terry Brown > Ross Burnett > Josef Dalcolmo (born in Italy, living and working in Germany) > Chris George > Bob Hossley > Seth Johnson &

Re: Use the bridge, Luke

2019-06-20 Thread Josef
hat case I agree with Terry, that it may be better to use Python. - Josef I have just created #1213 > <https://github.com/leo-editor/leo-editor/issues/1213>: support Leo's > bridge in vim. This would be a separate from Leo's vim.py plugin, and > might have advantages for

bug-tracker on Launchpad

2019-06-23 Thread Josef
, that this was the wrong website. Perhaps it would be a good idea to remove that bug tracker on Launchpad? - Josef -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, sen

bug with nested @clean nodes

2019-04-29 Thread Josef
I just encountered a very confusing behaviour of Leo with nested @clean nodes (on Leo 5.9-final-devel): I had an @clean node, representing the main tex file with a few \input commands and an @others directive. After the first "main" node there were 3 more @clean nodes with additional tex

Re: Good news: the end of a nonsensical dream

2019-05-06 Thread Josef
as a database front-end, like Edward suggests (I currently use "DB Browser for SQLite" for this purpose). Perhaps the Leo would be more suited as a front-end to NoSQL databases, though. - Josef On Saturday, May 4, 2019 at 7:25:24 PM UTC+2, Arjan wrote: > > I'd also be very inte

Re: Proposal: make case significant in command names

2019-05-06 Thread Josef
(easier to type), unless there is a compelling reason to depart from that (like for compatibility with VIM commands). - Josef On Monday, May 6, 2019 at 12:51:26 PM UTC+2, Edward K. Ream wrote: > > > > On Sat, May 4, 2019 at 4:04 PM > wrote: > >> For me as long as auto

Re: Proposal: disallow nested @clean and @file nodes

2019-05-06 Thread Josef
scrap this feature. A good workaround for me is to use links (with backlinks): I insert a link to the @file node at the node where the corresponding \input sits. - Josef On Sunday, May 5, 2019 at 3:25:54 PM UTC+2, Edward K. Ream wrote: > > Don't panic: I'll allow at least a week for co

Re: No python 2 work after December 1, 2019

2019-05-06 Thread Josef
June 2020). - Josef On Thursday, May 2, 2019 at 1:00:23 PM UTC+2, Edward K. Ream wrote: > > December 1 of this year is a firm cutoff date for further work in the > unified python 2/3 code base that is the basis for Leo 5.9. After that, > further work would be pointless, beca

Re: latex syntax coloring

2019-07-06 Thread Josef
Thank you for improving this. I am waiting to test this, but do not want to do a git pull right now, because I see the activepath plugin is currently broken, and I depend on that. -Josef -- You received this message because you are subscribed to the Google Groups "leo-editor&q

generic JSON importer fails

2022-01-04 Thread Josef
import with at_auto afile.json fails: the body remains empty, at least when the top level entity is an object (e.g. a pair of curly braces). For example this fails: @language json { "doctitle": "Risk Register", "docno": "CIRR-LI-VHS-MA-0006", "docversion": "2", "vm": "IT", "intent": "planning",

save file menu confusion

2022-01-04 Thread Josef
Leo has a File->Save As Zipped menu entry. When I select this, the file selector menu selects files of type "Leo files (*.leojs). Another menu entry File->Save-File-As-Zipped shows "Leo files (*.db)". I think the menu entries and the underlying actions do not quite match up. using: Leo 6.6b1,

Re: generic JSON importer fails

2022-01-11 Thread Josef
to edit (some large) JSON files quite often. On Monday, January 10, 2022 at 11:05:36 PM UTC+1 Edward K. Ream wrote: > On Tue, Jan 4, 2022 at 5:40 AM Josef wrote: > >> import with at_auto afile.json fails: the body remains empty, at least >> when the top level entity is an o

Re: How many Leo users are still using Python3.6?

2022-01-16 Thread Josef
and more importantly, I try to remain compatible with my colleagues at work, who all use either Ubuntu LTS or Debian. Josef On Thursday, January 13, 2022 at 10:27:28 PM UTC+1 Edward K. Ream wrote: > On Thu, Jan 13, 2022 at 3:28 PM vitalije wrote: > >> Python3.6 is already deprecat

Re: Leo's python development is nearing its end

2022-02-24 Thread Josef
Does that mean I will have to learn TypeScript to write little Leo extensions in the future? On Friday, February 18, 2022 at 5:41:36 PM UTC+1 Edward K. Ream wrote: > Leo 6.6 may be the last substantial release in Leo's history. At present, > the 6.6 to-do list >

Missing buttons on Find Tab

2022-02-24 Thread Josef
s to use, like "F3" for "find-next" etc. There is no way to use "find-all" (not that I would know what that does). Do I have a broken setup, or is this intentional? Leo Log Window Leo 6.6b1, master branch, build c1bddc3131 2021-11-28 04:31:32 -0600 Python 3.7.3, PyQt

Re: Missing buttons on Find Tab

2022-02-24 Thread Josef
wrote: > There haven't been buttons there for a long time, as best I know. I've > never seen one for "find-all". The others have keystrokes, shown on the > panel. > They are all commands that can be dispatched in the minibuffer. > > On Thursday, February 24, 202

LeoInteg: cannot connect to server

2022-06-25 Thread Josef
I am trying to contect to the Server, but always get: Leo Server Connection Failed: Websocket closed, code 1006. The server does get lauched, according to the output in VSC. I am running leo from a script under kubuntu 22.04 and with a git installation of leo 6.6.3-devel - Josef -- You

Error messages opening a Leo file via link

2022-07-22 Thread Josef
When opening another leo file via link, for example: file:///home/josef/xyz.leo I get the following messages in the log pane: Leo 6.6.4-devel, devel branch, build c8ff87e51a 2022-07-22 05:57:22 -0500 Python 3.10.4, PyQt version 5.15.3 linux read outline in 0.04 seconds g.handleUrl: exception

Problem: markdown export now without blank between hash and section title

2022-10-15 Thread Josef
literalli in the latex source. I need this fixed asap, because I use the Leo to markdown to latex translation a lot. Best regards, Josef -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiv

Opening a leo file via link from leo no longer works

2022-10-15 Thread Josef
any other file in the same manner, like PDF's or Excel files seems to work just fine. - Josef -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-edito

<    1   2