GNU bug report logs - #31518
[PATCH 10/21] gnu: emacs-google-translate: New variable.

Previous Next

Package: guix-patches;

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.

Full log


Message #13 received at 31518-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Pierre Neidhardt <ambrevar <at> gmail.com>
Cc: 31518-done <at> debbugs.gnu.org
Subject: Re: [bug#31518] [PATCH 10/21] gnu: Add emacs-google-translate.
Date: Fri, 08 Jun 2018 16:49:34 +0200
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’.




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.