From: Barry OReilly <gundaetiapo@gmail.com>
To: Ryan <rct@thompsonclan.org>
Cc: emacs-devel@gnu.org
Subject: Re: Improvements to adjust-parens
Date: Mon, 25 Nov 2013 20:51:54 -0500 [thread overview]
Message-ID: <CAFM41H3i=4XtkCBggrZpeLGB8bD+mtMzPzsO+GJO8Gr5_rpFzA@mail.gmail.com> (raw)
In-Reply-To: <5293C972.2020605@thompsonclan.org>
[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]
>
>
> I have recently started to use your adjust-parens package for Emacs. I
> have made a few changes to my copy that I thought you might want to
> incorporate upstream. I have attached a patch of all my changes; below are
> the ChangeLog entries for my changes (also inclued in the patch):
>
> * adjust-parens.el (adjust-parens-mode): Convert to minor mode
> (global-adjust-parens-mode): Add globalized mode. Uses a custom
> var to determine which modes to enable the mode in.
> (adjust-parens-p): Only adjust parens after fixing indentation and
> moving point to end of indentation.
> (adjust-parens-and-indent): Correct handling of prefix arg. Now
> only explicit numeric prefix arguments (i.e. not `C-u') affect the
> number of parens adjusted, and negative & zero prefix are handled
> correctly.
>
> * adjust-parens-tests.el (apt-mode-test): Add tests for minor mode
> enabling/disabling
> (apt-indent-dedent-test): Add tests for behavior when indentation
> is incorrect or point is not at end of indentation
>
> The to main changes of interest are the conversion of adjust-parens into a
> minor mode that can be enabled and disabled, and the changing the initial
> behavior of the TAB key when the current line is wrongly indented or the
> point is at the wrong position. I hope you find this patch useful. Please
> let me know what you think of it.
>
>
Thanks. adjust-parens is in ELPA which requires a copyright assignment
to FSF for non tiny changes. I'm not sure how to check whether you're
on the list of those who have completed the paperwork.
[-- Attachment #2: Type: text/html, Size: 2209 bytes --]
next parent reply other threads:[~2013-11-26 1:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5293C972.2020605@thompsonclan.org>
2013-11-26 1:51 ` Barry OReilly [this message]
2013-11-26 1:52 ` Improvements to adjust-parens Ryan
2013-11-26 2:26 ` Stefan Monnier
2013-11-26 6:57 ` Ryan
2013-11-26 23:04 ` Barry OReilly
2013-11-27 1:04 ` Ryan C. Thompson
2013-11-27 20:00 ` Barry OReilly
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='CAFM41H3i=4XtkCBggrZpeLGB8bD+mtMzPzsO+GJO8Gr5_rpFzA@mail.gmail.com' \
--to=gundaetiapo@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=rct@thompsonclan.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.