bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#261: [mohrmarc] emacs21-el: Fortran keywords .EQV. and .NEQV. not hi


From: Sven Joachim
Subject: bug#261: [mohrmarc] emacs21-el: Fortran keywords .EQV. and .NEQV. not highlighted
Date: Fri, 16 May 2008 23:23:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Package: emacs
Version: 21.4, 22.2, 23.0.60
Tags: patch

I received this via the Debian BTS.  The patch seems OK but needs to be
updated, here is a version against the trunk:

--8<---------------cut here---------------start------------->8---
--- fortran.el.~1.147.~ 2008-05-07 21:27:00.000000000 +0200
+++ fortran.el  2008-05-16 23:17:47.000000000 +0200
@@ -390,7 +390,7 @@
            ;; Builtin operators.
            (concat "\\." (regexp-opt
                           '("and" "or" "not" "lt" "le" "eq" "ge"
-                            "gt" "ne" "true" "false")
+                            "gt" "ne" "eqv" "neqv" "true" "false")
                           'paren) "\\.")
            ;; do/goto keywords and targets, and goto tags.
            '("\\<\\(do\\|go *to\\)\\>[ \t]*\\([0-9]+\\)?"
--8<---------------cut here---------------end--------------->8---


--- Begin Message --- Subject: Bug#481182: emacs21-el: Fortran keywords .EQV. and .NEQV. not highlighted Date: Wed, 14 May 2008 13:55:11 +0200
Package: emacs21-el
Version: 21.4a+1-3etch1
Severity: normal

When editing a source file in fortran-mode the keywords .EQV. and .NEQV. which
represent the binary logical operators equivalence and antivalence are not
highlighted.

The reason is that the corresponding tokens are missing in the fortran-logicals
part of the fortran.el file.

--- /usr/share/emacs/21.4/lisp/progmodes/fortran.el     2002-10-06 
16:51:43.000000000 +0200
+++ /import/three-data/fortran.el       2008-05-14 13:07:28.144294904 +0200
@@ -299,8 +299,8 @@
                       "rewind" "backspace"))))
       (fortran-logicals
        (eval-when-compile
-         (regexp-opt '("and" "or" "not" "lt" "le" "eq" "ge" "gt" "ne"
-                       "true" "false")))))
+         (regexp-opt '("and" "or" "not" "eqv" "neqv" "lt" "le" "eq" "ge" "gt"
+                       "ne" "true" "false")))))
   (setq fortran-font-lock-syntactic-keywords
        ;; Fixed format comments.  (!-style handled normally.)
        (list
-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages emacs21-el depends on:
ii  emacs21-common            21.4a+1-3etch1 The GNU Emacs editor's shared, arc

emacs21-el recommends no packages.

-- no debconf information

--- End Message ---

reply via email to

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