Loading ...
Sorry, an error occurred while loading the content.

Re: [jasspa] Ruby: Indentation ?

Expand Messages
  • Meino Christian Cramer
    From: Thomas Hundt Subject: Re: [jasspa] Ruby: Indentation ? Date: Sun, 26 Jun 2005 09:19:27 -0700 Yes, this is something I have to get used
    Message 1 of 8 , Jun 26, 2005
    • 0 Attachment
      From: Thomas Hundt <thundt@...>
      Subject: Re: [jasspa] Ruby: Indentation ?
      Date: Sun, 26 Jun 2005 09:19:27 -0700

      Yes, this is something I have to get used to.... :)

      By the way: When I am typing

      me mynewfileinruby.rb

      on the command line to start a new ruby code ... ME is knowing what I
      trying to program ?!???

      Meino

      > IMO the real answer is to get in the habit of starting off by doing
      > find-file with a real filename (.rb extension) or create the buffer
      > using a name that ends in ".rb" (foo.rb). That way it's already in Ruby
      > mode when you type your code.
      >
      > If you use find-file, I think you will also gain automatic periodic
      > backup capability if you do this. (See if the variable $buffer-backup is
      > set.)
      >
      > -Th
      >
      > > The most likely explanation for this is as follows:
      > >
      > > Create a new buffer called "foo"
      > > Start writing ruby code - no indentation.
      > > write-buffer to "foo.rb"
      > >
      > > You may now think that you have a ruby file and the indentation is broken, but
      > > you don't, you still have "foo" with no specific file setup. You need to
      > > reread the file or restart ME to reinitialize foo.rb to a ruby file.
      > >
      > > Steve
      >
      >
      > >> Nevertheless I have had a file with ruby code (before I wrote the
      > >> mail) which "indents without end" when TAB was pressed on a line.
      > >> Even this file works now. I have had changed nothing in between.
      > >> Meino
      >
      >
      > --
      > Thomas Hundt <tom@...> +1-415-867-6698
      >
      >
      > __________________________________________________________________________
      >
      > This is an unmoderated list. JASSPA is not responsible for the content of
      > any material posted to this list.
      >
      > To unsubscribe, send a mail message to
      >
      > mailto:jasspa-unsubscribe@yahoogroups.com
      >
      > or visit http://groups.yahoo.com/group/jasspa and
      > modify your account settings manually.
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.