unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pierre Rouleau <prouleau001@gmail.com>
To: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to make `forward-sexp` handle other balanced character-pairs such as < and > or << and >> in erlang-mode or others?
Date: Mon, 27 Sep 2021 17:17:19 -0400	[thread overview]
Message-ID: <CALTqLiaJS6L4Xac52ja3mPEC3S=nQJ15c9P7yiBzdA8aMuKn0g@mail.gmail.com> (raw)
In-Reply-To: <8f629810-8ee7-6ef0-09f1-66d1722f0043@gmail.com>

I have tried smartparens.  I was able to add support for << and >> pairs
but it still does not work as I'd wish for.  And besides, I am curious to
get the normal forward-sexp working because that would unlock a large set
of functionality.

On Mon, Sep 27, 2021 at 5:13 PM Nikolay Kudryavtsev <
nikolay.kudryavtsev@gmail.com> wrote:

> Have you tried smartparens? It provides it's own implementation of
> forward-sexp for most of such cases, so maybe it's exactly what you're
> looking for.
>
>

-- 
/Pierre


  reply	other threads:[~2021-09-27 21:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-27 20:53 How to make `forward-sexp` handle other balanced character-pairs such as < and > or << and >> in erlang-mode or others? Pierre Rouleau
2021-09-27 21:13 ` Nikolay Kudryavtsev
2021-09-27 21:17   ` Pierre Rouleau [this message]
2021-09-27 21:14 ` Thibaut Verron
2021-09-27 21:22   ` Pierre Rouleau
2021-09-27 21:34     ` Thibaut Verron
2021-09-27 21:48       ` Pierre Rouleau
2021-09-28  3:45         ` Thibaut Verron
2021-09-28 11:22           ` Pierre Rouleau

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALTqLiaJS6L4Xac52ja3mPEC3S=nQJ15c9P7yiBzdA8aMuKn0g@mail.gmail.com' \
    --to=prouleau001@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nikolay.kudryavtsev@gmail.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).