From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WK01AdbLuGK+HwAAbAwnHQ (envelope-from ) for ; Sun, 26 Jun 2022 23:12:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id INlRANbLuGIDSAEAG6o9tA (envelope-from ) for ; Sun, 26 Jun 2022 23:12:54 +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 7BDA396C6 for ; Sun, 26 Jun 2022 23:12:53 +0200 (CEST) Received: from localhost ([::1]:37762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5ZYp-0002tZ-SA for larch@yhetil.org; Sun, 26 Jun 2022 17:12:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5ZXu-0002tQ-0S for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 17:11:54 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]:40836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5ZXs-0005Bs-Eg for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 17:11:53 -0400 Received: by mail-pf1-x42f.google.com with SMTP id c205so7247501pfc.7 for ; Sun, 26 Jun 2022 14:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=3tm3jmsbAr6cODyarC2gjN9TJGqE7ripNl3RNglzhOo=; b=aFTBN4q1MkWmSsK5yqLksjmNwcwZ7YUKzN5uNU45C44cDNQZuzwFB8qTOGhx0zLfyc +94VQBluUCMsqeHpWUWrkB8m+oNxRW+jOO1/JK/8FYt++cJiTeYMuXW1q6z1Xl+Tajbq voBkTdSQrETHSLEvRPyH6BlNCn6RsawVLilaJi+wG3iQqFflFRicwP02G9KTiVulp63V XoDdPS6YiDEN0Xf2QOSGQfboQf77wMaBTqsYPxjZMsQFGylNotIrdkXvbbjO15y3j/Xu W04kCMRbdnz7p3F691R9QJ4KI4qjBYF3x+VFs/bZgINAmMZGZ8sxuGepHEgn5OoLXANJ Twpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=3tm3jmsbAr6cODyarC2gjN9TJGqE7ripNl3RNglzhOo=; b=0VgVHAOG0lO6j87SIyIO3XWq29WsCc1KNNsllCOGEq5OVdt5XTpJVwxWtbWXnm9Nmf /7RXd8+tLaDQW7Me1PTz12ujnMqT71I8Tw95dTu6u5VdLtc5pGPKwAVxlK0L0dGSqnvF Fb8kzQGs/Iwc8aiLLtSVIeWwNAgYSIDiRMegVjacBTyj5O24e3OdgxsV5OIVZegenIhY YKHCChQTXkXrHiuXfdG0+Lb5rjV6zoUPMgHpOsCpe5gWIwAnjI4OJE2akAzLL9SiUl0A kstF0cqlimkEyLu+sRJ7MhdpiTG11c8rG6xhIww0oC7WNQCkE+5zvybGXFeO7noTxJV6 UcJA== X-Gm-Message-State: AJIora/pyBVnupM4D7qVajnVJxpadpBMn/4V+ADkadav83wsiB9REnex KzG0qJ6zg5KZaFCERhiC+OV6t7WWmiLcng== X-Google-Smtp-Source: AGRyM1sP71Epywzzf91nz2pqOg9amgUyFdh8HMqIsBNi709t5KocOI/b2uN2fNLgcfMlLBGxBnn+IA== X-Received: by 2002:a05:6a00:cce:b0:525:5209:c925 with SMTP id b14-20020a056a000cce00b005255209c925mr10967863pfv.59.1656277911491; Sun, 26 Jun 2022 14:11:51 -0700 (PDT) Received: from dingbat (2001-44b8-31f2-bb00-4061-d517-82c5-64b3.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:4061:d517:82c5:64b3]) by smtp.gmail.com with ESMTPSA id h9-20020a63f909000000b0040df75ca8bcsm618590pgi.50.2022.06.26.14.11.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 14:11:51 -0700 (PDT) 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> User-agent: mu4e 1.8.0; emacs 29.0.50 From: Tim Cross To: Ypo Cc: Bruno Barbier , emacs-orgmode@gnu.org Subject: Re: C-SPC works; C-u C-SPC doesn't. How could be? Date: Mon, 27 Jun 2022 06:55:54 +1000 In-reply-to: Message-ID: <87mtdzf7u3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=theophilusx@gmail.com; helo=mail-pf1-x42f.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, 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=1656277973; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=3tm3jmsbAr6cODyarC2gjN9TJGqE7ripNl3RNglzhOo=; b=pbTiDHurWqMU4JZx5NiIGlf/MrY1Rx3l21G+hvHR2TWg8vSCHVS/Jqb6eStsw0kW88LfZi fqyH5QnGUnw757uXm5WJVdoDtroDT8kI97vleGQmFAK2lFlrlf3vuziOei4E6E4k1UgE7j 2jnkhe2HdfiusgrZNsEKxWC9YcZm8Lzmf6Qb0cUaCcmzTQLtUP0AyQycAujqMrX+wwRkx+ dLRJAjYiOWf6EkGyOpBDjafwNuOK3JSGlRrYHqrKRuo2kWkoC8MpC6Cn+s2exXOZEwibqm TLBO/aTeEW8+UZjueLYGFM0UN9HgIT1sAUbBqeMlyPKGlV/nq0z5eJDRuvzDsA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656277973; a=rsa-sha256; cv=none; b=SYVw/wKENIjTWX6gOUu2n5dUJAAF01lYIelWeW5EGX1N4JP1BUSr3E+bZz4avmixrlCvpC ChIhsf+uJqSyLcDXxAuB3pCedWOfzDsQIO6I6R451tcnI2YYA3WuRLOcwo5dJzKsoavC0N 0e24a/LzuveUkG0t10mAswYIqz0wDXv/dvs6BD28fSCG88VINbOonUxLkdoPn4gB+E7FCH w6FStvINcEaXnYwVnxHklKLmLfQQsuXPHDYnk/5xGKaVTz6ZR2M6gqMWNC9lkZzUHsh+p4 xlUdmF1cAnjQukn2GCRzF0sCEJpXLrGONm6J0sRR1RwBHuH5Pw+yYxpXcY5Ueg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aFTBN4q1; 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: -1.45 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aFTBN4q1; 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: 7BDA396C6 X-Spam-Score: -1.45 X-Migadu-Scanner: scn1.migadu.com X-TUID: +7CEVBaGg9k9 Ypo writes: > 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? > You cannot use C-u like this. The C-u is a binding to the 'universal argument'. Your line breaks that binding so that it no longer works. What you have done is (sort of) created a new binding which shadows the old universal argument binding and sets up C-u as a prefix. Now, when you hit C-u emacs is waiting for C-n. You will need to use some other key binding. This can be difficult as most of the good ones are already used. Packages like free-keys can help identify spare/unused bindings. This is one reason I like evil-mode - I have a wealth of available bindings, most of which easy to access without leaving the keyboard (or 'home' row). For example, in org mode, I have j/k for down/up line, S-j/S-k for down/up heading and M-j/M-k for down/up list item.