From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: Re: prevent inserting \n symbol in the end of lines in emacs po-mode Date: Tue, 16 Apr 2019 21:18:14 +0200 Message-ID: <20190416191814.fxsoiicskf2qnj7k@pelzflorian.localdomain> References: <20190413175300.52yd5izlm5et657b@pelzflorian.localdomain> <331109013c5224c5b1bfd15872cf1b3a@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGTb8-0000iG-Gc for help-guix@gnu.org; Tue, 16 Apr 2019 15:18:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hGTb6-0003Iv-DG for help-guix@gnu.org; Tue, 16 Apr 2019 15:18:26 -0400 Received: from pelzflorian.de ([5.45.111.108]:50346 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hGTb1-0003E3-Er for help-guix@gnu.org; Tue, 16 Apr 2019 15:18:21 -0400 Content-Disposition: inline In-Reply-To: <331109013c5224c5b1bfd15872cf1b3a@disroot.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: znavko@disroot.org Cc: help-guix On Tue, Apr 16, 2019 at 06:38:43PM +0000, znavko@disroot.org wrote: > Hello, Florian! You said 'Normally I press Ctrl+J to copy the original msgid and adapt it without adding newlines.' > Give me detailed instruction how to add this option into my emacs? > I use emacs + pomode, and I press Return to get new area for translate. But pressing Ctrl + J there really insert a new line. > I want to insert original msgid without changes. It is all correct except you need to press Ctrl+J before pressing Enter to select the message. > Now I need to copy it and it is copying with dustbin n and " symbols and also screening quotes: ". > It is so hard to copy and paste Scheme multi-line code and then edit it. > How to insert exact copy without dustbin symbols? > > For example I'm on this msgid. It's not easy to erase this garbage in the end and start of lines, also ": > > "(define my-packagen" > " (let ((commit "c3f29bc928d5900971f65965feaae59e1272a3f7")n" > " (revision "1")) ;Guix package revisionn" > " (packagen" > " (version (git-version "0.9" revision commit))n" > " (source (originn" > " (method git-fetch)n" > " (uri (git-referencen" > " (url "git://example.org/my-package.git")n" > " (commit commit)))n" > " (sha256 (base32 "1mbikn@dots{}"))n" > " (file-name (git-file-name name version))))n" > " ;; @dots{}n" > " )))n" > > Sure I can use regexp, but it takes time without any good. > Yes this will not be necessary.