all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: swedebugia <swedebugia@riseup.net>
To: ludo@gnu.org, Pierre Neidhardt <ambrevar@gmail.com>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: 2 ideas (Was: Re: bug#31518: [PATCH 10/21] gnu: Add emacs-google-translate.)
Date: Sat, 09 Jun 2018 11:12:13 +0200	[thread overview]
Message-ID: <8C242137-C737-4814-9367-6C90F5E96CD2@riseup.net> (raw)
In-Reply-To: <87vaatjptt.fsf@gnu.org>

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

Hi

On June 8, 2018 4:49:34 PM GMT+02:00, ludo@gnu.org wrote:
>Hi Pierre,
>
>Pierre Neidhardt <ambrevar@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)}
[...] 
>> +    (license license:gpl3+))))
>
>Applied but I removed the documentation: I don’t think it’s the right
>place to document the package. 

In Arch there is a post-install hook that enables informing the user of additional steps needed to actually use the software as intended. 

I find that useful. Is there a guix alternative? 
If not is this something we should implement? 

Also pacman logs all messages about packages installed to a logfile in /var/log which is very very useful if you missed a message while installing multiple packages and it no longer is in the scrollbuffer or just high up. 

Maybe the need for this is much smaller with Guix because we have no breaking changes that the user must act on as here sometimes is in arch. 

Idea of changing the way we handle emacs add on packages:
----------------------------------------

In the example above we might want to modify the emacs packages to have two .emacs-files in total:
1)
The usual .emacs where the user puts in changes and where we by default load .emacs-guix-packages. 

2)
.emacs-guix-packages where the setup information for add ons installed is automatically added. 
In the example above this would be added to the botten of .emacs-guix-packages:
"(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)"

What do you think?

This would enable us to create an out of the box working emacs experience with loads of add ons that by default do not collide with each other e.g. by cleverly choosing the default key bindings for the add ons.
-- 
Cheers Swedebugia 

