Gnus development mailing list
 help / color / mirror / Atom feed
From: hput <hputn3@zohomail.com>
To: ding@gnus.org
Subject: make emacs handle 'if fi' like it does parens
Date: Sat, 12 Feb 2022 10:50:15 -0500	[thread overview]
Message-ID: <87sfso2ifc.fsf@local.lan> (raw)

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?




             reply	other threads:[~2022-02-12 15:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-12 15:50 hput [this message]
2022-02-12 16:35 ` Eric Abrahamsen
2022-02-13 14:28   ` hput

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=87sfso2ifc.fsf@local.lan \
    --to=hputn3@zohomail.com \
    --cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).