From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 GAwBMD4wUWOBBwAAbAwnHQ (envelope-from ) for ; Thu, 20 Oct 2022 13:25:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8KwKMD4wUWMm6gAA9RJhRA (envelope-from ) for ; Thu, 20 Oct 2022 13:25:50 +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 75E0AED8F for ; Thu, 20 Oct 2022 13:25:50 +0200 (CEST) Received: from localhost ([::1]:50400 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olTgJ-00018G-Kw for larch@yhetil.org; Thu, 20 Oct 2022 07:25:47 -0400 Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olTeJ-0008US-PH for larch@yhetil.org; Thu, 20 Oct 2022 07:23:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olTOc-00088h-Cl for emacs-orgmode@gnu.org; Thu, 20 Oct 2022 07:07:39 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:41474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olTOT-0004Gy-A4 for emacs-orgmode@gnu.org; Thu, 20 Oct 2022 07:07:30 -0400 Received: by mail-pl1-x635.google.com with SMTP id l4so19969659plb.8 for ; Thu, 20 Oct 2022 04:07:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=j9Nja8di96t1JQNsTeNsS3KGHboUTuaFjQjI50ti+Mo=; b=Hyxa6ZPqIVWv3s1IWlDDjOrN6q9OcUI6y7GFAyChCdZ7vY5Jdj4u0jN+c4QCChQ+nc IV8UxJlzI+U4f1/cP8YyjY6d9jqgcrkU8D3MTlPpXjoSOQb0u9nb3t+Fww7olnmNZJ/6 rp5L4E42Yzt+On4y+xHaqXvN3SSBwtHdse+0BZd1sZJ72GuI8LnGHPgmnsaI5DXfDjks Wr/2weTQ20kJNBsxqQ2vAOinD2XabO5Ro7Jgq8HhqOTei7mX8ala39ASn/OTelbQeAqS nvf4wS0s7QxBN17xsr54hdXE4bM73DiHpGJ7JBdXTR6OjDqdOAFwYi+SdSEKQjnzZUb+ xzBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=j9Nja8di96t1JQNsTeNsS3KGHboUTuaFjQjI50ti+Mo=; b=W5wX3kgEpd++4R83Vv5+yrH2BKquX7h8uVh8E7B3Uwt6quga3VhbM4A2VmbwmiWYjJ spUHedR7E+1DQKjEvPkQjQdhLBoR1C+nvXU5UB30iVXIkFdJOs0fdeHaxhZMTO8Vx363 JrW5992um70TOZbGbOplUC6wy8nW/8BWkmb03vThJpgBbrH5JcB/jIsjNXTbvxOw4onr l/EI45G7GOvN5N7+8+3+duiO8y1sXqLh9O+q5xwnBv+vEoJb9Rcj53aE6vlh9iXVbrcI fdL1z6VDgUdVWg0gJ9SZsKtZ+GRWRR0VKzlk/5Y5GPP3vcjVeKTVN/lZKkKjzVLIcmvp k5lQ== X-Gm-Message-State: ACrzQf3GO0c3yas+VD1L+FaIaIcwurwL7Z7A44TPCv0l3RklJvZHteLO BcSP40UEuRX6QCPb1sCxGZFHnMx6SMwn9IFuBgEahX19 X-Google-Smtp-Source: AMsMyM5r7m8X14NulDavuD6IFQSi/hpJcpID4lrttQLFfs6x8SKORhWV5EpUGja+wgU9TeK0gx7/ShIK1uVgn8qhQYQ= X-Received: by 2002:a17:90b:3d85:b0:20c:8f6a:8298 with SMTP id pq5-20020a17090b3d8500b0020c8f6a8298mr52216242pjb.242.1666264039214; Thu, 20 Oct 2022 04:07:19 -0700 (PDT) MIME-Version: 1.0 References: <87sfjj9nae.fsf@localhost> In-Reply-To: <87sfjj9nae.fsf@localhost> From: Yingnan Cui Date: Thu, 20 Oct 2022 07:07:07 -0400 Message-ID: Subject: Re: [BUG] S- Overridden by windmove.el [9.5.2 (release_9.5.2-3-geb9f34 @ /usr/local/share/emacs/28.0.91/lisp/org/)] To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000028d33e05eb7554d1" Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=yingn.cui@gmail.com; helo=mail-pl1-x635.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666265150; 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=j9Nja8di96t1JQNsTeNsS3KGHboUTuaFjQjI50ti+Mo=; b=k97SjMWLfeuwbE29GdUnrywkyGHItxIUM6lSxarWO59wiR5INucfzoVDN7ermUjn0Bw2l0 TsdKhcId280W6gpHsG4/QE3APBuusn80SuvHEqlhrPxo3cmvlykNJpML11r4O+ERfxbJ2m T68fZm+pOxxJzjrsoEqExUOTp6Y5g9bjVfSv64LxADb5Hedt9+n4gpRuAIhe0JZ9eVxqOr tboBTpgedTa6Km0BU7oUxZ+srFDnEBOhu1Lx0Qwyp1ZvFYOBXkXXM0yi5Qq9CZeF8AVB37 gBeKpBSMjin/UneauQ8wWd50qDLu7h4YN+9pIdXgkZ6UC2WK7aPMbALI2helOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666265150; a=rsa-sha256; cv=none; b=DOrL5QzmtFr4fcgVsXLBnG3K3baxGN9lfAIj9psm1+NuBqV91ciM4zVbjqZapKJc3ACoq4 yzPNUUil5YeRxAjj8rrmZEoIeO//5qC9xXsyB1s/Bk1sJBrkbNLM6VWyhtEKXiQEGASQxO Y5GUU4gVjhwO65EyODcbnVCAU/O+GrnkL4UFqzAy/465QaVkF32/WY+wJPGEzHgr/tjJ/9 ttujx2N4w5pVSu6Yg7z4n7Bp30UELB/ioaCtqJcGyB8xHaUD3GO//ElxRoEi0zhoLy/Wg4 Rfyq3AQruz/KXN06AgSBZgjKWZXE205z5QhFXypN/wB+rLtb92EjBtVb3Hu29w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Hyxa6ZPq; 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.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Hyxa6ZPq; 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: 75E0AED8F X-Spam-Score: -3.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1InjufXhFdQZ --00000000000028d33e05eb7554d1 Content-Type: text/plain; charset="UTF-8" What if I want to use windmove outside of org-mode? Yingnan On Wed, Oct 19, 2022 at 11:38 PM Ihor Radchenko wrote: > Yingnan Cui writes: > > > It seems that org-mode's S- is overriden by windmove.el even > > though I'm adding the following configurations according to the org > > manual: > > ```emacs-lisp > > ;; Make windmove work in Org mode: > > (add-hook 'org-shiftup-final-hook 'windmove-up) > > (add-hook 'org-shiftleft-final-hook 'windmove-left) > > (add-hook 'org-shiftdown-final-hook 'windmove-down) > > (add-hook 'org-shiftright-final-hook 'windmove-right) > > ``` > > Just do not activate windmove-mode. > The above suggestion will directly call windmove without a need in > windmove-mode being active. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --00000000000028d33e05eb7554d1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
What if I want to use windmove outside of org-mode?
=

Yingnan

On Wed, Oct 19, 2= 022 at 11:38 PM Ihor Radchenko <y= antar92@posteo.net> wrote:
Yingnan Cui <= ;yingn.cui@gmail.c= om> writes:

> It seems that org-mode's S-<cursor> is overriden by windmove= .el even
> though I'm adding the following configurations according to the or= g
> manual:
> ```emacs-lisp
> ;; Make windmove work in Org mode:
> (add-hook 'org-shiftup-final-hook 'windmove-up)
> (add-hook 'org-shiftleft-final-hook 'windmove-left)
> (add-hook 'org-shiftdown-final-hook 'windmove-down)
> (add-hook 'org-shiftright-final-hook 'windmove-right)
> ```

Just do not activate windmove-mode.
The above suggestion will directly call windmove without a need in
windmove-mode being active.

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>
--00000000000028d33e05eb7554d1--