unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#28830] [PATCH] gnu: Add emacs-ggtags.
@ 2017-10-14  9:04 Oleg Pykhalov
  2017-10-16  5:51 ` Christopher Baines
  0 siblings, 1 reply; 6+ messages in thread
From: Oleg Pykhalov @ 2017-10-14  9:04 UTC (permalink / raw)
  To: 28830

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: [PATCH] gnu: Add emacs-ggtags. --]
[-- Type: text/x-patch, Size: 2509 bytes --]

From bcd267046dc0ab8e87356519d3e3c60a96f7d5a4 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust@gmail.com>
Date: Sat, 14 Oct 2017 12:03:23 +0300
Subject: [PATCH] gnu: Add emacs-ggtags.

* gnu/packages/emacs.scm (emacs-ggtags): New variable.
---
 gnu/packages/emacs.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 66f0a2ebe..62338e998 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1206,6 +1206,51 @@ Using emacs-direnv means that programs started from Emacs will use the
 environment set through Direnv.")
     (license license:gpl3+)))
 
+(define-public emacs-ggtags
+  (package
+    (name "emacs-ggtags")
+    (version "0.8.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://elpa.gnu.org/packages/ggtags-"
+                           version ".el"))
+       (sha256
+        (base32
+         "0ny3llk021g6r0s75xdm4hzpbxv393ddm2r6f2xdk8kqnq4gnirp"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/leoliu/ggtags")
+    (synopsis "Frontend to GNU Global source code tagging system")
+    (description "@code{ggtags} provides a frontend to GNU Global source code
+tagging system.
+
+Features:
+
+@itemize
+@item Build on @code{compile.el} for asynchronicity and its large feature-set.
+@item Automatically update Global's tag files when needed with tuning for
+large source trees.
+@item Intuitive navigation among multiple matches with mode-line display of
+current match, total matches and exit status.
+@item Read tag with completion.
+@item Show definition at point.
+@item Jump to #include files.
+@item Support search history and saving a search to register/bookmark.
+@item Query replace.
+@item Manage Global's environment variables on a per-project basis.
+@item Highlight (definition) tag at point.
+@item Abbreviated display of file names.
+@item Support all Global search backends: @code{grep}, @code{idutils}, etc.
+@item Support exuberant ctags @url{http://ctags.sourceforge.net/} and
+@code{pygments} backend.
+@item Support all Global's output formats: @code{grep}, @code{ctags-x},
+@code{cscope} etc.
+@item Support projects on remote hosts (e.g. via @code{tramp}).
+@item Support eldoc.
+@item Search @code{GTAGSLIBPATH} for references and symbols.
+@end itemize\n")
+    (license license:gpl3+)))
+
 (define-public emacs-go-mode
   (package
     (name "emacs-go-mode")
-- 
2.14.2

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

* [bug#28830] [PATCH] gnu: Add emacs-ggtags.
  2017-10-14  9:04 [bug#28830] [PATCH] gnu: Add emacs-ggtags Oleg Pykhalov
@ 2017-10-16  5:51 ` Christopher Baines
  2017-10-16 10:22   ` Oleg Pykhalov
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Baines @ 2017-10-16  5:51 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 28830

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

On Sat, 14 Oct 2017 12:04:09 +0300
Oleg Pykhalov <go.wigust@gmail.com> wrote:

> From bcd267046dc0ab8e87356519d3e3c60a96f7d5a4 Mon Sep 17 00:00:00 2001
> From: Oleg Pykhalov <go.wigust@gmail.com>
> Date: Sat, 14 Oct 2017 12:03:23 +0300
> Subject: [PATCH] gnu: Add emacs-ggtags.
> 
> * gnu/packages/emacs.scm (emacs-ggtags): New variable.
> ---
>  gnu/packages/emacs.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 45 insertions(+)
> 
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 66f0a2ebe..62338e998 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -1206,6 +1206,51 @@ Using emacs-direnv means that programs started from Emacs will use the
>  environment set through Direnv.")
>      (license license:gpl3+)))
>  
> +(define-public emacs-ggtags
> +  (package
> +    (name "emacs-ggtags")
> +    (version "0.8.12")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "http://elpa.gnu.org/packages/ggtags-"
> +                           version ".el"))
> +       (sha256
> +        (base32
> +         "0ny3llk021g6r0s75xdm4hzpbxv393ddm2r6f2xdk8kqnq4gnirp"))))
> +    (build-system emacs-build-system)
> +    (home-page "https://github.com/leoliu/ggtags")
> +    (synopsis "Frontend to GNU Global source code tagging system")

I'd suggest putting "the" in here, so "Frontend to the GNU Global ...",
as I think that reads better.

> +    (description "@code{ggtags} provides a frontend to GNU Global source code
> +tagging system.
> +
> +Features:
> +
> +@itemize
> +@item Build on @code{compile.el} for asynchronicity and its large feature-set.
> +@item Automatically update Global's tag files when needed with tuning for
> +large source trees.
> +@item Intuitive navigation among multiple matches with mode-line display of
> +current match, total matches and exit status.
> +@item Read tag with completion.
> +@item Show definition at point.
> +@item Jump to #include files.
> +@item Support search history and saving a search to register/bookmark.
> +@item Query replace.
> +@item Manage Global's environment variables on a per-project basis.
> +@item Highlight (definition) tag at point.
> +@item Abbreviated display of file names.
> +@item Support all Global search backends: @code{grep}, @code{idutils}, etc.
> +@item Support exuberant ctags @url{http://ctags.sourceforge.net/} and
> +@code{pygments} backend.
> +@item Support all Global's output formats: @code{grep}, @code{ctags-x},
> +@code{cscope} etc.
> +@item Support projects on remote hosts (e.g. via @code{tramp}).
> +@item Support eldoc.
> +@item Search @code{GTAGSLIBPATH} for references and symbols.
> +@end itemize\n")
> +    (license license:gpl3+)))
> +
>  (define-public emacs-go-mode
>    (package
>      (name "emacs-go-mode")

Similarly with "the GNU Global" in the description. What do you think?
Apart from that, this looks fine to me :)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

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

* [bug#28830] [PATCH] gnu: Add emacs-ggtags.
  2017-10-16  5:51 ` Christopher Baines
