GNU bug report logs - #40056
26.3; `comment-padright' fails when `comment-padding' is an integer

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: bruno cuconato <bcclaro@HIDDEN>; Keywords: confirmed; dated Fri, 13 Mar 2020 21:50:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Mar 2020 21:49:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 13 17:49:54 2020
Received: from localhost ([127.0.0.1]:60318 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jCsBm-0007yM-2T
	for submit <at> 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 <bcclaro@HIDDEN>) id 1jCrtf-0007Y2-Hc
 for submit <at> 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 <bcclaro@HIDDEN>) id 1jCrtd-0001nO-U0
 for bug-gnu-emacs@HIDDEN; 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 <bcclaro@HIDDEN>) id 1jCrtc-00031V-3U
 for bug-gnu-emacs@HIDDEN; 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 <bcclaro@HIDDEN>)
 id 1jCrtb-0002us-E1
 for bug-gnu-emacs@HIDDEN; 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 <bug-gnu-emacs@HIDDEN>; 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 <bcclaro@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Message-ID: <M2Kng2R--3-2@HIDDEN>
Subject: 26.3; `comment-padright' fails when `comment-padding' is an integer
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-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 13 Mar 2020 17:49:52 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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




Acknowledgement sent to bruno cuconato <bcclaro@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#40056; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 14 Mar 2020 03:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.