unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Request to include a couple of packages in GNU ELPA
@ 2024-02-03 12:36 Rahguzar
  2024-02-03 22:11 ` Stefan Kangas
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Rahguzar @ 2024-02-03 12:36 UTC (permalink / raw)
  To: emacs-devel

Dear Emacs developers,

I would like to propose a couple of my packages for inclusion in GNU
ELPA. They are:

1) consult-hoogle: https://codeberg.org/rahguzar/consult-hoogle
It allows the use of hoogle search engine for haskell programming
language from Emacs using the interfaces provided by consult package.

2) filechooser.el: https://codeberg.org/rahguzar/filechooser
It implements the backend D-bus methods for xdg filechooser and can be
used to provide an Emacs based file selection interface for applications
such as web browsers which support using xdg desktop portals for this
purpose.


Please let me know of any suggestions and if I need to change anything.

Thanks,
Rahguzar



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

* Re: Request to include a couple of packages in GNU ELPA
  2024-02-03 12:36 Request to include a couple of packages in GNU ELPA Rahguzar
@ 2024-02-03 22:11 ` Stefan Kangas
  2024-02-03 22:40 ` Stefan Kangas
  2024-02-04  4:45 ` Richard Stallman
  2 siblings, 0 replies; 13+ messages in thread
From: Stefan Kangas @ 2024-02-03 22:11 UTC (permalink / raw)
  To: Rahguzar, emacs-devel; +Cc: Stefan Monnier, Philip Kaludercic

Rahguzar <rahguzar@zohomail.eu> writes:

> Dear Emacs developers,
>
> I would like to propose a couple of my packages for inclusion in GNU
> ELPA. They are:
>
> 1) consult-hoogle: https://codeberg.org/rahguzar/consult-hoogle
> It allows the use of hoogle search engine for haskell programming
> language from Emacs using the interfaces provided by consult package.
>
> 2) filechooser.el: https://codeberg.org/rahguzar/filechooser
> It implements the backend D-bus methods for xdg filechooser and can be
> used to provide an Emacs based file selection interface for applications
> such as web browsers which support using xdg desktop portals for this
> purpose.
>
>
> Please let me know of any suggestions and if I need to change anything.
>
> Thanks,
> Rahguzar

I'm adding the GNU ELPA maintainers to CC.

Thanks for your contributions.



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

* Re: Request to include a couple of packages in GNU ELPA
  2024-02-03 12:36 Request to include a couple of packages in GNU ELPA Rahguzar
  2024-02-03 22:11 ` Stefan Kangas
@ 2024-02-03 22:40 ` Stefan Kangas
  2024-02-04  4:45 ` Richard Stallman
  2 siblings, 0 replies; 13+ messages in thread
From: Stefan Kangas @ 2024-02-03 22:40 UTC (permalink / raw)
  To: Rahguzar, emacs-devel

Moved to Bug#68915: https://debbugs.gnu.org/68915



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

* Re: Request to include a couple of packages in GNU ELPA
  2024-02-03 12:36 Request to include a couple of packages in GNU ELPA Rahguzar
  2024-02-03 22:11 ` Stefan Kangas
  2024-02-03 22:40 ` Stefan Kangas
@ 2024-02-04  4:45 ` Richard Stallman
  2024-02-04  8:42   ` Rahguzar
  2024-02-04  8:56   ` Philip Kaludercic
  2 siblings, 2 replies; 13+ messages in thread
From: Richard Stallman @ 2024-02-04  4:45 UTC (permalink / raw)
  To: Rahguzar; +Cc: emacs-devel

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > 1) consult-hoogle: https://codeberg.org/rahguzar/consult-hoogle
  > It allows the use of hoogle search engine for haskell programming
  > language from Emacs using the interfaces provided by consult package.

I've never heard of hoogle.  What job does this do?
How is hookle related to Haskell?


-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





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

* Re: Request to include a couple of packages in GNU ELPA
  2024-02-04  4:45 ` Richard Stallman
@ 2024-02-04  8:42   ` Rahguzar
  2024-02-07  3:11     ` Richard Stallman
  2024-02-04  8:56   ` Philip Kaludercic
  1 sibling, 1 reply; 13+ messages in thread
From: Rahguzar @ 2024-02-04  8:42 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

Hi Richard,

Richard Stallman <rms@gnu.org> writes:

> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
>   > 1) consult-hoogle: https://codeberg.org/rahguzar/consult-hoogle
>   > It allows the use of hoogle search engine for haskell programming
>   > language from Emacs using the interfaces provided by consult package.
>
> I've never heard of hoogle.  What job does this do?
> How is hookle related to Haskell?

Hoogle is tool to index documentation and type signatures in Haskell
code and use the resulting database to search for functions/type
classes/modules/packages etc. It can do textual search but it can also
do type based search e.g. it can find functions that match a type
signature.

