From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.bugs Subject: bug#41129: outline-mode: New keybindings for demote/promote/move-subtree Date: Thu, 28 Jan 2021 15:09:05 +0530 Message-ID: References: <87k0rx3792.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40375"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Stefan Kangas , 41129@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 28 10:51:07 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l53xD-000APJ-2z for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 10:51:07 +0100 Original-Received: from localhost ([::1]:54050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l53xB-0000ZF-W3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 04:51:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l53mU-0005ge-5x for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 04:40:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l53mT-0005fg-TH for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 04:40:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l53mT-0005H0-PQ for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 04:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2021 09:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41129 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 41129-submit@debbugs.gnu.org id=B41129.161182675820214 (code B ref 41129); Thu, 28 Jan 2021 09:40:01 +0000 Original-Received: (at 41129) by debbugs.gnu.org; 28 Jan 2021 09:39:18 +0000 Original-Received: from localhost ([127.0.0.1]:47264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l53ll-0005Fx-N8 for submit@debbugs.gnu.org; Thu, 28 Jan 2021 04:39:17 -0500 Original-Received: from mail-pf1-f180.google.com ([209.85.210.180]:33541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l53lj-0005Fl-R1 for 41129@debbugs.gnu.org; Thu, 28 Jan 2021 04:39:16 -0500 Original-Received: by mail-pf1-f180.google.com with SMTP id o20so3650560pfu.0 for <41129@debbugs.gnu.org>; Thu, 28 Jan 2021 01:39:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=mbmFkjHgxJhxZQDZFoO+5Syphn7GdM6oHiG0iZXxPrI=; b=dWuN4JjQTrSnjIvKWtv05afgevG6fCTCcBqh93sHw8pfE35sD7/pKfFpOv/77xxpPs Yj8yCLfxvGJz4zT4punMjR2NjYL/bf4+y3DYdd9DZjVpjQFkXi5bwjGE0+7UTDc5utS2 32ek+4PkvUpO5yZ/XCaK4blOszyalYPlEKsp8YffEpRMHWQUX6WufDk1CQwq/3v4Xsng ONdZ+KCKCnuQmhjEJY5ozwNFWEkkjyQ7ZyYANbDHQoGqL2bQuE/K7tf/pW4sC+ps83J7 Fi1CXZhoufKLu9xEKMHBLjmlJWMFNxmlgpaOn8Ho2VgRj39fAnIqUY7dsPMtAj9sC7mn /s8w== 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:content-transfer-encoding; bh=mbmFkjHgxJhxZQDZFoO+5Syphn7GdM6oHiG0iZXxPrI=; b=Swx6Mmibbd2T4aW9JgjV08kFF3cvdI51Fm52CAMN5MYoqISQDzUUog8pHGI5RwEArz ZCJMXP500UBQ9nOQY9ZmQ/lS1B6orzhmpUDNBV3pKuAuwlKiSRrIgaXJPlOlnx+J0x7S VD/2xChqxX1kbe/beTArarf3Ypz0oIl7Zr8uBC8RMdnurI2sr9T6UDGVu0k6yLILRqW5 3kQ/3zLYSxsCBedyN9MpsOsLCyynWFhSshGwk1FkZn66NdyxefCw3Tc/DtskaYHbSgD5 fdw/5qrA0LaruV2WaJ8vUYaZApLUx+O3bnQPrV8dQOZu75dP0ySpHjxfxmvmxgn2EUVK RLIg== X-Gm-Message-State: AOAM532nd0ak6eTsvCf0sllUgSClw3zM/bAQFBbN3RA0lXoTL6M09KYO Jgw3dIgT436bdqIMwLEOGnsTGdVDrSsFGQ== X-Google-Smtp-Source: ABdhPJxVtTUl05VGATlTRs+dL0Q6Wjk7BERL2/pxbzToX9yJuV4sEyjO30uOSszyK/8Z6UOsD8kgag== X-Received: by 2002:a62:3386:0:b029:1ae:8580:99da with SMTP id z128-20020a6233860000b02901ae858099damr14857157pfz.61.1611826749621; Thu, 28 Jan 2021 01:39:09 -0800 (PST) Original-Received: from mb2.local ([2405:201:5c06:700a:e5ec:38e8:c4a:b899]) by smtp.gmail.com with ESMTPSA id br6sm4410569pjb.42.2021.01.28.01.39.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jan 2021 01:39:09 -0800 (PST) In-Reply-To: <87k0rx3792.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 28 Jan 2021 07:28:25 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198778 Archived-At: Lars Ingebrigtsen writes: >>> (define-key outline-minor-mode-map (kbd "M-") 'outline-demote) >>> (define-key outline-minor-mode-map (kbd "M-") 'outline-promote) >> >> Sorry, that should be the other way around: >> >> (define-key outline-minor-mode-map (kbd "M-") 'outline-promote) >> (define-key outline-minor-mode-map (kbd "M-") 'outline-demote) > > `M-' (etc) are already bound to cursor movement commands by > default, so this would shadow these bindings in outline-minor-mode? I > think that would be inconvenient for many people. > > I'm not sure M- (etc) are obvious bindings for outline handling > even if that weren't the case. Anybody got any opinions here? That is difficult question. Because people coming from org background will find it difficult if =E2=80=98M-=E2=80=99 and =E2=80=98M-= =E2=80=99 don=E2=80=99t work as expected by them. But then how many people will use both, org and the outline-mode. Irrespective of the above issue, in my opinion, there should be a standardized way of doing similar things in Emacs.