From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 11 18:01:02 2017 Received: (at submit) by debbugs.gnu.org; 11 Jun 2017 22:01:03 +0000 Received: from localhost ([127.0.0.1]:41517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKAur-0005vi-SH for submit@debbugs.gnu.org; Sun, 11 Jun 2017 18:01:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33995) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKAjO-0005eS-3p for submit@debbugs.gnu.org; Sun, 11 Jun 2017 17:49:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKAjH-0007IS-LY for submit@debbugs.gnu.org; Sun, 11 Jun 2017 17:49:04 -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.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37588) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dKAjH-0007IN-IO for submit@debbugs.gnu.org; Sun, 11 Jun 2017 17:49:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKAjG-0003VW-3V for bug-gnu-emacs@gnu.org; Sun, 11 Jun 2017 17:49:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKAjC-0007Fo-31 for bug-gnu-emacs@gnu.org; Sun, 11 Jun 2017 17:49:02 -0400 Received: from tic.mailoo.org ([212.83.147.199]:55871) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dKAjB-0007DP-P7 for bug-gnu-emacs@gnu.org; Sun, 11 Jun 2017 17:48:58 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by arnold.mailoo.org (Postfix) with ESMTP id 55E86320 for ; Sun, 11 Jun 2017 23:48:54 +0200 (CEST) Received: from mailoo.org ([127.0.0.1]) by localhost (arnold.mailoo.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vsFuDV6swn9U for ; Sun, 11 Jun 2017 23:48:54 +0200 (CEST) Received: from faramir (unknown [2.233.133.129]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by arnold.mailoo.org (Postfix) with ESMTPSA id 0CC6C2F5 for ; Sun, 11 Jun 2017 23:48:52 +0200 (CEST) From: Alessandro Costantini To: bug-gnu-emacs@gnu.org Subject: 25.2; message.el message-insert-signature adds '-- ' line even if said line is in signature file Date: Sun, 11 Jun 2017 23:48:49 +0200 Message-ID: <87a85eurem.fsf@mailoo.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 11 Jun 2017 18:01:00 -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: -4.0 (----) When I compose a message with C-x m the standard signature block header: '-- \n' is inserted in the buffer even if message-signature-file already contains it. I think the code that does this is in message.el line 3630 My .signature file contains: -- Alessandro Costantini In GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.10) of 2017-04-22 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 System Description: Manjaro Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LC_MONETARY: it_IT.UTF-8 value of $LC_NUMERIC: it_IT.UTF-8 value of $LC_TIME: it_IT.UTF-8 value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t whitespace-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Note: file is write protected Mark set Mark saved where search started Mark set Quit Mark set Quit Mark saved where search started Mark set [3 times] is undefined [2 times] Load-path shadows: None found. Features: (shadow sort emacsbug info mule-diag ruler-mode hl-line hexl eieio-opt speedbar sb-image ezimage dframe rfc2104 network-stream nsm starttls tls gnutls message idna rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader mail-extr smtpmail auth-source password-cache sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns debug sh-script smie executable conf-mode misearch multi-isearch vc-git diff-mode org-rmail org-mhe org-irc org-info org-gnus gnus-util org-docview doc-view subr-x jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m dired slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations advice 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 elp slime-parse slime derived edmacro kmacro disp-table lisp-mnt gud apropos compile etags xref cl-seq project eieio eieio-core arc-mode archive-mode pp hyperspec cl-macs thingatpt browse-url cl slime-autoloads whitespace org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs server finder-inf package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 318177 61678) (symbols 48 36103 0) (miscs 40 222 678) (strings 32 67882 8657) (string-bytes 1 2092134) (vectors 16 35261) (vector-slots 8 1491137 193443) (floats 8 367 539) (intervals 56 9688 90) (buffers 976 35)) -- -- Alessandro Costantini From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 11 18:17:25 2017 Received: (at 27335) by debbugs.gnu.org; 11 Jun 2017 22:17:26 +0000 Received: from localhost ([127.0.0.1]:41532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKBAj-00083U-MY for submit@debbugs.gnu.org; Sun, 11 Jun 2017 18:17:25 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:46131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKBAi-000820-37 for 27335@debbugs.gnu.org; Sun, 11 Jun 2017 18:17:24 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3wm9PZ5CBFz1qt0B; Mon, 12 Jun 2017 00:17:22 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3wm9P030djz3jgYw; Mon, 12 Jun 2017 00:16:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id pgp6fyIzfWlf; Mon, 12 Jun 2017 00:16:51 +0200 (CEST) X-Auth-Info: iWSWZWPfVrw5vXlD/6P64ElPLUq1CCMFcMzpmdopkQUjWwkT66QRKg6PotGc8xbe Received: from igel.home (ppp-88-217-3-185.dynamic.mnet-online.de [88.217.3.185]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 12 Jun 2017 00:16:51 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 082912C3B89; Mon, 12 Jun 2017 00:16:51 +0200 (CEST) From: Andreas Schwab To: Alessandro Costantini Subject: Re: bug#27335: 25.2; message.el message-insert-signature adds '-- ' line even if said line is in signature file References: <87a85eurem.fsf@mailoo.org> X-Yow: Am I SHOPLIFTING? Date: Mon, 12 Jun 2017 00:16:50 +0200 In-Reply-To: <87a85eurem.fsf@mailoo.org> (Alessandro Costantini's message of "Sun, 11 Jun 2017 23:48:49 +0200") Message-ID: <8737b6jhkd.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27335 Cc: 27335@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: -0.7 (/) On Jun 11 2017, Alessandro Costantini wrote: > When I compose a message with C-x m the standard signature > block header: > '-- \n' > is inserted in the buffer even if message-signature-file > already contains it. It should not. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 11:25:26 2017 Received: (at 27335) by debbugs.gnu.org; 12 Jun 2017 15:25:26 +0000 Received: from localhost ([127.0.0.1]:43628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKRDZ-0004QG-I4 for submit@debbugs.gnu.org; Mon, 12 Jun 2017 11:25:26 -0400 Received: from arnold.mailoo.org ([212.83.147.198]:55629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKJqu-0006Qu-88 for 27335@debbugs.gnu.org; Mon, 12 Jun 2017 03:33:32 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by arnold.mailoo.org (Postfix) with ESMTP id BBAD4320; Mon, 12 Jun 2017 09:33:25 +0200 (CEST) Received: from mailoo.org ([127.0.0.1]) by localhost (arnold.mailoo.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PFNbVoAnhLDw; Mon, 12 Jun 2017 09:33:25 +0200 (CEST) Received: from [192.168.1.81] (unknown [2.233.133.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by arnold.mailoo.org (Postfix) with ESMTPSA id 3C0E52C5; Mon, 12 Jun 2017 09:33:25 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: bug#27335: 25.2; message.el message-insert-signature adds '-- ' line even if said line is in signature file From: Adhrain X-Mailer: iPhone Mail (14F89) In-Reply-To: <8737b6jhkd.fsf@linux-m68k.org> Date: Mon, 12 Jun 2017 09:33:24 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87a85eurem.fsf@mailoo.org> <8737b6jhkd.fsf@linux-m68k.org> To: Andreas Schwab X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27335 X-Mailman-Approved-At: Mon, 12 Jun 2017 11:25:24 -0400 Cc: 27335@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: -0.0 (/) My bad, I interpreted wrongly the emacs manual page about message mode. Thank you --=20 Alessandro Costantini=20 > Il giorno 12 giu 2017, alle ore 00:16, Andreas Schwab ha scritto: >=20 >> On Jun 11 2017, Alessandro Costantini wrote: >>=20 >> When I compose a message with C-x m the standard signature >> block header: >> '-- \n' >> is inserted in the buffer even if message-signature-file >> already contains it. >=20 > It should not. >=20 > Andreas. >=20 > --=20 > Andreas Schwab, schwab@linux-m68k.org > GPG Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5= > "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 12 11:36:22 2017 Received: (at control) by debbugs.gnu.org; 12 Jun 2017 15:36:22 +0000 Received: from localhost ([127.0.0.1]:43649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKRO9-0006gW-Te for submit@debbugs.gnu.org; Mon, 12 Jun 2017 11:36:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKRO7-0006gF-TN for control@debbugs.gnu.org; Mon, 12 Jun 2017 11:36:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKRO2-0006Nx-7W for control@debbugs.gnu.org; Mon, 12 Jun 2017 11:36:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKRO2-0006Nt-48 for control@debbugs.gnu.org; Mon, 12 Jun 2017 11:36:14 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1dKRO1-0003lq-QB for control@debbugs.gnu.org; Mon, 12 Jun 2017 11:36:13 -0400 Subject: control message for bug 27335 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 12 Jun 2017 11:36:13 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) tag 27335 notabug close 27335 From unknown Mon Aug 18 02:38:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 11 Jul 2017 11:24:04 +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