nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] Nano - Segmentation fault


From: Benno Schulenberg
Subject: Re: [Nano-devel] Nano - Segmentation fault
Date: Thu, 24 Jan 2008 00:39:18 +0100
User-agent: KMail/1.9.7

Carlos López wrote:
> Don't know what's wrong in them. Thus, if you could tell me, I
> would really appreciate it. Besides, I have attached the file
> prefixed with "###---- CRASH" where having a line causing
> crashes.

Your nanorc file contains multiple definitions of the same syntax.
Running 'grep ^syntax nanorc' gives:

syntax "asm" "\.(S|s|asm)$"
syntax "c" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$"
syntax "groff" "\.m[ems]$" "\.rof" "\.tmac$" "^tmac."
syntax "html" "\.html$"
syntax "java" "\.java$"
syntax "man" "\.[1-9]x?$"
syntax "mutt"
syntax "nanorc" "\.?nanorc$"
syntax "patch" "\.(patch|diff)$"
syntax "perl" "\.p[lm]$"
syntax "pov" "\.(pov|POV|povray|POVRAY)$"
syntax "python" "\.py$"
syntax "ruby" "\.rb$"
syntax "sh" "\.sh$"
syntax "tex" "\.tex$"
syntax "*"
syntax "php" "\.php[2345s~]?$"
syntax "python" "\.py$"
syntax "HTML" "\.html$"
syntax "TeX" "\.tex$"
syntax "perl" "\.p[lm]$"
syntax "Java source" "\.java$"
syntax "patch" "\.(patch|diff)$"
syntax "makefile" "^Makefile\.?"
syntax "JavaScript" "\.(js)$"

You may wish to clean up the file to define each syntax only once.  
Order them alphabetically and you'll find the duplicates easily.

Please  do not top-post.

Benno





reply via email to

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