From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 12 12:49:46 2021 Received: (at submit) by debbugs.gnu.org; 12 Oct 2021 16:49:46 +0000 Received: from localhost ([127.0.0.1]:51411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maKyH-0004zF-Uf for submit@debbugs.gnu.org; Tue, 12 Oct 2021 12:49:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:59562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maKyF-0004z2-9y for submit@debbugs.gnu.org; Tue, 12 Oct 2021 12:49:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maKyE-0000zH-Vg for bug-gnu-emacs@gnu.org; Tue, 12 Oct 2021 12:49:43 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:42045) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maKyC-00078B-QF for bug-gnu-emacs@gnu.org; Tue, 12 Oct 2021 12:49:42 -0400 Received: from [192.168.178.54] ([94.134.177.149]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MIxJq-1mLYD53W7m-00KRPc for ; Tue, 12 Oct 2021 18:49:37 +0200 To: bug-gnu-emacs@gnu.org From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Subject: 29.0.50; org-indent-line broken Message-ID: <541af1a2-d532-13f7-8cf6-6edbfe64fdc1@easy-emacs.de> Date: Tue, 12 Oct 2021 18:49:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:v5K4wsNFqKNyYkhZd32ersbOS4r+Bt6jzjkSF5u4NWQ51eoKJOK DQPNoOLZttAgVoYF60Rcywiamd20gOOzso3mV1p6rhaYRCm1dalgVDhfEB9JLzu8iJQZZUl tDK+7kTkLoFFocgw4KCUZH3a6BtlA1F8A0Lph373qn/9ZqnnbtBRfRE/o7i9SWcRmUjbU/Q atVo+N+nB4KAF3RDpa0hQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:F99G9/iKno8=:zx0gjMjznM/BY21PsrYF8+ UpeNg8sTO6YG7/OK/ea+c9QWk9iRDJdDRAIxO/0nWJY5hmJGE6CjqrLyQtQa073w1YQat5JfI cE1aoDq6W7cYGz+bK4qBciVAm5pfh6rhiHm1pxrhr7SBa4kSd+oUpIlYbAXZclvc7vlNMCILa gaHVFsNYZloHtBpm5ml8bIHJLho3Pvo8y9IeVY/1rhW+ucXUr9cAln+xkqt0F9waypqOX4gyY YD3WHRbRDFZRcbU3oB3XYtpL2WH5+isdP6+Xm/VR1as2pT5f9tp/RKblcgrJyuZmCxFBLPV4U VRJxvw4ntDF+4VC11AQu/97FKu6XkKYLUDshKU0i+jptwNUs8nqUdwrtgV1VOOvf7Wq665fXQ RgSRzIVWth9QUAIV1Z78j6VKygawfD6hz2it/1C3vqeMFGOi1n0lWIHyImXL+qyCRKXtZUWt5 61SYfVvGKb9Sbqp1AN1ZNLEAfIsSTyoWPDfT+pucdB2ZohcSspRmRlTeAexl89T4s/SCV2p7P eHuJ9pHcmhdetCMrvNRHuTvfJWada5xhkEr421iqdZhFuy/OgllWocU7CvOMmIU4B0IlaBjsg bOkVyHfXrP2bywZsLBP+rU6/zRKti38lfcpKxees5tUOoQhC1v2GWLmCa0Xb9+Vce+p/iiAkJ ijhdPFrvL7NUI7IqZ2vGmgfHp32ms9+XT2ycjAxKhyek1rfFbTc6+UbChx7faLPHN7lR3mZUp rW5FbPSNE/TwRUfjaeWfzLRBJVYsZZ3SPcnDZz7bWLEVRo5M+4IMUErgy94= Received-SPF: none client-ip=212.227.126.133; envelope-from=andreas.roehler@easy-emacs.de; helo=mout.kundenserver.de 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) With following stuff in org-mode buffer: * bla asd M-x org-indent-line RET on second line has no effect. In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.25, cairo version 1.16.0)  of 2021-10-12 Repository revision: 7e185bc9bae85ac3b50f9b7bd4b3c33bb8a016a8 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101001 System Description: Ubuntu 21.04 Configured using:  'configure --with-json -with-modules --with-mailutils' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings:   value of $LC_MONETARY: de_DE.UTF-8   value of $LC_NUMERIC: de_DE.UTF-8   value of $LC_TIME: de_DE.UTF-8   value of $LANG: en_US.UTF-8   value of $XMODIFIERS: @im=ibus   locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect:   tooltip-mode: t   global-eldoc-mode: t   show-paren-mode: t   electric-indent-mode: t   mouse-wheel-mode: t   tool-bar-mode: t   menu-bar-mode: t   file-name-shadow-mode: t   global-font-lock-mode: t   font-lock-mode: t   blink-cursor-mode: t   auto-composition-mode: t   auto-encryption-mode: t   auto-compression-mode: t   line-number-mode: t   indent-tabs-mode: t   transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail shortdoc help-fns radix-tree org-element avl-tree generator ol-eww eww xdg url-queue thingatpt mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt cl-extra help-mode speedbar ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message rmc puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map rfc2047 rfc2045 ietf-drums text-property-search mail-utils mm-util mail-prsvr wid-edit ol-docview doc-view jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex iso8601 ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities time-date noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol rx org-keys oc seq gv subr-x byte-opt bytecomp byte-compile cconv org-compat advice org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 275083 20007)  (symbols 48 43076 1)  (strings 32 115362 3554)  (string-bytes 1 2702402)  (vectors 16 37614)  (vector-slots 8 413285 24472)  (floats 8 294 121)  (intervals 56 377 0)  (buffers 992 13)) From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 12 13:01:16 2021 Received: (at control) by debbugs.gnu.org; 12 Oct 2021 17:01:16 +0000 Received: from localhost ([127.0.0.1]:51665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maL9Q-0005Wc-G2 for submit@debbugs.gnu.org; Tue, 12 Oct 2021 13:01:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maL9P-0005WO-1v for control@debbugs.gnu.org; Tue, 12 Oct 2021 13:01:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48810) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maL9J-0002Ld-N7 for control@debbugs.gnu.org; Tue, 12 Oct 2021 13:01:09 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1maL9J-0004oG-7I for control@debbugs.gnu.org; Tue, 12 Oct 2021 13:01:09 -0400 Subject: control message for bug 51167 To: X-Mailer: mail (GNU Mailutils 3.4) Message-Id: From: Glenn Morris Date: Tue, 12 Oct 2021 13:01:09 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) reassign 51167 org-mode From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 12 14:35:58 2021 Received: (at 51167) by debbugs.gnu.org; 12 Oct 2021 18:35:58 +0000 Received: from localhost ([127.0.0.1]:53325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maMd3-0005KW-UH for submit@debbugs.gnu.org; Tue, 12 Oct 2021 14:35:58 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:38828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maMcv-0005K6-KK for 51167@debbugs.gnu.org; Tue, 12 Oct 2021 14:35:56 -0400 Received: by mail-wr1-f54.google.com with SMTP id u18so270020wrg.5 for <51167@debbugs.gnu.org>; Tue, 12 Oct 2021 11:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=B0UspJvHoR6xONuUqY8RM18EvdhAtgWsJC12j57Gxjg=; b=Yd8tCCUMpWUCFyKm+OyDLR22eE7piST1yV+pp2qS+hJJSErVjSgVF+uOmqhqdZK4ty DgLufN0WQMyLBNHuNCF9jbqko0fWBUe70orQ3RwhGeETPGSFHDxXNJYlB8vPgySQ7N3j FJ1seTNmJytsCwUJvqih9xeVrNCJuRDxBlFHhh4mpWx8BkTljcIjEokkO+CJrPjHQmHC nNbFuMUzlOVl9AFm5VJnw4dOYsxzQ2NWXPJiNRlAk0zERA1bx/4ZnFXm27alsSschLeG KIHu2Hps98TMUjoPwSlVwihS3Ndjsu7cq+yqHjdSyqcs44zXPbCCmQt8JxEfgirOshv5 Gbgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=B0UspJvHoR6xONuUqY8RM18EvdhAtgWsJC12j57Gxjg=; b=1XGYqRe1BZC6YzQQjkGRtnS8co96O2+TXm+OZe2gox2xwfobWZMU13CtWqt8rrlZsM hOxi8tKWTausoFmRy4TGpJP4hgJyomO46Df3SgdC12UecRDT6ZJouU178ZOLnmu+jYeM 6R7EnEZ2GMA3ULSpPEMsyUyvRVvoJ0GkWprZ38XqwPjvzXEae6CV19pZgfIEVuIJqOcO IzNEHkz7RliLR0YwHeIkuzi7A4toswkTZPABbrLhSv2Imo5cNLZkKGlaO01lluqkIc+z JoYtPCCFZqpEM6im1MdMc9mE4PJbPA5bE+KlTwGsvvDMUjBPRV/LgbqIqbvRCDG2xIEX Rw3g== X-Gm-Message-State: AOAM533y699ZMsQJZBHt7qLAwzA0HrPFuyNJLLquHX9ROesz6oK8rspT ux5HPcNXOtcT6hRD/O96cvPDLsrwzwU= X-Google-Smtp-Source: ABdhPJy+1Ifp8NQWOGYGwh/UfRSgZGG7y1OKDjJXblef+o5mHNHPJbXS+FZd167m2cDhpGjHv0Z5UQ== X-Received: by 2002:adf:c986:: with SMTP id f6mr35326731wrh.216.1634063743410; Tue, 12 Oct 2021 11:35:43 -0700 (PDT) Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id m4sm3294596wrz.45.2021.10.12.11.35.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 11:35:43 -0700 (PDT) From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#51167: 29.0.50; org-indent-line broken References: <541af1a2-d532-13f7-8cf6-6edbfe64fdc1@easy-emacs.de> Date: Tue, 12 Oct 2021 20:35:42 +0200 In-Reply-To: <541af1a2-d532-13f7-8cf6-6edbfe64fdc1@easy-emacs.de> ("Andreas =?utf-8?Q?R=C3=B6hler=22's?= message of "Tue, 12 Oct 2021 18:49:36 +0200") Message-ID: <87zgre6qgx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51167 Cc: 51167@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Andreas R=C3=B6hler writes: > With following stuff in org-mode buffer: > > * bla > asd > > M-x org-indent-line RET on second line has no effect. Org 9.5 changed the default value of org-adapt-indentation from t to nil, as that seemed to be what a lot of users expect[1], so org-indent-line should not indent the second line in Emacs 28 onward unless configured otherwise: - setting org-adapt-indentation back to t will make Org indent by inserting whitespace; - alternatively, enabling org-indent-mode will make Org "soft-indent" with text properties. [1] Org 9.4 made RET and C-j obey electric-indent-mode like they do in most other major modes. Since org-adapt-indentation was t by default, this led to many dismayed reports on emacs-orgmode that "RET now messes up indentation", indicating that these users did not expect their prose to be indented. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 13 02:47:30 2021 Received: (at 51167) by debbugs.gnu.org; 13 Oct 2021 06:47:31 +0000 Received: from localhost ([127.0.0.1]:57673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maY30-0006jH-Mi for submit@debbugs.gnu.org; Wed, 13 Oct 2021 02:47:30 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:34339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maY2u-0006i5-SK for 51167@debbugs.gnu.org; Wed, 13 Oct 2021 02:47:28 -0400 Received: from [192.168.178.63] ([82.207.239.222]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mi2aH-1nEIho2wmP-00e1XS; Wed, 13 Oct 2021 08:47:17 +0200 Subject: Re: bug#51167: 29.0.50; org-indent-line broken To: =?UTF-8?Q?K=c3=a9vin_Le_Gouguec?= References: <541af1a2-d532-13f7-8cf6-6edbfe64fdc1@easy-emacs.de> <87zgre6qgx.fsf@gmail.com> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: <4c834a6c-e92b-443d-90e9-f9dbef527f0c@easy-emacs.de> Date: Wed, 13 Oct 2021 08:47:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <87zgre6qgx.fsf@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:S0O589eOh2MW4s0TJy1DUUQ4huvs5f/xSdb7Np1JChuAZHYbx/s AzBQUlHVm3lGAV8udYuQEbym/50PAW0+4wYm4O3xDte2z/QIlzFFtqfCyEYlqlP1+oP8xjN kJCAEPOHH5aKvwzqu3o5uX6VwtangZi/cDLAxp13frGyImxAsnbmOkocWt0PTBCvEBi+vd+ 05VLGvpvb06faj/RmQYNQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:GjxVhO4jhfg=:M3HhtHAJINnLG6U8lgNjJh LrwsWNEBVVz+08bKRFGuUx6my8iMQVUXl8BmezV1yCsFOvk78U4yB/lwzesqUD1zPuDb7c6hW T39e7EJjV7NMf294du8Go7vW4oX/4eZ5b7OaXl6ah20BNwlaMMng3Gquy2wOw7X0Dgq61FeiP 8JkqXjm1/KkaBJrH7HwGQ4kfCx+64G/GrfzYg8yh3W1J11QHF9vMaDXaG/UPfcG+S9c2MIPV2 T9FXglzQX7EGSZiJfLR47iqmLmhbNCGUSwMVlLUDMznWsDsqYBipDG69BCM/CgiIrojj1fAwL 76wFab9lFW59YghIp4z4cztey+yH5LFiJC1JRBjC4SRQaPsugJoD5H+v1dpSCC2/uf0N4Mjny +R5dVdAHC0y42nbM2fmsHyJZM2eUbW0tg0A38X+tucEUFl7gDC291UDRqYVKsAxik/N0iDzmb 0y/j1+PaM0FJn6rMF8xnbt/gUDFHXDRBJq1+KpE8jnn15Hy6oBOu7JRDCXtISLAKZwf1RVV/e STnQ7v9qGrbrmloMDFzt5kNHscuX3BugCDWvDo3CizE9Sei5TW5XSfNQD4bLfbCEYH2G8g3YT WT34ERRkyBYGnbGvaLPvprLN3xRUQyFdVOIIgDqJNlRP8egfLw15tF1QlM4YUK6Avmlf4ICxx h2RADmrGbR/3hMAbT+SlIAat7M5jkmaCEFiwY56Pdayxqc8M6Q3GeLWzGm/Qbhj+tK2/+prfE ztno05d8l4Of7W6jhRfaltO+Jxtn5qoIhPrw3kAbFqTwYhkhF9OGN4MKHwU= X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 51167 Cc: 51167@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) On 12.10.21 20:35, Kévin Le Gouguec wrote: > Andreas Röhler writes: > >> With following stuff in org-mode buffer: >> >> * bla >> asd >> >> M-x org-indent-line RET on second line has no effect. > Org 9.5 changed the default value of org-adapt-indentation from t to > nil, as that seemed to be what a lot of users expect[1], so > org-indent-line should not indent the second line in Emacs 28 onward > unless configured otherwise: > > - setting org-adapt-indentation back to t will make Org indent by > inserting whitespace; > > - alternatively, enabling org-indent-mode will make Org "soft-indent" > with text properties. > > > [1] Org 9.4 made RET and C-j obey electric-indent-mode like they do in > most other major modes. Since org-adapt-indentation was t by > default, this led to many dismayed reports on emacs-orgmode that > "RET now messes up indentation", indicating that these users did not > expect their prose to be indented. Sounds like a chain of confusion. A command called "indent-line" definitely should indent. Seems the original coulprit is that unhappy switch of RET and C-j, in order to make Emacs "modern". Maybe make RET RET again? From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 13 03:34:39 2021 Received: (at 51167) by debbugs.gnu.org; 13 Oct 2021 07:34:39 +0000 Received: from localhost ([127.0.0.1]:57842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maYmc-0007z7-Sr for submit@debbugs.gnu.org; Wed, 13 Oct 2021 03:34:39 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:38520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maYmY-0007yi-Qk for 51167@debbugs.gnu.org; Wed, 13 Oct 2021 03:34:37 -0400 Received: by mail-wr1-f42.google.com with SMTP id u18so5095967wrg.5 for <51167@debbugs.gnu.org>; Wed, 13 Oct 2021 00:34:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=4eZ4wQOsTjDwvGfWULi4PQrgF9bhnrmLe3oq0HS+1T4=; b=qixgEEqgLA4T5QgBp+3zVGYOgtpfGJ36cfR/xerlFY8LA5yZPoYl9jqVfNFijHLXKY M4Uvm63rFWXcL+XKFtf9a8VTKKEKfI911Z5B6NsLbYx9D2e9srbRjUQV08mw7dFDcPo0 gVmculL0dfHWQOiMjYPouzU+pN3PJEfiCpNfEJR5I0lMcSDwHKhBprAMttJuMErvkqA2 /7DMmJ5etTpzcV/2HXnM8GKE5tcb2kNv1HoKjprT3lGPdYvnnT0SJ6N1jmJial1obpPk fYPrNMtyjyxNfj3n5CHW8egD2Ut3q8aOAidnvfF/+MRqs56Lc8l0wF5fzuf0E5IW+JpL pr/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=4eZ4wQOsTjDwvGfWULi4PQrgF9bhnrmLe3oq0HS+1T4=; b=k+xF4qkLAVID4UBB1J3CRRvMEioVg72mNpAC4o5c3Pvl5iK0+K9gpXoppBO0ERIbmL yl+Ity5VbM9mAYH60ZgHaYpgyPc6loiMcemVCjLNDjBgnct5SH+l92TYfl6KAz2twK9m 4iyTRzdihwJrPqlLxqMKSmxS1DXn0T4UUEuGtSE2TjWlD7HEaLUAPo1AVXwHFN8PvpaJ 7CRx/n79dKbZcA/2QGVOAGwh7Hm5kJDTuh37JQZRFJZ/U0q1yaFu2KfATVVGxfHscVIS 6AyVTIZCM4qdFoGu0WivGc/eUYwfmjgaCiNysZQNzFMqgALbLVfUkNRmpkfaBz+PHkCY GR8Q== X-Gm-Message-State: AOAM53010VQ0xwEgUilqkoK4bwvp9Sc/l8PHYxvdfqw542lSvTDai9he YWfaQLvl6AqyR0yvsSE3oqZFzFABPN0= X-Google-Smtp-Source: ABdhPJx/bzj0HQ/GlLD6wDR463fRfOXRp0d1vc87duq2GVSdLydUjyIpkJbfy5q6NIGyLfqvFxng0Q== X-Received: by 2002:a05:600c:4f8b:: with SMTP id n11mr10829417wmq.54.1634110468757; Wed, 13 Oct 2021 00:34:28 -0700 (PDT) Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id c17sm12482451wrq.4.2021.10.13.00.34.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Oct 2021 00:34:28 -0700 (PDT) From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#51167: 29.0.50; org-indent-line broken References: <541af1a2-d532-13f7-8cf6-6edbfe64fdc1@easy-emacs.de> <87zgre6qgx.fsf@gmail.com> <4c834a6c-e92b-443d-90e9-f9dbef527f0c@easy-emacs.de> Date: Wed, 13 Oct 2021 09:34:27 +0200 In-Reply-To: <4c834a6c-e92b-443d-90e9-f9dbef527f0c@easy-emacs.de> ("Andreas =?utf-8?Q?R=C3=B6hler=22's?= message of "Wed, 13 Oct 2021 08:47:16 +0200") Message-ID: <87czo9z8cc.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51167 Cc: 51167@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Andreas R=C3=B6hler writes: > Sounds like a chain of confusion. > > A command called "indent-line" definitely should indent. org-indent-line indents just like every indentation function in every other major mode: if the syntactic convention calls for it, it indents or de-indents the current line; otherwise it leaves the line untouched. Or are you saying you would like org-indent-line to also indent "* bla", because =C2=AB a command called "indent-line definitely should indent =C2= =BB? > Seems the original coulprit is that unhappy switch of RET and C-j, in > order to make Emacs "modern". "Modern" did not factor in; the goal was to have RET and C-j behave consistently in all major modes. > Maybe make RET RET again? After much discussion on emacs-orgmode, it has been found that a lot of users expect neither (1) their prose to be indented, nor (2) RET to indent. Since electric-indent-mode is enabled globally in Emacs, RET indents according to the major mode's indentation rules. Thus it was decided to change the default value of org-adapt-indentation, to reflect the expectations of the Org users who took the time to chime in on the mailing list to describe their workflow and expectations. If you think the default value should be reverted back to t, I suggest you make your case on emacs-orgmode. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 13 03:49:05 2021 Received: (at 51167) by debbugs.gnu.org; 13 Oct 2021 07:49:05 +0000 Received: from localhost ([127.0.0.1]:57888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maZ0b-0008O5-Ir for submit@debbugs.gnu.org; Wed, 13 Oct 2021 03:49:05 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:50213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maZ0Z-0008Nb-3b for 51167@debbugs.gnu.org; Wed, 13 Oct 2021 03:49:04 -0400 Received: from [192.168.178.63] ([82.207.239.222]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N3Kc6-1mimDa2Y9y-010MlJ; Wed, 13 Oct 2021 09:48:56 +0200 Subject: Re: bug#51167: 29.0.50; org-indent-line broken To: =?UTF-8?Q?K=c3=a9vin_Le_Gouguec?= References: <541af1a2-d532-13f7-8cf6-6edbfe64fdc1@easy-emacs.de> <87zgre6qgx.fsf@gmail.com> <4c834a6c-e92b-443d-90e9-f9dbef527f0c@easy-emacs.de> <87czo9z8cc.fsf@gmail.com> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: Date: Wed, 13 Oct 2021 09:48:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <87czo9z8cc.fsf@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:+VK5WnVQPaaA3zxOowzqH0xmetnsnEwVGvILXE65tSnsPeNuGL3 MVWd9NiKhqrkc03NndqA4Z+DeILTzglD7Or+aQpt5jKemnNzgKYhRePXEVyNiEsQ2BT2uCQ W7QIRBq2HyLMqdK6Oag7u19LdgiiaVHCRy74Psp5cRKuCfq11/KUWu0NmpcbFv0zUuRVJkj qI/9ME7iXMzxTK+FxqCjg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:luREnowovfk=:FVQunOqTmT/c7Xv1quFIbs kwlUfRO1c+rVgmD5gKHHARqkobNOOl3ANolo284Jopg/7KEfi9JJIPtMHBD6C5u7wQ7jtph1d 0ezSX8HoKvTZa3BB2J5LxqyuxUg9Lc0T6RlSIpAOZ0C1jCyw4nvbOmo5hkxhByMMK1GRANOln N4wQSF0LqmWjM7rdztk4qVlMylltPJrFDMJuekrTKMPh4fURPJZiH8RLIzkA4Ifw39XN2YMbg PKcudvxI7HklXW7TmvXBMM03KwkCgQPXjLWBcs8p2/xjihxjolbfGu4T1F+C70zMk10GVtvEw LLYIJmmi6gUeFEpKzuXy3ZeYKryOjjnrNHkXjNoLaH7WjvaBCqFheUJV396LWU+K672S6vbjA v8D8F7nm+ClorJ1ijSwxGNXcMQE8MQtci/ZVyidhXyu5O1wu8bOvSc9dZPPPbgC9depdHEFYM PYjsFtuoImOUGKusBO8jNxW5iwHXFPX/pPEbh6I4BjyxC6PIMbZwS01P/an1Vm8U7J35n1JWb qqMjVCcJTECeL+hvqbaWENKPUEueUWNVIH6v1pu8rH/qS6s7BygFfbiH+IEBWJlmT/tIygFey D9j6wiPIfGidgLw/9nikZYahwJIhjiutMDwKlQ/exms3hFVm5R6lV/BR8BAosf26/q6biZ3nP kpBPCs+OZUPK3yYL4LdqJtSx/OhbzcHCNs7+Y9hze0yeLORWaZrwPo5/krnsJK5fmE3vr7nff JvmlNaedvj23bKkFi2yieWDMchdhQzgQ5c89bEtKJ5+oKiusi+30apt6Bdc= X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 51167 Cc: 51167@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) On 13.10.21 09:34, Kévin Le Gouguec wrote: > Andreas Röhler writes: > >> Sounds like a chain of confusion. >> >> A command called "indent-line" definitely should indent. > org-indent-line indents just like every indentation function in every > other major mode: if the syntactic convention calls for it, it indents > or de-indents the current line; otherwise it leaves the line untouched. > > Or are you saying you would like org-indent-line to also indent "* bla", > because « a command called "indent-line definitely should indent »? > >> Seems the original coulprit is that unhappy switch of RET and C-j, in >> order to make Emacs "modern". > "Modern" did not factor in; the goal was to have RET and C-j behave > consistently in all major modes. That does not deliver an argument to change the meaning of RET. BTW the costs of such changes are terribly underestimated in Emacs. >> Maybe make RET RET again? > After much discussion on emacs-orgmode, it has been found that a lot of > users expect neither (1) their prose to be indented, nor (2) RET to > indent. > > Since electric-indent-mode is enabled globally in Emacs, Which IMO was another mistake. Preferring a clean editor, which does fancy things only if enabled. > RET indents > according to the major mode's indentation rules. Thus it was decided to > change the default value of org-adapt-indentation, to reflect the > expectations of the Org users who took the time to chime in on the > mailing list to describe their workflow and expectations. > > If you think the default value should be reverted back to t, I suggest > you make your case on emacs-orgmode. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 13 05:01:12 2021 Received: (at 51167) by debbugs.gnu.org; 13 Oct 2021 09:01:13 +0000 Received: from localhost ([127.0.0.1]:58238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maa8O-0005Dr-CC for submit@debbugs.gnu.org; Wed, 13 Oct 2021 05:01:12 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:41651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maa8K-00056J-Pe for 51167@debbugs.gnu.org; Wed, 13 Oct 2021 05:01:10 -0400 Received: by mail-wr1-f44.google.com with SMTP id t2so5821783wrb.8 for <51167@debbugs.gnu.org>; Wed, 13 Oct 2021 02:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Sg1G9V4wMvuljCFrnM4VldfdtrZh/9tuMgieqyXwE5s=; b=dkPE78FBn/U/i0NRmnrYqxe9PwQZgMVDnRZeUFfx72Sd+0UfO6b7njfEPPSWBJNMLO 5yFtpwa6gPzBQg1WFg7sG9budbfWbpP5dKqh7W8MJxhMX3G5f7x1hsUjlehnlX5xV8BU WmBHxoW6Ripa1q4bPPKL65eIzjMcgyd8bmZBiSxYNkHmVWuIRh0RYOCGvZbLB/4rlA6h v6YmLD0oPFhKWpBtyidu33r4HHESqJY1Vew2Ffl4DKAK9Fz8NYIqUxKwa9/Zv1KXLIi1 pJaYwrPwYN+E7wSEG/PDHSbN6n/RhgABbc0Ii613yH1MQDrMTQxxmm0t7PALrKFWr/HW D2iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Sg1G9V4wMvuljCFrnM4VldfdtrZh/9tuMgieqyXwE5s=; b=xe9YruX8BL3YBfSSxi0xB1KNgaUk4714NAAUDphztDtreD/tNSyi8kQrNrDk2znYR5 eEKjR4RJw767qmEcNtLEgCf0B7NvyvdYPsWBMiQy9/sAuPfqboRAuI/VCTTnsZ1hU6Qj xXK3WWSg3MJAKj46zWhntOt+7nafPjP3aSmeCqM3ePLxevckhgtBuHOJBdK33V9aWNmA LvTVrgqkW1lQm0TeWWbH0bwMnHX+NrbE37LVGAxCVvWY2ffdibEGvBCsgvTaBnC80/SB mjz5tea8m5j3Pt5XD6u20eCV+SXtXjDOJTp4TjXLL3Ynw2DJMm9/r7t5PlDPeD2pYBdz GubQ== X-Gm-Message-State: AOAM5326GRRc7FpkHPigLT34R1FSHjUgJwyvGjXuSybsKcTnBDF0w4GV QSms0HSa7R3nSuo+LEU3ICROKR94Fzc= X-Google-Smtp-Source: ABdhPJw/a/Xy+RXkEVx7jBQn9NKIyaOzhcHJJEJdUY68UzZRf53ZCkFJO5AphW0CXTCqqF/o8Cn9yQ== X-Received: by 2002:a1c:21d7:: with SMTP id h206mr11361136wmh.163.1634115662653; Wed, 13 Oct 2021 02:01:02 -0700 (PDT) Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id g144sm4866711wmg.5.2021.10.13.02.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Oct 2021 02:01:02 -0700 (PDT) From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#51167: 29.0.50; org-indent-line broken References: <541af1a2-d532-13f7-8cf6-6edbfe64fdc1@easy-emacs.de> <87zgre6qgx.fsf@gmail.com> <4c834a6c-e92b-443d-90e9-f9dbef527f0c@easy-emacs.de> <87czo9z8cc.fsf@gmail.com> Date: Wed, 13 Oct 2021 11:01:01 +0200 In-Reply-To: ("Andreas =?utf-8?Q?R=C3=B6hler=22's?= message of "Wed, 13 Oct 2021 09:48:55 +0200") Message-ID: <87pms9b8oi.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51167 Cc: 51167@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Andreas R=C3=B6hler writes: > On 13.10.21 09:34, K=C3=A9vin Le Gouguec wrote: >> >> "Modern" did not factor in; the goal was to have RET and C-j behave >> consistently in all major modes. > > That does not deliver an argument to change the meaning of RET. If there is a compelling argument that justifies RET and C-j behaving differently in Org wrt other major modes, I haven't heard it yet. > BTW the costs of such changes are terribly underestimated in Emacs. AFAICT, the costs of user-facing changes are regularly discussed on the Emacs development lists, and different developers have different opinions on how underestimated they are. In the specific case of RET and C-j, I'd argue (and Org maintainers seem to have agreed) that the long-term benefits of Org falling in line with other modes outweigh the short-term costs of annoying long-time users, especially since they are offered ways to bring back the previous behaviour (outlined in ORG-NEWS). And in the specific case of org-adapt-indentation, again, changing the default to nil was the result of extensive discussion on emacs-orgmode, where several users explicitly stated that they did not want text to be indented (neither with RET, C-j, TAB, nor org-indent-line) and never realized that org-adapt-indentation was t because Org ignored electric-indent-mode before 9.4. >> Since electric-indent-mode is enabled globally in Emacs, > > Which IMO was another mistake. > > Preferring a clean editor, which does fancy things only if enabled. There are plenty of things Emacs does by default that I personally find unhelpful; fortunately I can just disable them. And as long as release notes point out changes in default behaviour (and how to revert them), I'm happy with new releases enabling new features. YMMV =F0=9F=A4=B7 From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 13 08:59:58 2021 Received: (at 51167) by debbugs.gnu.org; 13 Oct 2021 12:59:58 +0000 Received: from localhost ([127.0.0.1]:58981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1madrS-0000Hv-FX for submit@debbugs.gnu.org; Wed, 13 Oct 2021 08:59:58 -0400 Received: from mail-lf1-f46.google.com ([209.85.167.46]:44843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1madrR-0000Hh-9V for 51167@debbugs.gnu.org; Wed, 13 Oct 2021 08:59:57 -0400 Received: by mail-lf1-f46.google.com with SMTP id y26so11407492lfa.11 for <51167@debbugs.gnu.org>; Wed, 13 Oct 2021 05:59:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=h16TUQDjzo6flFGrb/WK3j4drILO9Vj3p6lvf/KnBMU=; b=aXI3PuNNb+lLGXPVeK+q81mxgqRSEjLCPpMnNK/d8CsiUX/oGz8yIDIqMjpCQgVVVs RNU8CdHJLEMQoUm2em27o73jSJfAtaInrjsT/aVztQOyVhDJsE9WMtWV/2ADYzK+HTPB Cw31KJU/rdzKP5MoYKCoMY5JdaMcpPv3Sk5DhcKnRSTAmJf3MnwVskbhhWxIhfHT6zFt 0Y3fWjKvjljT1tZ5U91RVBmosGrcV7xQyvm2u2PPomYzo9SLW+zCSAMzK8EDsw/c/MKz r741ovfqMBY4NwXINkXfj8NFC+n48yaHhtX7ysDtih/Os1dRlZ5YcLelRA3DKefZczxk 7WkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=h16TUQDjzo6flFGrb/WK3j4drILO9Vj3p6lvf/KnBMU=; b=Ncmj8pvoLKudDks+xtqUVPBFAIC3FhzpCR+6nFX+E50d0tXHbRE9Tc/GUZDGw3u/WE jHs3ZLOLbXMEMkk6L29NMKETqglYk12shcnyT30JZboD7JBioIqBoopPCUPsTcfW69vr vM00mW5mn2YOGiWrlMOqhHzumme4db/rnxE2VG1XnEWcu/v4FQ1UXpcuTUv9ODVfXWmQ 9bEBlu8DZ3+sXrfVz8y0TejBfu5Nmjh9MEkioP/fao9C2oF9GSadEdPGMq1/3A9LoVrx ZpoZJ0aYcC9eol91hIkZUWRH67u6M7VT4pvwhviFpotP2oo1fbI0b+jZnZDNo1X0Uatz sgew== X-Gm-Message-State: AOAM5324oOo9qNdu6QcK5DsZqq9+e6iEqIQImAQpqk1rzsyL/eZiYlNF b7ZLcNRj0SZMs76zlZVcx/owGDs6Ox8= X-Google-Smtp-Source: ABdhPJzJz12Tidk8/uR+MHaam2ZxXPWEpm+hjSH2M+B2CbA7dYK3c39o22NAukfhQP5BGfrMYgofOw== X-Received: by 2002:a05:6512:1581:: with SMTP id bp1mr41712323lfb.552.1634129990905; Wed, 13 Oct 2021 05:59:50 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id t17sm1319774lff.268.2021.10.13.05.59.49 for <51167@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Oct 2021 05:59:50 -0700 (PDT) Subject: Re: bug#51167: 29.0.50; org-indent-line broken To: 51167@debbugs.gnu.org References: <541af1a2-d532-13f7-8cf6-6edbfe64fdc1@easy-emacs.de> <87zgre6qgx.fsf@gmail.com> From: Max Nikulin Message-ID: Date: Wed, 13 Oct 2021 19:59:42 +0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <87zgre6qgx.fsf@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 51167 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) On 13/10/2021 01:35, Kévin Le Gouguec wrote: > Andreas Röhler writes: > >> With following stuff in org-mode buffer: >> >> * bla >> asd >> >> M-x org-indent-line RET on second line has no effect. Andreas, do the following settings make behavior consistent with you expectations? (add-hook 'org-mode-hook (lambda () (electric-indent-local-mode -1))) (setq org-adapt-indentation t) Have in mind that TAB is a rather busy key in Org. Besides indentation it is used for fold-reveal cycle for headings, list items, drawers, source code blocks and examples. On 13/10/2021 14:34, Kévin Le Gouguec wrote: > Or are you saying you would like org-indent-line to also indent "* bla", > because « a command called "indent-line definitely should indent »? * Is a heading * List item. Another line of list item * #^--- TAB indents here. However there is no zero indent in the cycle and it might be considered as a bug. On 13/10/2021 13:47, Andreas Röhler wrote: > Maybe make RET RET again? Now I am confused if TAB or RET makes you unhappy. `org-indent-line' has closer relations with TAB than with RET. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 17 11:20:13 2021 Received: (at 51167) by debbugs.gnu.org; 17 Oct 2021 15:20:13 +0000 Received: from localhost ([127.0.0.1]:45150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mc7xN-0008LZ-7V for submit@debbugs.gnu.org; Sun, 17 Oct 2021 11:20:13 -0400 Received: from mail-lj1-f175.google.com ([209.85.208.175]:38635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mc7xH-0008Kz-FK for 51167@debbugs.gnu.org; Sun, 17 Oct 2021 11:20:11 -0400 Received: by mail-lj1-f175.google.com with SMTP id n7so4058306ljp.5 for <51167@debbugs.gnu.org>; Sun, 17 Oct 2021 08:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=in8v5JlIJEqOF35aNCrkKUggeIIFQZa230iMV8rD1vc=; b=bvAyNIPI9Izx3BY0oSJoHtchyQUpLRSZS3W+wf23YNDSr9n2agRBvrbHkW0rNzLZNV m2dWVdsKWQeuebtScxBSS3tIHlAgL+Y/GMh1wh6JgPP3AWpHoVwyrRE7hrCoujRKgvBs brD2jwOxdGRL0EcHfn4bM5DsYA+1YsMlGWtSnC9Ff8C/2FFfWgUcSmY8lwIlu0iQCWnp TXyyCfALIKY0VERKcfB21FSNah2dn6ZW1J0b6KXO/4m3+RxchMfrELAYgB918SixWpmc PjJUjnU0juUQ5Xb9cKopEnbezJ/Isw1c32Rtjn9VvI+oK75ldBN6YiJP9tYIyKmGdu2M 6NHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=in8v5JlIJEqOF35aNCrkKUggeIIFQZa230iMV8rD1vc=; b=T8CqEsN3NjjQSfOr44M+O0YL+Uo5VQf3ytKe6ZgEX0WYoTpboL/tA6nR3dAxviSUup hNarWpB983PJvwaalHaDc9SAF4kZ7CZo0biVKbUz0/DLcJGo7Y4p3ZQXlF/bGhA+uhb/ ThoJWPVQX+iSsOOXXb86XOA1ZN4jVhJVj3Yr/mZ6Rh/RywmtRR/kxBmQQDge08/9hMd+ 6G9rdNfBKuZr+oOXko9wt+9TuCu22ZUe4mivfmiu23A7XUEqWD0ZQ4wCKsKa3eU9Hq3V mN/GTUv1e8WrzmN872hdw1yuNuaKz79IqbDFlDoD8wkOd/rNtkGu7BxiJk16+J4AvFKZ e8NQ== X-Gm-Message-State: AOAM530VUneH/M0YPxxUgIhvv/ggVaqB8y/xrL4y5+t01uYiUbJxWDnR v0JTbMGyRuYF16eajD9qNd9pK4kEgWk= X-Google-Smtp-Source: ABdhPJwRGAlgE0ltZjEFq6qbmQowwGCTLecvsrRnCP7MmK2juZCSIjtXoU6B53QQhDOjI4vEk5bqTQ== X-Received: by 2002:a2e:9f4a:: with SMTP id v10mr25602549ljk.375.1634484000944; Sun, 17 Oct 2021 08:20:00 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id a11sm1423473lji.90.2021.10.17.08.19.59 for <51167@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 Oct 2021 08:20:00 -0700 (PDT) Subject: Re: bug#51167: 29.0.50; org-indent-line broken To: 51167@debbugs.gnu.org References: <541af1a2-d532-13f7-8cf6-6edbfe64fdc1@easy-emacs.de> <87zgre6qgx.fsf@gmail.com> <3aff866c-61d1-602b-5468-6026c251a0c5@easy-emacs.de> From: Max Nikulin Message-ID: <32780b45-d020-d3f0-85dd-7592401697cf@gmail.com> Date: Sun, 17 Oct 2021 22:19:59 +0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <3aff866c-61d1-602b-5468-6026c251a0c5@easy-emacs.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 51167 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) close 51167 quit On 17/10/2021 03:02, Andreas Röhler wrote: > On 13.10.21 14:59, Max Nikulin wrote: >> On 13/10/2021 01:35, Kévin Le Gouguec wrote: >>> Andreas Röhler writes: >>> >>>> With following stuff in org-mode buffer: >>>> >>>> * bla >>>> asd >>>> >>>> M-x org-indent-line RET on second line has no effect. >> >> Andreas, do the following settings make behavior consistent with you >> expectations? >> >> (add-hook 'org-mode-hook (lambda () (electric-indent-local-mode -1))) >> (setq org-adapt-indentation t) > > Thanks. That works for me. So it is not a bug. > Still thinking a command "indent" should indent. Such settings are not the best choice for defaults. They are not friendly to - New users who do not press TAB after each RET, so they later get inconsistent indentation after promoting/demoting/refiling headings. - Users who write long documents where convenience of indented paragraphs is disputed. Likely org-indent is better to get visual indent without adding spaces in front of every line - VCS because of promoting or demoting headings results in overblown patches. I do not think that behavior of TAB in Org is deviates from major modes. (Side note: sometimes I do not mind to have indent accordingly to my taste even if it is not conventional one for particular structure.) From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 17 11:54:30 2021 Received: (at control) by debbugs.gnu.org; 17 Oct 2021 15:54:30 +0000 Received: from localhost ([127.0.0.1]:45161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mc8UY-0000jK-9h for submit@debbugs.gnu.org; Sun, 17 Oct 2021 11:54:30 -0400 Received: from mail-lf1-f48.google.com ([209.85.167.48]:42700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mc8UT-0000j3-LD for control@debbugs.gnu.org; Sun, 17 Oct 2021 11:54:28 -0400 Received: by mail-lf1-f48.google.com with SMTP id x27so61292064lfa.9 for ; Sun, 17 Oct 2021 08:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:references:to:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=9Vbf9sjmfpEfOvCFcUI5z4dG9Fm0GNffoJQGebrDcug=; b=IX33qvRMt0IkBRhf3N0FJUOKO/q0ywrmYJZ9qkS/bOSfpCfZm0UbGKijx/14g64V2h tRs3NaEnEUdgBKzDd4OpIN1xrJqWT9P483wyFWT3dVNVirHR02cb5OB+oLS7qLnu6Wb8 yqE15kKHYGdQBCxyCJ10CP7BiwTzJFazbChqxRX8gdCflgUmK5rgHF92bH1hdpKByFbD kktC/TGsOIn4acTSN2uDIM704lJ1jfW9Hh/CQpgBn0zKhLUpyxCtG5x0Voiw0mRrbVUz zulVWZUIToj9P61ElSV4dyI2BpY89nNcBfpbXYPqQ4dHns0yalteqzYnuDITpBAk5B/O GMgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:references:to:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=9Vbf9sjmfpEfOvCFcUI5z4dG9Fm0GNffoJQGebrDcug=; b=bY0k5u6Nmiy2WUL8yzR3a3MC4Da/+qMXeVrEMD3COel8B6dGYHwppkzrjGxf1W4dR2 FtXVCPutH67WQ/d1LDZeE1HgqGcIRh0Aq1hffSARt6/eLk6u6k3/4wX3ImHRRMZN2Cbv UAoKjkQibVku+Gh891SRTt5lMSi7Vq65ywtf+zDD1CIIMMfZwdo8MNM4zoHfdrYUCfdf jvFYfL7Vz7E60kLYqvelKvu3JofWsPttoWVpnQL1GYay0f/g4tSOlKOh542AP5UVgJf7 QV4g2N1cnDc6ZYiOA/GiZBIgkVzWR48RC/FV18zEpjH0QennJmMTmL+Egt4Xhvv/d4KH 9OeQ== X-Gm-Message-State: AOAM533AmD98P4we8/gDU+aecl8CvxibL/GFXjCvRNEs/KHRcp9xf+9t xt0DSmz6/khWi7jH3JjTRQ5tCkpwP6I= X-Google-Smtp-Source: ABdhPJy4iGxjlGeqQvTbKriHvj1KoQ4iEFyLwnkTSVeaO3kIxZcCe2GsvF9RJPg01ORUpZH5eSN44Q== X-Received: by 2002:a05:6512:2309:: with SMTP id o9mr24058055lfu.75.1634486059252; Sun, 17 Oct 2021 08:54:19 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id d19sm1344418ljl.87.2021.10.17.08.54.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 Oct 2021 08:54:18 -0700 (PDT) Subject: Re: bug#51167: 29.0.50; org-indent-line broken References: <541af1a2-d532-13f7-8cf6-6edbfe64fdc1@easy-emacs.de> <87zgre6qgx.fsf@gmail.com> <3aff866c-61d1-602b-5468-6026c251a0c5@easy-emacs.de> <32780b45-d020-d3f0-85dd-7592401697cf@gmail.com> To: control@debbugs.gnu.org From: Max Nikulin Message-ID: <312cfd53-1fe0-6282-c8ac-36e2d940d1bc@gmail.com> Date: Sun, 17 Oct 2021 22:54:17 +0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <32780b45-d020-d3f0-85dd-7592401697cf@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) close 51167 quit From unknown Sat Aug 16 15:55:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 15 Nov 2021 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator