When I copy text from another application and paste it into Emacs it removes all formatting including the empty lines between paragraphs. I would like to paste into Emacs and preserve the empty lines. I am running Debian 10. My version of Emacs is GNU Emacs 27.0.50. The behaviour is reproducible with emacs -Q. The specific application in question is Atril document viewer.
emacs-26.3 -Q
, open the tutorial in one of them, copy it and paste it into the*scratch*
buffer of the other. That indicates that there is way too little information in this question. Which operating system? Which Emacs version? Is the behavior reproduceable withemacs -Q
? Which other application do you mean? I retract my close-vote as soon as the question contains that information.emacs -Q
(no init file).pdftotext
converts the pdf with the correct number of newlines into a text file. So the info is actually there in the pdf.occur
and regular expression search.)M-x report-emacs-bug
is maybe in order, to report an enhancement request / bug forpdf-tools
(?).