unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Questions about submiting a package to ELPA
@ 2024-04-16 19:17 Elijah G
  2024-04-17  2:30 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Elijah G @ 2024-04-16 19:17 UTC (permalink / raw)
  To: emacs-devel

Hello, I'm developing a new package for ELPA named colorful-mode
(https://github.com/DevelopmentCool2449/colorful-mode).

Currently it is still in an experimental state, but before submitting
it here I have some questions.

- Do I need to assign copyright to FSF? I've already sent my
paperworks successfully for a contribution to flymake and I don't know
if I must assign again for this, if so can someone send me the request
form off-list?.

- Can someone send me a request form for my future contributors, this
is to help them how to contribute to my package.

Also this is not related to ELPA, How can I add new color names in
Emacs, Do I need to modify rgb.txt? I would like to contribute by
adding some missing color names such as "Teal" and "Chocolate";
defined-colors only includes "chocolate" but not "Chocolate".

Thanks.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Questions about submiting a package to ELPA
  2024-04-16 19:17 Questions about submiting a package to ELPA Elijah G
@ 2024-04-17  2:30 ` Eli Zaretskii
  2024-04-17  3:11   ` Elijah G
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2024-04-17  2:30 UTC (permalink / raw)
  To: Elijah G; +Cc: emacs-devel

> From: Elijah G <eg642616@gmail.com>
> Date: Tue, 16 Apr 2024 13:17:58 -0600
> 
> Hello, I'm developing a new package for ELPA named colorful-mode
> (https://github.com/DevelopmentCool2449/colorful-mode).
> 
> Currently it is still in an experimental state, but before submitting
> it here I have some questions.
> 
> - Do I need to assign copyright to FSF? I've already sent my
> paperworks successfully for a contribution to flymake and I don't know
> if I must assign again for this, if so can someone send me the request
> form off-list?.
> 
> - Can someone send me a request form for my future contributors, this
> is to help them how to contribute to my package.

Your legal paperwork regarding your contribution to flymake covers
also your future contributions, so no need for another assignment to
submit packages to ELPA.

> Also this is not related to ELPA, How can I add new color names in
> Emacs, Do I need to modify rgb.txt? I would like to contribute by
> adding some missing color names such as "Teal" and "Chocolate";
> defined-colors only includes "chocolate" but not "Chocolate".

Adding colors is meaningless, because colors are defined by the
underlying platforms.  You can add faces, using defface, where the
colors is defined by their hex RGB values.  If this doesn't answer
your questions, please tell more details: why do you want to add these
colors and how you intend to use them.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Questions about submiting a package to ELPA
  2024-04-17  2:30 ` Eli Zaretskii
@ 2024-04-17  3:11   ` Elijah G
  2024-04-17 12:38     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Elijah G @ 2024-04-17  3:11 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

On Tue, Apr 16, 2024 at 8:30 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Elijah G <eg642616@gmail.com>
> > Date: Tue, 16 Apr 2024 13:17:58 -0600
> >
> > Hello, I'm developing a new package for ELPA named colorful-mode
> > (https://github.com/DevelopmentCool2449/colorful-mode).
> >
> > Currently it is still in an experimental state, but before submitting
> > it here I have some questions.
> >
> > - Do I need to assign copyright to FSF? I've already sent my
> > paperworks successfully for a contribution to flymake and I don't know
> > if I must assign again for this, if so can someone send me the request
> > form off-list?.
> >
> > - Can someone send me a request form for my future contributors, this
> > is to help them how to contribute to my package.
>
> Your legal paperwork regarding your contribution to flymake covers
> also your future contributions, so no need for another assignment to
> submit packages to ELPA.

Thank you.

> > Also this is not related to ELPA, How can I add new color names in
> > Emacs, Do I need to modify rgb.txt? I would like to contribute by
> > adding some missing color names such as "Teal" and "Chocolate";
> > defined-colors only includes "chocolate" but not "Chocolate".
>
> Adding colors is meaningless, because colors are defined by the
> underlying platforms.  You can add faces, using defface, where the
> colors is defined by their hex RGB values.
> If this doesn't answer your questions, please tell more details:
> why do you want to add these
> colors and how you intend to use them.

When I was adding support for colorizing HTML colors names into my
package I found that emacs already provides some of them,
so I thought it would be a good idea to use those colors already provided.
However some of these colors are in lowercase and most HTML color
names uses Capital Case and/or PascalCase, i think that maybe
add their Pascal or Capital case would help to packages that uses HTML
colors such as my package, rainbow-mode and maybe the colorize feature from
css-mode; this is because users must lowercase the color name for
preview/colorize
them.
But i think i must not use `defined-colors' for this behavior and
define the colors
myself.

Anyways thanks for the help.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Questions about submiting a package to ELPA
  2024-04-17  3:11   ` Elijah G
@ 2024-04-17 12:38     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2024-04-17 12:38 UTC (permalink / raw)
  To: Elijah G; +Cc: emacs-devel

> From: Elijah G <eg642616@gmail.com>
> Date: Tue, 16 Apr 2024 21:11:14 -0600
> Cc: emacs-devel@gnu.org
> 
> On Tue, Apr 16, 2024 at 8:30 PM Eli Zaretskii <eliz@gnu.org> wrote:
> >
> > Adding colors is meaningless, because colors are defined by the
> > underlying platforms.  You can add faces, using defface, where the
> > colors is defined by their hex RGB values.
> > If this doesn't answer your questions, please tell more details:
> > why do you want to add these
> > colors and how you intend to use them.
> 
> When I was adding support for colorizing HTML colors names into my
> package I found that emacs already provides some of them,
> so I thought it would be a good idea to use those colors already provided.
> However some of these colors are in lowercase and most HTML color
> names uses Capital Case and/or PascalCase, i think that maybe
> add their Pascal or Capital case would help to packages that uses HTML
> colors such as my package, rainbow-mode and maybe the colorize feature from
> css-mode; this is because users must lowercase the color name for
> preview/colorize
> them.
> But i think i must not use `defined-colors' for this behavior and
> define the colors
> myself.

What you describe seems to talk about faces, not colors.  Colors in
Emacs are not first-class citizens, they are attributes of faces.  So
I still don't understand why you cannot define faces for your package,
and define the colors for those faces via hex RGB values, as we do
when no existing color is exactly like we want.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-17 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-16 19:17 Questions about submiting a package to ELPA Elijah G
2024-04-17  2:30 ` Eli Zaretskii
2024-04-17  3:11   ` Elijah G
2024-04-17 12:38     ` Eli Zaretskii

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