From mboxrd@z Thu Jan 1 00:00:00 1970 From: znavko@disroot.org Subject: prevent inserting \n symbol in the end of lines in emacs po-mode Date: Sat, 13 Apr 2019 16:45:21 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--=_RainLoop_540_328326524.1555173921" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFLmU-0004Wu-Dh for help-guix@gnu.org; Sat, 13 Apr 2019 12:45:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFLmT-0005bu-3C for help-guix@gnu.org; Sat, 13 Apr 2019 12:45:30 -0400 Received: from knopi.disroot.org ([178.21.23.139]:45446) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hFLmS-0005Yb-54 for help-guix@gnu.org; Sat, 13 Apr 2019 12:45:29 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 62CDB2ED2F for ; Sat, 13 Apr 2019 18:45:24 +0200 (CEST) Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kUWa-UBi5K4D for ; Sat, 13 Apr 2019 18:45:21 +0200 (CEST) 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: help-guix ----=_RainLoop_540_328326524.1555173921 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable When editing .po file in emacs po-mode and inserting two lines into msgst= r, emacs adds "n" symbol.=0AAnd it breaks the logic here:=0A=0A#. type: P= lain text=0A#: doc/contributing.texi:141=0Amsgid ""=0A"@dots{} and for a = REPL (@pxref{Using Guile Interactively,,, guile, Guile "=0A"Reference Man= ual}):"=0Amsgstr ""=0A"@dots{} =D0=B8 =D0=B4=D0=BB=D1=8F REPL (@pxref{Usi= ng Guile Interactively,,, guile, Guilen"=0A"Reference Manual}):"=0A=0Ahtt= p://0x0.st/zNAS.png (http://0x0.st/zNAS.png)=0A=0AI think link to Guile R= eference manual will not work with n in the middle of it.=0A=0AI've enabl= ed long-line-mode as described here https://www.emacswiki.org/emacs/PoMod= e (https://www.emacswiki.org/emacs/PoMode) (and including longlines.el in= to .emacs)=0ASo I can create long-long lines and they are displaying conv= enient way. And I've compared french translation does not follow the same= line length rule as in original po file: http://0x0.st/zNmQ.png=0A=0ABut= nevertheless is it necessary to insert translation messages strings with= line breaks but without emacs insert 'n' in the end of line? ----=_RainLoop_540_328326524.1555173921 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
<= div>
Whe= n editing .po file in emacs po-mode and inserting two lines into msgstr, = emacs adds "\n" symbol.
And it breaks the logic here:

#. type: = Plain text
#: doc/contributing.texi:141
msgid ""
"@dots{} and fo= r a REPL (@pxref{Using Guile Interactively,,, guile, Guile "
"Referenc= e Manual}):"
msgstr ""
"@dots{} =D0=B8 =D0=B4=D0=BB=D1=8F REPL (@px= ref{Using Guile Interactively,,, guile, Guile\n"
"Reference Manual}):"=

http://0x0.st/zNAS.png<= /a>

I think link to Guile Reference manual will not work with \n i= n the middle of it.

I've enabled long-line-mode a= s described here
https://www.emacswiki.org/emacs/= PoMode (and including longlines.el into .emacs)
So I can create lo= ng-long lines and they are displaying convenient way. And I've compared f= rench translation does not follow the same line length rule as in origina= l po file: http://0x0.st/zNmQ.png

But nevertheless is it necessary= to insert translation messages strings with line breaks but without emac= s insert '\n' in the end of line?

----=_RainLoop_540_328326524.1555173921--