From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRIiO-0004cz-2H for guix-patches@gnu.org; Fri, 08 Jun 2018 10:50:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRIiJ-0002gc-Bq for guix-patches@gnu.org; Fri, 08 Jun 2018 10:50:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60098) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRIiJ-0002gF-83 for guix-patches@gnu.org; Fri, 08 Jun 2018 10:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fRIiI-0006sL-Ug for guix-patches@gnu.org; Fri, 08 Jun 2018 10:50:02 -0400 Subject: bug#31518: [PATCH 10/21] gnu: Add emacs-google-translate. Resent-To: guix-patches@gnu.org Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180518184910.9987-21-ambrevar@gmail.com> <20180601075112.28494-1-ambrevar@gmail.com> Date: Fri, 08 Jun 2018 16:49:34 +0200 In-Reply-To: <20180601075112.28494-1-ambrevar@gmail.com> (Pierre Neidhardt's message of "Fri, 1 Jun 2018 09:51:12 +0200") Message-ID: <87vaatjptt.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Pierre Neidhardt Cc: 31518-done@debbugs.gnu.org Hi Pierre, Pierre Neidhardt 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=E2=80=99t think it=E2=80=99s= the right place to document the package. Also, note that @code is for inline code snippets; use @example for multi-line snippets. Thanks, Ludo=E2=80=99.