all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Visuwesh <visuweshm@gmail.com>
To: Adam <adam.niederer@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [NonGNU ELPA] New packages: elquery, file-ring, metamorph
Date: Mon, 28 Mar 2022 12:29:17 +0530	[thread overview]
Message-ID: <878rsuh8ai.fsf@gmail.com> (raw)
In-Reply-To: <b44fe0ea-ba35-7172-1ed9-c9fbcc926961@gmail.com> (Adam's message of "Sun, 27 Mar 2022 23:58:55 -0400")

[ஞாயிறு மார்ச் 27, 2022] Adam wrote:

> Hello!
>
> I have a few packages which might be a good fit for NonGNU ELPA
>
> elquery is an HTML parsing (using emacs' libxml), formatting, and
> querying library, which is useful for scraping. It contains a
> querySelector implementation, and lots of helper functions for
> retrieving/setting data on parsed nodes.
>
> file-ring lets you switch between files which have the same basename
> with a keypress, which I've found useful when writing c and angular
> code (.c/.h and .component.ts/.component.html)
>
> metamorph is effectively a Turing-complete `replace-regexp`, which
> I've found useful when I need to add some number to twenty constants
> in a big header file.

The README file for metamorph suggests that you are reimplementing
query-replace-regexp's \,:

    In interactive calls, the replacement text can contain ‘\,’
    followed by a Lisp expression.  Each
    replacement evaluates that expression to compute the replacement
    string.  Inside of that expression, ‘\&’ is a string denoting the
    whole match as a string, ‘\N’ for a partial match, ‘\#&’ and ‘\#N’
    for the whole or a partial match converted to a number with
    ‘string-to-number’, and ‘\#’ itself for the number of replacements
    done so far (starting with zero).

Or am I missing something?

>
> Feedback is welcome and appreciated - thanks in advance!
>
> Thanks,
> -Adam
>
> - elquery: https://github.com/AdamNiederer/elquery
> - file-ring: https://github.com/AdamNiederer/file-ring
> - metamorph: https://github.com/AdamNiederer/metamorph



  reply	other threads:[~2022-03-28  6:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-28  3:58 [NonGNU ELPA] New packages: elquery, file-ring, metamorph Adam
2022-03-28  6:59 ` Visuwesh [this message]
2022-03-28 17:21   ` T.V Raman
2022-03-29  1:53     ` T.V Raman
2022-03-29  3:43       ` Karl Fogel
2022-03-29  5:23         ` Adam
2022-03-29 13:51           ` T.V Raman
2022-03-31  1:55             ` Adam
2022-03-31 12:48               ` Stefan Monnier
2022-04-01  3:28                 ` Adam
2022-04-01 13:11                   ` Stefan Monnier
2022-04-03 10:25                     ` Stephen Leake
2022-03-29 13:50         ` T.V Raman
2022-03-29 14:42         ` Stephen Leake
2022-03-29  8:28       ` Stefan Monnier
2022-03-28 22:09   ` Adam
2022-03-28 23:10     ` Ergus
2022-04-01  9:10       ` Augusto Stoffel

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=878rsuh8ai.fsf@gmail.com \
    --to=visuweshm@gmail.com \
    --cc=adam.niederer@gmail.com \
    --cc=emacs-devel@gnu.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.