GNU bug report logs -
#6179
OSX: Emacs.app is loading files specified by relative pathname twice
Previous Next
Reported by: Roy Liu <royliu <at> cs.ucsd.edu>
Date: Thu, 13 May 2010 03:19:01 UTC
Severity: normal
Merged with 7872,
8127
Found in version 23.2
Done: Jan Djärv <jan.h.d <at> swipnet.se>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 6179 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I dug into the problem further, and this patch seems to be dealing with the
problem:
--- lisp/term/ns-win.el.orig 2010-05-15 17:14:55.000000000 -0700
+++ lisp/term/ns-win.el 2010-05-15 17:15:00.000000000 -0700
@@ -785,7 +785,7 @@
"Do a `find-file' with the `ns-input-file' as argument."
(interactive)
(let ((f) (file) (bufwin1) (bufwin2))
- (setq f (file-truename (car ns-input-file)))
+ (setq f (car ns-input-file))
(setq ns-input-file (cdr ns-input-file))
(setq file (find-file-noselect f))
(setq bufwin1 (get-buffer-window file 'visible))
@@ -802,8 +802,7 @@
(select-window bufwin2)
(find-file f))
(ns-pop-up-frames
- (ns-hide-emacs 'activate)
- (let ((pop-up-frames t)) (pop-to-buffer file nil)))
+ (ns-hide-emacs 'activate))
(t
(ns-hide-emacs 'activate)
(find-file f)))))
Documents/build/macports/a
Unfortunately, since I am no Emacs-app expert, I can't tell you in clear
terms what it does exactly. Perhaps a guru can elucidate.
-Roy
[Message part 2 (text/html, inline)]
This bug report was last modified 14 years and 86 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.