From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Convert some files from outline-mode to org-mode Date: Wed, 29 Apr 2020 16:03:16 +0200 Message-ID: References: <87zhaxi70f.fsf@yahoo.com> <4D145B75-0C23-4371-A388-747BB9E42327@traduction-libre.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="53998"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Howard Melman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 29 16:14:21 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jTnTe-000DpA-3W for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 16:14:18 +0200 Original-Received: from localhost ([::1]:52042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTnTd-0001BT-4T for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 10:14:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42996) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTnJC-0005uF-BL for emacs-devel@gnu.org; Wed, 29 Apr 2020 10:03:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTnJB-0006Gr-KC for emacs-devel@gnu.org; Wed, 29 Apr 2020 10:03:30 -0400 Original-Received: from mail-yb1-f169.google.com ([209.85.219.169]:45205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTnJB-0006GE-3i for emacs-devel@gnu.org; Wed, 29 Apr 2020 10:03:29 -0400 Original-Received: by mail-yb1-f169.google.com with SMTP id p7so1296758ybo.12 for ; Wed, 29 Apr 2020 07:03:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WgGWh9+bk+xZFSsQxsvpsUtyGwb4KiitQOZqMUNHHkM=; b=apIwuMA3T4DX7zG5ffmC8+rTRxkF1pIe1u6dmxZC1MLQS9sUyeDKuKnoT+8z6Zoyo5 1IOwXvFHEN/be+RCgcj+/dbOzJAIbD+lAhi0/wMO02RYG5tWLmP17GhBz3DpeuH9Cm4o gjX7pV2FT+DUgOWvP2FUmYN5KCCcgOjMr/nHtfmq+LH4cmeBRK0iXFJE5yB1STGFFFlM 5WKB7kOeVzW9H+G2LnbhXsjl9KFq964jzBisNpJww0TUffB/rpdIMP0PtHwZpZR42M0L 3tbLi4yesi4Pyw/Bv+0RWGS2cxTXajagzqgQVTgxpZ3esWt2ALoyxKfqGatejwoflpte 6qRA== X-Gm-Message-State: AGi0PuZcbDUjqdwdlXvV0z/YluYUmOfQzrBssEYgg9Zy+PhfYyI6zvM+ 1n6LZ0UnJ05r1+DkXAprpzfeqnvz9Fhuhd3Isw0= X-Google-Smtp-Source: APiQypKLSe89tXuT5BktXPdUwlK22PAd+j4wLPcJYhaoH2r+7+eeScIOQINzVYjF4yPITtiePErIQbjaGVnpAz1leLM= X-Received: by 2002:a25:c646:: with SMTP id k67mr30290140ybf.309.1588169007986; Wed, 29 Apr 2020 07:03:27 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=209.85.219.169; envelope-from=stefankangas@gmail.com; helo=mail-yb1-f169.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/29 10:03:28 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.219.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:248139 Archived-At: Howard Melman writes: > ;; I can never remember the outline keybindings, > ;; grabbing C-tab and S-Tab from org-mode is genius > ;; Also make the outline move commands memorable (borrowing from org) > (with-eval-after-load "outline" > (define-key outline-minor-mode-map (kbd "C-") 'org-cycle) > (define-key outline-minor-mode-map (kbd "S-") 'org-global-cycle) > (define-key outline-minor-mode-map (kbd "M-") 'outline-demote) > (define-key outline-minor-mode-map (kbd "M-") 'outline-promote) > (define-key outline-minor-mode-map (kbd "M-") 'outline-move-subtree-up) > (define-key outline-minor-mode-map (kbd "M-") 'outline-move-subtree-down) > ) Yes, this would completely remove (from my point of view) any need of switching from outline-mode to org-mode, as I originally suggested. So we need to untangle 'org-cycle' and 'org-global-cycle' from org-mode and move the functionality to outline-mode, and the rest are just keybindings. It would be very good if someone would work on a patch along those lines. I hope that this proposal is uncontroversial also to outline-mode users. Best regards, Stefan Kangas