From: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
Cc: Kurt.Hornik@ci.tuwien.ac.at, bug-gnu-emacs@gnu.org
Subject: Re: Octave-mode tabs comment characters to column 32
Date: Mon, 22 Aug 2005 22:20:41 +0200 [thread overview]
Message-ID: <17162.13209.36950.540072@mithrandir.hornik.net> (raw)
In-Reply-To: <20050816223610.2446.qmail@web33306.mail.mud.yahoo.com>
>>>>> Daniel Lyddy writes:
> Dear Kurt (and other octave-mode developers):
> Whenever I use octave mode, if I type either a '%' or
> a '#', as soon as I hit the spacebar, the comment
> character gets automagically tabbed to column 32 of
> that line.
You mean when you type a single comment char in an otherwise empty line
and then press space? This behaves as documented: the space runs
octave-electric-space() with docs
Insert a space in Octave mode.
Maybe expand abbrevs and blink matching block open keywords.
Reindent the line of `octave-auto-indent' is non-nil.
and comment-lines with a single comment char ("in-line" comments) are
indented to the comment column.
You can change this behavior by setting octave-auto-indent to nil (or
binding SPC to something different from octave-electric-space).
Hth
-k
> I am using the versions of octave mode that come with
> octave 2.1.71. I had to download the source tarfile
> for octave and then extract and install octave-hlp.el,
> octave-inf.el, and octave-mod.el by hand in my
> /etc/emacs/site-start.d directory. This is because
> Mandriva's stock octave rpm (octave-2.1.64-2mdk) only
> ships with octave.el, and Mandriva's stock xemacs rpm
> (xemacs-21.4.17-2mdk) does not seem to ship with any
> octave*.el files at all.
> Thanks,
> Dan
> Emacs : XEmacs 21.4 (patch 17) "Jumbo Shrimp" [Lucid]
> (i386-mandrake-linux, Mule) of Mon Mar 7 2005 on
> n2.mandrakesoft.com Package: Emacs version 21.4 (patch
> 17) "Jumbo Shrimp" XEmacs Lucid
> current state:
> ==============
> (setq
> octave-auto-indent t
> octave-auto-newline t
> octave-blink-matching-block t
> octave-block-offset 2
> octave-comment-char ?\#
> octave-continuation-offset 4
> octave-continuation-string "\\"
> octave-mode-startup-message t
> octave-send-echo-input t
> octave-send-line-auto-forward t
> octave-send-show-buffer t
> )
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
prev parent reply other threads:[~2005-08-22 20:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-16 22:36 Octave-mode tabs comment characters to column 32 Daniel Lyddy
2005-08-22 20:20 ` Kurt Hornik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17162.13209.36950.540072@mithrandir.hornik.net \
--to=kurt.hornik@wu-wien.ac.at \
--cc=Kurt.Hornik@ci.tuwien.ac.at \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.