bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#29712: 26.0.90; Three emacs-26 elisp tests are failing on darwin


From: Alan Third
Subject: bug#29712: 26.0.90; Three emacs-26 elisp tests are failing on darwin
Date: Sat, 16 Dec 2017 16:42:18 +0000
User-agent: Mutt/1.9.1 (2017-09-22)

On Sat, Dec 16, 2017 at 06:19:54PM +0200, Eli Zaretskii wrote:
> > Date: Sat, 16 Dec 2017 15:07:32 +0000
> > From: Alan Third <alan@idiocy.org>
> > Cc: 29712@debbugs.gnu.org
> > 
> > > Does it help to bind file-name-coding-system to utf-8-hfs-unix in that
> > > test?
> > 
> > Yes, the test passes.
> 
> Then I think this is the right fix.
> 
> Maybe we should do that by default on Darwin, as it makes little sense
> to convert EOLs in file names?  Did the changeset in 83f0d60 on master
> did that for Darwin as well?

No, it’s set in ns-win.el:

modified   lisp/term/ns-win.el
@@ -354,7 +354,7 @@ ns-delete-working-text
   ;; Used prior to Emacs 25.
   (define-coding-system-alias 'utf-8-nfd 'utf-8-hfs)
 
-  (set-file-name-coding-system 'utf-8-hfs))
+  (set-file-name-coding-system 'utf-8-hfs-unix))
 
 ;;;; Inter-app communications support.
 
I made the change and everything looks ok; the other tests still pass.
I don’t know anything about coding systems, though, so I could be
missing something.

-- 
Alan Third





reply via email to

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