unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [nongnu] main 823df3487e: * elpa-packages (pacmacs): New package
       [not found] ` <20220107020544.0DE37C0DA1A@vcs2.savannah.gnu.org>
@ 2022-01-08 16:44   ` Philip Kaludercic
  2022-01-08 17:45     ` Stefan Kangas
  0 siblings, 1 reply; 2+ messages in thread
From: Philip Kaludercic @ 2022-01-08 16:44 UTC (permalink / raw)
  To: emacs-devel; +Cc: Stefan Kangas

Stefan Kangas <stefankangas@gmail.com> writes:

> branch: main
> commit 823df3487e89663484191ff5b23b327468efb683
> Author: Stefan Kangas <stefan@marxist.se>
> Commit: Stefan Kangas <stefan@marxist.se>
>
>     * elpa-packages (pacmacs): New package

This package appears to depend on f.el.  The dependency or the package
should be removed so that the package isn't marked as incompatible.

It shouldn't be hard, if this quick grep is right:

--8<---------------cut here---------------start------------->8---
viero$ grep -r -F '(f-'
tools/pacmacs-rr.el:  (-> (f-read-text filename)
tools/compile.el:                                             (and (f-file? path)
tools/compile.el:                                                  (f-ext? path "el"))))
tools/att.el:  (f-write (format "Average Tick Time: %fms" (pacmacs--average-tick-time))
pacmacs-score.el:         (f-read-text)
Binary file .git/objects/pack/pack-f85e046b5df6f330c64cf410e834049e8504c417.pack matches
pacmacs.el:  (let* ((lines (split-string (f-read-text map-file-name)
--8<---------------cut here---------------end--------------->8---

Ie. two invocations of f-read-text.

> ---
>  elpa-packages | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/elpa-packages b/elpa-packages
> index e956eab7d8..1bcd7bdde1 100644
> --- a/elpa-packages
> +++ b/elpa-packages
> @@ -297,6 +297,10 @@
>    :readme "README.org"
>    :ignored-files ("LICENSE" ".github" "demos" "tests" "DEMO.org" "sample_image.png"))
>  
> + ("pacmacs"             :url "https://github.com/codingteam/pacmacs.el.git"
> +  :ignored-files ("it-cases" "sprites/src" "test-data" "test" "tools"
> +                  ".travis.yml" "Cask"))
> +
>   ("paredit"		:url "https://mumble.net/~campbell/git/paredit.git"
>    :ignored-files ("COPYING" "check.sh" "genhtml.sh" "test.el"))
>  
>
>

-- 
	Philip Kaludercic



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

* Re: [nongnu] main 823df3487e: * elpa-packages (pacmacs): New package
  2022-01-08 16:44   ` [nongnu] main 823df3487e: * elpa-packages (pacmacs): New package Philip Kaludercic
@ 2022-01-08 17:45     ` Stefan Kangas
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Kangas @ 2022-01-08 17:45 UTC (permalink / raw)
  To: Philip Kaludercic, emacs-devel

Philip Kaludercic <philipk@posteo.net> writes:

> Stefan Kangas <stefankangas@gmail.com> writes:
>
>> branch: main
>> commit 823df3487e89663484191ff5b23b327468efb683
>> Author: Stefan Kangas <stefan@marxist.se>
>> Commit: Stefan Kangas <stefan@marxist.se>
>>
>>     * elpa-packages (pacmacs): New package
>
> This package appears to depend on f.el.  The dependency or the package
> should be removed so that the package isn't marked as incompatible.

Ouch.

> It shouldn't be hard, if this quick grep is right:
>
> --8<---------------cut here---------------start------------->8---
> viero$ grep -r -F '(f-'
> tools/pacmacs-rr.el:  (-> (f-read-text filename)
> tools/compile.el:                                             (and (f-file? path)
> tools/compile.el:                                                  (f-ext? path "el"))))
> tools/att.el:  (f-write (format "Average Tick Time: %fms" (pacmacs--average-tick-time))
> pacmacs-score.el:         (f-read-text)
> Binary file .git/objects/pack/pack-f85e046b5df6f330c64cf410e834049e8504c417.pack matches
> pacmacs.el:  (let* ((lines (split-string (f-read-text map-file-name)
> --8<---------------cut here---------------end--------------->8---
>
> Ie. two invocations of f-read-text.

I'll look into it, thanks.

I find that dependencies on s.el and f.el are sometimes trivial to
remove, but in some cases their functions have subtly different behavior
from the built-in functions that makes it hard to be sure that you're
not introducing bugs in the process.  See e.g.
https://github.com/org-roam/org-roam/pull/2025



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

end of thread, other threads:[~2022-01-08 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <164152114379.3954.5573277592787205027@vcs2.savannah.gnu.org>
     [not found] ` <20220107020544.0DE37C0DA1A@vcs2.savannah.gnu.org>
2022-01-08 16:44   ` [nongnu] main 823df3487e: * elpa-packages (pacmacs): New package Philip Kaludercic
2022-01-08 17:45     ` Stefan Kangas

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