help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

prevent inserting \n symbol in the end of lines in emacs po-mode


From: znavko
Subject: prevent inserting \n symbol in the end of lines in emacs po-mode
Date: Sat, 13 Apr 2019 16:45:21 +0000

When 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 for a REPL (@pxref{Using Guile Interactively,,, guile, Guile "
"Reference Manual}):"
msgstr ""
"@dots{} и для REPL (@pxref{Using Guile Interactively,,, guile, Guile\n"
"Reference Manual}):"

http://0x0.st/zNAS.png

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

I've enabled long-line-mode as described here https://www.emacswiki.org/emacs/PoMode (and including longlines.el into .emacs)
So I can create long-long lines and they are displaying convenient 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

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]