Share

CSDE - C# - for emacs

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

fixes for GNU emacs

You are viewing a single message from this topic. View all messages.

  1. 2002-11-24 17:04:58 UTC

    I was given the following very helpful information on how to use this package with GNU emacs. As an XEmacs package user, I hadn't tested the last few fixes again on GNU before posting CSDE. These are from a user of the mode:

    Hi!

    First: Thanks for your work on this project!! I had the idea to
    reimplement JDE for C# but you were _much_ faster :-) .

    I want to use your csde with GNU Emacs 21, but I have a few problems
    (perhaps GNU Emacs specific):

    Error in grammar file
    =====================

    An error in csde-csharp-grammer:

    ,----
    | Debugger entered--Lisp error: (error "Invalid escape character syntax")
    | eval-current-buffer()
    | call-interactively(eval-current-buffer)
    | recursive-edit()
    | byte-code("Æ!ˆÇ ˆÈ !ˆ\nƒ?Éed\" Vƒ4ebˆÊ ¥yˆ`dbˆÊ ¥
    Zyˆ\f`|ˆ)ËcˆebˆÌÍ !ˆÎ ˆ @Ï=ƒKÐÑÒ\"ˆÓ
    ˆÌÔ!ˆÒÕÒÌÔ!ˆ Ö ˆ,Õ‡" [debugger-buffer debugger-args
    noninteractive debugger-batch-max-lines middlestart buffer-read-only
    pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message
    buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable "" nil
    recursive-edit standard-output inhibit-trace] 3)
    | debug(error (error "Invalid escape character syntax"))
    | eval-current-buffer()
    | call-interactively(eval-current-buffer)
    `----

    There seems to be a problem in csde-csharp-grammer.el with:

    ,----
    | (setq document-comment-end "^[\s]*[\w]+")
    `----

    Should it be changed to:

    ,----
    | (setq document-comment-end "^[\\s]*[\\w]+")
    `----

    I'm looking for csharp.bnf which isn't included in the csde
    distribution. Where can I find it?

    Error with semantic-mode
    ========================

    I can't find a semantic-mode in the newest semantic package
    (1.4beta13). So "(require 'semantic-mode)" in csde-imenu.el fails.

    Error in csde-dbs.el
    ====================

    There are a few ":documentation" missing in the statement:

    ,----
    | (defclass csde-dbs-cmd ()
    | ((process :initarg :process
    | :type csde-dbs-proc
    | :documentation
    | "Process that this command targets.")
    | (id :initarg :id
    | :type integer
    | "Command id.")
    | (name :initarg :name
    | :type string
    | :documentation
    | "Name of command.")
    | (result :initarg :result
    | "Result of executing command.")
    | (data :initarg :data
    | "Data returned by command.")
    | (msg :initarg :msg
    | :type string
    | "Message to display to user in debug buffer.")
    | )
    | "Super class of debugger commands.")
    `----

    Missing definition of csharp-font-lock-keywords-3
    =================================================

    "csharp-font-lock-keywords-3" is used in csde-csharp-font-lock.el but
    never defined!? Should it be "java-font-lock-keywords-3"?

    Thank you in advance,

    Burkhard


< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.