From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 08 18:09:34 2023 Received: (at submit) by debbugs.gnu.org; 8 Aug 2023 22:09:34 +0000 Received: from localhost ([127.0.0.1]:37862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTUtR-0000Dw-O8 for submit@debbugs.gnu.org; Tue, 08 Aug 2023 18:09:34 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTUtP-0000Dh-Kb for submit@debbugs.gnu.org; Tue, 08 Aug 2023 18:09:32 -0400 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 1qTUtJ-0004MC-3i for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 18:09:25 -0400 Received: from smtp1.axis.com ([195.60.68.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTUtF-0008OP-1R for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 18:09:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1691532561; x=1723068561; h=from:to:cc:subject:date:message-id:mime-version; bh=C8OjoTw3wKpxARG2wLHVge3MVjcTv4tA1n4SH8/BroA=; b=m9WHrXDjvuSI0uxZFSTPZUE1tW/bTMVdsj+F3T+pXQmqspMzEAu5TREb 2Deb5neRmNlyP40PPlJSlML9sPMxAMyMrvLPvpckAg6uxb94nTaDFIoz0 khYlkQ1JDvE7ZhBgQzVtKfZ5JJXn2v2iOk1pX+OTdMYDtqQn/Aj9i86dv eSTeWk1XMyYpmLLin6ThnxPRwWBG7Smw2ojVWsrUVM6fS8GjQqZA3yJwP jvbHhMbKcEHgeqkD08TUBv+Syj8DFpz7hT3M/rDZmFgBVu4ZTtWHozhyc WisR8vX4I6GeMuD2mlZ29JG2VUGeqp8p0eGGk4aMj3LPfwjlCnPy+uWxv g==; From: Ola x Nilsson To: Subject: 30.0.50; pp-fill fails when symbol's lisp-indent-function is bigger than number of arguments Date: Wed, 9 Aug 2023 00:08:54 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=195.60.68.17; envelope-from=Ola.x.Nilsson@axis.com; helo=smtp1.axis.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Stefan Monnier 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.1 (/) The `pp-fill' function uses the symbol property `lisp-indent-function' to insert line breaks in function calls. If the property is an integer larger than the actual number of arguments in the function call, `forward-sexp' will eventually signal an error. When the symbol property is `defun', `pp-fill' will assume this is equivalent to the value 2 which will suffer the same problem. This behaviour is also present in `lisp-data-mode' where it does not really make sense to me to assume the first symbol in a list is a function. I triggered this problem when I tried to use pp-buffer in a archive-contents file from GNU ELPA. The entry for `kiwix' lists `request' as a dependency. As `request' is also a symbol with `lisp-indent-function' set to `defun', `pp-fill' attempts to insert a newline after the nonexistent ARG2 causing an error. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2023-08-07 built on lap5cg80647hz Repository revision: 18e7bc87521e3c48b819cfe4a113f532ba905561 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Ubuntu 20.04.6 LTS Configured using: 'configure --with-native-compilation --with-mailutils --with-tree-sitter' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Diff Minor modes in effect: windmove-mode: t magit-auto-revert-mode: t tracking-mode: t buffer-positions-mode: t hes-mode: t desktop-save-mode: t global-git-commit-mode: t whitespace-mode: t which-function-mode: t display-time-mode: t global-auto-revert-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t indent-tabs-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/olani/emacs-packages/cov/cov hides /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/cov-20220727.31/cov /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/dpkg-dev-el-20230220.1635/debian-autoloads hides /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/debian-el-20211006.1939/debian-autoloads /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/emacsql-sqlite-20221127.2146/emacsql-sqlite hides /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/emacsql-20230417.1448/emacsql-sqlite /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/hydra-0.15.0/lv hides /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/lv-20200507.1518/lv /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/magit-gerrit-20230309.2251/magit-gerrit hides /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/magit-gerrit-20210831.1453/magit-gerrit /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/magit-gerrit-20230309.2251/magit-gerrit-pkg hides /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/magit-gerrit-20210831.1453/magit-gerrit-pkg /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/magit-gerrit-20230309.2251/magit-gerrit-autoloads hides /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/magit-gerrit-20210831.1453/magit-gerrit-autoloads /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/circe-20221126.1508/tracking hides /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/tracking-20210713.1609/tracking /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/circe-20221126.1508/shorten hides /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/tracking-20210713.1609/shorten /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/transient-20221127.2242/transient hides /usr/local/share/emacs/30.0.50/lisp/transient /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/use-package-20221127.2217/use-package-lint hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-lint /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/use-package-20221127.2217/use-package-jump hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-jump /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/use-package-20221127.2217/use-package-ensure hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-ensure /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/use-package-20221127.2217/use-package hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/use-package-20221127.2217/use-package-diminish hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-diminish /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/use-package-20221127.2217/use-package-delight hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-delight /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/use-package-20221127.2217/use-package-core hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-core /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/use-package-20221127.2217/use-package-bind-key hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-bind-key /home/olani/.emacs.d/elpa-lap5cg80647hz-30.0.50/bind-key-20221117.1610/bind-key hides /usr/local/share/emacs/30.0.50/lisp/use-package/bind-key Features: (shadow mail-extr emacsbug log-view vc-annotate vc goto-addr gerrit-buttons sort find-dired cl-indent inf-lisp edebug magit-extras ffap grep dired-aux coan-dired cl-print hydra-examples windmove rect hydra lv tar-mode arc-mode archive-mode cus-edit cus-start cus-load coan-magit-gerrit magit-gerrit face-remap coan-magit magit-submodule magit-obsolete magit-popup magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff magit-core magit-autorevert magit-margin magit-transient magit-process magit-mode mm-archive url-http-ntlm ntlm hmac-md5 hex-util md4 mule-util network-stream url-cache url-http url-gw nsm display-line-numbers cursor-sensor circe-color-nicks circe lui-irc-colors irc lcs lui-logging lui-format lui tracking shorten flyspell ispell circe-compat scroll-lock oc-basic ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader range wid-edit ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi yaml-mode flycheck-checkbashisms mmm-sh-here-doc mmm-mode mmm-univ mmm-class mmm-region sh-script executable help-fns misearch multi-isearch coan cl checkdoc coan-elisp skeleton autoload delete-trailing-whitespace-mode init highlight-escape-sequences woman man ob-dot anaphora groovy-mode dired-rainbow dired-hacks-utils autoinsert sed-mode smie mmm-sample mmm-auto mmm-vars mmm-utils mmm-compat t32-auto coan-list midnight desktop frameset python treesit rustic-flycheck rustic-spellcheck rustic-expand rustic-lsp rustic-playpen rustic-rustfix rustic-racer etags fileloop rustic-babel rustic-rustfmt org-element org-persist org-id org-refile avl-tree generator org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs cal-menu calendar cal-loaddefs org-version org-compat org-macs rustic-comint rustic-clippy rustic-doc f f-shortdoc shortdoc rustic-popup rustic-cargo rustic-compile spinner s xterm-color markdown-mode color noutline outline rustic-interaction rustic rust-utils rust-mode eglot external-completion jsonrpc xref ert pp ewoc debug backtrace flycheck-flawfinder flycheck-cstyle flycheck find-func bug-reference git-modes gitignore-mode gitconfig-mode conf-mode gitattributes-mode git-commit magit-git magit-base magit-section crm dash compat-27 compat-26 with-editor transient comp comp-cstr compat server log-edit message sendmail yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util 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 flymake-git-whitespace flymake-proc flymake project compile text-property-search thingatpt vc-git diff-mode vc-dispatcher advice edmacro kmacro coan-30.0.50-autoloads bitbake-modes-autoloads loaddefs-gen lisp-mnt radix-tree tramp-sh whitespace which-func imenu warnings icons exec-path-from-shell cl-extra time avoid autorevert filenotify use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf coan-system pcase tramp trampver tramp-integration files-x tramp-message help-mode tramp-compat xdg shell pcomplete comint ansi-osc ring parse-time iso8601 time-date format-spec ansi-color tramp-loaddefs a-autoloads anaphora-autoloads circe-autoloads closql-autoloads cmake-mode-autoloads cov-autoloads darkroom-autoloads dash-functional-autoloads dired-rainbow-autoloads dired-hacks-utils-autoloads dpkg-dev-el-autoloads dpkg-dev-el debian-el-autoloads debian-el dts-mode-autoloads edit-server-autoloads elquery-autoloads emacsql-sqlite-autoloads emacsql-autoloads erc-hl-nicks-autoloads esxml-autoloads excorporate-autoloads exec-path-from-shell-autoloads flycheck-checkbashisms-autoloads flycheck-cstyle-autoloads flycheck-flawfinder-autoloads flycheck-mypy-autoloads flycheck-autoloads frame-purpose-autoloads fsm-autoloads ghub-autoloads git-gutter-autoloads git-modes-autoloads git-timemachine-autoloads graphql-mode-autoloads graphviz-dot-mode-autoloads groovy-mode-autoloads highlight-escape-sequences-autoloads hydra-autoloads json-mode-autoloads rx json-snatcher-autoloads kconfig-mode-autoloads kv-autoloads lv-autoloads macrostep-autoloads magit-gerrit-autoloads magit-imerge-autoloads magit-autoloads git-commit-autoloads magit-popup-autoloads magit-section-autoloads meson-mode-autoloads mmm-mode-autoloads mu4e-alert-autoloads ht-autoloads alert-autoloads log4e-autoloads gntp-autoloads ninja-mode-autoloads ob-restclient-autoloads org-re-reveal-autoloads htmlize-autoloads ov-autoloads pkg-info-autoloads epl-autoloads pycoverage-autoloads rainbow-identifiers-autoloads repo-autoloads request-autoloads restclient-autoloads rustic-autoloads markdown-mode-autoloads f-autoloads dash-autoloads rust-mode-autoloads s-autoloads sass-mode-autoloads haml-mode-autoloads scss-mode-autoloads sed-mode-autoloads spinner-autoloads ssh-config-mode-autoloads tracking-autoloads transient-autoloads treepy-autoloads url-http-ntlm-autoloads url-auth use-package-autoloads bind-key-autoloads web-mode-autoloads with-editor-autoloads info compat-autoloads xterm-color-autoloads yaml-autoloads yaml-mode-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib early-init rmc iso-transl tooltip cconv 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 nadvice seq simple cl-generic indonesian philippine 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 abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 2524783 624554) (symbols 48 50577 10) (strings 32 473012 53616) (string-bytes 1 13896900) (vectors 16 186914) (vector-slots 8 3198879 292395) (floats 8 1331 10092) (intervals 56 215514 3376) (buffers 984 61)) From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 14 23:02:22 2023 Received: (at 65159) by debbugs.gnu.org; 15 Aug 2023 03:02:22 +0000 Received: from localhost ([127.0.0.1]:34690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVkK5-0003LR-RG for submit@debbugs.gnu.org; Mon, 14 Aug 2023 23:02:22 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:31885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVkK4-0003LE-NH for 65159@debbugs.gnu.org; Mon, 14 Aug 2023 23:02:21 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 573341000EF; Mon, 14 Aug 2023 23:02:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1692068534; bh=zJiivM9Wa1qIpKW9QRGMFmoyp+pVcfFcPKtGpIX4AJU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=CzSYuM+xyrwH+1hCV/QMWLeXDJ0slN/wwTOSBRYT4iT7kyDHEnE2/QaUdoAOtj9pG GRSW3tOsn1J8bVd68T4D3ouputXEQ4PMA7XkSvyg4wOIGn5tXbEr7wclLbjv5f4qvm XmSoEb6soYy833l+E3ZJTJ/dVRuqN20jxInOwxzgmckoqdf3NQmvhGhu3KTj87jPpX uAPZYLufWw5jIfHGzwJbr4Payb0EYD8w9F2VA+LoST0JID0k6NEiBWagQ00t25tKEW 9WA/P8I5cxvT8xUhLEhtuG+JGtMbHLS7d7e5R+u3qqR/K/ODg5dG1vG33PfFMa4oj3 MSxljiIUe2ecw== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 3AFA41000AD; Mon, 14 Aug 2023 23:02:14 -0400 (EDT) Received: from pastel (unknown [45.72.228.154]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 18910120283; Mon, 14 Aug 2023 23:02:14 -0400 (EDT) From: Stefan Monnier To: Ola x Nilsson Subject: Re: 30.0.50; pp-fill fails when symbol's lisp-indent-function is bigger than number of arguments In-Reply-To: (Ola x. Nilsson's message of "Wed, 9 Aug 2023 00:08:54 +0200") Message-ID: References: Date: Mon, 14 Aug 2023 23:02:13 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.168 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65159 Cc: 65159@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: -3.3 (---) > The `pp-fill' function uses the symbol property `lisp-indent-function' > to insert line breaks in function calls. If the property is an integer > larger than the actual number of arguments in the function call, > `forward-sexp' will eventually signal an error. I pushed a patch to `master` which should fix this problem. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 17 07:51:02 2023 Received: (at 65159) by debbugs.gnu.org; 17 Aug 2023 11:51:02 +0000 Received: from localhost ([127.0.0.1]:42893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWbWn-0000an-VO for submit@debbugs.gnu.org; Thu, 17 Aug 2023 07:51:02 -0400 Received: from smtp1.axis.com ([195.60.68.17]:4170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWbWi-0000aS-6i for 65159@debbugs.gnu.org; Thu, 17 Aug 2023 07:51:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1692273056; x=1723809056; h=references:from:to:cc:subject:date:in-reply-to: message-id:mime-version; bh=moXEoQlonUIakH/jmidrwsGbBr8oJQSYfl8h2KdrHKQ=; b=AVz9hP2V5y9Tmh9ZfXml+maIfv3+J47JJgi02ZV9g7Raa7pIQzJKZuRA gYht4S4V3AKROyoQxfYJHkQ/+R3pnJ3tJprAQFGLZlKGzXc1C/QCVnnYQ NHKUB8C/ESqvCMHwWPAmm7p6ThTn5LYhel62ZcNA5S43LpN5A+dLYdBTV KznF39fDXLojUEzcQWM7csRDExb3rwV5jeV9c9QydMr4gZFyHAwdDUCa/ jTJA0Xz3taLYRzIKzgASLbHHT1q1wgbxg8Jfpyt82l7CsG2l4UBZdlB08 ch6hrNwqiz/c9lAolBPkAisEIXnwEZwBfpCJQwndzehFeJosuA6UBYeNF A==; References: User-agent: mu4e 1.8.14; emacs 30.0.50 From: Ola x Nilsson To: Stefan Monnier Subject: Re: 30.0.50; pp-fill fails when symbol's lisp-indent-function is bigger than number of arguments Date: Thu, 17 Aug 2023 13:50:07 +0200 Organization: Axis Communications AB In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65159 Cc: 65159@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: -3.3 (---) On Mon, Aug 14 2023, Stefan Monnier wrote: >> The `pp-fill' function uses the symbol property `lisp-indent-function' >> to insert line breaks in function calls. If the property is an integer >> larger than the actual number of arguments in the function call, >> `forward-sexp' will eventually signal an error. > > I pushed a patch to `master` which should fix this problem. > Thanks, works fine for me now. /Ola From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 08 13:26:40 2023 Received: (at 65159-done) by debbugs.gnu.org; 8 Sep 2023 17:26:40 +0000 Received: from localhost ([127.0.0.1]:45510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qefFf-0005jp-Qv for submit@debbugs.gnu.org; Fri, 08 Sep 2023 13:26:40 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:48442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qefFd-0005jc-Hp for 65159-done@debbugs.gnu.org; Fri, 08 Sep 2023 13:26:38 -0400 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2bceb02fd2bso38671891fa.1 for <65159-done@debbugs.gnu.org>; Fri, 08 Sep 2023 10:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694193989; x=1694798789; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=TQFr7o8oAA5B5QLvnPG/CfiXJD9LHvBf3F1DYjSr7hQ=; b=TVKwm49ChxVm3OsUDb5jiozHukIOTojJzYYJnBfNw7GTfH3urhOAMQ93vWqqcwnY5H eqfx63KBUrJDgbv42Hr/RbCytMcuf9Bued5oCRu5o2nLW0M7DEiXt1kZXZ1zaUtALoAA js0M4zqqzvkg/d/ZljNjB4Yx22mFIt6uo2KRu1tX1PJbVWN7FDX16BoJY1luYwB/TW5j av8mtIGmbBmEj0KlW410599PDNsyeMc3XVhWt8T7Y0e0cuHECdnKzJMQn3RrE9kcRw/0 TLh1HivOFSorn7KMmA8ADcBsibMuUoTrS7YsgvX0NmDUviqm0wnaVvYmLU2yqe26j4ca YZVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694193989; x=1694798789; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TQFr7o8oAA5B5QLvnPG/CfiXJD9LHvBf3F1DYjSr7hQ=; b=gDF1Np4ICV1U5geDBvQ7LjWugfaPrK6dMBRaXXug5SL6qfjrpnl2sOpcCY65Nt0vxc j7wBhy4szgDC4JnoP8ehS8VutGo6cwKr3oLlmyJXbbJ/dgwPI1QJuPrRs8bcc7+PDs93 x27X52EaCJxx9VYGfPL0oa5fXHGFayvNYxxlvCenBMernanthAnQKfpB0SCBGf4sw/k4 sX1oRiuQ6/DDi+QndSoHk5UGqEzDa0DnWprTXtqJQS8A5y0zOPNsx6c5wsr2lpl6xPCG eqjMLtCeVeFNDJMwkmK/WbMCAu5Tlg0eIDvLAy3ZEShKPtRREoAaibQPsLICNF89gr2j saaQ== X-Gm-Message-State: AOJu0YzuUng3VCtkgx5J53khrwYLLj6MYVdEaIV12ogp+WJ7CkaOwlCL EMT1ZG7sXJmITSSECrim8842QGjaiL9G7vYJhdQ= X-Google-Smtp-Source: AGHT+IFr3mShIFTcOt/kdNrT5QwSvyq4Ha8kJi6uw5Gk/2qEzw14nHkWee3ee7/fRhQGznbvOcEirmdb/HMCfbZvwUY= X-Received: by 2002:a2e:7411:0:b0:2bc:beac:53e7 with SMTP id p17-20020a2e7411000000b002bcbeac53e7mr2297356ljc.14.1694193989012; Fri, 08 Sep 2023 10:26:29 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 8 Sep 2023 10:26:28 -0700 From: Stefan Kangas In-Reply-To: (Ola x. Nilsson's message of "Thu, 17 Aug 2023 13:50:07 +0200") References: MIME-Version: 1.0 Date: Fri, 8 Sep 2023 10:26:28 -0700 Message-ID: Subject: Re: bug#65159: 30.0.50; pp-fill fails when symbol's lisp-indent-function is bigger than number of arguments To: Ola x Nilsson Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65159-done Cc: Stefan Monnier , 65159-done@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 (-) Ola x Nilsson writes: > On Mon, Aug 14 2023, Stefan Monnier wrote: > >>> The `pp-fill' function uses the symbol property `lisp-indent-function' >>> to insert line breaks in function calls. If the property is an integer >>> larger than the actual number of arguments in the function call, >>> `forward-sexp' will eventually signal an error. >> >> I pushed a patch to `master` which should fix this problem. >> > > Thanks, works fine for me now. I'm therefore closing this bug report. From unknown Mon Jun 23 07:50:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 07 Oct 2023 11:24:15 +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