Syntax Coloring Problem with Xemacs

Ask a Question related to Ruby, Design and Development.

  1. #1

    Default Syntax Coloring Problem with Xemacs

    hello

    I have Xemacs 21.4 and Ruby 1.8.0

    whenever I type $' in my Ruby code Xemacs treats the following
    Code as string and everything is green.

    anyone else with this problem ??
    is there a workaround ?

    one thing that can be done is putting a "#'" after lines with $'
    like this
    var = $' #'

    but I wonder if there is a better way ?

    any hints are welcome

    thanks

    Markus
    Markus Jais Guest

  2. Similar Questions and Discussions

    1. Flex Builder 3 Syntax Coloring problem
      In FB 3, in the 'syntax coloring' prefs, I can apply different colors to everything except periods, numerals and semi-colons. They appear to all be...
    2. Problems with ruby mode in Xemacs
      The problem is simple: I can get it to work. I'm running Xemacs 21.4.6 from Debian woody. The ruby-elisp files are stored here:...
    3. perl man pages in xemacs
      Hello how can I use xemacs to read perl man pages. currently I do bach$man <PerlPackageName> another point: in the text of a perl doc "See...
    4. xemacs21-gnome-mule show w/o frame when called as xemacs
      I have xemacs21-gnome-mule configured under alternatives to be attached to xemacs21 which in turn is pointed to bu xemacs. When I call it using...
    5. Ruby syntax-coloring in XEmacs
      Is there a patch somewhere that will allow differentiation in syntax-coloring between strings and regular expressions in XEmacs? When I first...
  3. #2

    Default Re: Syntax Coloring Problem with Xemacs

    Markus Jais <markusjais@yahoo.de> wrote:
    > whenever I type $' in my Ruby code Xemacs treats the following
    > Code as string and everything is green.
    I didn't have this problem but I had other syntax highlighting problems
    with various combinations of XEmacs and the Ruby mode file.

    After some Lisp fiddling (I'm by no means a Lisp programmer) I managed
    to fix all the problems I was having to produce this:

    [url]http://members.optushome.com.au/puyo/ruby-mode.el[/url]

    And since I use XEmacs 21.4 also, I imagine it'll work for you too. I
    give no guarrantees though and if it doesn't work, I can't offer any
    more help. Good luck.

    --
    Greg McIntyre ======[ [email]greg@puyo.cjb.net[/email] ]===[ [url]http://puyo.cjb.net[/url] ]===
    Greg McIntyre Guest

  4. #3

    Default Re: Syntax Coloring Problem with Xemacs

    Greg McIntyre wrote:
    > Markus Jais <markusjais@yahoo.de> wrote:
    >> whenever I type $' in my Ruby code Xemacs treats the following
    >> Code as string and everything is green.
    >
    > I didn't have this problem but I had other syntax highlighting problems
    > with various combinations of XEmacs and the Ruby mode file.
    >
    > After some Lisp fiddling (I'm by no means a Lisp programmer) I managed
    > to fix all the problems I was having to produce this:
    >
    > [url]http://members.optushome.com.au/puyo/ruby-mode.el[/url]
    >
    > And since I use XEmacs 21.4 also, I imagine it'll work for you too. I
    > give no guarrantees though and if it doesn't work, I can't offer any
    > more help. Good luck.
    >
    thanks. but it still does not work.

    maybe I will eventually have some time to read the elisp documentation.

    markus
    Markus Jais Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139