From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jobst Schmalenbach via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Emacs adds extra lines when pasting whenever a # is found. Date: Sat, 4 Dec 2021 09:46:29 +1100 Message-ID: <4269e951-2fbe-1691-8e3e-f25a6c758121@barrett.com.au> Reply-To: Jobst Schmalenbach Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21515"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 03 23:48:00 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtHLU-0005M6-G8 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 03 Dec 2021 23:48:00 +0100 Original-Received: from localhost ([::1]:55228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtHLS-0001id-TN for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 03 Dec 2021 17:47:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtHKI-0001hA-VI for help-gnu-emacs@gnu.org; Fri, 03 Dec 2021 17:46:47 -0500 Original-Received: from piquet.barrett.com.au ([220.233.246.146]:38748 helo=mail.barrett.com.au) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtHKF-0000VF-70 for help-gnu-emacs@gnu.org; Fri, 03 Dec 2021 17:46:46 -0500 X-BCGMailingListTag: mail.barrett.com.au jobst@barrett.com.au 202112032246 Original-Received: from [192.168.201.67] (mail.barrett.com.au [220.233.246.146]) by mail.barrett.com.au (8.14.7/8.14.7) with ESMTP id 1B3MkTbo013137 for ; Sat, 4 Dec 2021 09:46:30 +1100 Content-Language: en-AU X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mail.barrett.com.au [220.233.246.146]); Sat, 04 Dec 2021 09:46:30 +1100 (AEDT) X-Scanned-By: MIMEDefang 2.84 on 220.233.246.146 Received-SPF: pass client-ip=220.233.246.146; envelope-from=jobst@barrett.com.au; helo=mail.barrett.com.au X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134820 Archived-At: Hi I have a strange problem I cannot solve: - I have two XTERMS open - I run xterms run on either the same host or different hosts - in both xterms I run emacs - in both emacs I have the same source files open: bash or php or etc - if I copy text in one emacs then paste it into the other emacs it ADDS an extra line whenever a '#' is found - its annoying I have searched the Internet, I haven't found a solution yet. I am in the midst creating a new mail server. When I copy/paste between two different hosts both having emacs editing a sendmail.mc file it does not happen. It quite happily pastes into the new sendmail.mc without adding extra lines as a comment in sendmail.mc is preceeded by a 'dnl'. Anybody got any ideas how I can stop the PASTING emacs adding extra line whenever a # is found? Thanks