From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#51459: 29.0.50; org-return and org-return-and-maybe-indent Date: Thu, 28 Oct 2021 12:17:26 +0200 Message-ID: <58f0c59d-d634-849b-05d4-e84eae9ab3a3@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7444"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 To: 51459@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 28 12:18:26 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 1mg2UL-0001ll-Lz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Oct 2021 12:18:25 +0200 Original-Received: from localhost ([::1]:42330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mg2UJ-0004Cp-Nh for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Oct 2021 06:18:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg2Tz-0004CV-3R for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2021 06:18:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mg2Ty-0003uv-RD for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2021 06:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mg2Ty-0007eO-K4 for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2021 06:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Oct 2021 10:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51459 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.163541625829361 (code B ref -1); Thu, 28 Oct 2021 10:18:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Oct 2021 10:17:38 +0000 Original-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 1mg2TZ-0007dU-OA for submit@debbugs.gnu.org; Thu, 28 Oct 2021 06:17:38 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mg2TW-0007dD-RX for submit@debbugs.gnu.org; Thu, 28 Oct 2021 06:17:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg2TV-0004AJ-Lr for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2021 06:17:34 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.13]:40215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg2TT-0003rq-Aq for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2021 06:17:33 -0400 Original-Received: from [192.168.178.54] ([82.207.239.83]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Ml6du-1n5R3j2qrM-00lTBQ for ; Thu, 28 Oct 2021 12:17:27 +0200 Content-Language: en-US X-Provags-ID: V03:K1:ZM2ufOwdXTjlNshrYA7haqERh7rGJUZMBgR5aKYjgoHq+uq0iRX YTjTT2PaRo4DOndjRPeOqWHdwYjLgptdrbpW895R0ARWXsxK68ikDFpxmf3hRBPqbyDHV8s w5iZ4muJE2vuqiGarW+snj3rVFpE4onXbS16/lmkMwCsgseEvJGea7NXAa8mSvFW5wu/iwo BLZd2O4WO0ptJx2LwlRag== X-UI-Out-Filterresults: notjunk:1;V03:K0:1K3yBTVcJDk=:XEO69uvCFHw7puMwMzmp3L zPzkOTeKkmKXP3sdfI5F13caaiE85eY8QkOGMmRWgn3Tx6VQsvNzZpT/8aAP9ABdMP4Y3j/F2 S5aRWzM0eZ7J8dfbyZn4lhQDDi6dDwNp8zZ0JW9mJPqU3K3+rKUmFKPLyJGIS/ydGG51xIala pX6BdYgXcuUbVdoYKwwpXAb6giD6CvimnSnkk77OuCrSw4rMU4tSNOx2tQS5T7VejjtOoMkWj PVrx9Ihx1p/M8A5xMlw4Ip/IIYej886JmGfrhpCc0ywGYiFMyLFJ+byGknPtm8jKlYi6c10Kk /VrI6qfhpa3T2GNKoxDJEBSR+rLE07jhgf6CVhKFJjhUw6kx3fnfTg4VIf65RAfGwSNhpUZ84 PQ3yeoUqW2114HHq738lwizO72rxHyWOu2HCTU1FZIy6STa15pNmaTDxU02NdueHZZranqxJD vsyRkaJtk9hoyisworj1QoiqnSSdp5an8qvo3Et/mezKDkbjfNYy/IQQaK+s3WUt3hJk6qj6+ fCYJAAxJx0S3nYvqT0Q4XK48CsCY8YFzouOFlrWqnER+p+0NsbCasT+iT++oUiVbmkegkmrnC b++j9vBsV3Ls6vlfV0+V7dHgrOiWl58ZmPcwnZMZfzogtmCJPomQBNJodv65TzJQ6uMeKeyf4 SobMYkvQ5DDuXJLpSZlh/SN8h2KaIyy4MLAfe8ZlCXvjxhMTYBpJsnZEg05f5iZdsO3VWEMiu tyjr/E4eLV2+dD5R Received-SPF: none client-ip=212.227.17.13; 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_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-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:218500 Archived-At: With cursor at EOL at some org-mode buffer with * Foo neither RET (org-return &optional INDENT ARG INTERACTIVE) nor C-j (org-return-and-maybe-indent) does indent Doing M-x electric-indent-mode RET don't change that. When calling C-u RET, get "org--newline: Wrong type argument: number-or-marker-p, (4)" When at start of second line now, TAB doesn't indent either. When in init-file (add-hook 'org-mode-hook (lambda () (electric-indent-mode -1))) (setq org-adapt-indentation t) C-j would indent. However, IMO doesn't make sense to require these extra config in order to get a reasonable behavior. ‘org-return-and-maybe-indent’ and ‘org-return’ should not provide the same,. One of them should indent, suggesting that with "indent" in its name. ^^+In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.32, cairo version 1.16.0)  of 2021-10-14 built on affe Repository revision: 64f9fdc812bb2e1f533ae294355d33396985e469 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Ubuntu 20.04.3 LTS Configured using:  'configure --with-modules --with-mailutils' Configured features: ACL CAIRO 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 GTK2 ZLIB Important settings:   value of $LANG: de_DE.UTF-8   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 dabbrev 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 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 275176 16564)  (symbols 48 43130 6)  (strings 32 115505 2450)  (string-bytes 1 2708623)  (vectors 16 37688)  (vector-slots 8 413290 29577)  (floats 8 295 99)  (intervals 56 310 0)  (buffers 992 12))