emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#31518: closed ([PATCH 10/21] gnu: emacs-google-tra


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#31518: closed ([PATCH 10/21] gnu: emacs-google-translate: New variable.)
Date: Fri, 08 Jun 2018 14:50:02 +0000

Your message dated Fri, 08 Jun 2018 16:49:34 +0200
with message-id <address@hidden>
and subject line Re: [bug#31518] [PATCH 10/21] gnu: Add emacs-google-translate.
has caused the debbugs.gnu.org bug report #31518,
regarding [PATCH 10/21] gnu: emacs-google-translate: New variable.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
31518: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31518
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH 10/21] gnu: emacs-google-translate: New variable. Date: Fri, 18 May 2018 20:49:10 +0200
* 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:
address@hidden
+(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
+
address@hidden(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
address@hidden and @code{google-translate-smooth-ui.el}
+for more details.")
+    (license license:gpl3+)))
-- 
2.17.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#31518] [PATCH 10/21] gnu: Add emacs-google-translate. Date: Fri, 08 Jun 2018 16:49:34 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Hi Pierre,

Pierre Neidhardt <address@hidden> 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:
> address@hidden
> +(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
> +
> address@hidden(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
> address@hidden 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’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]