From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Spencer Baugh Newsgroups: gmane.emacs.bugs Subject: bug#64518: 29.0.92; outline-mode sexp movement commands don't follow outline structure Date: Fri, 07 Jul 2023 12:21:14 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14017"; mail-complaints-to="usenet@ciao.gmane.io" To: 64518@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 07 18:22:34 2023 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 1qHoE6-0003UK-Dq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Jul 2023 18:22:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHoDd-0005Gk-Gf; Fri, 07 Jul 2023 12:22:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHoDb-0005GT-Q0 for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2023 12:22:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHoDb-0005Fn-5L for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2023 12:22:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qHoDa-0003D0-Gi for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2023 12:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Spencer Baugh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Jul 2023 16:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64518 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.168874688112284 (code B ref -1); Fri, 07 Jul 2023 16:22:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Jul 2023 16:21:21 +0000 Original-Received: from localhost ([127.0.0.1]:43670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHoCv-0003C4-FD for submit@debbugs.gnu.org; Fri, 07 Jul 2023 12:21:21 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHoCr-0003Bs-Hd for submit@debbugs.gnu.org; Fri, 07 Jul 2023 12:21:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHoCr-000571-B2 for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2023 12:21:17 -0400 Original-Received: from mxout5.mail.janestreet.com ([64.215.233.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHoCp-00025v-QB for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2023 12:21:17 -0400 Received-SPF: pass client-ip=64.215.233.18; envelope-from=sbaugh@janestreet.com; helo=mxout5.mail.janestreet.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:264735 Archived-At: This is more of a feature request. Functions like C-M-f (forward-sexp) and C-M-SPC (mark-sexp) are supposed to be configured by individual modes to behave in a way appropriate for that mode. But outline-mode does not do this. For example, C-M-b/C-M-f ({backward,forward}-sexp) could behave like outline-{backward,forward}-same-level, since that's analogous to how they behave in Lisp. C-M-SPC could behave like outline-mark-subtree. C-M-u could back out of the current heading, up to the next level, lke outline-up-heading. And so on. Since these are the standard Emacs structured editing commands, it would be good for outline-mode to customize them to have the correct "structured" behavior. (Probably behind some defcustom, since this would be a behavior change) Right now they are much less useful than they could otherwise be...