From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8754 invoked from network); 12 Feb 2022 15:51:04 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 12 Feb 2022 15:51:04 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nIuft-00EA8B-Fi for ml@inbox.vuxu.org; Sat, 12 Feb 2022 09:51:01 -0600 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94.2) (envelope-from ) id 1nIufs-004Fbf-Q0 for ml@inbox.vuxu.org; Sat, 12 Feb 2022 09:51:00 -0600 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.94.2) (envelope-from ) id 1nIufq-004FbW-Jm for ding@lists.math.uh.edu; Sat, 12 Feb 2022 09:50:58 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nIufl-0047a1-J5 for ding@lists.math.uh.edu; Sat, 12 Feb 2022 09:50:58 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:Message-ID:Date:Subject:From:To: Sender:Reply-To:Cc:Content-Transfer-Encoding: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=ASuD9mhP13LnirkfjUs3b69ofnq7qAi1MM59gnE9GKY=; b=eWCYg7MYCE4aeh7UB09pZJ96Lt 368ifs7wCvuQ667tCWQlD8TNN16qebx1aH+5LBuQxi1AVp252TMxbmOsHuAcaJTflEwMgBwuyVq8g UPLf8kYoY6uMxcR3kaS73KdOn6eEOAzPGnJfHkZkKWog5AUPn8h9QUzd3QgVZM4tL5MI=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIufd-0000gg-1I for ding@gnus.org; Sat, 12 Feb 2022 16:50:47 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nIufa-00034t-Kl for ding@gnus.org; Sat, 12 Feb 2022 16:50:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: hput Subject: make emacs handle 'if fi' like it does parens Date: Sat, 12 Feb 2022 10:50:15 -0500 Organization: Still searching... Message-ID: <87sfso2ifc.fsf@local.lan> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:izZVj96zL8lgUzI6U7C+IQg61fY= List-ID: Precedence: bulk Version: GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit,\ cairo version 1.16.0, Xaw3d scroll bars) of 2021-11-05 Seems like google is getting harder and harder to find the right strings to unearth wanted info. We have a fine manual but it doesn't respond well to the hill-billy strings my imagination supplies when using the info 'i' or 's' searches. At any rate, I'm not having much luck looking for ways to make emacs handle 'if', 'fi' in any shell-scripting mode, like it does parens in things like cperl-mode. I'd like to be able to jump between matching `if fi' and have the matching pardner hilite as when putting cursor just after closing paren. If it is possible using standard emacs commands already, maybe someone will be kind enough to mention the combinations? If not, then .. where might I find code that does what I'm after?