From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aLxEFB2WuGJAfgEAbAwnHQ (envelope-from ) for ; Sun, 26 Jun 2022 19:23:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ACdDEx2WuGJp9QAAG6o9tA (envelope-from ) for ; Sun, 26 Jun 2022 19:23:41 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D96092209E for ; Sun, 26 Jun 2022 19:23:40 +0200 (CEST) Received: from localhost ([::1]:53652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5Vz1-0000PX-D2 for larch@yhetil.org; Sun, 26 Jun 2022 13:23:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5VyS-0000Mo-TQ for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 13:23:04 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:37712) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5VyR-0002IE-Db for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 13:23:04 -0400 Received: by mail-wr1-x42a.google.com with SMTP id o16so9950016wra.4 for ; Sun, 26 Jun 2022 10:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to; bh=D0mhONjXXNTVjBm510h+DHNneAPfeGySB8yAi/z3kJE=; b=S5YORl93pE8rd0SUOrGEGYteNIMRuvZC6YuNzmgHvhhHISnWBi3ZXRY/z+C/a0nUgi cNLAeZuOocG0WvzPwhIrTT7ohakRsDJaomZBYa+a2cmuyyLoNGusjcyR52JHTzRI1qGA wkXveRY6KL7xV5TZpgOZZ866xOmOq04ef1jnLa+n4cXXBJ/QmSGHS4IrDa33DuE0PBqi cK8VkT0GR1dTaEwWt1QK1pAia+B6/m8X/s82o4OcwSJzu2vqIktg78YBzdnW+xUhmzX9 yJTy9/RHlOSTMinG8astLEtgnbnlxCQtLKHhrLp3n3ZiQF6RqPlcms7m3aN9OSJq4vO8 i9Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=D0mhONjXXNTVjBm510h+DHNneAPfeGySB8yAi/z3kJE=; b=l83DO1bzmBolSqL6L+mHhCzEwEcE+6sx0FSaI6Qv42E+9o2aQvFDiOYN2NaeXL9YHP i3S5+BSG+dfcQ41BoYDbMI0lyZm3x6h35M4Hl2XtHFBBnVtp9ELN9Nw/tKGjVTrexvrW E5MwqbcP9/F2usv91DfF66svwuhky/btkDzqrhaKVXk5E7h4fTGNDi5+PkgCxpA3oMsE UyAefyvbEtynwhGxQ3cld9i3/ptVoYHS07dhNR/w0/Aqn5dJgfrLds0KlJ4JeP+VXHC3 /MYoPLgM+/JUEtegmkzFpaIfl6XLa2D2zwwV34dBJFvRuKWJ8r376hqx/GAsYhW2TGCD grag== X-Gm-Message-State: AJIora8CEPn2TyL14r/9q5IH53gNB3J7Vc8dtXv+L77g8eBzL5ykBoRb rRQgZQ1ELpaljV9aKfv2G6I= X-Google-Smtp-Source: AGRyM1tIUh93e+s7PQMQq+ccMRlzspSrEMoBtMJ3VdCUY6GawtaTTLlWXmQA9j7GxC7oXUy2N1BwJg== X-Received: by 2002:a5d:5c03:0:b0:21b:90e6:42bc with SMTP id cc3-20020a5d5c03000000b0021b90e642bcmr9043307wrb.36.1656264181189; Sun, 26 Jun 2022 10:23:01 -0700 (PDT) Received: from [192.168.0.97] (din-41-204-231-77.ipcom.comunitel.net. [77.231.204.41]) by smtp.gmail.com with ESMTPSA id q4-20020adff944000000b0021b956da1dcsm8121805wrr.113.2022.06.26.10.23.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Jun 2022 10:23:00 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------BVFOGPJMEQ3ZukaDWVE8difN" Message-ID: Date: Sun, 26 Jun 2022 19:22:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: C-SPC works; C-u C-SPC doesn't. How could be? Content-Language: en-GB To: Bruno Barbier , Org-mode References: <286ef42a-bf96-ecce-0080-3294f8870c84@gmail.com> <62b5f498.1c69fb81.8f12b.b976SMTPIN_ADDED_MISSING@mx.google.com> <62b6bd46.1c69fb81.f4e75.9cf5SMTPIN_ADDED_MISSING@mx.google.com> From: Ypo In-Reply-To: <62b6bd46.1c69fb81.f4e75.9cf5SMTPIN_ADDED_MISSING@mx.google.com> Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=ypuntot@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656264221; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=D0mhONjXXNTVjBm510h+DHNneAPfeGySB8yAi/z3kJE=; b=t1YI6C45FenN8/hu4B8FtBHBPy2TauzFjA5hjjAWihQ9aGO0RsH5p8TJDzKzwB8ElidZ/X Iz5+lQx7VJnpv/UFofYbmBZyB862tNuIF2EuWHTL0jNbOYDCr7UzUW3LHGNsCiEu3fpHpd IxMgLqzuYk5fiKXGKgWodNF1B3xmEWFPSQsvyGQOyJGOxJLI+zN01YxG997fp/iFn4Z27M l9ayz8uefiq2d+XpkOTUTtuVxM5fxR9XMZnkX0+86D4G0WyB94E1Tv4JjAx/LLDfAtRI0b 4FBZuvkPudx0o1jqyKm8ko58+TQ8DgXo94+tYzq7LZSl+QrJiDUr7HO0rPzJUg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656264221; a=rsa-sha256; cv=none; b=vAa+sS03wtIedBHj9N/7CFOCHAkbe+DNvXtUX+KGks4NLOgmlzM03XaoejViT/5yABQg92 QPOn80U27TYUSTFWKySgzNZYj3HiGZoDvT7hALcV5e4Rxd0f8ghcutfsXexLA7OB/vegnn Kr6uZhmbDtNqFgZUxXXMR7+GYx8WJc56WSio+gVp8+i45WQiRqDCyx3m6bFYabHMOunjwO Zns+D4AkqZUbd6T0EcCYtQytkmtxBy3wpNrarj1wQb5sRKaZSUik9TVe4Lw3jolCabLiTj 2r1HhgesW5ke2D7u3LKx7tI+qnPBo6a0EKOooBMmShq7yJPT6fcAyl3lUmGNcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=S5YORl93; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.76 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=S5YORl93; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D96092209E X-Spam-Score: -3.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: DAUAMGXKmcTU This is a multi-part message in MIME format. --------------BVFOGPJMEQ3ZukaDWVE8difN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Thanks, Bruno I've debugged it manually because (keymap-lookup) doesn't seem to exist in my emacs, if that's possible. The problem comes from: (define-key org-mode-map (kbd "C-u C-n") #'org-next-item) If I eval that line, "C-u C-SPC" stops working on org-mode. Same problem in runemacs -q. Is it a bug? El 25/06/2022 a las 9:47, Bruno Barbier escribió: > Hi Ypo, > > Ypo writes: > >> Hi, Bruno >> >> Yes, I tried your assertion for bug-hunter, but it didn't work. >> >> (unless (eq 'universal-argument (keymap-lookup global-map "C-u")) >> (error "C-u has been redefined")) >> > I'm not sure in what way it didn't work and I didn't try bug-hunter yet. > > > FWIW, just in case it might help you, when I have such a problem, I just > define a function, something like: > > (defun my-check-bug () > "Throw an error when C-u is not the universal argument in org-mode." > (with-temp-buffer > (org-mode) > (unless (eq 'universal-argument (keymap-lookup global-map "C-u")) > (error "C-u has been redefined")))) > > > Then I add: > > (my-check-bug) > > everywhere in my init files and I start emacs with --debug-init. > > Good luck, > > Bruno > > --------------BVFOGPJMEQ3ZukaDWVE8difN Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Thanks, Bruno

