[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemacs-devel] Sh syntax coloring patch

From: Charles Gordon
Subject: Re: [Qemacs-devel] Sh syntax coloring patch
Date: Tue, 28 Mar 2017 08:51:49 +0200

On 25 Mar 2017, at 20:57, Hadrien Lacour <address@hidden> wrote:
> Others questions/problems about syntax coloring:
> -script_var() says that '-' belongs to variable names, but that's wrong.
> -syntax highlighting doesn't fully work in ncurses mode (keywords and strings
> aren't highlighted). I'm using a 256 colors terminal emulator.

Thank you for the patch, I merged it and further improved shell-script syntax 

The syntax is so convoluted: `-` indeed does not belong in names, but it is 
part of words
I managed to program in various Unix systems for 35 years without a proper 
of the Bourne shell syntax. Copy and paste plus trial and error almost always 
gets you where
you want to go. 

I shall put more work into this, with multi-line and heredoc support

Regarding your ncurses issue: qemacs does not use ncurses, it only supports 
selected terminals
with hard-coded ANSI VT100 escape sequences for both the shell buffer terminal 
and for the actual terminal output.

I assume you use the default colors..
I personally don’t like the default emacs color scheme, and will probably 
switch to a different one
by default.This will make it easier to discuss color issues.

Do the colors show correctly in X11 and not in terminal windows?
Which Linux distribution and which terminal emulator do you use? 
What is the value of the TERM environment variable?
Do the colors show in the Linux full screen tty interfaces? (switch to that 
with Alt-F1)
What if you connect to the Linux system with ssh from another system?

Thank you for your feedback.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]