Bug 554

Summary: the start script for Emacs is not correct (not .po files match for po-mode)
Product: Sisyphus Reporter: imz <vanyaz>
Component: gettextAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P4 CC: glebfm, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description imz 2002-02-06 17:13:11 MSK
The backslash in the filename specification in /etc/emacs/site-start.d/gettext.el must be escaped (\&quot;\\\\.po$\&quot;), otherwise the regex \&quot;.po$\&quot; matches many other files.


---
Open a file called \&quot;apo\&quot; in Emacs.
---
The error is caused by the build procedure that uses 

cat &lt;&lt;EOF 

which substitutes escaped characters.

Better use a separate SOURCE as in RedHat\'s gettext. Their po-mode init-script for Emacs is more powerful than the one present in ALT\'s pkg -- we should take it.


By the way, I discovered that a newer version of gettext has been released recently: <a href="ftp://ftp.gnu.org/pub/gnu/gettext/gettext-0.11.tar.gz">ftp://ftp.gnu.org/pub/gnu/gettext/gettext-0.11.tar.gz</a>

Comment 1 Dmitry V. Levin 2002-03-14 13:42:23 MSK
Should be fixed in
gettext-0.11-alt1
Comment 2 Dmitry V. Levin 2002-03-14 13:42:23 MSK
Should be fixed in
gettext-0.11-alt1