* Emacs adds extra lines when pasting whenever a # is found.
@ 2021-12-03 22:46 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
0 siblings, 2 replies; 3+ messages in thread
From: Jobst Schmalenbach via Users list for the GNU Emacs text editor @ 2021-12-03 22:46 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacs adds extra lines when pasting whenever a # is found.
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
1 sibling, 0 replies; 3+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2021-12-03 23:47 UTC (permalink / raw)
To: help-gnu-emacs
Jobst Schmalenbach via Users list for the GNU Emacs text editor wrote:
> Anybody got any ideas how I can stop the PASTING emacs
> adding extra line whenever a # is found?
`report-emacs-bug'
--
underground experts united
https://dataswamp.org/~incal
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacs adds extra lines when pasting whenever a # is found.
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
1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2021-12-04 7:29 UTC (permalink / raw)
To: help-gnu-emacs
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-04 7:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).