I've debugged it manually because (keymap-lookup) doesn't seem to exist in my emacs, if that's possible.

The problem comes from:

(define-key org-mode-map (kbd "C-u C-n") #'org-next-item)

If I eval that line, "C-u C-SPC" stops working on org-mode.

Same problem in runemacs -q. Is it a bug?


El 25/06/2022 a las 9:47, Bruno Barbier escribió:
Hi Ypo,

Ypo <ypuntot@gmail.com> writes:

Hi, Bruno

Yes, I tried your assertion for bug-hunter, but it didn't work.

(unless (eq 'universal-argument (keymap-lookup global-map "C-u"))
        (error "C-u has been redefined"))

I'm not sure in what way it didn't work and I didn't try bug-hunter yet.


FWIW, just in case it might help you, when I have such a problem, I just
define a function, something like:

   (defun my-check-bug ()
     "Throw an error when C-u is not the universal argument in org-mode."
     (with-temp-buffer
       (org-mode)
       (unless (eq 'universal-argument (keymap-lookup global-map "C-u"))
         (error "C-u has been redefined"))))


Then I add:

   (my-check-bug)
   
everywhere in my init files and I start emacs with --debug-init.

Good luck,

Bruno


--------------BVFOGPJMEQ3ZukaDWVE8difN--