From unknown Sat Aug 09 05:01:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26891: 26.0.50; Error using lisp-indent-line in eval-expression minibuffer Resent-From: John Mastro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 May 2017 23:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26891 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 26891@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14945457033688 (code B ref -1); Thu, 11 May 2017 23:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 May 2017 23:35:03 +0000 Received: from localhost ([127.0.0.1]:39391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8xbr-0000xP-75 for submit@debbugs.gnu.org; Thu, 11 May 2017 19:35:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8xbp-0000wt-Eg for submit@debbugs.gnu.org; Thu, 11 May 2017 19:35:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8xbi-0000iX-VH for submit@debbugs.gnu.org; Thu, 11 May 2017 19:34:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35551) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d8xbi-0000iT-RA for submit@debbugs.gnu.org; Thu, 11 May 2017 19:34:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8xbh-0002M5-6I for bug-gnu-emacs@gnu.org; Thu, 11 May 2017 19:34:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8xbf-0000hR-TA for bug-gnu-emacs@gnu.org; Thu, 11 May 2017 19:34:53 -0400 Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]:34627) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8xbf-0000hF-OB for bug-gnu-emacs@gnu.org; Thu, 11 May 2017 19:34:51 -0400 Received: by mail-qk0-x234.google.com with SMTP id k74so35763605qke.1 for ; Thu, 11 May 2017 16:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=FXF932VawOWxgB+pk68Dx2DN/YLgraJ/I5DanRsGJjI=; b=aTcvU/hSYs2k2sFZzkNd9lqOgK/gGAKUQpUgk6vmkTyWDhA2PwOMTTzNj8it/Uf9H2 t8/DWQn1Z5/7Ox+/JnktY9UDPJnFBKgPv7W1lnyMkJml+8lKDY+QaifdgVgMHdFUTFwh fKIFVqqzJJmSltOiWS93g7WQ8kDOLGTwWub+I6BnuO2okI7d6x5/5QhiFzD67Zgdqh1f w9GSCFKZ+3aUKSU6lynK3hyxZ+rCQGl2YMLOXCMmyvawfGT2IR2DZjAwIrd0lBQr407x FeE/7lR/OyQ/6whjwS4Q+Iixp+wLjQUmaV6P33vTCF2hpgQVueQu1YWLtnKTV/a67Z/q Z4hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FXF932VawOWxgB+pk68Dx2DN/YLgraJ/I5DanRsGJjI=; b=SL1YrIhbaUtUxwhs+l4Z3+G9yBQleVKZzJJ08m6+FcpVmv0Pibz/4bXxlo2yZ1XawY f2YL5gvRUEK1JXKltnbFNDbgRrHmbvJcRDO3cbH50GnGwKAIBeqQXHAvj1Gz+NPLxgUI z9zTHGZCycLFMILykzEPXtT/kiXvWUmd4r75DXCXk2BhOdfJ04GK9jOZX55LUniCqlir caS4Q7FwMc97sORDdSSu+7gezA7IpAQtmb/FYQz/BvmE9EJuadbRkYSuAWThLZAly2Wa 3YRZjmza+sNcHe+frmv5tNmsx0wqjiJqOsrGA3oa9CWO0vFx3rSlm2WpPCFEQgKFR2iR Fgcw== X-Gm-Message-State: AODbwcCBqN6dHD9KQpg3OaOaCe/CNIPpNq4ZEq0h2e0B7vVSImcbPynt s6fsBBlHPLb1Xj2zMdLhLoew17/cXTacOFY= X-Received: by 10.55.9.141 with SMTP id 135mr1083097qkj.20.1494545690506; Thu, 11 May 2017 16:34:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.51.229 with HTTP; Thu, 11 May 2017 16:34:29 -0700 (PDT) From: John Mastro Date: Thu, 11 May 2017 16:34:29 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) Using lisp-indent-line in an eval-expression minibuffer (i.e. M-:) works in Emacs 25 but causes a "Text is read-only" error in Emacs 26. To reproduce: 1. Run emacs -Q 2. Evaluate the code below 3. Type M-: 4. Hit TAB Here's the code: (defun init-eval-expression-minibuffer () (setq-local indent-line-function #'lisp-indent-line) (local-set-key (kbd "TAB") #'indent-for-tab-command)) (add-hook 'eval-expression-minibuffer-setup-hook #'init-eval-expression-minibuffer) Point will move to the very beginning of the minibuffer (on the "E" in "Eval") and you'll see a "Text is read only" message. (I called it an error above but it doesn't actually invoke the debugger even with debug-on-error and debug-on-signal non-nil). It doesn't matter whether you have entered text or not before hitting TAB. Thanks, John In GNU Emacs 26.0.50 (build 4, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2017-04-26 built on meta Repository revision: 8f2062d96b0319fc2a837ba9e2c6b67abf31c920 System Description: Fedora release 25 (Twenty Five) Recent messages: Loading /home/jbm/.emacs.d/defuns.el (source)...done Loading /home/jbm/.emacs.d/local.el (source)...done Loading /home/jbm/.emacs.d/custom.el (source)...done Loading /home/jbm/.emacs.d/var/recentf...done Cleaning up the recentf list...done (0 removed) Loading /home/jbm/.emacs.d/var/company-statistics-cache.el (source)...done Starting new Ispell process /usr/bin/aspell with default dictionary... Configured using: 'configure --with-xml2 --with-zlib --with-gnutls --with-x-toolkit=lucid --without-pop --without-compress-install' Configured features: XAW3D XPM JPEG TIFF GIF PNG SOUND NOTIFY GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: flycheck-mode: t flyspell-mode: t projectile-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t company-statistics-mode: t global-company-mode: t company-mode: t ido-vertical-mode: t flx-ido-mode: t ido-ubiquitous-mode: t ido-everywhere: t smartparens-global-strict-mode: t paredit-mode: t global-undo-tree-mode: t undo-tree-mode: t winner-mode: t which-key-mode: t minibuffer-depth-indicate-mode: t recentf-mode: t whitespace-mode: t savehist-mode: t save-place-mode: t global-auto-revert-mode: t show-paren-mode: t global-hl-line-mode: t delete-selection-mode: t auto-compile-on-load-mode: t auto-compile-on-save-mode: t auto-compile-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t auto-fill-function: do-auto-fill transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort company-ispell mail-extr emacsbug sendmail term/xterm xterm flycheck find-func bug-reference flyspell ispell company-files company-keywords company-etags etags xref project company-gtags company-template company-dabbrev-code company-dabbrev company-capf dired+ image-dired image-mode image-file dired-x find-dired dired-aux projectile grep compile ibuffer-vc ibuf-ext ibuffer ibuffer-loaddefs ibuf-macs git-commit with-editor cl-extra async-bytecomp async tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete parse-time magit-utils crm log-edit message puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log cl-indent hippie-exp comint ansi-color company-statistics company smex ido-vertical-mode flx-ido ido-ubiquitous cus-edit cus-start cus-load ido-completing-read+ ido ace-link avy smartparens help-mode paredit undo-tree diff winner ring which-key help-at-pt solarized-moar-theme solarized-theme solarized-definitions mb-depth recentf tree-widget wid-edit whitespace savehist saveplace autorevert filenotify time-date paren hl-line server cursor-sensor xclip edmacro kmacro cc-engine cc-vars cc-defs ivy flx delsel ivy-overlay ffap thingatpt subr-x pcase auto-compile packed use-package diminish bind-key easy-mmode finder-inf gh-common gh-profile rx s marshal eieio-compat ht json map dash advice cl slime-autoloads info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type 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 elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote inotify dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 634597 116951) (symbols 48 42964 3) (miscs 40 77 204) (strings 32 97335 116596) (string-bytes 1 3181935) (vectors 16 86537) (vector-slots 8 1896258 303457) (floats 8 145 535) (intervals 56 372 148) (buffers 976 11)) From unknown Sat Aug 09 05:01:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26891: 26.0.50; Error using lisp-indent-line in eval-expression minibuffer Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 May 2017 01:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26891 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: John Mastro Cc: 26891@debbugs.gnu.org Received: via spool by 26891-submit@debbugs.gnu.org id=B26891.149455141519192 (code B ref 26891); Fri, 12 May 2017 01:11:01 +0000 Received: (at 26891) by debbugs.gnu.org; 12 May 2017 01:10:15 +0000 Received: from localhost ([127.0.0.1]:39453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8z5z-0004zP-Cr for submit@debbugs.gnu.org; Thu, 11 May 2017 21:10:15 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:33366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8z5v-0004z1-SN; Thu, 11 May 2017 21:10:12 -0400 Received: by mail-it0-f67.google.com with SMTP id l145so3864839ita.0; Thu, 11 May 2017 18:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=t05pvWqXPYYx99lbk8pWvQHkv8u0xgy2v9WpQtvejFk=; b=QggVkNVmutMMk/cfJJWYpaYJFLarLZ+2NNUShF5OEFe/i4k69Ik+VI2x9C3iUCsiFn vGr4AYXKNeX5OAj7n4ynm7A2i7AfPIXqHxtosDnubcda719xxdolUBcLDRzc+MfDUsvH htCiUzO4ae3Dag8lxjvxR5F7SGufUA0QZFim3HZxXyRduD1tvQWrM4J5i23uhen+6YkX ZOktsy7MFshyyZvRBvHnjYchmLcXnmN9KWDNV2852ZYMz22vG1ztB5mGheiWXk/9vBQh 4O6pTVTywJtuFOB4aRkRgFJNISgRxdMvRKJ5FIrwoB8Hb6LQIZ9E0IK6u+9SezqEBJvh f4AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=t05pvWqXPYYx99lbk8pWvQHkv8u0xgy2v9WpQtvejFk=; b=ZsqWYOJtM84gdzZ0H5arIERRSW1Oy8l8xJVYb/vR58F7FgJRGBIE08zLHqlFR2PWyp msDSIRkzO2+tON3a8ct0McnqclvRLnOL7KilVnPoiyB53OrRNbvTlmXaX9xLi0SbS0yw H+Y3Q4bU27L6vzJPL40USYIj9IH6r3vdUyyK/QO5veTZZA8CokNIAbk6+qHWcmpooaTY kqQv8KGucZRWKJxnD2uQoOi0lQOiEJ0V3VQTu0iK+h99mtbcx9EWH4xLEhpbDQHfw8j/ XBxeQRnr5WEIXb3rQlCQmZXpHbuXMuuTpWOD9Bw2iQgflZgUd1GOUWzqbCVkAX4FDK04 BHqQ== X-Gm-Message-State: AODbwcAzibvPhzHcBjZKaQ7NZ+rMKIeP2yaS7UOTH2a387OuOk3nHsTl S6VvSrHH5/t3pw== X-Received: by 10.36.189.11 with SMTP id x11mr930640ite.16.1494551406268; Thu, 11 May 2017 18:10:06 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id n14sm1601617itg.0.2017.05.11.18.10.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 May 2017 18:10:05 -0700 (PDT) From: npostavs@users.sourceforge.net References: Date: Thu, 11 May 2017 21:11:37 -0400 In-Reply-To: (John Mastro's message of "Thu, 11 May 2017 16:34:29 -0700") Message-ID: <87a86ikhfa.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.2 (/) 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: 0.2 (/) --=-=-= Content-Type: text/plain tags 26891 patch quit John Mastro writes: > Using lisp-indent-line in an eval-expression minibuffer (i.e. M-:) works > in Emacs 25 but causes a "Text is read-only" error in Emacs 26. > > To reproduce: > 1. Run emacs -Q > 2. Evaluate the code below > 3. Type M-: > 4. Hit TAB > > Here's the code: > > (defun init-eval-expression-minibuffer () > (setq-local indent-line-function #'lisp-indent-line) > (local-set-key (kbd "TAB") #'indent-for-tab-command)) > > (add-hook 'eval-expression-minibuffer-setup-hook > #'init-eval-expression-minibuffer) > > Point will move to the very beginning of the minibuffer (on the "E" in > "Eval") and you'll see a "Text is read only" message. (I called it an > error above but it doesn't actually invoke the debugger even with > debug-on-error and debug-on-signal non-nil). > > It doesn't matter whether you have entered text or not before hitting > TAB. indent-line-to doesn't respect field boundaries (i.e., moves into the "Eval: " prompt text) because it uses backward-to-indentation. This patch to change it to back-to-indentation seems to fix it. I'm not sure why back-to-indentation and backward-to-indentation are inconsistent... --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=v1-0001-Make-indent-indent-to-respect-field-boundaries-Bu.patch Content-Description: patch >From 33880d67f0cc567ca5c317f828cc15859dcd9fe7 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Thu, 11 May 2017 21:06:33 -0400 Subject: [PATCH v1] Make `indent-indent-to' respect field boundaries (Bug#26891) * lisp/indent.el (indent-line-to): Use `back-to-indentation' instead of `backward-to-indentation'. --- lisp/indent.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/indent.el b/lisp/indent.el index fdd184c799..e7a30b885d 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -285,7 +285,7 @@ indent-line-to "Indent current line to COLUMN. This function removes or adds spaces and tabs at beginning of line only if necessary. It leaves point at end of indentation." - (backward-to-indentation 0) + (back-to-indentation) (let ((cur-col (current-column))) (cond ((< cur-col column) (if (>= (- column (* (/ cur-col tab-width) tab-width)) tab-width) -- 2.11.1 --=-=-=-- From unknown Sat Aug 09 05:01:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26891: 26.0.50; Error using lisp-indent-line in eval-expression minibuffer Resent-From: John Mastro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 May 2017 16:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26891 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 26891@debbugs.gnu.org Cc: Noam Postavsky Received: via spool by 26891-submit@debbugs.gnu.org id=B26891.149460768022958 (code B ref 26891); Fri, 12 May 2017 16:48:02 +0000 Received: (at 26891) by debbugs.gnu.org; 12 May 2017 16:48:00 +0000 Received: from localhost ([127.0.0.1]:41175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9DjU-0005yE-5B for submit@debbugs.gnu.org; Fri, 12 May 2017 12:48:00 -0400 Received: from mail-qk0-f169.google.com ([209.85.220.169]:34272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9DjT-0005y2-4J for 26891@debbugs.gnu.org; Fri, 12 May 2017 12:47:59 -0400 Received: by mail-qk0-f169.google.com with SMTP id k74so52554086qke.1 for <26891@debbugs.gnu.org>; Fri, 12 May 2017 09:47:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dXcfrPAS6T4SSV1kLQhVfEabjFfawSs9YyPFTgV+4FA=; b=VwipJQzqPynI9yOhauH1hvM6vzMvWRzJkxS9PVS/5mJs7KD6PUDWiP2SBTBaSiRK74 sHxzHR5bO74ZBeSv/UbJishoYL44AUehV4oawyXQelSKADROlAEE/wUGZ4YHudCimCuT 9uv93LwFMtnXdoopyJ2CTj71RYYRhvLiVBgEfQPLXkuG+AQ8oy+24og0Hkw/NnomgK41 IchRknHa2yuuU/5B8O/u9c0SKNoGW6NMQvPKPtBWlcJYX7sup0njBPec6PF+hVwBcuRr TDzsslWgpVYjFqSZyceorxd3Z4qNCqEKvmgmnw14yOjtmqf7pRA0x1Sq+TsYZFqw/QTS SY0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dXcfrPAS6T4SSV1kLQhVfEabjFfawSs9YyPFTgV+4FA=; b=psa9Js9zMg+HspsjEq2wPQGRL9KJGkR3QSMQdFC1TQfRyPOX7KsplxEmPbKUtmlVA/ 4ANuqhBi0zmMsW0qUPd+xvmyiUWm2Fh/AewQ5SKKxy9qBOcOiDzMWlL9AmumWNR49Zsw to3IXWH+CfdkWC747IUy6fdgsC/ZPOql7dPdkWsG2oRZfqzdXhA1qLWjPFn3gJ3EpnOJ 0Aufto1+aXfY+amYQEZy9s+mNj6P1NZuby4XPtyWS4zm5/VY4TjjCEa+XXYv51BQVJF/ QvNWo28olU5EYY4ANeCiJ5fiF4nULXkwXC/3kkuJ35+UpWYIZYQJqQ2zEEZjkYmztOP4 6YbA== X-Gm-Message-State: AODbwcBp1ou7kzzF4NkoEb48DjK3rQ3AFV5KgxrzU5ut2tuU7d6Spyz1 vy4vrAJNsY6W2E02zPUIq7+hVxvQOA== X-Received: by 10.55.97.76 with SMTP id v73mr4399182qkb.241.1494607673253; Fri, 12 May 2017 09:47:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.51.229 with HTTP; Fri, 12 May 2017 09:47:32 -0700 (PDT) In-Reply-To: <87a86ikhfa.fsf@users.sourceforge.net> References: <87a86ikhfa.fsf@users.sourceforge.net> From: John Mastro Date: Fri, 12 May 2017 09:47:32 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) 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: 0.5 (/) wrote: > indent-line-to doesn't respect field boundaries (i.e., moves into the > "Eval: " prompt text) because it uses backward-to-indentation. This > patch to change it to back-to-indentation seems to fix it. I'm not sure > why back-to-indentation and backward-to-indentation are inconsistent... That indeed seems to fix the error both for the minimal case and the scenario where I initially encountered it (using paredit-newline in the minibuffer). Thanks! John From unknown Sat Aug 09 05:01:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26891: 26.0.50; Error using lisp-indent-line in eval-expression minibuffer Resent-From: John Mastro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 May 2017 17:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26891 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 26891@debbugs.gnu.org Cc: Noam Postavsky Received: via spool by 26891-submit@debbugs.gnu.org id=B26891.149460935225411 (code B ref 26891); Fri, 12 May 2017 17:16:02 +0000 Received: (at 26891) by debbugs.gnu.org; 12 May 2017 17:15:52 +0000 Received: from localhost ([127.0.0.1]:41186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9EAQ-0006bm-Oy for submit@debbugs.gnu.org; Fri, 12 May 2017 13:15:52 -0400 Received: from mail-qt0-f178.google.com ([209.85.216.178]:33940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9EAN-0006bY-QZ for 26891@debbugs.gnu.org; Fri, 12 May 2017 13:15:48 -0400 Received: by mail-qt0-f178.google.com with SMTP id l7so11248170qte.1 for <26891@debbugs.gnu.org>; Fri, 12 May 2017 10:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KVTw5QcNKyxvDB9zZLfVPIs+lJeCX7gi/fb9+GrYa+U=; b=Gqb5YwHuRbuGFe2GkFRaw6/rMcZJ1eUT100GF+EdkSvJjYYLr8meb26DEXUD8Xqh/0 shj+pALabO7Z2JnhgLBeBypOGAZHdIWRxIFlBr2qpO/vBKSE19Xh3P7ctTSrziRev+0A MStpMmLjsQXiDLZdcVOyhq9HcztE2yLHgG7FHFYl7GEmp+vx8L6805rijzWCAnHMv81+ RC/l1u7XJtyu3Z2o+v60xYAgAqS3G4pMOlPHTQ1EW5x9wHjYHTnEYtjW833+PqqMhuUn oehEE2Q0u0J4k5mKB255j546PkV02FmUXZ2rbjLM8j2xEb2pfa3w5JV8sVjz1bqh2UKC g+IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KVTw5QcNKyxvDB9zZLfVPIs+lJeCX7gi/fb9+GrYa+U=; b=SxqOuXSJgg2qKjlDnX7glJx4CBc2xO4wwh4wgbYgqWcetdImIIm2086grcKAtjBUO+ eKMjT3p+pORzYj2YhSAfpBackG5YakKe1e7VSvQM/2XxXo4MG/ofrVIVHaLJz04SsKw0 4zihJAGoZbFcdQ1UPG5S+8YtBZHwSKpZKAe4k6THWOC6qMQkVLJo5nOgxx80LUNNZiFK /V19HF96BxZTuepYLMl1luhOfiEhmU52lNdT/Q/T8X5eY1ROKzH3xBWpg0P/y6Cwot+h MH63g43DGLsB5E2LmymptvQ7AEWP4KqxDghOws66hf81EO8z232F1KRDsxqE/KB9UfMI uMKw== X-Gm-Message-State: AODbwcBt8dwt+l9+XrSQzLMKc5uCH4hnzx1PZSBXsKC3ipHV0Pw1Vgto AgTcfDs4G+MJgK4vUKs+tQMa7aLBz4kq X-Received: by 10.200.43.33 with SMTP id 30mr3072322qtu.210.1494609342060; Fri, 12 May 2017 10:15:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.51.229 with HTTP; Fri, 12 May 2017 10:15:21 -0700 (PDT) In-Reply-To: References: <87a86ikhfa.fsf@users.sourceforge.net> From: John Mastro Date: Fri, 12 May 2017 10:15:21 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.2 (/) 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: -0.2 (/) John Mastro wrote: > wrote: >> indent-line-to doesn't respect field boundaries (i.e., moves into the >> "Eval: " prompt text) because it uses backward-to-indentation. This >> patch to change it to back-to-indentation seems to fix it. I'm not sure >> why back-to-indentation and backward-to-indentation are inconsistent... > > That indeed seems to fix the error both for the minimal case and the > scenario where I initially encountered it (using paredit-newline in the > minibuffer). Thanks! I noticed a small typo in the commit message (indent-indent-to should be indent-line-to) John From unknown Sat Aug 09 05:01:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26891: 26.0.50; Error using lisp-indent-line in eval-expression minibuffer Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 May 2017 03:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26891 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: John Mastro Cc: 26891@debbugs.gnu.org Received: via spool by 26891-submit@debbugs.gnu.org id=B26891.14949039816565 (code B ref 26891); Tue, 16 May 2017 03:07:01 +0000 Received: (at 26891) by debbugs.gnu.org; 16 May 2017 03:06:21 +0000 Received: from localhost ([127.0.0.1]:47237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dASoW-0001hn-TN for submit@debbugs.gnu.org; Mon, 15 May 2017 23:06:21 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:35543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dASoV-0001hS-Je; Mon, 15 May 2017 23:06:19 -0400 Received: by mail-it0-f68.google.com with SMTP id 67so13779866itx.2; Mon, 15 May 2017 20:06:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=654OcXFForg0UF1MlKf+5OC+fG9vNBDpNeMhsfKwvKk=; b=adc5ElzizewZUgyzRWFJpMTqRu0bVrDIkKerOwEfVm9Bdue0/dtuiCdjIlr9DyVDcB 5cmHsYckcWPHomFQfEj4cDmW75ISCnFKq9uOzdo8PlaeTdfIyxU9Bi052kGcTbm7ge+J dd1XXW/Mk21RN+HeX5IR5+vCDVAoMX1JtwphMhQBVEW+iYk8XiJ+IBidPwvWQIeW7HEC aiaR5jUpBKB1XI3ClyRT9qhRAVxhNtm9GRX6UQ/5QRDrRplJygu+PoWI+LpS1uXXCEvz KN04IADPdfPZyTlw2s2W5tKiAQ4otWTO9QWL9y2o8QgU1kERzSe/K54UVro8a7BxEzhs cn6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=654OcXFForg0UF1MlKf+5OC+fG9vNBDpNeMhsfKwvKk=; b=QgfACGwwrsx2q7hXK7YeHryCswIzj4Br5e+Ae5rvWENo3liKto4fka2HFRIM4CbTUj wMU3H+//HY3ebEjyGauEfz1kwBk5xsVQT0s3l/Rmqgv/8sJOFiJnshoJFtx5TSfycHlT ZMVPCsnziNFkwh+bKxEwu9w3isfPbksHdSXSoDPFiQdf5sTqsuTnmTkXqnSvhkZtQ2g6 +LFSA6DiQ8TyMrHJY3wR7UWg44+tN1REtaVeh0t3Y6fgUaf+oEiMiRb1TdSp/4KzhNTl WLrtdv/gN0z7VKumJIAKF/xTtLq3qTumSo7+Pp40SSZ4GO2iXA8XRxvMvsiKcADkMoik 5naw== X-Gm-Message-State: AODbwcCqrkUr5yKG+XeaYzW5K7QdylpR0F66OpI4qK7p03R6COrqn62v EUf/VJCB5WkYjg== X-Received: by 10.36.2.145 with SMTP id 139mr8674472itu.69.1494903974323; Mon, 15 May 2017 20:06:14 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id z100sm451294ita.27.2017.05.15.20.06.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 May 2017 20:06:13 -0700 (PDT) From: npostavs@users.sourceforge.net References: <87a86ikhfa.fsf@users.sourceforge.net> Date: Mon, 15 May 2017 23:07:48 -0400 In-Reply-To: (John Mastro's message of "Fri, 12 May 2017 10:15:21 -0700") Message-ID: <87tw4lijnf.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) 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: 0.7 (/) tags 26891 fixed close 26891 quit John Mastro writes: > I noticed a small typo in the commit message (indent-indent-to > should be indent-line-to) Thanks, pushed to master with typo fixed [1: 4635016869]. [1: 4635016869]: 2017-05-15 22:58:24 -0400 Make `indent-line-to' respect field boundaries (Bug#26891) http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=4635016869f7b85dfe37669674677a7dcaab20c4