From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 01 09:04:35 2023 Received: (at submit) by debbugs.gnu.org; 1 Nov 2023 13:04:35 +0000 Received: from localhost ([127.0.0.1]:50178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyAte-0007gf-Pn for submit@debbugs.gnu.org; Wed, 01 Nov 2023 09:04:35 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyAtY-0007gH-C3 for submit@debbugs.gnu.org; Wed, 01 Nov 2023 09:04: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 1qyAsu-0005vm-DT for bug-gnu-emacs@gnu.org; Wed, 01 Nov 2023 09:03:48 -0400 Received: from ledu-giraud.fr ([51.159.28.247]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qyAsr-00015s-HE for bug-gnu-emacs@gnu.org; Wed, 01 Nov 2023 09:03:48 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=xChnd5EN FB27E1htUcvhhPlMvAf9dn//5X8nZglo674=; h=date:subject:to:from; d=ledu-giraud.fr; b=B1rCL3ztIISnpD409pu/qIiEQYI543CU95O+mffR5zP3KLD4Ya fYvpA+GvVoAn9kPWuorqdAh7wRk5zH5OciDA== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=xChnd5ENFB27E1ht UcvhhPlMvAf9dn//5X8nZglo674=; h=date:subject:to:from; d=ledu-giraud.fr; b=1CPST+5dyKH8ybcGw9frg3/eSSGrSPTJfndGzvmwAAJ9OwjxRz cjdm26kNolFP8TRHPl/bxH6wFJ3FCONbk4ikgQ44fY71LO3pTsAchtipIzD6KRKTRR26LP /0e4QQG30ZMA5RD6PjeFQ+w0tAtvX+mn5138p8ZmX8xglts8wjxsKVCYDWR3y80JrAyDWa chxpPZd7zyo8H2C7Fw4fEoxO9dPryZyHC3DUgeA2MJofotaq0vUG1yQA9llAaoF0XzZGqb PgITjA5vwDAYw11MVydf/38zWMxc0Pebep8pEcDnIT+NY8hWsULjm0hv4/DEoPJKtTNuja OTf3oqk2+gvg== Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id db8fcd09 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 1 Nov 2023 14:03:42 +0100 (CET) From: Manuel Giraud To: bug-gnu-emacs@gnu.org Subject: 30.0.50; [PATCH] Don't need text properties when sending a mail Date: Wed, 01 Nov 2023 14:03:41 +0100 Message-ID: <87fs1peic2.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit 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 (/) --=-=-= Content-Type: text/plain Hi, I don't think we need text properties when sending mail data. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Don-t-need-text-properties-when-sending-a-mail.patch >From d7c7fd6a33f4f8b7e008d5e7e1f0f0ae832178c7 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Wed, 1 Nov 2023 13:59:37 +0100 Subject: [PATCH] Don't need text properties when sending a mail * lisp/mail/smtpmail.el (smtpmail-send-data): Don't get text properties when sending mail data. --- lisp/mail/smtpmail.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el index 78688d170cc..e30c69f2441 100644 --- a/lisp/mail/smtpmail.el +++ b/lisp/mail/smtpmail.el @@ -1057,8 +1057,8 @@ smtpmail-send-data (while data-continue (with-current-buffer buffer (progress-reporter-update pr (point)) - (setq sending-data (buffer-substring (line-beginning-position) - (line-end-position))) + (setq sending-data (buffer-substring-no-properties (line-beginning-position) + (line-end-position))) (end-of-line 2) (setq data-continue (not (eobp)))) (smtpmail-send-data-1 process sending-data)) -- 2.42.0 --=-=-= Content-Type: text/plain Best regards, In GNU Emacs 30.0.50 (build 1, x86_64-unknown-openbsd7.4) of 2023-10-31 built on computer Repository revision: 5f371ca07be891cc41e8e80b8a1bc9ffcc909363 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101008 System Description: OpenBSD computer 7.4 GENERIC.MP#0 amd64 Configured using: 'configure CC=egcc MAKEINFO=gmakeinfo --with-x-toolkit=no --without-cairo --without-dbus --without-gconf --without-gsettings --without-sound' Configured features: FREETYPE GIF GLIB GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBXML2 MODULES NOTIFY KQUEUE OLDXMENU PDUMPER PNG RSVG SQLITE3 THREADS TIFF TREE_SITTER WEBP X11 XDBE XFT XIM XINPUT2 XPM ZLIB Important settings: value of $LC_CTYPE: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: bug-reference-prog-mode: t paredit-mode: t display-time-mode: t display-battery-mode: t server-mode: t override-global-mode: t repeat-mode: t savehist-mode: t desktop-save-mode: t global-eldoc-mode: t 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 minibuffer-regexp-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/manuel/.emacs.d/elpa/ef-themes-1.4.0/theme-loaddefs hides /home/manuel/emacs-repo/lisp/theme-loaddefs Features: (shadow emacsbug cus-start dictionary external-completion dictionary-connection image-file image-converter image-dired image-dired-tags image-dired-external image-dired-util image-mode exif nroff-mode vc-annotate ispell dabbrev pcmpl-git nnmaildir nnselect gnus-search jka-compr flow-fill shortdoc comp comp-cstr warnings mailalias smtpmail sort gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-bcklg gnus-async qp gnus-ml gnus-topic mm-archive url-cache utf-7 imap rfc2104 nndoc nndraft nnmh network-stream nnfolder nnml gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache nnrss cl-print help-fns radix-tree misearch multi-isearch whitespace vc-bzr vc-src vc-sccs vc-svn ffap tabify imenu man log-edit add-log smerge-mode diff pulse view ef-cherie-theme vc-cvs vc-rcs log-view pcvs-util make-mode bug-reference autorevert filenotify paredit vc-git vc-dir ewoc vc mule-util on-screen eww url-queue mm-url gnus-dired vc-dispatcher vc-hg diff-mode sh-script smie treesit executable time battery cus-load exwm-randr xcb-randr exwm-config ido exwm exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types xcb-debug server ef-summer-theme ef-themes modus-operandi-theme modus-themes zone speed-type url-http url-auth url-gw nsm compat ytdious mingus libmpdee reporter edebug debug backtrace transmission color calc-bin calc-ext calc calc-loaddefs rect calc-macs supercite regi ebdb-message ebdb-gnus gnus-msg 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 gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range message sendmail yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums gmm-utils mailheader gnus-win ebdb-mua ebdb-com crm ebdb-format ebdb mailabbrev eieio-opt speedbar ezimage dframe find-func eieio-base pcase timezone icalendar gnus nnheader gnus-util mail-utils range mm-util mail-prsvr wid-edit visual-basic-mode cl web-mode derived disp-table erlang-start smart-tabs-mode skeleton cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs slime-asdf grep slime-tramp tramp rx trampver tramp-integration files-x tramp-message tramp-compat xdg shell pcomplete parse-time iso8601 time-date format-spec tramp-loaddefs slime-fancy slime-indentation slime-cl-indent cl-indent slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree advice slime-scratch slime-presentations bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl slime-parse slime apropos compile text-property-search etags fileloop generator xref project arc-mode archive-mode noutline outline icons pp comint ansi-osc ansi-color ring hyperspec thingatpt slime-autoloads edmacro kmacro use-package-bind-key bind-key appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs dired-x dired-aux dired dired-loaddefs notifications dbus xml cl-extra help-mode use-package-core repeat easy-mmode savehist desktop frameset debbugs-autoloads ebdb-autoloads ef-themes-autoloads exwm-autoloads hyperbole-autoloads magit-autoloads git-commit-autoloads finder-inf magit-section-autoloads nnreddit-autoloads json-rpc-autoloads anaphora-autoloads on-screen-autoloads osm-autoloads paredit-autoloads request-autoloads rust-mode-autoloads speed-type-autoloads transmission-autoloads virtualenvwrapper-autoloads s-autoloads dash-autoloads with-editor-autoloads info compat-autoloads ytdious-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 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 touch-screen 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 kqueue lcms2 dynamic-setting font-render-setting xinput2 x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 1048174 576052) (symbols 48 56003 42) (strings 32 275950 32686) (string-bytes 1 20575665) (vectors 16 175097) (vector-slots 8 3105675 162211) (floats 8 837 5702) (intervals 56 39394 5403) (buffers 992 154)) -- Manuel Giraud --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 02 15:41:24 2023 Received: (at 66880) by debbugs.gnu.org; 2 Nov 2023 19:41:24 +0000 Received: from localhost ([127.0.0.1]:56194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qydZD-0005M5-PQ for submit@debbugs.gnu.org; Thu, 02 Nov 2023 15:41:24 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:46200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qydZA-0005Lq-QK for 66880@debbugs.gnu.org; Thu, 02 Nov 2023 15:41:21 -0400 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2c509d5ab43so18969491fa.0 for <66880@debbugs.gnu.org>; Thu, 02 Nov 2023 12:40:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698954040; x=1699558840; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=Sx+IOMYhQtNBemsLAMkU8CQyc1RiNkE58QGKVmGu3+0=; b=ezWeis7nGrZFLAIo9fXMcR2T/S+FJsBqY9TlaIuHxmjhVPaGnjCGscQnKLZBPNLUWd QO25T2tuEojovPPZyfYLiHAoWqg1aSUm+0UEwQThWFhkKJY5/4xA8imMCPhYAh4+ZEPS zRSGwOswsSjdthHlDYylYe3dmIRnpN6DjJBZwCAE1oWIdw8jmcCCvlUjmkp5LgYRCzty 4i0wYLEkmT0uWIf9KNnp82qBGmdj2Hi6JvGKP3KkPKCoRG/oVsTPwA4yR7TMLk/juWrV /EzNw7CUMhKNd+LUMZmDk4i7vgDGh3e303kpGv6EFjhVKFxMpxnS7cDZ5Vu+KvcklLoh 8Mzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698954040; x=1699558840; h=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=Sx+IOMYhQtNBemsLAMkU8CQyc1RiNkE58QGKVmGu3+0=; b=kk9ZuJDckw1lT77raD8YXhXEsHBZjQWG9Ju2nkIx2oMYV97NzOPttf9JRArvI2yV3D /z5Mmtx9NSpQhZHyHq0K+Pzp+6Ci4hgdmYtewiPLWeCsKzSLvUOZ8d8og+XJFpKj2fmc 2Ad4QKBLKFgKbooqcwF2n9BhBTCaDGef+nRKiD5IgUrWcEmNqIa+89QshRuMNCyBe4NI 5W/tOHQPKUrZsI43VG/ny+/tYRc3LVZg+DQjlxiEkCZpUs3EjZvctZrAG3WRVKBlLeYc zuO5JXVlGb9iF2J25X/132605tBbOKi6QEhiSpuTyoY07djFCQike33AFVZCIccD5rLD qHjA== X-Gm-Message-State: AOJu0YxqAwVEAbPSoYBWFrJaseVM0/JqCKMGcWFktrZ4wTOis53fgz/1 7mMm7+xRik/Pg2Z0icYDFemcUOt7GgkY3v1Duc/K5rph X-Google-Smtp-Source: AGHT+IHpPChSHgOvT4mfMnVrI4k4E3hPeUzStBG9D6KAYVKZRCYN6y+t5zR8f9S4Kiw+ydBa5z9QV3fOo1yiHHgDPqs= X-Received: by 2002:a05:651c:2203:b0:2c5:1e70:7d30 with SMTP id y3-20020a05651c220300b002c51e707d30mr18421624ljq.30.1698954039724; Thu, 02 Nov 2023 12:40:39 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 2 Nov 2023 12:40:39 -0700 From: Stefan Kangas In-Reply-To: <87fs1peic2.fsf@ledu-giraud.fr> References: <87fs1peic2.fsf@ledu-giraud.fr> MIME-Version: 1.0 Date: Thu, 2 Nov 2023 12:40:39 -0700 Message-ID: Subject: Re: bug#66880: 30.0.50; [PATCH] Don't need text properties when sending a mail To: Manuel Giraud , 66880@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66880 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 (-) Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > I don't think we need text properties when sending mail data. Makes sense to me. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 04 04:43:09 2023 Received: (at 66880-done) by debbugs.gnu.org; 4 Nov 2023 08:43:09 +0000 Received: from localhost ([127.0.0.1]:60578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzCFI-000828-Pm for submit@debbugs.gnu.org; Sat, 04 Nov 2023 04:43:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzCFH-00081u-6u for 66880-done@debbugs.gnu.org; Sat, 04 Nov 2023 04:43:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qzCEb-00085d-HC; Sat, 04 Nov 2023 04:42:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=r5m+PF1bZ9L5Dwr++4shn24rdP8ahfmpVKM+gieznQs=; b=ALrBRCzkbqrL vh+X9E/LNq7uAcgMC0xlkrJBgsZAesDn8JIXHosCP1utATVM5yPpPabHMx+h8f/8C2UJVHZ/h9a7g +wW02BxZM+N/a/aWuG5nXYeqYM5Lbvqf0LAJv6DSY7x9M+Du+aOEKB+clZ6Z4EgFwFy3PGaLmNTLK rjwFMyYcc/ZSN6aicZzldjNv6we5xjrqeeZwBb54QRNEjyqVKGqT4DsCdXvBaUBWpCwL3uKZOqYII JvdGkRZVmZyZV+p8ac8i3HCRAu2Qbuwozrw4R6shu4V/VEsecKAP06ezxasMg+29rtB6RZpmYK+/c 0NIL28k9r3Xxd7emJCAusg==; Date: Sat, 04 Nov 2023 10:42:24 +0200 Message-Id: <83a5rt6han.fsf@gnu.org> From: Eli Zaretskii To: Manuel Giraud In-Reply-To: <87fs1peic2.fsf@ledu-giraud.fr> (bug-gnu-emacs@gnu.org) Subject: Re: bug#66880: 30.0.50; [PATCH] Don't need text properties when sending a mail References: <87fs1peic2.fsf@ledu-giraud.fr> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66880-done Cc: 66880-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: -3.3 (---) > Date: Wed, 01 Nov 2023 14:03:41 +0100 > From: Manuel Giraud via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I don't think we need text properties when sending mail data. Thanks, installed on master, and closing the bug. From unknown Sun Sep 07 23:15:50 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, 02 Dec 2023 12:24:11 +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