From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs Subject: bug#28550: 25.2; Hydra: First example hydra in the docs doesn't work Date: Sat, 23 Sep 2017 13:21:29 -0400 Message-ID: <87tvzt72li.fsf@moondust.localdomain> References: <87wp4q69lj.fsf@moondust.localdomain> <87k20qh5fr.fsf@web.de> <87vaka4gpi.fsf@moondust.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1506187340 10217 195.159.176.226 (23 Sep 2017 17:22:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Sep 2017 17:22:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: Michael Heerdegen , 28550@debbugs.gnu.org To: Oleh Krehel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 23 19:22:13 2017 Return-path: Envelope-to: geb-bug-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 ) id 1dvo82-00023N-18 for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Sep 2017 19:22:10 +0200 Original-Received: from localhost ([::1]:35606 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvo89-0003n3-G2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Sep 2017 13:22:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvo80-0003mk-9B for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2017 13:22:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvo7v-0008OR-AK for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2017 13:22:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46154) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dvo7v-0008OD-6j for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2017 13:22:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dvo7u-0002K4-FX for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2017 13:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2017 17:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28550 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28550-submit@debbugs.gnu.org id=B28550.15061872988893 (code B ref 28550); Sat, 23 Sep 2017 17:22:01 +0000 Original-Received: (at 28550) by debbugs.gnu.org; 23 Sep 2017 17:21:38 +0000 Original-Received: from localhost ([127.0.0.1]:54835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvo7V-0002JN-Os for submit@debbugs.gnu.org; Sat, 23 Sep 2017 13:21:37 -0400 Original-Received: from mail-it0-f52.google.com ([209.85.214.52]:47946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvo7U-0002JA-Ke for 28550@debbugs.gnu.org; Sat, 23 Sep 2017 13:21:36 -0400 Original-Received: by mail-it0-f52.google.com with SMTP id 85so3857778ith.2 for <28550@debbugs.gnu.org>; Sat, 23 Sep 2017 10:21:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=enLuUzdPFg8lAZhgmn+w0gSRv9w+s7ctTbPkHhF6128=; b=o3lZThzUaS3NbG+8zVEGM5HwC42mgI/6t9Ek1Ubvf0WotmGPy3QDJEKhFGMvAi4zbn J3LKsaShSa7Wkdw/pl0CqSLZiK02DGqWho6Soqe8MuBvZXoVblN1YByrdE4txSsMCnCW Ysy0Gb0CfgDvkngp3tCGCYHkn0WRlrmM8xcVjvQNTETzUGi7u78w8MaiL19zleiFtD+n vpEirkPXBCBXTJBn1l5PJjJqJyRzC4n4ifX38JX4KccZAG/yuWuhop/920/RqTFsnbbn 1t7d+IJw/WJn0NYsG3lKkLlr+ooMCPZWt0+iVTZpfTR6FbaOtMBEXFWUk2kXb8mumtNZ /PRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=enLuUzdPFg8lAZhgmn+w0gSRv9w+s7ctTbPkHhF6128=; b=KgZqQcqsnrVK5sOuQb1td3X6LmVGibIj+IrxlrsaCyYCpyganWSA5skO+bdXf0ECwH du5LOasMEqV+7ENbWft1/lFQ1yhMPYEvj1plQ+4Ydr0EntzTnJcGXskqUqjYaCvrfZfy EdVwMG2o6re+OEq2M//OxJlm3D3GIA1d5E0vJDZ4+i4PVOqu6I6cl6iMdv5osCFC7NF9 FxzRBPClw5TjQ/hampCtFqhKr4r1E62/8tCPYk+lx5RORmXfMcuUGFKqFqDcq50Arsy7 y6HYPycOYm6Q5nLxbyrcgDX92NGnOB10dZIPURTFEMuwFFN2F8UyDSSwAaZSwdVpbqoi S1Aw== X-Gm-Message-State: AHPjjUgwRRu+nB6m2oc4AWd3PXRENspSrrK97zK5K6DnwprP+5LTPFM3 s5PytzsG3mEh95FV0CEE/75aTg== X-Google-Smtp-Source: AOwi7QB53SIRXdmvpq7TGdF8q8UPp+PKZTnHndnSLDbFdIHFztwUPGAXjDQH+GCJoN/WIF0vVFW2xg== X-Received: by 10.36.173.78 with SMTP id a14mr10566334itj.4.1506187290856; Sat, 23 Sep 2017 10:21:30 -0700 (PDT) Original-Received: from moondust.localdomain.nodomain.none ([72.143.113.194]) by smtp.gmail.com with ESMTPSA id r85sm1172861ioi.8.2017.09.23.10.21.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 23 Sep 2017 10:21:30 -0700 (PDT) In-Reply-To: (Oleh Krehel's message of "Sat, 23 Sep 2017 14:56:16 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137304 Archived-At: At 17:54 +0200 on Friday 2017-09-22, Oleh Krehel wrote: > > 1. Remove ~/.emacs.d/elpa/hydra > 2. Start emacs-25.2 -Q > 3. Install hydra > 4. Paste the code you mentioned. At 14:56 +0200 on Saturday 2017-09-23, Oleh Krehel wrote: > > Please try to reproduce with my steps (especially emacs -Q and > remove/reinstall). There's likely no reason for this code to > stop working other than byte-compilation or config bug: it's > worked fine for 2 months without anyone else complaining. Hello Oleh, Thanks for responding. I just tried your steps above, but the problem persists. 1. I checked my ~/.emacs.d/elpa/ directory and saw there the hydra package in ~/.emacs.d/elpa//hydra-0.14.0. 2. I went into the Emacs package manager and deleted the hydra package. 3. I exited Emacs. 4. I checked my ~/.emacs.d/elpa/ directory and the hydra-0.14.0 directory was gone. 5. I ran Emacs -Q. 6. M-x list-packages RET 7. I went to the hydra package in the list and marked it for installation. Then I issued the `x' command to install it. 8. I pasted the hydra body into the scratch buffer: (defhydra hydra-zoom (global-map "") "zoom" ("g" text-scale-increase "in") ("l" text-scale-decrease "out")) 9. I did C-x C-e to evaluate it. 10. I hit F2 to run it. I got the same results as reported in my OP. And, again, (as mentioned in my previous post) running (defhydra hydra-zoom () "zoom" ("g" text-scale-increase "in") ("l" text-scale-decrease "out")) (global-set-key (kbd "") 'hydra-zoom/body) here instead, works fine. > If I can't reproduce it on my side, I can't do much. No, that is perplexing. Is the fact that the overlay (or text properties or whatever it is) that is supposed to colour some of the letters red in the hydra prompt actually gets applied at point in the *scratch* buffer a clue? N.