From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7042 invoked by alias); 27 Jun 2015 18:03:20 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35632 Received: (qmail 8176 invoked from network); 27 Jun 2015 18:03:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=UhVPB/EtganvEfzW/fmUfidZJE2tlBVnV+To2NJoC7c=; b=PwvMwwiQcfcJyQ/jMOmILNpFhDVbGDHrM9Jjl0RSLWu6VWArTQA8mEleWl1fTbrCRP 04kQqUapvdqlgVkio8o3e+RUb9KUQ9F6P5LRisBHnmhTWEayrRs2Eo2V2vqDK1dqZ0XF n3sNmIr4ljEuS7YwyUuAWAvMnyvV7rPLBN+P0BsBWGSY1bamEUwjL4APtx0Z5J6HKtdq R6HP9HPmS7L/wRIyg56DfYJ79Mf8rSZ9WhRFZXmHdK5eJUztUZe6qc+sHApaEjl38/P+ /1IrHC6XRRxiMUml5wHKxlfSkOCMT4FJqRvY27p9LoHpeF50nMuziG5D86CNWCohp0+7 wziw== X-Gm-Message-State: ALoCoQlBWM+ugdBraaH3zTHF4TlfA0nU86IgSdtuW1og0aQ0MD/Da5EGVRvTDI7mUjAvlf75Q6tT X-Received: by 10.202.206.202 with SMTP id e193mr6523638oig.132.1435428195225; Sat, 27 Jun 2015 11:03:15 -0700 (PDT) From: Bart Schaefer Message-Id: <150627110311.ZM3603@torch.brasslantern.com> Date: Sat, 27 Jun 2015 11:03:11 -0700 In-Reply-To: <26732.1435387972@thecus.kiddle.eu> Comments: In reply to Oliver Kiddle "reverse-menu-complete" (Jun 27, 8:52am) References: <26732.1435387972@thecus.kiddle.eu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh workers Subject: Re: reverse-menu-complete MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii (Please pardon lengthy context for very short comment below.) On Jun 27, 8:52am, Oliver Kiddle wrote: } } - As a further complication, there is a "reverse_menu" hook which does } the backwards movement. That becomes superfluous but I'm not sure how } much of the hook would need to stay. Is the hook in theory an interface } to third-party modules? } } diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c } index 9f383f4..7fec7c8 100644 } --- a/Src/Zle/compresult.c } +++ b/Src/Zle/compresult.c } @@ -1246,43 +1260,6 @@ do_menucmp(int lst) } unmetafy_line(); } } } } -/**/ } -int } -reverse_menu(UNUSED(Hookdef dummy), UNUSED(void *dummy2)) } -{ [...] } diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c } index f18ad17..81a2395 100644 } --- a/Src/Zle/zle_tricky.c } +++ b/Src/Zle/zle_tricky.c } @@ -345,14 +345,8 @@ mod_export int } reversemenucomplete(char **args) } { } wouldinstab = 0; } + zmult = -zmult; } + menucomplete(args); } } runhookdef(REVERSEMENUHOOK, NULL); } return 0; So what does the REVERSEMENUHOOK do, now that the reverse_menu function is gone?