@ 2017-10-16 10:22   ` Oleg Pykhalov
  2017-10-31  8:22     ` Christopher Baines
  0 siblings, 1 reply; 6+ messages in thread
From: Oleg Pykhalov @ 2017-10-16 10:22 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 28830

Hello Christopher,

Christopher Baines <mail@cbaines.net> writes:

[...]

>> +    (synopsis "Frontend to GNU Global source code tagging system")
>
> I'd suggest putting "the" in here, so "Frontend to the GNU Global ...",
> as I think that reads better.

[...]

> Similarly with "the GNU Global" in the description. What do you think?
> Apart from that, this looks fine to me :)

I don't think so.  Upstream¹ doesn't have an article “the” before GNU
Global, too.  WDYT?

¹ http://elpa.gnu.org/packages/ggtags.html

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

* [bug#28830] [PATCH] gnu: Add emacs-ggtags.
  2017-10-16 10:22   ` Oleg Pykhalov
@ 2017-10-31  8:22     ` Christopher Baines
  2017-10-31 17:11       ` bug#28830: " Oleg Pykhalov
  2017-10-31 19:39       ` [bug#28830] " Tobias Geerinckx-Rice
  0 siblings, 2 replies; 6+ messages in thread
From: Christopher Baines @ 2017-10-31  8:22 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 28830

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

On Mon, 16 Oct 2017 13:22:23 +0300
Oleg Pykhalov <go.wigust@gmail.com> wrote:

> Hello Christopher,
> 
> Christopher Baines <mail@cbaines.net> writes:
> 
> [...]
> 
> >> +    (synopsis "Frontend to GNU Global source code tagging system")  
> >
> > I'd suggest putting "the" in here, so "Frontend to the GNU Global ...",
> > as I think that reads better.  
> 
> [...]
> 
> > Similarly with "the GNU Global" in the description. What do you think?
> > Apart from that, this looks fine to me :)  
> 
> I don't think so.  Upstream¹ doesn't have an article “the” before GNU
> Global, too.  WDYT?
> 
> ¹ http://elpa.gnu.org/packages/ggtags.html

I don't think there is any harm in improving on the descriptions of the
software from the upstream source. But I'll leave it up to you to make
the decision.

Unfortunately, I don't have a very formal understanding of English
grammar, but there is some information about definite articles [1].
Which I think says that its appropriate to use as there is one,
specific "GNU Global source code tagging system".

1: https://learnenglish.britishcouncil.org/en/english-grammar/determiners-and-quantifiers/definite-article

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

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

* bug#28830: [PATCH] gnu: Add emacs-ggtags.
  2017-10-31  8:22     ` Christopher Baines
@ 2017-10-31 17:11       ` Oleg Pykhalov
  2017-10-31 19:39       ` [bug#28830] " Tobias Geerinckx-Rice
  1 sibling, 0 replies; 6+ messages in thread
From: Oleg Pykhalov @ 2017-10-31 17:11 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 28830, 28830-done

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

Hello Christopher,

Christopher Baines <mail@cbaines.net> writes:

>> >> +    (synopsis "Frontend to GNU Global source code tagging system")  
>> >
>> > I'd suggest putting "the" in here, so "Frontend to the GNU Global ...",
>> > as I think that reads better.  
>> 
>> [...]
>> 
>> > Similarly with "the GNU Global" in the description. What do you think?
>> > Apart from that, this looks fine to me :)  
>> 
>> I don't think so.  Upstream¹ doesn't have an article “the” before GNU
>> Global, too.  WDYT?
>> 
>> ¹ http://elpa.gnu.org/packages/ggtags.html
>
> I don't think there is any harm in improving on the descriptions of the
> software from the upstream source. But I'll leave it up to you to make
> the decision.
>
> Unfortunately, I don't have a very formal understanding of English
> grammar, but there is some information about definite articles [1].
> Which I think says that its appropriate to use as there is one,
> specific "GNU Global source code tagging system".
>
> 1:
> https://learnenglish.britishcouncil.org/en/english-grammar/determiners-and-quantifiers/definite-article

OK if you fill it's more readable or elegant.

I also checked some installed packages on my system.  It seems common to
use *the* before software name at least in package synopsis.

    Accessing passwords from *the* GNOME keyring  
    Access *the* Debbugs bug tracker in Emacs  
    Adjust *the* color temperature of your screen  
    An implementation of *the* Domain Name System  
    BASH completion for *the* shell buffer  
    Client and server for *the* secure shell (ssh) protocol  
    Commands to start *the* X Window server  
    Copy directory to *the* gh-pages branch  
    Development manual pages from *the* Linux project  
    Discover key bindings for *the* current Emacs major mode  
    Emacs interface for *the* Git version control system  
    Free replacements for *the* PostScript fonts  
    Go to *the* last change in *the* Emacs buffer  
    Grabs *the* path to JSON values in a JSON file  
    Implementation of *the* Perl programming language  
    Lisp dialect running on *the* JVM  
    Locate files on *the* file system  
    Manage encryption keys and passwords in *the* GNOME keyring  
    Polish up poor writing on *the* fly  
    Recursively list *the* contents of a directory  
    Reddit backend for *the* Gnus newsreader  
    Reference manual for *the* C programming language  
    Set *the* keyboard using *the* X Keyboard Extension  
    Single-player, RPG roguelike game set in *the* world of Eyal  
    Suggest Elisp functions that give *the* output requested  
    Terminal emulator for *the* 
    TeX Live, a package of *the* TeX typesetting system  
    *The* extensible, customizable, self-documenting text editor  
    *The* Glasgow Haskell Compiler  
    *The* GNU debugger  
    *The* GNU documentation format  
    *The* OCaml programming language  
    *The* SQLite database management system  
    *The* standard Windows interoperability suite of programs for GNU and Unix  
    Translations from *the* command line  
    Utilities for *the* Advanced Linux Sound Architecture (ALSA)  
    Xorg implementation of *the* X Window System

Pushed as cd5c3979d18ca5bc5d32b9044330453c244df1a5

Thanks,
Oleg.

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

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

* [bug#28830] [PATCH] gnu: Add emacs-ggtags.
  2017-10-31  8:22     ` Christopher Baines
  2017-10-31 17:11       ` bug#28830: " Oleg Pykhalov
@ 2017-10-31 19:39       ` Tobias Geerinckx-Rice
  1 sibling, 0 replies; 6+ messages in thread
From: Tobias Geerinckx-Rice @ 2017-10-31 19:39 UTC (permalink / raw)
  To: mail, go.wigust; +Cc: 28830


[-- Attachment #1.1: Type: text/plain, Size: 862 bytes --]

Hullo,

Oleg Pykhalov wrote:
> Pushed as cd5c3979d18ca5bc5d32b9044330453c244df1a5

Thanks (+ congratulations :-)!

Christopher Baines wrote:
> I don't think there is any harm in improving on the descriptions of the
> software from the upstream source.

Agreed. I'd go further & suggest that in cases like this, where there's
an obvious mistake upstream, we be proactive and fix it. Inelegance is
subjective; this isn't.[0]

Kind regards,

T G-R

---

[0]: it would have been correct to write ‘Frontend to <GNU Global>’.
Adding ‘the’ to it would be wrong, since ‘GNU Global’ is a proper noun.

But writing ‘Frontend to <the> GNU Global tagging <system>’ changes the
structure: the object of ‘to’ is now the word ‘system’ and not ‘GNU
Global’. ‘System‘ isn't a proper noun, so it requires an article.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 248 bytes --]

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

end of thread, other threads:[~2017-10-31 19:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-14  9:04 [bug#28830] [PATCH] gnu: Add emacs-ggtags Oleg Pykhalov
2017-10-16  5:51 ` Christopher Baines
2017-10-16 10:22   ` Oleg Pykhalov
2017-10-31  8:22     ` Christopher Baines
2017-10-31 17:11       ` bug#28830: " Oleg Pykhalov
2017-10-31 19:39       ` [bug#28830] " Tobias Geerinckx-Rice

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