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

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



             reply	other threads:[~2021-12-03 22:46 UTC|newest]

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

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=4269e951-2fbe-1691-8e3e-f25a6c758121@barrett.com.au \
    --to=help-gnu-emacs@gnu.org \
    --cc=jobst@barrett.com.au \
    /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.