From unknown Fri Aug 15 20:24:54 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#50839 <50839@debbugs.gnu.org> To: bug#50839 <50839@debbugs.gnu.org> Subject: Status: 28.0.50; Odd things in comp-ctxt doc string Reply-To: bug#50839 <50839@debbugs.gnu.org> Date: Sat, 16 Aug 2025 03:24:54 +0000 retitle 50839 28.0.50; Odd things in comp-ctxt doc string reassign 50839 emacs submitter 50839 Lars Ingebrigtsen severity 50839 normal tag 50839 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 02:58:44 2021 Received: (at submit) by debbugs.gnu.org; 27 Sep 2021 06:58:44 +0000 Received: from localhost ([127.0.0.1]:39548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUkb6-0004tO-58 for submit@debbugs.gnu.org; Mon, 27 Sep 2021 02:58:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:45314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUkb4-0004tG-At for submit@debbugs.gnu.org; Mon, 27 Sep 2021 02:58:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUkb3-0007gj-QU for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2021 02:58:42 -0400 Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:48548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUkb0-0000e9-Mx for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2021 02:58:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:Subject:Cc:To:From:Sender:Reply-To: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=ux7UVXdWvjfO1Kn80/64V0P8qvedfvd4q/wim0VW+Vo=; b=IZW9IWflN7P+XfZYalwpkkbyC6 nA4NxoeYXRG6XeOvmCrMcVbxT95odibP2eIM7E18RhV5cXR7lW9fNi46j364pZV/9RpWR+OQK1s9m Ii0wTGiizMek7ET9GkV0YntgA3xuwIo172KsLx2K1PSCz+ybwYSk/d7OeUylTvDIYPVg=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mUkau-0003PH-3Q; Mon, 27 Sep 2021 08:58:34 +0200 From: Lars Ingebrigtsen To: bug-gnu-emacs@gnu.org Subject: 28.0.50; Odd things in comp-ctxt doc string X-Now-Playing: Alice Coltrane's _Translinear Light_: "Leo" Date: Mon, 27 Sep 2021 08:58:30 +0200 Message-ID: <87mtnymrmx.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: I saw that compiling with native-comp warned about a too-long doc string, but looking at comp-ctxt-byte-func-to-func-h, it's not too long: (byte-func-to-func-h (make-hash-table :test #'equal) :type hash-table :documentation "byte-function -> comp-func. Needed to replace immediate byte-compiled lambdas with the compiled reference.") 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] Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Andrea Corallo 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: -2.3 (--) I saw that compiling with native-comp warned about a too-long doc string, but looking at comp-ctxt-byte-func-to-func-h, it's not too long: (byte-func-to-func-h (make-hash-table :test #'equal) :type hash-table :documentation "byte-function -> comp-func. Needed to replace immediate byte-compiled lambdas with the compiled referen= ce.") But looking at the actual help buffer, I get the stuff below. It looks like bits of the doc strings have been replaced with... odd things? "lambdas" is now "lamcomp-func.dbdas". And also the "byte-funCL-X.ction" thing. I haven't debugged any further; perhaps it's obvious to someone what's going on. (I've added Andrea to the CCs.) comp-ctxt-byte-func-to-func-h is a native compiled Lisp function in =E2=80=98comp.el=E2=80=99. (comp-ctxt-byte-func-to-func-h CL-X) Access slot "byte-func-to-func-h" of =E2=80=98comp-ctxt=E2=80=99 struct byte-funCL-X.ction -> Needed to replace immediate byte-compiled lamcomp-func.bdas with the compil= ed reference. This function has a compiler macro =E2=80=98comp-ctxt-byte-func-to-func-h= --cmacro=E2=80=99. This function does not change global state, including the match data. In GNU Emacs 28.0.50 (build 23, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, = cairo version 1.16.0) of 2021-09-26 built on elva Repository revision: 43ae8c828d853382bbc2a27b9e14b9fff6ba18b6 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 03:01:03 2021 Received: (at 50839) by debbugs.gnu.org; 27 Sep 2021 07:01:03 +0000 Received: from localhost ([127.0.0.1]:39553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUkdE-0004yR-J8 for submit@debbugs.gnu.org; Mon, 27 Sep 2021 03:01:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUkdC-0004yD-8D for 50839@debbugs.gnu.org; Mon, 27 Sep 2021 03:00:55 -0400 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=zQ3ORJLqKCZETqhowIwyV8LbvHoyrheseie/8YNFRfQ=; b=MOzJ9sjavyRbmh5+Dyyh+0Z8uE K2LRwNyr+yvEw6Bp3ojZ4kRJJ5D80K/VE2RlTpU/pjLmKMLqVo2sQKzGdMijqYnzJxu7NEVovnykI r34FOv6/3Zd0Us5EbvF5J2hbRkhhxdYB6NVlIUdxWWSZ4TtyCV84uEv1pLg0hJR6uLvU=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mUkcx-0003RG-Uw; Mon, 27 Sep 2021 09:00:42 +0200 From: Lars Ingebrigtsen To: 50839@debbugs.gnu.org Subject: Re: bug#50839: 28.0.50; Odd things in comp-ctxt doc string References: <87mtnymrmx.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEU/JieUTEm0kHf/ //8OL/+gAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UJGwYQHS0ckEQAAAFQSURBVCjPhdHBboMwDABQ eyI9dxKpVP5g/QqQxmWnRIpRyXlMIl+zScuF0w6lUvKVs4GuvS2nPOI4tgH4b2n3iFTf0WVzB+XL I74fECLgulWgA20okXjVasEZFuAGLVivnHXxBxyPeEffYEu0RqGPoG5XoIsG6FWtXC44dWuAFOyX EwTTDk299ofK2NnswbYCNDTz16Zdww5fXLPbLSh3xoHStKBQtYYXNUpiqZ1oGD13Bpzfkv+YJn5Q SrAUPiYO07ZWXE939STRRvbR+3GD7bIPCeCNGnINH0l7DD9T6EIaACqSAYy+P/YAJ1IOHPmRbhhM lSgwQmug+Qw+DqBO4dkAXo7VnKA4JVsDZs4cGbPmSkNyh04gTRWj5qqLEGUq76WPnC1EmVfq8jVv KPU1+RlAfjMaTEOfOamT1stAQ4SnxDDoKh4Cg98H+6Nynn4BbgNwW/Cz7k8AAAAldEVYdGRhdGU6 Y3JlYXRlADIwMjEtMDktMjdUMDY6MTY6MjkrMDA6MDBX+sWpAAAAJXRFWHRkYXRlOm1vZGlmeQAy MDIxLTA5LTI3VDA2OjE2OjI5KzAwOjAwJqd9FQAAAABJRU5ErkJggg== X-Now-Playing: Alice Coltrane's _Translinear Light_: "Leo" Date: Mon, 27 Sep 2021 09:00:37 +0200 In-Reply-To: <87mtnymrmx.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 27 Sep 2021 08:58:30 +0200") Message-ID: <87ilymmrje.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: Lars Ingebrigtsen writes: > But looking at the actual help buffer, I get the stuff below. > > It looks like bits of the doc strings have been replaced with... odd > things? "lambdas" is now "lamcomp-func.dbdas". And also the > [...] 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: -2.3 (--) X-Debbugs-Envelope-To: 50839 Cc: Stefan Kangas , Andrea Corallo 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 (---) Lars Ingebrigtsen writes: > But looking at the actual help buffer, I get the stuff below. > > It looks like bits of the doc strings have been replaced with... odd > things? "lambdas" is now "lamcomp-func.dbdas". And also the > "byte-funCL-X.ction" thing. I haven't debugged any further; perhaps > it's obvious to someone what's going on. (I've added Andrea to the CCs.) Oh, and this started happening after Stefan K's long-doc-string warning enablement in lambda, so perhaps it's related to that (or perhaps that just makes the problem more obvious). (So I've added him to the CCs, too.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 05:51:18 2021 Received: (at 50839) by debbugs.gnu.org; 27 Sep 2021 09:51:18 +0000 Received: from localhost ([127.0.0.1]:39664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUnI6-0000jD-BX for submit@debbugs.gnu.org; Mon, 27 Sep 2021 05:51:18 -0400 Received: from mail-pj1-f54.google.com ([209.85.216.54]:35530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUnI4-0000ir-Sm for 50839@debbugs.gnu.org; Mon, 27 Sep 2021 05:51:17 -0400 Received: by mail-pj1-f54.google.com with SMTP id d13-20020a17090ad3cd00b0019e746f7bd4so9710960pjw.0 for <50839@debbugs.gnu.org>; Mon, 27 Sep 2021 02:51:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=pojz6xXUGGDl0FIgk4py7OgVc3eTKFEoHXN7z4HJarU=; b=QavUS8V0N6hpSB9G+xf2Gv964uJZKJXqs4AEDCvt4t2KPVggHwfyYIAnESCqbQ4rt0 SW3OStaq7QKExkHMvdD/SCh8uqiC77oIvjv4oepKMw3Ih+6H+3f7pdYS3c3lSROKJfh0 GpJbaNKMR2ciNXfU9EsEOmSUO2wcI79mNUlvuTRsf93ycRs5HTNj+ZjV0BDQaaTE2RDf OGfAo9xP5r+YeoZJt2BSCrRzcsud3lG2AEGMe2IvSc9ANzX8gDr69YzpliTwn9alVnDo s+hEHUhWyeGD0OS6ZKRiD+zOJgNB6e8wKih/A2RzFvXNlykCPY5nIciScrspanqopJ1h aaoA== X-Gm-Message-State: AOAM530UEnfAivoQKoyWwHENJ2AmRJTMmvPJnF5i/Hn2t+Ob/QF6vnAK KpiSw77v7sb17gLagmRHwGMKyDks3tbmy1aqGC0= X-Google-Smtp-Source: ABdhPJwJlPiIb27QjuaOh0IrAxHkKbJav2b8Hh0+KSUy8l21qS+2PBNuwirT7F8D8Az6QaE3v3vRGbmG9X2dZfuaJhw= X-Received: by 2002:a17:90b:3805:: with SMTP id mq5mr18765568pjb.143.1632736269985; Mon, 27 Sep 2021 02:51:09 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 27 Sep 2021 02:51:09 -0700 From: Stefan Kangas In-Reply-To: <87ilymmrje.fsf@gnus.org> References: <87mtnymrmx.fsf@gnus.org> <87ilymmrje.fsf@gnus.org> MIME-Version: 1.0 Date: Mon, 27 Sep 2021 02:51:09 -0700 Message-ID: Subject: Re: bug#50839: 28.0.50; Odd things in comp-ctxt doc string To: Lars Ingebrigtsen , 50839@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 50839 Cc: Andrea Corallo 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 (/) tags 50839 fixed close 50839 28.1 thanks Lars Ingebrigtsen writes: > Lars Ingebrigtsen writes: > >> But looking at the actual help buffer, I get the stuff below. >> >> It looks like bits of the doc strings have been replaced with... odd >> things? "lambdas" is now "lamcomp-func.dbdas". And also the >> "byte-funCL-X.ction" thing. I haven't debugged any further; perhaps >> it's obvious to someone what's going on. (I've added Andrea to the CCs.) > > Oh, and this started happening after Stefan K's long-doc-string warning > enablement in lambda, so perhaps it's related to that (or perhaps that > just makes the problem more obvious). (So I've added him to the CCs, too.) Thanks, this is now fixed on master in commit 3d2d7e8ea2. This was caused by trying to fill an entire paragraph as if it were a single line. Here, I really wish we could use `cl-assert' in subr.el, to do something like this in `internal--format-docstring-line': (cl-assert (not (string-match "\n" string))) Do we have anything like that, or do we just do something like this instead? (and (string-match "\n" string) (error "Contains newline: %s" string)) Maybe this is okay as this should pretty much only be called from macros? From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 01:21:59 2021 Received: (at 50839) by debbugs.gnu.org; 28 Sep 2021 05:21:59 +0000 Received: from localhost ([127.0.0.1]:43442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV5Z0-0004Rg-PH for submit@debbugs.gnu.org; Tue, 28 Sep 2021 01:21:58 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV5Yy-0004RS-IB for 50839@debbugs.gnu.org; Tue, 28 Sep 2021 01:21:57 -0400 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=Evw1Hr4UDef0HXJckKD1Z8Po86K/WuuqaKcn1kFLqmo=; b=Nm0yaGzekmioQ19nhWRABnGi6y 4bxcqiOXqIC1wrLXWXYraTKva9JpSU6ZClLO7777spF8ueYSVP5C9hWl7KEfDnk0insXw02MGbrl8 43JIQROogfA5mCnOJ+rEpQce1aIKk/XA84vegWkfkj5mGNIiZN603naiUtKrrU3lPF5s=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mV5Yn-0007Yz-C1; Tue, 28 Sep 2021 07:21:48 +0200 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#50839: 28.0.50; Odd things in comp-ctxt doc string References: <87mtnymrmx.fsf@gnus.org> <87ilymmrje.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEXYebPYd7KtYpCK TnJHKDvwyeL////KdnvEAAAAAWJLR0QGYWa4fQAAAAlwSFlzAAAAZAAAAGQAD5bF3QAAAAd0SU1F B+UJHAUVGyaZR9QAAAGlSURBVDjLbZNtjoQgDIYLM/wHXP8reIDNlBMMHABnw/2vsgVEUaeJIekj Lf14Aa7GZmYRw80PWhobXAB1GJOKaWOGgC4ESCKmmEQiExBFNPOyAbKYimUaP9p58lcgs3MsYFqH UKyANbMKIlvCcSN24IPdDZYSbED8uQ5AAzHND4e4hyrRMvibjEVvMRx1xCSjsM5jNk8EjqJVjY4F 9r3SW9rgTb5x2BJ668DzDHICpSR93J8AVUCFUVtFpLY2t2t1xFz16uyWfe/VuJaBPOu73kstMHdo pQqpymjyz78lRxwrYKX9+oXO/xzJRZ0t/cEx2KO7dYjF4LE/t05btjPn9/wC6NEy+0EPe6h28vwq MOCAhkHpRT3HRA17M1gsgsqTYKqes6IdkQD8xU/rrCVYQ36QFKwHw8Symyma/AlwyYsOtEV3AlKa ogN91YdRE+GJW3cB3FB8rcrGndWk6KFNOBfjryaciy2zvq1P3TqKFNwXwEmy3wCzFr+GotJIm3gD A70H0d5AESxpwJ23veogq4Ng30TVdED6OPVqaBvtLznaRlX7B5KPsgegCyajAAAAJXRFWHRkYXRl OmNyZWF0ZQAyMDIxLTA5LTI4VDA1OjIxOjI3KzAwOjAwT9vIeAAAACV0RVh0ZGF0ZTptb2RpZnkA MjAyMS0wOS0yOFQwNToyMToyNyswMDowMD6GcMQAAAAASUVORK5CYII= X-Now-Playing: Hexting's _Post Post Rock Rock_: "Jayden K. Smith vs. Hu Yan... Final Round" Date: Tue, 28 Sep 2021 07:21:43 +0200 In-Reply-To: (Stefan Kangas's message of "Mon, 27 Sep 2021 02:51:09 -0700") Message-ID: <87tui5gtqw.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: Stefan Kangas writes: > Do we have anything like that, or do we just do something like this > instead? > > (and (string-match "\n" string) > (error "Contains newline: %s" string)) > > Maybe this is okay as this should pret [...] 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: -2.3 (--) X-Debbugs-Envelope-To: 50839 Cc: 50839@debbugs.gnu.org, Andrea Corallo 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 (---) Stefan Kangas writes: > Do we have anything like that, or do we just do something like this > instead? > > (and (string-match "\n" string) > (error "Contains newline: %s" string)) > > Maybe this is okay as this should pretty much only be called from > macros? I think that should be OK. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 08:28:40 2021 Received: (at 50839) by debbugs.gnu.org; 28 Sep 2021 12:28:40 +0000 Received: from localhost ([127.0.0.1]:44068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVCDv-0005Es-Tu for submit@debbugs.gnu.org; Tue, 28 Sep 2021 08:28:40 -0400 Received: from mail-pf1-f179.google.com ([209.85.210.179]:43735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVCDt-0005Eg-N5 for 50839@debbugs.gnu.org; Tue, 28 Sep 2021 08:28:38 -0400 Received: by mail-pf1-f179.google.com with SMTP id b68so851325pfb.10 for <50839@debbugs.gnu.org>; Tue, 28 Sep 2021 05:28:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=RJMNkj94WkepfXXVyZwbcWhcRrQHpnkk/TEPSsWQjek=; b=k6P/OrQYwjwzx10yZO8Ee9QhX+4TG88dDQMY4aTxVN2EDI5hXv8r2aUQQxxal8P7Od CgFXgXqvysRTJBLnhZNLQjarRmiQhG/apYTcQCT2updo50UK498l13ySGGHMq+4q5Jz0 hfeD1Vm0GCcthzsLK5RSWIBpVZ46l8MntpgTadvO+sHuGfUzWuEySIHBTGJ3R2H8tRLj R6eiJYcRbLUd9UsGOF7IO6MjmDjvxzJu3CVPMltEQJkbb68Ud1LvnZtHMxQrQNLtc2LV Du/FUzzsYpadWxj8abtUACpW1Q7oZeQgrs1GxOmH+TbfVosuQtXDyIRE1wk9UPTbgLO9 T7vg== X-Gm-Message-State: AOAM532e8oxp5eXOW1fLNUbixQ2V3NDYFgP89iK7offKJxmryS/auhM7 xVvdMii2/3U72IxC5qcxUmIXyfzK3p6P7FceFh8= X-Google-Smtp-Source: ABdhPJwVyEP7DW/itAxPi/OeMkBKmRMEjFWQtwS5ewfDDSzDkTBDK+9Tr4Eq42DeBV6GMaEqOr7YnA4w8qSgjdTu0OY= X-Received: by 2002:a63:6941:: with SMTP id e62mr4375226pgc.114.1632832111724; Tue, 28 Sep 2021 05:28:31 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 28 Sep 2021 05:28:31 -0700 From: Stefan Kangas In-Reply-To: <87tui5gtqw.fsf@gnus.org> References: <87mtnymrmx.fsf@gnus.org> <87ilymmrje.fsf@gnus.org> <87tui5gtqw.fsf@gnus.org> MIME-Version: 1.0 Date: Tue, 28 Sep 2021 05:28:31 -0700 Message-ID: Subject: Re: bug#50839: 28.0.50; Odd things in comp-ctxt doc string To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 50839 Cc: 50839@debbugs.gnu.org, Andrea Corallo 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 (/) Lars Ingebrigtsen writes: >> (and (string-match "\n" string) >> (error "Contains newline: %s" string)) >> >> Maybe this is okay as this should pretty much only be called from >> macros? > > I think that should be OK. Thanks, I've now made that change on master. From unknown Fri Aug 15 20:24: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: Wed, 27 Oct 2021 11:24:05 +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