|
| From: | Markus Mützel |
| Subject: | [Octave-bug-tracker] [bug #49685] Set .m file encoding on a per-directory basis |
| Date: | Fri, 18 Sep 2020 15:44:34 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36 Edg/85.0.564.51 |
Follow-up Comment #16, bug #49685 (project octave):
The attached patch applies the directory specific m-file encoding to all files
that would be added by an addpath command (including the special subfolders).
It also adds some documentation to the manual.
It should be mostly complete now.
I've only tested on Ubuntu. But I hope it equally works on other platforms.
If this were to be added to Octave, it would probably make sense to add
PKG_ADD scripts to all folders in the repository that contain m-files. The
directory specific m-file encoding should be set to UTF-8 in those files.
(file #49815)
_______________________________________________________
Additional Item Attachment:
File name: bug49685_dir_encoding_v2.patch Size:10 KB
<https://file.savannah.gnu.org/file/bug49685_dir_encoding_v2.patch?file_id=49815>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?49685>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |