unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Daniel Semyonov <daniel@dsemy.com>
Cc: emacs-devel@gnu.org
Subject: Re: [NonGNU ELPA] New packages: Vcomplete, swsw
Date: Sun, 22 May 2022 11:48:42 +0000	[thread overview]
Message-ID: <87h75hyehx.fsf@posteo.net> (raw)
In-Reply-To: <875ylx4yvn.fsf@dsemy.com> (Daniel Semyonov's message of "Sun, 22 May 2022 13:58:52 +0300")

Daniel Semyonov <daniel@dsemy.com> writes:

> Hi,
>
> I'd like to submit two packages to NonGNU ELPA: Vcomplete and swsw.
>
> Vcomplete provides a minor mode enhancing the default completion list
> buffer.
> It is designed to change as little as possible so as to remain
> compatible with other enhancements to the default completion interface,
> while also providing entry points for advanced users who wish to perform
> actions on completion candidates.
>
> From the package commentary:
>
> When `vcomplete-mode' is active:
> - The completion list buffer opens and updates automatically (see
>   `vcomplete-auto-update').
> - The completion list buffer can be controlled through the
>   minibuffer (during minibuffer completion) or the current buffer
>   (during in-buffer completion), if it's visible.
> - The currently selected completion is highlighted in the
>   completion list buffer.
>
> C-n moves point to the next completion.
>
> C-p moves point to the previous completion.
>
> M-RET (C-M-m) chooses the completion at point.
>
> Source code: https://sr.ht/~dsemy/vcomplete
> Homepage (change log and manual): https://dsemy.com/projects/vcomplete

Very interesting.  From a brief look at the repo, I just have a few
questions/comments:

- You add vcomplete-embark.el, that seems to be a package in it's own
  right (with a dependency on embark), but with your patch this will
  just be bundled into the same package.  Is this intentional?

- A practice I have taken up for my own packages on SourceHut is to add
  the mailing list as the maintainer.  I'm not saying you should do the
  same, just that it might make sense to mention it somewhere.

- The -pkg.el file should be unnecessary, as ELPA generates its own.

- Could the vector key syntax ([?\C-a]) be replaced with a (kbd "C-a")?
  I think the general trend nowadays is towards the latter, and more
  people are familiar with it.

- You should probably format the reference to the manual in your
  commentary section as described in the Info node (elisp) Documentation
  Tips.

I hope to try it out soon and give comments on the code + behaviour too.

> swsw (simple window switching) provides a minor mode for switching to
> windows using IDs assigned to them automatically.
> It is designed to be easily extensible, providing ways to change how IDs
> are displayed and to easily define new actions to be performed on
> windows.

Have you made up your mind about the name, or could you be convinced to
change it to something like "window-switch" or "windswitch" (so that it
sounds similar to windmove)?  Just suggestions of course, I just
anticipate a discussion on this question, because the name itself is not
that expressive.

> From the package commentary:
>
> When swsw-mode is active:
> - A window ID is displayed using a mode line lighter or a display
>   function (see `swsw-display-function').
> - Window IDs are assigned to all windows on all frames except for
>   the minibuffer(by default, see `swsw-scope').
> - `other-window' (C-x o by default) is remapped to `swsw-select'.
>
> C-x o ID switches focus to the window which corresponds to ID.
>
> C-x o m switches focus to the minibuffer if it's active.
>
> C-x o 0 ID deletes the window which corresponds to ID.
>
> Source code: https://sr.ht/~dsemy/swsw
> Homepage (change log and manual): https://dsemy.com/projects/swsw

The same comments as above, for the most part.

> Both packages include Texinfo manuals (from which the manuals on their
> homepages is generated).
> Please let me know beforehand if there is intention to add either
> package to NonGNU ELPA, so I could update their manuals and add
> '.elpaignore' files to their repositories.

I don't see why not. 

> Attached are patches for nongnu.git adding these packages.
>
> Regards,
> Daniel
>
> PS: I initially intended to submit these packages to GNU ELPA, but
> unfortunately I probably won't be able to assign copyright any time
> soon. (I'm assuming it would be possible to move them to GNU ELPA in the
> future?)

It should be possible.



  reply	other threads:[~2022-05-22 11:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-22 10:58 [NonGNU ELPA] New packages: Vcomplete, swsw Daniel Semyonov
2022-05-22 11:48 ` Philip Kaludercic [this message]
2022-05-22 15:55   ` Daniel Semyonov
2022-05-22 16:07     ` Philip Kaludercic
2022-05-23 11:36       ` Daniel Semyonov
2022-05-22 16:29     ` Stefan Monnier
2022-05-23 11:45       ` Daniel Semyonov
2022-05-24 19:47     ` Philip Kaludercic
2022-05-24 20:16       ` Daniel Semyonov
2022-05-25  6:26         ` Philip Kaludercic
2022-05-25 13:34           ` Daniel Semyonov

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=87h75hyehx.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=daniel@dsemy.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).