Hello.
I installed right now openSUSE Leap 15.0 with KDE/Plasma desktop. The default version of joe on this system is 4.4. I really love joe, I use it since at least 10 years to write my FreePascal source.
What I figured out is:
On Leap 42.3 is an older 3.7 version of joe installed. Everything in Pascal syntax highlighting is mostly OK.
On joe 4.4, Pascal syntax highlighting is not working correctly. Here a Double Quote triggers a syntax highlighting even when the " is located inside a Single line comment //.
This is very nasty. Can I fix this by myself, or is this a bug?
Try changing
resettoidlein the following, found in pascal.jsf (probably in /usr/share/joe/syntax):If this doesn't work, can you send a screenshot or provide an example? I found this issue in the highlighter but it's not specific to double-quotes, and I can't reproduce this.
Well,
I found a fix right now. It is a sledge hammer method and for sure not in the
manner of uptodate software, but it works...
Itried first an upgrade to joe 4.6. Exactly the same problem. So this is
definitely combined with version 4.x (in general?).
I then threw out the entire joe (uninstalled it completely) and installed
versio 3.7 RPM from openSuSE Leap 42.3 (I extracted it from its ISO).
Works perfectly as it should.
So I locked now updates to joe, it is now frozen in this version.
But I will install Leap 15.0 also in a VM on my Leap15.0 host, to do tests.
Then I will (again) test joe and can also play around with it without
influencing my production system.
Am Montag, 13. Mai 2019, 18:37:55 CEST schrieben Sie:
--
mit freundlichen Grüßen
Ing. Rainer Hantsch
(Firmeninhaber)
--
ING. RAINER HANTSCH - Hardware & Software
Khunngasse 21/20
A-1030 Wien
*** Austria ***
Tel.: +43-1-7988538-0 Fax : +43-1-7988538-18
Mobil: +43-664-9194382
UID-Nr: ATU11134002
Related
Bugs:
#400I can do even more. I can supply you a pascal source you can open with different versions of joe and compare.
Some settings I usually change in /etc/joe/...
1. In /etc/joe/ftyperc I add .pp right below every .p (in pascal sections), because my files are ending in .pp.
2. In joerc I edit this lines:
Default local options
-highlight
-istep 2
-tab 2
-indentc 9
Scroll then up/down through the source file and watch the colors. Starting with line 799 things go wrong in joe 4.x, while in joe 3.7 everything looks correct.
I think the issue is that >3.8, this is recognized as a puppet file, which shares the extension
.pp. You should remove this entry from your/etc/joe/ftyperc. Clearly, it is taking precedence over the entry that you added. It's probably worth adding a warning if we see duplicate extensions.This is just due to the extension being used for puppet.