From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: hput Newsgroups: gmane.emacs.help Subject: (unknown) Date: Thu, 17 Feb 2022 14:24:06 -0500 Message-ID: <874k4xqotl.fsf@local.lan> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16329"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 17 20:25:33 2022 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 1nKmPF-00040l-Dj for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 17 Feb 2022 20:25:33 +0100 Original-Received: from localhost ([::1]:52552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKmPD-0000Rz-PX for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 17 Feb 2022 14:25:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKmOF-0000Rq-I2 for help-gnu-emacs@gnu.org; Thu, 17 Feb 2022 14:24:31 -0500 Original-Received: from sender4-pp-o94.zoho.com ([136.143.188.94]:25495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKmO7-0004xW-8L for help-gnu-emacs@gnu.org; Thu, 17 Feb 2022 14:24:24 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1645125858; cv=none; d=zohomail.com; s=zohoarc; b=Z2G9IWiv/9UhpNvgyxI5/OFFT3Rwc5ufbttJWF39ea2GlAf4FCOLYGO1HOynYEn4M6eQ5Q2Hkb3ZcfFxqabiDp+rlw6HhtXbkLdFY6eoc3D2Kc82K5H2saEr0DY/p2MbFrSXAeRFnJkbKrEIMPP2ysTcvZqcRMq9WqyQTBwj9SA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1645125858; h=Content-Type:Date:From:MIME-Version:Message-ID:To; bh=WBYAmdbaoIXHK4y5Nh/1sB5BeCMxqpwlOj0zljysDpY=; b=ffuYOXc17OAw6qocNz8HpSNhEf9YSEZGYgEtNEzqqwhHGYWwR0q7xKrugV0Ct/SUkJ2KyJ7lwo18ZoRkhxABua0py2hLpwEBpz54Z/Vzmqf3rrd2LNcbHBgJkORiVHHbce8zBglbwzEEjB3kSKhDUKkfaRKuu15Tkvs23iS3wBA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zohomail.com; spf=pass smtp.mailfrom=hputn3@zohomail.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1645125858; s=zm2020; d=zohomail.com; i=hputn3@zohomail.com; h=From:To:Date:Message-ID:MIME-Version:Content-Type; bh=WBYAmdbaoIXHK4y5Nh/1sB5BeCMxqpwlOj0zljysDpY=; b=hP59TUlCtP1zDmaaQMtCBoOX5phahdbGrxfExClkzI/g6Uh8GphZQVKRBlSFQyvy by9SnLFFiYsftC0W5lrfdyii8xS7CGiCOVOp+5ialEg2Qwps7ef2in74XZCDgWOFwiF bBJztIf8Cz/zkUR1XmbNgB+sxqXW+QE2ZhbRnN84= Original-Received: from 2x (c-76-97-132-53.hsd1.ga.comcast.net [76.97.132.53]) by mx.zohomail.com with SMTPS id 1645125855846662.4005410314076; Thu, 17 Feb 2022 11:24:15 -0800 (PST) X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.94; envelope-from=hputn3@zohomail.com; helo=sender4-pp-o94.zoho.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 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, MISSING_SUBJECT=1.799, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.help:135978 Archived-At: When I do scripting in ksh93 emacs defaults to a mode that on the bar across the bottom where page and char number appear it says: (shell-script[ksh 88] abbrev) I know very little about ksh 88, and do know that it is considered out dated. Is there a mode specifically for ksh93? It seems that when in that `ksh 88' mode my cursor is continually jerked to a position that is definitely wrong for where I am in the script. Now, when I press after typing the `fi' in an `if' clause, my cursur is jerked to the position one would add "content" to an `if' clause, (the `bleh bleh' ) below. Example: if [ $this ];then bleh bleh fi [] <= cusor lands here Instead of if [ $this ];then bleh bleh fi [] <= here, where it needs to be for most next steps >From that position (first `if' clause) cursor needs to go to the far left edge where one might start more scripting such as another `if' clause. And that wrong behavior continues throughout the rest of the script. Unlike perl-mode .. where cursor lands where it should. If the `ksh' script has more than a few lines, that can get aggravating and time consuming to have to get the cursor to the far left. What ever means one uses to position the cursor there is a pause => action and begin again for more scripting. Why is that?