From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kurt Hornik Newsgroups: gmane.emacs.bugs Subject: Re: Octave-mode tabs comment characters to column 32 Date: Mon, 22 Aug 2005 22:20:41 +0200 Message-ID: <17162.13209.36950.540072@mithrandir.hornik.net> References: <20050816223610.2446.qmail@web33306.mail.mud.yahoo.com> Reply-To: Kurt.Hornik@wu-wien.ac.at NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1124785036 10986 80.91.229.2 (23 Aug 2005 08:17:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Aug 2005 08:17:16 +0000 (UTC) Cc: Kurt.Hornik@ci.tuwien.ac.at, bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 23 10:17:05 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E7Tvo-000459-Uz for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Aug 2005 10:14:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E7TzZ-0005k6-GN for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Aug 2005 04:18:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E7TYG-0007JY-4x for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2005 03:50:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E7TY9-0007IB-Aj for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2005 03:50:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E7TY5-0007EP-Q8 for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2005 03:50:22 -0400 Original-Received: from [137.208.3.42] (helo=isis.wu-wien.ac.at) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E7TTW-00060F-DT for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2005 03:45:38 -0400 Original-Received: from mithrandir.hornik.net ([137.208.58.240]) by isis.wu-wien.ac.at (8.12.11/8.12.9) with ESMTP id j7N7ih7g101140; Tue, 23 Aug 2005 09:44:44 +0200 (envelope-from Kurt.Hornik@wu-wien.ac.at) Original-Received: from hornik by mithrandir.hornik.net with local (Exim 4.52) id 1E7Imf-0003vr-1P; Mon, 22 Aug 2005 22:20:41 +0200 Original-To: Daniel Lyddy In-Reply-To: <20050816223610.2446.qmail@web33306.mail.mud.yahoo.com> X-Mailer: VM 7.19 under Emacs 21.4.1 X-WU-wumi-status: clean v4.4.00/v4564 hiphop wu 28360e370d2456063371fa20ba9cb742 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:12815 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:12815 >>>>> 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