From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Marcin Borkowski <mbork@mbork.pl>
Newsgroups: gmane.emacs.help
Subject: Re: getting started with the `hydra' package from GNU Elpa -- fail
	with simplest example
Date: Mon, 18 Sep 2017 06:19:53 +0200
Message-ID: <87r2v4eiza.fsf@jane>
References: <87lgldt7vw.fsf@moondust.localdomain>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: blaine.gmane.org 1505708448 23148 195.159.176.226 (18 Sep 2017 04:20:48 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Mon, 18 Sep 2017 04:20:48 +0000 (UTC)
User-Agent: mu4e 0.9.19; emacs 26.0.50
Cc: help-gnu-emacs@gnu.org
To: "N. Jackson" <nljlistbox2@gmail.com>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 18 06:20:43 2017
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geh-help-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1dtnY0-0005kj-TR
	for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Sep 2017 06:20:41 +0200
Original-Received: from localhost ([::1]:34582 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1dtnY7-0008Lo-TI
	for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Sep 2017 00:20:47 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56285)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mbork@mbork.pl>) id 1dtnXd-0008LP-TT
	for help-gnu-emacs@gnu.org; Mon, 18 Sep 2017 00:20:18 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mbork@mbork.pl>) id 1dtnXa-0000Xk-PI
	for help-gnu-emacs@gnu.org; Mon, 18 Sep 2017 00:20:17 -0400
Original-Received: from mail.mojserwer.eu ([195.110.48.8]:54346)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mbork@mbork.pl>) id 1dtnXa-0000TO-Hg
	for help-gnu-emacs@gnu.org; Mon, 18 Sep 2017 00:20:14 -0400
Original-Received: from localhost (localhost [127.0.0.1])
	by mail.mojserwer.eu (Postfix) with ESMTP id A8A42E6ADE;
	Mon, 18 Sep 2017 06:20:07 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu
Original-Received: from mail.mojserwer.eu ([127.0.0.1])
	by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id qarGe8eIrRSQ; Mon, 18 Sep 2017 06:20:01 +0200 (CEST)
Original-Received: from localhost (static-dwadziewiec-jedenpiec7.echostar.pl
	[109.232.29.157])
	by mail.mojserwer.eu (Postfix) with ESMTPSA id 1C7FBE603C;
	Mon, 18 Sep 2017 06:20:01 +0200 (CEST)
In-reply-to: <87lgldt7vw.fsf@moondust.localdomain>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 195.110.48.8
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs/>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "help-gnu-emacs"
	<help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.help:114297
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/114297>


On 2017-09-17, at 21:58, N. Jackson <nljlistbox2@gmail.com> wrote:

> Any help or pointers would be much appreciated.

I do not know how the `global-key' option is supposed to work, but did
you try just saying

(global-set-key (kbd "<f2>") 'hydra-zoom/body)

instead of `global-key' after the hydra is defined?

Best,

-- 
Marcin Borkowski