There is web front end available at  https://hoogle.haskell.org/ but the
package consult-hoogle is for using hoogle installed locally from within
Emacs.

Rahguzar



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

* Re: Request to include a couple of packages in GNU ELPA
  2024-02-04  4:45 ` Richard Stallman
  2024-02-04  8:42   ` Rahguzar
@ 2024-02-04  8:56   ` Philip Kaludercic
  1 sibling, 0 replies; 13+ messages in thread
From: Philip Kaludercic @ 2024-02-04  8:56 UTC (permalink / raw)
  To: Richard Stallman; +Cc: Rahguzar, emacs-devel

Richard Stallman <rms@gnu.org> writes:

> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
>   > 1) consult-hoogle: https://codeberg.org/rahguzar/consult-hoogle
>   > It allows the use of hoogle search engine for haskell programming
>   > language from Emacs using the interfaces provided by consult package.
>
> I've never heard of hoogle.  What job does this do?
> How is hookle related to Haskell?

Hoogle (https://hoogle.haskell.org/) lets Haskell programmers search for
functions by giving their static types, among other queries.  So one
could look for the generic type "(a -> b) -> [a] -> [b]", and different
"map" functions, from both the standard library and third party packages.

-- 
Philip Kaludercic



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

* Re: Request to include a couple of packages in GNU ELPA
  2024-02-04  8:42   ` Rahguzar
@ 2024-02-07  3:11     ` Richard Stallman
  2024-02-07  8:29       ` Philip Kaludercic
  0 siblings, 1 reply; 13+ messages in thread
From: Richard Stallman @ 2024-02-07  3:11 UTC (permalink / raw)
  To: Rahguzar; +Cc: emacs-devel

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

Thanks for explaining.  Hoogle sounds like a useful took, for Haskell
users.  What is the license of Hoogle?

  > There is web front end available at  https://hoogle.haskell.org/ but the
  > package consult-hoogle is for using hoogle installed locally from within
  > Emacs.

Yes, that is the right way to do it.  Using someone else's sevrer
to index code you have on your machine is bad for your freedom --
see https://gnu.org/philosophy/who-does-that-server-really-serve.html.
Running Hoogle on your own machine (assuming Hoogle is free software)
is the way that respects freedom.
 
-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





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

* Re: Request to include a couple of packages in GNU ELPA
  2024-02-07  3:11     ` Richard Stallman
@ 2024-02-07  8:29       ` Philip Kaludercic
  2024-02-10  3:55         ` Richard Stallman
  0 siblings, 1 reply; 13+ messages in thread
From: Philip Kaludercic @ 2024-02-07  8:29 UTC (permalink / raw)
  To: Richard Stallman; +Cc: Rahguzar, emacs-devel

Richard Stallman <rms@gnu.org> writes:

> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> Thanks for explaining.  Hoogle sounds like a useful took, for Haskell
> users.  What is the license of Hoogle?

Hoogle is a service, the source code behind the service seems to be
published under a BSD-3 license (?)

https://github.com/ndmitchell/hoogle?tab=License-1-ov-file#readme

>   > There is web front end available at  https://hoogle.haskell.org/ but the
>   > package consult-hoogle is for using hoogle installed locally from within
>   > Emacs.
>
> Yes, that is the right way to do it.  Using someone else's sevrer
> to index code you have on your machine is bad for your freedom --
> see https://gnu.org/philosophy/who-does-that-server-really-serve.html.
> Running Hoogle on your own machine (assuming Hoogle is free software)
> is the way that respects freedom.

The service they provide is having indexed a lot of haskell libraries,
more than most people want to have installed on their own machines.
That is why they refer to themselves as a search engine, because they
provide a discovery feature.



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

* Re: Request to include a couple of packages in GNU ELPA
  2024-02-07  8:29       ` Philip Kaludercic
@ 2024-02-10  3:55         ` Richard Stallman
  2024-02-10  9:11           ` Rahguzar
  2024-02-10 11:06           ` Stefan Kangas
  0 siblings, 2 replies; 13+ messages in thread
From: Richard Stallman @ 2024-02-10  3:55 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: rahguzar, emacs-devel, rms

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > The service they provide is having indexed a lot of haskell libraries,
  > more than most people want to have installed on their own machines.
  > That is why they refer to themselves as a search engine, because they
  > provide a discovery feature.

To use their service as a search engine for other people's code makes
some sense, and it's fine.

But do they also invite you to send your own private code to be
indexed, then subsequently use their server to search for things in
your own code?  That would be SaaSS!

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





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

* Re: Request to include a couple of packages in GNU ELPA
  2024-02-10  3:55         ` Richard Stallman
