all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#52279] [PATCH] gnu: Add emacs-cc-mode.
@ 2021-11-26 16:43 Liliana Marie Prikler
  2021-12-04 17:48 ` [bug#52278] " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Liliana Marie Prikler @ 2021-11-26 16:43 UTC (permalink / raw)
  To: 52279, 52278

* gnu/packages/emacs-xyz.scm (emacs-cc-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 865e0b52d9..962696d8ce 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13838,6 +13838,41 @@ (define-public emacs-boon
 reached with the right hand.")
     (license license:gpl3+)))
 
+(define-public emacs-cc-mode
+  (package
+   (name "emacs-cc-mode")
+   (version "5.35")
+   (source
+    (origin
+     (method hg-fetch)
+     (uri (hg-reference
+           (url "http://hg.code.sf.net/p/cc-mode/cc-mode")
+           (changeset
+            (string-append "Release_"
+                           (string-replace-substring version "." "_")))))
+     (file-name (hg-file-name name version))
+     (sha256
+      (base32 "03cvl61baccx57zd62nz2wy4hvij5hl2syg7byaxgrs4c7grr414"))))
+   (build-system emacs-build-system)
+   (arguments
+    '(#:tests? #t
+      #:test-command '("make" "test")
+      #:phases
+      (modify-phases %standard-phases
+        (add-before 'install 'make-info
+          (lambda _
+            (invoke "make" "info"))))))
+   (native-inputs
+    `(("texinfo" ,texinfo)))
+   (home-page "http://cc-mode.sourceforge.net/")
+   (synopsis "Framework for creating major modes for C-style languages")
+   (description
+    "CC Mode is an Emacs and XEmacs mode for editing C and other languages with
+similar syntax; currently C++, Objective-C, Java, CORBA's IDL, Pike, and AWK.
+It's a standard package in both Emacs and XEmacs.  This package provides the
+upstream release rather than the version bundled with Emacs.")
+   (license license:gpl3+)))
+
 (define-public emacs-csharp-mode
   (package
     (name "emacs-csharp-mode")
-- 
2.34.0






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

* [bug#52278] [bug#52279] [PATCH] gnu: Add emacs-cc-mode.
  2021-11-26 16:43 [bug#52279] [PATCH] gnu: Add emacs-cc-mode Liliana Marie Prikler
@ 2021-12-04 17:48 ` Nicolas Goaziou
  2021-12-04 18:28   ` Liliana Marie Prikler
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2021-12-04 17:48 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 52279, 52278

Hello,

Liliana Marie Prikler <liliana.prikler@gmail.com> writes:

> * gnu/packages/emacs-xyz.scm (emacs-cc-mode): New variable.

Thank you.

LGTM, barring one comment below:

> +    "CC Mode is an Emacs and XEmacs mode for editing C and other languages with
> +similar syntax; currently C++, Objective-C, Java, CORBA's IDL, Pike, and AWK.
> +It's a standard package in both Emacs and XEmacs.  This package provides the
> +upstream release rather than the version bundled with Emacs.")

We didn't add the last sentences for other packages in the same
situation (e.g., Tramp, Org…). I think you should remove it.

Regards,
-- 
Nicolas Goaziou




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

* [bug#52279] [PATCH] gnu: Add emacs-cc-mode.
  2021-12-04 17:48 ` [bug#52278] " Nicolas Goaziou
@ 2021-12-04 18:28   ` Liliana Marie Prikler
  0 siblings, 0 replies; 3+ messages in thread
From: Liliana Marie Prikler @ 2021-12-04 18:28 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 52279

Am Samstag, den 04.12.2021, 18:48 +0100 schrieb Nicolas Goaziou:
> Hello,
> 
> Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
> 
> > * gnu/packages/emacs-xyz.scm (emacs-cc-mode): New variable.
> 
> Thank you.
> 
> LGTM, barring one comment below:
> 
> > +    "CC Mode is an Emacs and XEmacs mode for editing C and other
> > languages with
> > +similar syntax; currently C++, Objective-C, Java, CORBA's IDL,
> > Pike, and AWK.
> > +It's a standard package in both Emacs and XEmacs.  This package
> > provides the
> > +upstream release rather than the version bundled with Emacs.")
> 
> We didn't add the last sentences for other packages in the same
> situation (e.g., Tramp, Org…). I think you should remove it.
Thanks for the review, but this was sent in error; the "real" cc-mode
patch was sent as 52127 first (but is identical to this one).  I'll
still push it with that adjustment if there's nothing else, though.

Cheers





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

end of thread, other threads:[~2021-12-04 18:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-26 16:43 [bug#52279] [PATCH] gnu: Add emacs-cc-mode Liliana Marie Prikler
2021-12-04 17:48 ` [bug#52278] " Nicolas Goaziou
2021-12-04 18:28   ` Liliana Marie Prikler

Code repositories for project(s) associated with this external index

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