From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Klaus-Dieter Bauer Newsgroups: gmane.emacs.help Subject: octave-mode: Indentation of multi-line expressions? Date: Mon, 7 Aug 2023 15:39:54 +0200 Message-ID: <7871d57b-6d28-bc69-5771-4297df9d42ab@mathconsult.co.at> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31653"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 08 06:57:04 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qTEmG-00080A-DT for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Aug 2023 06:57:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTEll-0000vT-Ln; Tue, 08 Aug 2023 00:56:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qT0TE-0000YX-Ei for help-gnu-emacs@gnu.org; Mon, 07 Aug 2023 09:40:28 -0400 Original-Received: from mx107.easyname.com ([217.74.15.3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qT0TA-0006H2-Lf for help-gnu-emacs@gnu.org; Mon, 07 Aug 2023 09:40:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mathconsult.co.at; s=easyname; h=Content-Transfer-Encoding:Content-Type: Subject:To:From:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=B5xZRSM5dbgC1SeQLssiL0+cWvAyNjj61QCnsS6NWdU=; b=RPtbUj3SO2+CF4QPHzuFd3XFpF LTS7Q5YrM8Y2TR6fpS/UMdGNi7LZLIt8fGAa2uXJ8slrH8K1B25AenhvzLKtz+KkQU8tEc8EfugcM W5jBtTrd1diqmYlv+m8Ov1Y1EX8gwHt2QQILXw8/gDpcinfpAWS3RnY+4Y6GqHl43JJHmHo1uv6we nVamDCWhlSE2vA2yWt5iTtDnelu1hwjfKiPTuxhBbTuRsJsIS8cEMkyvHEZNer3SrMSjCa9fQtilm UtJ+7Duc7zQhtvd6/OqkLibFo/dFfuIR4WR+utxwJU444+EuFxD93x94Ky3CH2rLqa2KsC5JTycVP lCv4ItSg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mathconsult.co.at; s=easyname; h=Content-Transfer-Encoding:Content-Type: Subject:To:From:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=B5xZRSM5dbgC1SeQLssiL0+cWvAyNjj61QCnsS6NWdU=; b=RPtbUj3SO2+CF4QPHzuFd3XFpF LTS7Q5YrM8Y2TR6fpS/UMdGNi7LZLIt8fGAa2uXJ8slrH8K1B25AenhvzLKtz+KkQU8tEc8EfugcM W5jBtTrd1diqmYlv+m8Ov1Y1EX8gwHt2QQILXw8/gDpcinfpAWS3RnY+4Y6GqHl43JJHmHo1uv6we nVamDCWhlSE2vA2yWt5iTtDnelu1hwjfKiPTuxhBbTuRsJsIS8cEMkyvHEZNer3SrMSjCa9fQtilm UtJ+7Duc7zQhtvd6/OqkLibFo/dFfuIR4WR+utxwJU444+EuFxD93x94Ky3CH2rLqa2KsC5JTycVP lCv4ItSg==; Original-Received: from cosmos.ricam.uni-linz.ac.at ([140.78.107.100] helo=[10.78.107.38]) by mx.easyname.com with esmtpsa (TLSv1.3:TLS_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qT0Sk-000GoM-VA; Mon, 07 Aug 2023 13:40:01 +0000 Content-Language: de-DE, en-US Received-SPF: pass client-ip=217.74.15.3; envelope-from=kdbauer@mathconsult.co.at; helo=mx107.easyname.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 08 Aug 2023 00:56:30 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144674 Archived-At: Hello! I am looking for a way to customize octave-mode such that it will produce indentation like [a, b] = function_name( first_argument, second_argument ); Out of the box, except for setting `octave-block-offset` to 4 for compatibility with existing project code, I get an indentation [a, b] = function_name( first_argument, second_argument ); which is not ideal for readability. Best regards, Klaus ---------------------------------------------------------------------- Emacs information: In GNU Emacs 27.1 (build 4, x86_64-pc-linux-gnu, GTK+ Version 2.24.32) of 2022-07-29 built on a PC named so weirdly by the admin, I censored it Windowing system distributor 'The X.Org Foundation', version 11.0.12003000 System Description: openSUSE Leap 15.3