From unknown Tue Jun 17 22:29:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40056: 26.3; `comment-padright' fails when `comment-padding' is an integer Resent-From: bruno cuconato Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Mar 2020 21:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40056 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 40056@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158413619430654 (code B ref -1); Fri, 13 Mar 2020 21:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Mar 2020 21:49:54 +0000 Received: from localhost ([127.0.0.1]:60318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCsBm-0007yM-2T for submit@debbugs.gnu.org; Fri, 13 Mar 2020 17:49:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:37881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCrtf-0007Y2-Hc for submit@debbugs.gnu.org; Fri, 13 Mar 2020 17:31:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56057) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCrtd-0001nO-U0 for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 17:31:11 -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.7 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCrtc-00031V-3U for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 17:31:09 -0400 Received: from w1.tutanota.de ([81.3.6.162]:56782) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jCrtb-0002us-E1 for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 17:31:08 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 5EBE9FBF52C for ; Fri, 13 Mar 2020 21:31:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1584135064; s=s1; d=tutanota.com; h=From:To:Subject:Content-Description:Content-ID:Content-Type:Content-Transfer-Encoding:Cc:Date:In-Reply-To:MIME-Version:Message-ID:Resent-Sender:Resent-Cc:Resent-Date:Resent-To:Reply-To:References:Resent-Message-ID:Resent-From:Sender:from; bh=KlEV48LccZosXwojXK284MBn5foGy8MuU1quFwBcwTQ=; b=uourHqjqEkKrUzw8thV86T9aTR7eenELBkZYso14IhvtNQ2rOP5n2n0LuGh9SFhm Tp8x2fDFHft6XIzF7kfWmLHfuRllcG82SMk8jkAVYnx4tAvs3BwQyXHLT8fhZA68/P/ QslfS1hBlKKN1AxfnfPye5Ek5l6CmEae8bfHyzOa3vxaWrhkzJbZUQu9LC7IQH63WyO uewTI0GLwCJ6FiImDlu7VMSAjjGlIU4s6BhK0eIjzgPOQSPtjcmWvG2+i5qQySgNk2f /x/x8W0kk87l6jQgfAkXG/GYT5OSbwjbB9lIEGdcrTgV1Nhn3QNpKqhDINHwZV3CKB8 v5RiUEh0EQ== Date: Fri, 13 Mar 2020 22:31:04 +0100 (CET) From: bruno cuconato Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 81.3.6.162 X-Spam-Score: 0.2 (/) X-Mailman-Approved-At: Fri, 13 Mar 2020 17:49:52 -0400 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.8 (/) Docstring of `comment-padding' variable says: Can also be an integer which = will be automatically turned into a string of the corresponding number of s= paces.=20 I'm using Emacs 26, but by inspection I don't expect a different result in = master. % emacs -Q --batch --eval '(let ((comment-padding 0)) (comment-padright "--= " 1))' Wrong type argument: sequencep, 0 In GNU Emacs 26.3 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.11) of 2019-12-10 built on buildhw-10.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.12006000 Configured using: 'configure --build=3Dx86_64-redhat-linux-gnu --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64 --libexecdir=3D/usr/libexec --localstatedir=3D/var --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3 --with-gpm=3Dno --with-xwidgets --with-modules build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-gnu 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgeneric -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LDFLAGS=3D-Wl,-z,relro PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LCMS2 Important settings: =C2=A0 value of $LC_MONETARY: en_GB.UTF-8 =C2=A0 value of $LC_NUMERIC: en_GB.UTF-8 =C2=A0 value of $LC_TIME: en_GB.UTF-8 =C2=A0 value of $LANG: en_US.UTF-8 =C2=A0 value of $XMODIFIERS: @im=3Dibus =C2=A0 locale-coding-system: utf-8-unix -- bruno cuconato From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 13 23:13:24 2020 Received: (at control) by debbugs.gnu.org; 14 Mar 2020 03:13:24 +0000 Received: from localhost ([127.0.0.1]:60439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCxEq-00076B-Au for submit@debbugs.gnu.org; Fri, 13 Mar 2020 23:13:24 -0400 Received: from mail-qk1-f169.google.com ([209.85.222.169]:42486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCxEo-00075w-GK for control@debbugs.gnu.org; Fri, 13 Mar 2020 23:13:23 -0400 Received: by mail-qk1-f169.google.com with SMTP id e11so16328058qkg.9 for ; Fri, 13 Mar 2020 20:13:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=X+PDmmk/dzCKfvwuXYgwiwx3GTl0Iv1OU73ithSnXR0=; b=XI6poAd2berX1RVSySNvcLOUu8PkJ6F8A1u6rt/qO/7zOGIeShPrMZYVwf+GzZgykA DD7t5p+mXswGysr45mSEGQUTm0aXMpj0zq0cJpqr9xGZK843Y7SAbFIXw7Lh1C0q1ts7 0KcQ1gw2KJ0Ht/kSrPVtTAGdpi/Rmj++vXufWtCafuCObCd3lHzrwKg4EO4kLf1fGXGT aHB0iAxqZpSmMudfrtZMCRSbS/+icwynCikmYV4qgxLaMlhoN/N5BKZuy2yKiMGXJKkv bLK0tkYpnV0P3M7v95wTRgb0DWncj42fAuRbIFlXORKDxgeEOOJTGUhjL59gWpg+Gqkh r9Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=X+PDmmk/dzCKfvwuXYgwiwx3GTl0Iv1OU73ithSnXR0=; b=ebmBn1pAxaYGIgcNPN18jYAATltrEXF5DwDlKiYB6jQ7GhZzO4BrsYCGbcJJc33N3y xtnTE6om5/2bJWgqM1eGfV8JDS+sZ5haLp8kl3Vjt6Ku8xIp58pKgjMLyBuJEukQuQ1z I68uldwFhzf2v9Wz+WW14gQWZdgbcwBCaVeVoNx/KguykLyRxrutUfa5c0xA1b+/sOZI dbCIICxBwpfTmKpclc1b1DJtfQWHWUYhsfxqQ635Xcg4BpyCWafOg3mLH/1NwXkITTMN ld2m63dx8cpJGiCJormRvw3LyUPcQeFlBeDIKpr/CHsIFE1CorVhd9myYC6x0/NC2WbL VReQ== X-Gm-Message-State: ANhLgQ2UoGeikLij/4Cuhj1Ph68HaE2kCDMg1EevF0v+y93ThjqOauG+ 3aqDBDOBVkAHLRXdpEWp3aHqXgET X-Google-Smtp-Source: ADFU+vshx0uFb1zo1ORUAdbIShkLKdi/7CGQAIcFoEuLc6lWx1YuUhpqkV3C+olw0NY/flyrz2eTiA== X-Received: by 2002:a37:b084:: with SMTP id z126mr16847106qke.497.1584155596883; Fri, 13 Mar 2020 20:13:16 -0700 (PDT) Received: from minid (cbl-45-2-119-47.yyz.frontiernetworks.ca. [45.2.119.47]) by smtp.gmail.com with ESMTPSA id b7sm11013968qkc.61.2020.03.13.20.13.15 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Mar 2020 20:13:16 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #40056 Date: Fri, 13 Mar 2020 23:13:15 -0400 Message-ID: <87h7yr7ho4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) 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.0 (-) tags 40056 + confirmed quit From unknown Tue Jun 17 22:29:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40056: 26.3; `comment-padright' fails when `comment-padding' is an integer Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2021 08:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40056 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: bruno cuconato Cc: 40056@debbugs.gnu.org Received: via spool by 40056-submit@debbugs.gnu.org id=B40056.161182429932368 (code B ref 40056); Thu, 28 Jan 2021 08:59:01 +0000 Received: (at 40056) by debbugs.gnu.org; 28 Jan 2021 08:58:19 +0000 Received: from localhost ([127.0.0.1]:47185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5387-0008Pz-C8 for submit@debbugs.gnu.org; Thu, 28 Jan 2021 03:58:19 -0500 Received: from quimby.gnus.org ([95.216.78.240]:60006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5384-0008Pm-Sw for 40056@debbugs.gnu.org; Thu, 28 Jan 2021 03:58:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hkpHn8T0fGz6gaDZb9zbo5/eStBUBal7QiPYwyyy0K4=; b=PLIMsaYv7aG9dVZ7W+Hy0tRUyB onC5LI0A6t3ZHF2Tq6TQ+GLvW7/bL1kaqtK+YHQ6NFNgHytTiWwQkxDQSVNlJTw8IzvLVcviBSwaC +eBL1DTUxhzH7oA7Bs3tQQjgovLlBxHnrlddqVa4ZZuVMmwyN8PxyVN1O/oSGxMrFeus=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l537u-0006Gs-Lo; Thu, 28 Jan 2021 09:58:10 +0100 From: Lars Ingebrigtsen References: X-Now-Playing: The Raincoats's _Odyshape_: "Dancing in My Head" Date: Thu, 28 Jan 2021 09:58:04 +0100 In-Reply-To: (bruno cuconato's message of "Fri, 13 Mar 2020 22:31:04 +0100 (CET)") Message-ID: <87lfcdzbdv.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: bruno cuconato writes: > Docstring of `comment-padding' variable says: Can also be an integer > which will be automatically turned into a string of the corresponding > number of spaces. > > I'm using Emacs 26, but by inspec [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.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: -1.0 (-) bruno cuconato writes: > Docstring of `comment-padding' variable says: Can also be an integer > which will be automatically turned into a string of the corresponding > number of spaces. > > I'm using Emacs 26, but by inspection I don't expect a different > result in master. > > % emacs -Q --batch --eval '(let ((comment-padding 0)) > (comment-padright "-- " 1))' > Wrong type argument: sequencep, 0 This should now be fixed in Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 03:58:38 2021 Received: (at control) by debbugs.gnu.org; 28 Jan 2021 08:58:38 +0000 Received: from localhost ([127.0.0.1]:47188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l538Q-0008QZ-Lo for submit@debbugs.gnu.org; Thu, 28 Jan 2021 03:58:38 -0500 Received: from quimby.gnus.org ([95.216.78.240]:60020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l538P-0008QM-SP for control@debbugs.gnu.org; Thu, 28 Jan 2021 03:58:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=428/e32DCnppRe0Q+xBv7tvza1mGbQoRnQXa+770Drg=; b=U6288aenz875Qw7caH28aj8rGU J/Y1mYuOZtq+UgiEDpur+B4OdHUu6eQIR3wA/5SXB3YbiYi5DJoR5k6BnV0DMDX6nPYXD10vAu3I1 Y9/85Hw/oI8c0Ifo+t11E2VWKAQH/FyjKWRv66K3zOH9Ucr0N9/mzOsRznCTxe3+HWsc=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l538I-0006H0-7T for control@debbugs.gnu.org; Thu, 28 Jan 2021 09:58:32 +0100 Date: Thu, 28 Jan 2021 09:58:29 +0100 Message-Id: <87k0rxzbd6.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #40056 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 40056 fixed close 40056 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) 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.0 (-) tags 40056 fixed close 40056 28.1 quit