GNU bug report logs -
#31518
[PATCH 10/21] gnu: emacs-google-translate: New variable.
Previous Next
Reported by: Pierre Neidhardt <ambrevar <at> gmail.com>
Date: Fri, 18 May 2018 18:50:20 UTC
Severity: normal
Tags: patch
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31518 in the body.
You can then email your comments to 31518 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#31518
; Package
guix-patches
.
(Fri, 18 May 2018 18:50:21 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Pierre Neidhardt <ambrevar <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 18 May 2018 18:50:21 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs.scm (emacs-google-translate): New variable.
---
gnu/packages/emacs.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 6fb11a0a3..ce5f9bdb8 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -10714,3 +10714,40 @@ A screenshot is taken for every user action. Call
@code{gif-screencast-stop} (<f9> by default) to finish recording and create
the GIF result.")
(license license:gpl3+)))
+
+(define-public emacs-google-translate
+ (package
+ (name "emacs-google-translate")
+ (version "20170713.119")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://melpa.org/packages/google-translate-"
+ version
+ ".tar"))
+ (sha256
+ (base32
+ "19v9xajksn0idq31jy3spcgajvqpab73bs2gcfgri2q882l0xyg0"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/atykhonov/google-translate")
+ (synopsis "Emacs interface to Google Translate")
+ (description
+ "Setup:
+@code{
+(require 'google-translate)
+(require 'google-translate-default-ui)
+(global-set-key \"\\C-ct\" 'google-translate-at-point)
+(global-set-key \"\\C-cT\" 'google-translate-query-translate)}
+
+or
+
+@code{(require 'google-translate)
+(require 'google-translate-smooth-ui)
+(global-set-key \"\\C-ct\" 'google-translate-smooth-translate)}
+
+The difference between these configurations is in UI which will be used:
+Default UI or Smooth UI. Please read the source of
+@code{google-translate-default-ui.el} and @code{google-translate-smooth-ui.el}
+for more details.")
+ (license license:gpl3+)))
--
2.17.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31518
; Package
guix-patches
.
(Fri, 01 Jun 2018 07:52:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 31518 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs.scm (emacs-google-translate): New variable.
---
gnu/packages/emacs.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 8484a31fe..577ef9f99 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -10805,3 +10805,41 @@ A screenshot is taken for every user action. Call
@code{gif-screencast-stop} (<f9> by default) to finish recording and create
the GIF result.")
(license license:gpl3+)))
+
+(define-public emacs-google-translate
+ (let ((commit "d8b84a8359fcc697114d1298840e9a45b111c974"))
+ (package
+ (name "emacs-google-translate")
+ (version (git-version "0.11.14" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/atykhonov/google-translate")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "1qs4hcg1i2m487z50nnwgs0sa2xj4lpgizbrvi2yda0mf3m75fgc"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/atykhonov/google-translate")
+ (synopsis "Emacs interface to Google Translate")
+ (description
+ "Setup:
+@code{
+(require 'google-translate)
+(require 'google-translate-default-ui)
+(global-set-key \"\\C-ct\" 'google-translate-at-point)
+(global-set-key \"\\C-cT\" 'google-translate-query-translate)}
+
+or
+
+@code{(require 'google-translate)
+(require 'google-translate-smooth-ui)
+(global-set-key \"\\C-ct\" 'google-translate-smooth-translate)}
+
+The difference between these configurations is in UI which will be used:
+Default UI or Smooth UI. Please read the source of
+@code{google-translate-default-ui.el} and @code{google-translate-smooth-ui.el}
+for more details.")
+ (license license:gpl3+))))
--
2.17.0
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Fri, 08 Jun 2018 14:50:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Pierre Neidhardt <ambrevar <at> gmail.com>
:
bug acknowledged by developer.
(Fri, 08 Jun 2018 14:50:03 GMT)
Full text and
rfc822 format available.
Message #13 received at 31518-done <at> debbugs.gnu.org (full text, mbox):
Hi Pierre,
Pierre Neidhardt <ambrevar <at> gmail.com> skribis:
> * gnu/packages/emacs.scm (emacs-google-translate): New variable.
[...]
> + (home-page "https://github.com/atykhonov/google-translate")
> + (synopsis "Emacs interface to Google Translate")
> + (description
> + "Setup:
> +@code{
> +(require 'google-translate)
> +(require 'google-translate-default-ui)
> +(global-set-key \"\\C-ct\" 'google-translate-at-point)
> +(global-set-key \"\\C-cT\" 'google-translate-query-translate)}
> +
> +or
> +
> +@code{(require 'google-translate)
> +(require 'google-translate-smooth-ui)
> +(global-set-key \"\\C-ct\" 'google-translate-smooth-translate)}
> +
> +The difference between these configurations is in UI which will be used:
> +Default UI or Smooth UI. Please read the source of
> +@code{google-translate-default-ui.el} and @code{google-translate-smooth-ui.el}
> +for more details.")
> + (license license:gpl3+))))
Applied but I removed the documentation: I don’t think it’s the right
place to document the package. Also, note that @code is for inline code
snippets; use @example for multi-line snippets.
Thanks,
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 07 Jul 2018 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 77 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.