From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gIqIA7l3Ul87DgAA0tVLHw (envelope-from ) for ; Fri, 04 Sep 2020 17:22:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KC8TO7h3Ul8hagAA1q6Kng (envelope-from ) for ; Fri, 04 Sep 2020 17:22:00 +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 96FB4940414 for ; Fri, 4 Sep 2020 17:22:00 +0000 (UTC) Received: from localhost ([::1]:59100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEFPT-0002wJ-JH for larch@yhetil.org; Fri, 04 Sep 2020 13:21:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEDt4-0008VM-G9 for emacs-orgmode@gnu.org; Fri, 04 Sep 2020 11:44:26 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:56002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEDt2-0007L9-W6; Fri, 04 Sep 2020 11:44:26 -0400 Received: by mail-pj1-x1032.google.com with SMTP id 2so3381877pjx.5; Fri, 04 Sep 2020 08:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=aCzQXIKmH/zT2rO/30NSzNrt7MY19Rja6NjxK8tFVtQ=; b=eX9HPjfTPVplOMHGHokscbm5aKIkhcBRVQajBSIZTCkqjduC6wWOCzHxQPWFRnx9PV af0O1LNoumBPtW+40ubwFIMZ2+5g5a8G/fHaUnXekqDKx59G4dGOXFXzt39lIdROgqcD +3k+BvqmEg5eEdiRNH55IPddURPkVoBerPIb3HrDT/wIUTd/Z+Wl8zo56A/3eSYCYuWh 3uWE7cWPGeghYoAU3Lbe5mS6GSNSk99QC/KQqND8e99hlVtPJUXAzSlhw7k3E7B3WjUn kHurJYatwUxHD5r56P/VSETJVEyWqSO1FVeLkp8qOBHh+PmwuQwCftDDM682P0wSkKa6 g5Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=aCzQXIKmH/zT2rO/30NSzNrt7MY19Rja6NjxK8tFVtQ=; b=BQoiBu8JtUcjGeLsBiQIFHqhWQydYONDt7HoIhVYsI2XIOzaEQ6Z8ejQ0664JHsEkU GfBxsZIQczNvK22aXDH4kflotHhFfIYC1u/QZFcnX94AhCaiyadvE1I+zedHhYWXlIsU 3DwGG10oCD/k0cYIxiNg3zwp7kc+N5qde50hbsD5hmvwZgxcjRC2JlxFax2R0IuDtc+n DJQDclGSlrvbOV/IuWb9zfdUF9T1LdP9eKoFKHm89Qdjb23zLtuSeSV3a2Ezj//EbW3y 6vnlIRQVAKdQyq7UlE9PIn2yIKJluB4vgA289mDIBIs2wItrxOPl22lfdEekd7oj0767 8kgA== X-Gm-Message-State: AOAM532gGb+7xKoe4EFzSjzqb+wL8DZeA67ENjYMnT1WSCbHDYgt66oL k/s3BaacPTz1lF0wvqKLJy9Mn7aviAz2mA== X-Google-Smtp-Source: ABdhPJyZ2K9KsupfdeHb/L77PjCNJt9lvRmRZJH8kdIRWAmQsSZHNvCmvMr4fvcnFF7bvRl2aJnD7g== X-Received: by 2002:a17:90a:e60b:: with SMTP id j11mr8446452pjy.38.1599234262349; Fri, 04 Sep 2020 08:44:22 -0700 (PDT) Received: from gusbrs-laptop ([91.207.175.213]) by smtp.gmail.com with ESMTPSA id v17sm6897587pfn.24.2020.09.04.08.44.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 08:44:21 -0700 (PDT) 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/)] References: <87a6zkv3m2.fsf@gmail.com> <87zh7jfyal.fsf@gmail.com> <87r1rhk1qm.fsf@gnu.org> Date: Fri, 04 Sep 2020 12:44:16 -0300 In-Reply-To: <87r1rhk1qm.fsf@gnu.org> (Bastien's message of "Fri, 04 Sep 2020 17:20:17 +0200") Message-ID: <87r1rhfsxb.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=gtvbrs@gmail.com; helo=mail-pj1-x1032.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-Mailman-Approved-At: Fri, 04 Sep 2020 13:21:35 -0400 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=eX9HPjfT; 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: esRWLnQ3FuMH Hi Bastien, On Fri, 04 Sep 2020 at 17:20, Bastien wrote: > Hi Marco, > > Marco Wahl writes: > >> (add-hook 'visual-line-mode-hook >> (lambda () (when (derived-mode-p 'org-mode) >> (local-set-key (kbd "C-a") #'org-beginning-of-line) >> (local-set-key (kbd "C-e") #'org-end-of-line) >> (local-set-key (kbd "C-k") #'org-kill-line)))) > > Nice -- I've added this to https://orgmode.org/worg/org-hacks.html I do think my other workaround is worth pondering to be included, so that this would work out-of-the-box. Do you see any particular drawbacks of setting these bindings directly (that is, not by remapping) in `org-mode-map'? Best, Gustavo.