From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kV3jBXGGUl+VZAAA0tVLHw (envelope-from ) for ; Fri, 04 Sep 2020 18:24:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gCM9AXGGUl9bMQAAbx9fmQ (envelope-from ) for ; Fri, 04 Sep 2020 18:24:49 +0000 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 8E301940308 for ; Fri, 4 Sep 2020 18:24:48 +0000 (UTC) Received: from localhost ([::1]:59206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEGOE-00013B-1M for larch@yhetil.org; Fri, 04 Sep 2020 14:24:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEGNq-00012S-Gj for emacs-orgmode@gnu.org; Fri, 04 Sep 2020 14:24:22 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:51674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEGNo-0003nk-Td; Fri, 04 Sep 2020 14:24:22 -0400 Received: by mail-pj1-x1035.google.com with SMTP id a9so388127pjg.1; Fri, 04 Sep 2020 11:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=9ygRzhq14lJGmvgFcWgfcJyrvfXPxZhzVLfre2EnqvQ=; b=eqB/8trSLfawvzKjy8OjT5i8RjFt9/aZ3uSnafRCGPNZW3/9IJIxr7+NtAiLPS4sdx GTOhf4F5iiHurHYuFxixdJboPjJMo0bs8vJgvzp8tAKcS2w4HligBBmxCJvnHGyts1Qb 9ZIY8YP79cRV6TPZ/olpHjnz9A/ut18ZYh5I27FHuZflCAvfCqSweNG738YApfCOXARw mhWgQxtjb6vHTBzdSPVn60dbR5ZhJgPET5KpFW8zrR1BQmwrv890LciGcgwQMU+xwEWw uiiZSG+DsknOJfV0MWL8yAZmkC5+rIk0o6h26s2/mVQvxd7D0h5TDKiIeRAmA5M6kuXy teZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=9ygRzhq14lJGmvgFcWgfcJyrvfXPxZhzVLfre2EnqvQ=; b=O6DSXI2EuDJyXAP623vpmQ8hEHlvPXPbHPh9PL6sjYZJsDHcJyzry/uEvzdQKquPzX AUscbmDah8Yul5lBGVASJO14I8E2DZ8lC2cMP/tep1ZXPuk5qf+5FscmL/M5+5XSvvuW LgEXYAs0p76t4QhRDvpRFuCG8Iw+Rhnp1lSfeHQKAQ2PmclUAo29H0njVaT9MlVr5rSw avgU92bCNF2b/vx6rstOCWefhAKM+XEL/U98Ep1e2YStCe9Jv0mpDIdh6lWnP1cVaxgD qD7Uy41TmoRxEyGlpL1XyI0GM71k6lkrZcRwlO/dt9fsa/H4G2AgzhuRqoxgI18rE7Db KvbQ== X-Gm-Message-State: AOAM533iPGoVJ4NOIKUHgTMdfaGX2AHnJ5qn4lAuIipNQzKxOsNfkWFa IoYdHri9jSnjSocQ23QWf049iYXqHz0ceQ== X-Google-Smtp-Source: ABdhPJwLPg3DFvz3rPD/Fy45KwFZSAk86D+MgXOsVR2rf1NaTzcUAc2CAQmHpRQ79iXufw+nLPP7JA== X-Received: by 2002:a17:90b:803:: with SMTP id bk3mr9299403pjb.57.1599243858436; Fri, 04 Sep 2020 11:24:18 -0700 (PDT) Received: from gusbrs-laptop ([91.207.175.213]) by smtp.gmail.com with ESMTPSA id 131sm7471994pfy.5.2020.09.04.11.24.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 11:24:17 -0700 (PDT) References: <87a6zkv3m2.fsf@gmail.com> <87zh7jfyal.fsf@gmail.com> <87r1rhk1qm.fsf@gnu.org> <87r1rhfsxb.fsf@gmail.com> <87eenh8mtk.fsf@gnu.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Gustavo Barros To: Bastien Subject: Re: Bug: Org line commands and visual-line mode bindings [9.3.7 (9.3.7-15-gc9abb4-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20200727/)] In-reply-to: <87eenh8mtk.fsf@gnu.org> Message-ID: <87pn71flir.fsf@gmail.com> Date: Fri, 04 Sep 2020 15:24:12 -0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=gtvbrs@gmail.com; helo=mail-pj1-x1035.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.999, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marco Wahl , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=eqB/8trS; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: k6BNp8KojF9z Hi Bastien, On Fri, 04 Sep 2020 at 14:37, Bastien wrote: > You mean by adding something like > > (org-defkey org-mode-map (kbd "C-a") #'org-beginning-of-line) > > in org-keys.el? I'm pretty sure such "hard" remapping breaks an Emacs > convention--I'll ask emacs-devel, because that would indeed fix the > problem you are reporting. > > Thanks for insisting, Yes, that is what I mean. I understand this kind of hard remapping would not be conventional, and is not the best solution. But, in this case, it is not Org, but visual-line-mode which is going a bit too far. Org takes care of the presence of visual-line-mode, but the opposite does not occur. Anyway, since you are asking emacs-devel, perhaps ask too if it would be possible for a major mode to set, something like `beginning-of-line-function' etc, which visual-line-mode, or even the original functions it substitutes, could then honor, as is done with `fill-paragraph-function', for example. Something of the sort might be the proper solution. "Hard" rebinding is what Org can currently do on its side, as far as I can tell. Best, Gustavo.