@ 2024-02-10  9:11           ` Rahguzar
  2024-02-10 15:49             ` Philip Kaludercic
  2024-02-10 11:06           ` Stefan Kangas
  1 sibling, 1 reply; 13+ messages in thread
From: Rahguzar @ 2024-02-10  9:11 UTC (permalink / raw)
  To: rms; +Cc: Philip Kaludercic, emacs-devel


Richard Stallman <rms@gnu.org> writes:

> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
>   > The service they provide is having indexed a lot of haskell libraries,
>   > more than most people want to have installed on their own machines.
>   > That is why they refer to themselves as a search engine, because they
>   > provide a discovery feature.
>
> To use their service as a search engine for other people's code makes
> some sense, and it's fine.
>
> But do they also invite you to send your own private code to be
> indexed, then subsequently use their server to search for things in
> your own code?  That would be SaaSS!

As far as I know, the service only indexes code available on standard
haskell repository https://hackage.haskell.org/ and it is not possible
to use it for private code.



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

* Re: Request to include a couple of packages in GNU ELPA
  2024-02-10  3:55         ` Richard Stallman
  2024-02-10  9:11           ` Rahguzar
@ 2024-02-10 11:06           ` Stefan Kangas
  2024-02-12  2:55             ` Richard Stallman
  1 sibling, 1 reply; 13+ messages in thread
From: Stefan Kangas @ 2024-02-10 11:06 UTC (permalink / raw)
  To: Richard Stallman, Philip Kaludercic; +Cc: rahguzar, emacs-devel

Richard Stallman <rms@gnu.org> writes:

> But do they also invite you to send your own private code to be
> indexed, then subsequently use their server to search for things in
> your own code?

They don't.



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

* Re: Request to include a couple of packages in GNU ELPA
  2024-02-10  9:11           ` Rahguzar
@ 2024-02-10 15:49             ` Philip Kaludercic
  0 siblings, 0 replies; 13+ messages in thread
From: Philip Kaludercic @ 2024-02-10 15:49 UTC (permalink / raw)
  To: Rahguzar; +Cc: rms, emacs-devel

Rahguzar <rahguzar@zohomail.eu> writes:

> Richard Stallman <rms@gnu.org> writes:
>
>> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
>> [[[ whether defending the US Constitution against all enemies,     ]]]
>> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>>
>>   > The service they provide is having indexed a lot of haskell libraries,
>>   > more than most people want to have installed on their own machines.
>>   > That is why they refer to themselves as a search engine, because they
>>   > provide a discovery feature.
>>
>> To use their service as a search engine for other people's code makes
>> some sense, and it's fine.
>>
>> But do they also invite you to send your own private code to be
>> indexed, then subsequently use their server to search for things in
>> your own code?  That would be SaaSS!
>
> As far as I know, the service only indexes code available on standard
> haskell repository https://hackage.haskell.org/ and it is not possible
> to use it for private code.

It is, and they document how to do it:

https://raw.githubusercontent.com/ndmitchell/hoogle/master/docs/Install.md

From what I see, it shouldn't be SaaSS, as it can be used offline.  As
such it would be nice if a hoogle package for Emacs could support this
mode of operation as well.

-- 
Philip Kaludercic



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

* Re: Request to include a couple of packages in GNU ELPA
  2024-02-10 11:06           ` Stefan Kangas
@ 2024-02-12  2:55             ` Richard Stallman
  0 siblings, 0 replies; 13+ messages in thread
From: Richard Stallman @ 2024-02-12  2:55 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: philipk, rahguzar, emacs-devel

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > But do they also invite you to send your own private code to be
  > > indexed, then subsequently use their server to search for things in
  > > your own code?

  > They don't.

That is a relief.  Thanks.

Whenever people talk about software that communicaes with a "service",
and don't say clearly clear whether that service is SaaSS or not, I
worry that it may be SaaSS.  We should not promote SaaSS, so it is
important to check this, but I don't know whether the other people
here are thinking about that issue.

I would love to be confident that the rest of you will not let that
issue slip by.  Then I would not need to worry about it.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





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

end of thread, other threads:[~2024-02-12  2:55 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-03 12:36 Request to include a couple of packages in GNU ELPA Rahguzar
2024-02-03 22:11 ` Stefan Kangas
2024-02-03 22:40 ` Stefan Kangas
2024-02-04  4:45 ` Richard Stallman
2024-02-04  8:42   ` Rahguzar
2024-02-07  3:11     ` Richard Stallman
2024-02-07  8:29       ` Philip Kaludercic
2024-02-10  3:55         ` Richard Stallman
2024-02-10  9:11           ` Rahguzar
2024-02-10 15:49             ` Philip Kaludercic
2024-02-10 11:06           ` Stefan Kangas
2024-02-12  2:55             ` Richard Stallman
2024-02-04  8:56   ` Philip Kaludercic

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