unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46458] [PATCH] gnu: emacs-company: Update to 0.9.13-0.5c25e11.
@ 2021-02-12  6:36 Noah Evans via Guix-patches via
  2021-02-12 16:31 ` Michael Rohleder
  0 siblings, 1 reply; 3+ messages in thread
From: Noah Evans via Guix-patches via @ 2021-02-12  6:36 UTC (permalink / raw)
  To: 46458

[-- Attachment #1: Type: text/plain, Size: 2406 bytes --]

The version of emacs-evil-collection in guix relies on the company-tng-mode, which isn't in the most recent release of emacs-company, so I'm submitting this patch to bump emacs-company to the latest git commit.

From 28e2b3fbf46684ce8b3b53cf59b1495d9e162b97 Mon Sep 17 00:00:00 2001
From: Noah Evans <noah@nevans.me>
Date: Fri, 12 Feb 2021 01:21:22 -0500
Subject: [PATCH] gnu: emacs-company: Update to 0.9.13-0.5c25e11.

---
gnu/packages/emacs-xyz.scm | 39 ++++++++++++++++++++++----------------
1 file changed, 23 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a89568f43d..dab8e870c4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5225,25 +5225,32 @@ build jobs.")
(license license:gpl3+)))

(define-public emacs-company
- (package
- (name "emacs-company")
- (version "0.9.13")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://elpa.gnu.org/packages/"
- "company-" version ".tar"))
- (sha256
- (base32 "1c9x9wlzzsn7vrsm57l2l44nqx455saa6wrm853szzg09qn8dlnw"))))
- (build-system emacs-build-system)
- (home-page "https://company-mode.github.io/")
- (synopsis "Modular text completion framework")
- (description
- "Company is a modular completion mechanism. Modules for retrieving
+ ;; 0.9.13 is almost a year old and is incompatible with
+ ;; emacs-evil-collection
+ (let ((commit "5c25e114c3ac1bee3671abd47f46592a3151d549")
+ (revision "0"))
+ (package
+ (name "emacs-company")
+ (version (git-version "0.9.13" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/company-mode/company-mode")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0y6gqc9w4zw1048hlyx0l46gcngbyrmdvzk30flwfphg1ancmcrj"))))
+ (build-system emacs-build-system)
+ (home-page "https://company-mode.github.io/")
+ (synopsis "Modular text completion framework")
+ (description
+ "Company is a modular completion mechanism. Modules for retrieving
completion candidates are called back-ends, modules for displaying them are
front-ends. Company comes with many back-ends, e.g., @code{company-elisp}.
These are distributed in separate files and can be used individually.")
- (license license:gpl3+)))
+ (license license:gpl3+))))

(define-public emacs-company-box
;; There is no release yet. Version is extracted from the main
--
2.30.0

[-- Attachment #2: Type: text/html, Size: 5029 bytes --]

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

* [bug#46458] [PATCH] gnu: emacs-company: Update to 0.9.13-0.5c25e11.
  2021-02-12  6:36 [bug#46458] [PATCH] gnu: emacs-company: Update to 0.9.13-0.5c25e11 Noah Evans via Guix-patches via
@ 2021-02-12 16:31 ` Michael Rohleder
  2021-02-15 10:30   ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Rohleder @ 2021-02-12 16:31 UTC (permalink / raw)
  To: 46458; +Cc: Noah Evans

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]

Hey Noah,

Noah Evans via Guix-patches via <guix-patches@gnu.org> writes:
> The version of emacs-evil-collection in guix relies on the
> company-tng-mode, which isn't in the most recent release of
> emacs-company, so I'm submitting this patch to bump emacs-company to
> the latest git commit.

I noticed that too, but the check (and error) could also be avoided with
(setq evil-collection-company-use-tng nil)
before loading company.

-- 
Man kann nicht nicht kommunizieren. - Paul Watzlawick

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]

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

* [bug#46458] [PATCH] gnu: emacs-company: Update to 0.9.13-0.5c25e11.
  2021-02-12 16:31 ` Michael Rohleder
@ 2021-02-15 10:30   ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2021-02-15 10:30 UTC (permalink / raw)
  To: Michael Rohleder; +Cc: Noah Evans, 46458

Hello,

Michael Rohleder <mike@rohleder.de> writes:

> I noticed that too, but the check (and error) could also be avoided with
> (setq evil-collection-company-use-tng nil)
> before loading company.

So, what is the way forward? I admit I'm a bit reluctant to move Company
out of GNU ELPA repository because it makes easier updates.

WDYT?

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2021-02-15 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12  6:36 [bug#46458] [PATCH] gnu: emacs-company: Update to 0.9.13-0.5c25e11 Noah Evans via Guix-patches via
2021-02-12 16:31 ` Michael Rohleder
2021-02-15 10:30   ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.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).