From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yCP+H4jsl2CIewEAgWs5BA (envelope-from ) for ; Sun, 09 May 2021 16:07:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mIWKG4jsl2ASUAAAbx9fmQ (envelope-from ) for ; Sun, 09 May 2021 14:07:04 +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 F1F0B17285 for ; Sun, 9 May 2021 16:07:03 +0200 (CEST) Received: from localhost ([::1]:53930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfk5G-0003hL-I9 for larch@yhetil.org; Sun, 09 May 2021 10:07:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfk3Q-0003g4-GR for emacs-orgmode@gnu.org; Sun, 09 May 2021 10:05:09 -0400 Received: from ciao.gmane.io ([116.202.254.214]:45624) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfk3O-0005MU-6n for emacs-orgmode@gnu.org; Sun, 09 May 2021 10:05:07 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lfk3K-0004oE-JQ for emacs-orgmode@gnu.org; Sun, 09 May 2021 16:05:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org Subject: Re: outline-minor-mode and org-mode capabilities for programming languages Date: Sun, 09 May 2021 10:02:15 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:gm+nnv8x3TTa9cLnEGVXaPCzoqc= Cc: help-gnu-emacs@gnu.org Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" Reply-to: Stefan Monnier From: Stefan Monnier via "General discussions about Org-mode." X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620569224; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=3y6DgFbsrN5nd1g0DmTtTSnM0iVYDstwLZrp2bWyOII=; b=fPluDeU63uDEUdlc7gEYqzYen7QFqoTQ/aqeJe1RSUau4GxdnV4huBk1LzQZHbkfe74NX6 L1uKQQKK+Md4IIlICZwvhj4gP0/K5yo/fQeOWFkM3kaqZHn3rftEHrmOATM6EzYBuDiB/v bLcfX+1FvwePeCSmAPElbHxrgyVBdVrHw+2/+l74lkb2svECR1r4nacNm5Nl4bv2iOFrBY V9KEyU1k5xLG8GN2VqHufL32d+Lmh324prQ+p71mWSnHnXIYga79pDQJrl+NYDtaJoA9vU YOzZgFAhwMQxK26sY7F8FxA+/JevYMlGNA+5uXBK7QlAS4YODpVVh/F+vHirlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620569224; a=rsa-sha256; cv=none; b=G78bdyMVqDTRZoR5Vnm/ZIGaLWcOymy9vEez4DQIXDglhXduhyENNtmHwkQBXPcB4243Ed 1uYL5uVy5ThPXfGkr1CpMfeElheNGKF3EpSnt5pDlwr4b8Guj6coUtOQ0OnCvYIR7nb8SD T4eEnDdPbY6pC75BWINz5EizvuZcM3Zc2Dx+DqDmhJf1Jc04vYeXQcKXe0FckP+tt+zFkA LP17Q4YzVi7S3HaHQzlpfvDXWX/SyCjDwfLLc5QRfxk8Rn9VKGWuwEI7r5nE5Tw7e+2+Na RnoOZumz6g16QC4/pvzWtahbRnqIdVUy2ai7mIS9riWZ81bEyzeKKBFNmEkBlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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-Migadu-Spam-Score: -2.45 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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-Migadu-Queue-Id: F1F0B17285 X-Spam-Score: -2.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: SKk4/dekUE2k > I have same elisp code and using outline-minor-mode. The good thing about it is that > the language highlighting is preserved. But navigating and moving the code around is > much more difficult than actually being in org-mode (I can use tab ate move code with > "M-", M-). The downside is that org-mode removes the highlighting for the > language. Is there any way out of this. Having flexibility of org-mode with language > highlighting preserved? I think you like to try Orgstruct or Outshine. Stefan