GNU logs - #29141, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29141: 25.3; Precise if read-key of prefix key is active
Resent-From: Pierre-Yves Luyten <py@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 03 Nov 2017 22:31:02 +0000
Resent-Message-ID: <handler.29141.B.150974826022855 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 29141
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 29141 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.150974826022855
          (code B ref -1); Fri, 03 Nov 2017 22:31:02 +0000
Received: (at submit) by debbugs.gnu.org; 3 Nov 2017 22:31:00 +0000
Received: from localhost ([127.0.0.1]:49921 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eAkUO-0005wZ-6U
	for submit <at> debbugs.gnu.org; Fri, 03 Nov 2017 18:31:00 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49891)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <py@HIDDEN>) id 1eAkUM-0005wI-31
 for submit <at> debbugs.gnu.org; Fri, 03 Nov 2017 18:30:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <py@HIDDEN>) id 1eAkUG-00087f-5B
 for submit <at> debbugs.gnu.org; Fri, 03 Nov 2017 18:30:53 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:47252)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <py@HIDDEN>) id 1eAkUG-00087H-2p
 for submit <at> debbugs.gnu.org; Fri, 03 Nov 2017 18:30:52 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40849)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <py@HIDDEN>) id 1eAkUE-00050e-Rf
 for bug-gnu-emacs@HIDDEN; Fri, 03 Nov 2017 18:30:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <py@HIDDEN>) id 1eAkUB-0007yZ-NM
 for bug-gnu-emacs@HIDDEN; Fri, 03 Nov 2017 18:30:50 -0400
Received: from 14.mo6.mail-out.ovh.net ([46.105.56.113]:36340)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <py@HIDDEN>) id 1eAkUB-0007rb-Fa
 for bug-gnu-emacs@HIDDEN; Fri, 03 Nov 2017 18:30:47 -0400
Received: from player774.ha.ovh.net (b6.ovh.net [213.186.33.56])
 by mo6.mail-out.ovh.net (Postfix) with ESMTP id 934C7119959
 for <bug-gnu-emacs@HIDDEN>; Fri,  3 Nov 2017 23:30:38 +0100 (CET)
Received: from [192.168.4.20] (85-170-98-108.rev.numericable.fr
 [85.170.98.108]) (Authenticated sender: py@HIDDEN)
 by player774.ha.ovh.net (Postfix) with ESMTPSA id A7E794007F
 for <bug-gnu-emacs@HIDDEN>; Fri,  3 Nov 2017 23:30:37 +0100 (CET)
From: Pierre-Yves Luyten <py@HIDDEN>
Message-ID: <89fdbabe-114f-0509-1993-03c15c9a8170@HIDDEN>
Date: Fri, 3 Nov 2017 23:30:36 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.3.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Ovh-Tracer-Id: 17153366558074777611
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 50
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedttddrgeekgdduhedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecufedttdenucgoteefjeefqddtgeculdehtddm
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Hello

Context
i am working on convenience packages to help the user with available 
shortcuts. One thing i am using is "which-key". This package allows
to display visualy the existing shortcuts for a given prefix key.
Actually it might work for any keymap, so it is an efficient way
for the user to discover a keymap.

Expected behavior
Since the user needs to learn the core of Emacs, it is necessary to be 
able to present to the user, not only available shortuts, but also the 
name of the current keymap

Behavior
As far as i know, there is no way to say if a prefix key is active.
One could parse which shortcuts are active, then deduce which prefix key
is active, but this would not be very reliable.

Enhancement Request
So, is it possible to add a func to tell if there is a prefix key?
obviously i think the func might be more general, for example checking 
if there is a read-key active, else a terminal keymap, else a minor mode 
overriding map, and so on from highest to lowest priority, and checking 
if a prefix key is active -> leading to another keymap being active.
I confess i have no clue about "virtual" keymaps like "C-c".
This is a prefix key but i think different shortcuts in different keymaps.

The opened bug against which-key is : 
https://github.com/justbur/emacs-which-key/issues/176

Please tell me if this enhancement seems fair to you, in which case
do you have a clue so i can evenutally contribute.

Regards
Pierre-Yves




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Pierre-Yves Luyten <py@HIDDEN>
Subject: bug#29141: Acknowledgement (25.3; Precise if read-key of prefix
 key is active)
Message-ID: <handler.29141.B.150974826022855.ack <at> debbugs.gnu.org>
References: <89fdbabe-114f-0509-1993-03c15c9a8170@HIDDEN>
X-Gnu-PR-Message: ack 29141
X-Gnu-PR-Package: emacs
Reply-To: 29141 <at> debbugs.gnu.org
Date: Fri, 03 Nov 2017 22:31:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 29141 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
29141: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29141
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.