all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs adds extra lines when pasting whenever a # is found.
Date: Sat, 04 Dec 2021 09:29:53 +0200	[thread overview]
Message-ID: <83fsr87rpq.fsf@gnu.org> (raw)
In-Reply-To: <4269e951-2fbe-1691-8e3e-f25a6c758121@barrett.com.au> (message from Jobst Schmalenbach via Users list for the GNU Emacs text editor on Sat, 4 Dec 2021 09:46:29 +1100)

> Date: Sat, 4 Dec 2021 09:46:29 +1100
> From:  Jobst Schmalenbach via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
> 
> - 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?

Does this happen in "emacs -Q"?  If not, one of your customizations is
the culprit.



      parent reply	other threads:[~2021-12-04  7:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-03 22:46 Emacs adds extra lines when pasting whenever a # is found Jobst Schmalenbach via Users list for the GNU Emacs text editor
2021-12-03 23:47 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-04  7:29 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83fsr87rpq.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.