[-- Attachment #2: Type: text/html, Size: 35 bytes --]

  reply	other threads:[~2018-06-09  9:51 UTC|newest]

Thread overview: 120+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18 18:48 [bug#31500] [PATCH 19/21] gnu: emacs-image+: New variable Pierre Neidhardt
2018-05-18 18:48 ` [bug#31499] [PATCH 01/21] gnu: emacs-daemons: " Pierre Neidhardt
2018-05-21 20:18   ` Ricardo Wurmus
2018-05-22  8:19     ` Pierre Neidhardt
2018-05-22  8:37       ` Pierre Neidhardt
2018-05-22 10:17         ` bug#31499: " Ricardo Wurmus
2018-05-22  9:17       ` [bug#31499] " Ricardo Wurmus
2018-05-24 16:27         ` Leo Famulari
2018-05-22 10:10   ` Clément Lassieur
2018-05-22 10:18     ` Pierre Neidhardt
2018-05-22 10:44       ` Pierre Neidhardt
2018-05-22 12:58         ` Clément Lassieur
2018-05-18 18:48 ` [bug#31501] [PATCH 17/21] gnu: emacs-helm-mu: " Pierre Neidhardt
2018-06-01  7:54   ` [bug#31501] [PATCH 17/21] gnu: Add emacs-helm-mu Pierre Neidhardt
2018-06-06  9:44   ` Pierre Neidhardt
2018-06-11 12:55     ` bug#31501: " Ludovic Courtès
2018-05-18 18:48 ` [bug#31503] [PATCH 07/21] gnu: emacs-evil-org: New variable Pierre Neidhardt
2018-06-01  7:49   ` [bug#31503] [PATCH 07/21] gnu: Add emacs-evil-org Pierre Neidhardt
2018-06-02 13:55     ` bug#31503: " Ludovic Courtès
2018-05-18 18:48 ` [bug#31502] [PATCH 05/21] gnu: emacs-evil-mu4e: New variable Pierre Neidhardt
2018-06-01  7:49   ` [bug#31502] [PATCH 05/21] gnu: Add emacs-evil-mu4e Pierre Neidhardt
2018-06-02 13:51     ` bug#31502: " Ludovic Courtès
2018-05-18 18:48 ` [bug#31504] [PATCH 14/21] gnu: emacs-helm-exwm: New variable Pierre Neidhardt
2018-06-01  7:53   ` [bug#31504] [PATCH 14/21] gnu: Add emacs-helm-exwm Pierre Neidhardt
2018-06-01  7:54   ` [bug#31504] [PATCH 18/21] gnu: Add emacs-helm-pass Pierre Neidhardt
2018-06-01  7:58     ` Pierre Neidhardt
2018-06-06  9:43   ` [bug#31504] [PATCH 14/21] gnu: Add emacs-helm-exwm Pierre Neidhardt
2018-06-08 14:59     ` bug#31504: " Ludovic Courtès
2018-05-18 18:48 ` [bug#31505] [PATCH 18/21] gnu: emacs-helm-pass: New variable Pierre Neidhardt
2018-06-01  7:54   ` [bug#31505] [PATCH 18/21] gnu: Add emacs-helm-pass Pierre Neidhardt
2018-06-06  9:45   ` Pierre Neidhardt
2018-06-11 13:00     ` bug#31505: " Ludovic Courtès
2018-05-18 18:48 ` [bug#31506] [PATCH 13/21] gnu: emacs-helm-emms: New variable Pierre Neidhardt
2018-06-01  7:52   ` [bug#31506] [PATCH 13/21] gnu: Add emacs-helm-emms Pierre Neidhardt
2018-06-08 14:57     ` bug#31506: " Ludovic Courtès
2018-05-18 18:48 ` [bug#31507] [PATCH 04/21] gnu: emacs-evil-magit: New variable Pierre Neidhardt
2018-06-01  7:48   ` [bug#31507] [PATCH 04/21] gnu: Add emacs-evil-magit Pierre Neidhardt
2018-06-02 13:49     ` bug#31507: " Ludovic Courtès
2018-05-18 18:48 ` [bug#31508] [PATCH 21/21] gnu: emacs-wgrep-helm: New variable Pierre Neidhardt
2018-06-01  7:56   ` [bug#31508] [PATCH 21/21] gnu: Add Add emacs-wgrep-helm Pierre Neidhardt
2018-06-11 13:20     ` bug#31508: " Ludovic Courtès
2018-05-18 18:49 ` [bug#31509] [PATCH 03/21] gnu: emacs-evil-ediff: New variable Pierre Neidhardt
2018-05-31 15:47   ` bug#31509: " Ludovic Courtès
2018-05-31 15:53   ` [bug#31509] " Ludovic Courtès
2018-05-31 15:57     ` Pierre Neidhardt
2018-06-01  7:59       ` Pierre Neidhardt
2018-06-01 12:13       ` Ludovic Courtès
2018-06-01 13:52         ` Pierre Neidhardt
2018-06-01  7:44   ` [bug#31509] [PATCH 03/21] gnu: Add emacs-evil-ediff Pierre Neidhardt
2018-06-02 13:47     ` bug#31509: " Ludovic Courtès
2018-05-18 18:49 ` [bug#31510] [PATCH 16/21] gnu: emacs-helm-ls-git: New variable Pierre Neidhardt
2018-06-01  7:53   ` [bug#31510] [PATCH 16/21] gnu: Add emacs-helm-ls-git Pierre Neidhardt
2018-06-11 12:50     ` bug#31510: " Ludovic Courtès
2018-05-18 18:49 ` [bug#31511] [PATCH 20/21] gnu: emacs-package-lint: New variable Pierre Neidhardt
2018-06-01  7:55   ` [bug#31511] [PATCH 20/21] gnu: Add emacs-package-lint Pierre Neidhardt
2018-06-11 13:17     ` Ludovic Courtès
2018-05-18 18:49 ` [bug#31512] [PATCH 11/21] gnu: emacs-helm-company: New variable Pierre Neidhardt
2018-06-01  7:51   ` [bug#31512] [PATCH 11/21] gnu: Add emacs-helm-company Pierre Neidhardt
2018-06-08 14:53     ` bug#31512: " Ludovic Courtès
2018-05-18 18:49 ` [bug#31513] [PATCH 15/21] gnu: emacs-helm-flycheck: New variable Pierre Neidhardt
2018-06-01  7:53   ` [bug#31513] [PATCH 15/21] gnu: Add emacs-helm-flycheck Pierre Neidhardt
2018-06-08 15:01     ` bug#31513: " Ludovic Courtès
2018-05-18 18:49 ` [bug#31514] [PATCH 09/21] gnu: emacs-gif-screencast: New variable Pierre Neidhardt
2018-06-01  7:50   ` [bug#31514] [PATCH 09/21] gnu: Add emacs-gif-screencast Pierre Neidhardt
2018-06-02 14:02     ` Ludovic Courtès
2018-06-02 16:53       ` Pierre Neidhardt
2018-06-02 20:41         ` Ludovic Courtès
2018-06-06  9:46           ` Pierre Neidhardt
2018-06-06  9:38   ` Pierre Neidhardt
2018-06-08 14:40     ` bug#31514: " Ludovic Courtès
2018-05-18 18:49 ` [bug#31515] [PATCH 12/21] gnu: emacs-helm-descbinds: New variable Pierre Neidhardt
2018-06-01  7:52   ` [bug#31515] [PATCH 12/21] gnu: Add emacs-helm-descbinds Pierre Neidhardt
2018-05-18 18:49 ` [bug#31516] [PATCH 06/21] gnu: emacs-evil-multiedit: New variable Pierre Neidhardt
2018-06-01  7:49   ` [bug#31516] [PATCH 06/21] gnu: Add emacs-evil-multiedit Pierre Neidhardt
2018-06-02 13:54     ` bug#31516: " Ludovic Courtès
2018-05-18 18:49 ` [bug#31517] [PATCH 02/21] gnu: emacs-esh-autosuggest: New variable Pierre Neidhardt
2018-05-21 20:19   ` Ricardo Wurmus
2018-05-22  8:38     ` Pierre Neidhardt
2018-05-22 12:59       ` bug#31517: " Ricardo Wurmus
2018-05-18 18:49 ` [bug#31519] [PATCH 08/21] gnu: emacs-fish-completion: " Pierre Neidhardt
2018-06-01  7:50   ` [bug#31519] [PATCH 08/21] gnu: Add emacs-fish-completion Pierre Neidhardt
2018-06-02 13:59     ` bug#31519: " Ludovic Courtès
2018-05-18 18:49 ` [bug#31518] [PATCH 10/21] gnu: emacs-google-translate: New variable Pierre Neidhardt
2018-06-01  7:51   ` [bug#31518] [PATCH 10/21] gnu: Add emacs-google-translate Pierre Neidhardt
2018-06-08 14:49     ` bug#31518: " Ludovic Courtès
2018-06-09  9:12       ` swedebugia [this message]
2018-06-09 11:17         ` 2 ideas (Was: Re: bug#31518: [PATCH 10/21] gnu: Add emacs-google-translate.) Nils Gillmann
2018-06-10  7:19           ` 2 ideas Chris Marusich
2018-06-10  9:54             ` Pierre Neidhardt
2018-06-10 11:26               ` Thorsten Wilms
2018-06-10 11:45                 ` Gábor Boskovits
2018-06-10 11:35           ` 2 ideas (Was: Re: bug#31518: [PATCH 10/21] gnu: Add emacs-google-translate.) Ricardo Wurmus
2018-06-10 13:42             ` swedebugia
2018-06-10 14:16               ` Nils Gillmann
2018-06-11  5:18             ` 2 ideas Chris Marusich
2018-06-11  7:40               ` Nils Gillmann
2018-05-22 10:41 ` [bug#31500] [PATCH 01/20] gnu: Add emacs-esh-autosuggest Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 02/20] gnu: Add emacs-evil-ediff Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 03/20] gnu: Add emacs-evil-magit Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 04/20] gnu: Add emacs-evil-mu4e Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 05/20] gnu: Add emacs-evil-multiedit Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 06/20] gnu: Add emacs-evil-org Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 07/20] gnu: Add emacs-fish-completion Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 08/20] gnu: Add emacs-gif-screencast Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 09/20] gnu: Add emacs-google-translate Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 10/20] gnu: Add emacs-helm-company Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 11/20] gnu: Add emacs-helm-descbinds Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 12/20] gnu: Add emacs-helm-emms Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 13/20] gnu: Add emacs-helm-exwm Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 14/20] gnu: Add emacs-helm-flycheck Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 15/20] gnu: Add emacs-helm-ls-git Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 16/20] gnu: Add emacs-helm-mu Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 17/20] gnu: Add emacs-helm-pass Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 18/20] gnu: Add emacs-image+ Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 19/20] gnu: Add emacs-package-lint Pierre Neidhardt
2018-05-22 10:41   ` [bug#31500] [PATCH 20/20] gnu: Add Add emacs-wgrep-helm Pierre Neidhardt
2018-05-22 12:56     ` Clément Lassieur
2018-05-22 14:21       ` [bug#31553] " Pierre Neidhardt
2018-06-01  7:55 ` [bug#31500] [PATCH 19/21] gnu: Add emacs-image+ Pierre Neidhardt
2018-06-11 13:15   ` bug#31500: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8C242137-C737-4814-9367-6C90F5E96CD2@riseup.net \
    --to=swedebugia@riseup.net \
    --cc=ambrevar@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.