all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mauro Aranda <maurooaranda@gmail.com>
To: Philip Kaludercic <philipk@posteo.net>,
	Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Proposal to add Popper to ELPA
Date: Tue, 5 Sep 2023 17:27:08 -0300	[thread overview]
Message-ID: <255bb831-2309-764a-bb23-087ab267437b@gmail.com> (raw)
In-Reply-To: <87y1hkcygb.fsf@posteo.net>

On 5/9/23 14:38, Philip Kaludercic wrote:
 > Karthik Chikmagalur <karthikchikmagalur@gmail.com> writes:
 >
 >> I would like to add my package Popper to GNU ELPA.
 >>
 >> URL: https://github.com/karthink/popper
 >
 > Here are a few changes I would propose to make.  Haven't tested it, so
 > take it with a grain of salt:
 > -  :type '(restricted-sexp :match-alternatives (stringp symbolp 
functionp consp))
 > -  :group 'popper)
 > +  :type '(repeat (string :tag "Regular Expression")
 > +		 (symbol :tag "Major Mode")
 > +		 (function :tag "Predicate Function")
 > +		 ;; What is the consp in (restricted-sexp :match-alternatives 
(stringp symbolp functionp consp))?
 > +		 ))

The different alternatives should be inside a choice:
:type '(repeat (choice (string :tag "Regular Expression")
                        (symbol :tag "Major Mode")
                        (function :tag "Predicate Function"))

 >   (defcustom popper-mode-line-position 0
 >     "Position in mode-line to place `popper-mode-line'."
 > -  :type 'integer
 > -  :group 'popper)
 > +  :type 'natnum)

IIUC, the package requires Emacs 26.1, and the natnum widget wasn't
available back then.  Does Compat have it?




  parent reply	other threads:[~2023-09-05 20:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-05 16:55 Proposal to add Popper to ELPA Karthik Chikmagalur
2023-09-05 17:38 ` Philip Kaludercic
2023-09-05 20:12   ` Karthik Chikmagalur
2023-09-05 20:37     ` Mauro Aranda
2023-09-06 17:36     ` Philip Kaludercic
2023-09-06 23:09       ` Karthik Chikmagalur
2023-09-05 20:27   ` Mauro Aranda [this message]
2023-09-05 20:49     ` Karthik Chikmagalur
2023-09-05 21:05       ` Mauro Aranda
2023-09-06 17:13         ` Karthik Chikmagalur
2023-09-08 17:25           ` Philip Kaludercic
2023-09-08 21:52             ` Karthik Chikmagalur
2023-09-09  0:33               ` Mauro Aranda
2023-09-09  0:57                 ` Karthik Chikmagalur
2023-09-09  8:10               ` Philip Kaludercic

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=255bb831-2309-764a-bb23-087ab267437b@gmail.com \
    --to=maurooaranda@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=karthikchikmagalur@gmail.com \
    --cc=philipk@posteo.net \
    /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.