octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49685] Set .m file encoding on a per-director


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #49685] Set .m file encoding on a per-directory basis
Date: Fri, 18 Sep 2020 08:48:35 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:80.0) Gecko/20100101 Firefox/80.0

Follow-up Comment #6, bug #49685 (project octave):

> But I agree that the new goal of adding a function that can set the .m file
encoding on a per-directory basis is better.

IMHO a function and PKG_ADD hooks for Octave Forge packages isn't the best
approach: encoding is a property of a file or sets of files on disk, and it'd
be better to express that declaratively with sidecar files that live next to
them in the same file hierarchy, or some internal encoding indicator that's
embedded in the files, instead of requiring procedural manipulation,
especially if that procedural manipulation is tied into `pkg` packaging
insteapd of being a property of arbitrary Octave source trees.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?49685>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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