[OS X Emacs] Merge All Frames from Preferences.el

David Reitter david.reitter at gmail.com
Fri Jun 7 08:49:13 EDT 2019


Yes, Aquamacs does load ~/.emacs as well.

> On Jun 7, 2019, at 8:38 AM, Cuauhtémoc Salazar <temok.mx at gmail.com> wrote:
> 
> Thank you David,
> 
> I tried your suggestion, adding your code at the end of my Preferences.el but unfortunately Aquamacs still opens each file on different frames.
> The complete Preferences.el is below.
> 
> I also have a non-empty ~/.emacs file, as I also use console-mode Emacs for quick editing. Does ~/.emacs affect Aquamacs?
> 
> Thank you,
> Temok
> 
> ;; ========================
> ;; ELPY  https://github.com/jorgenschaefer/elpy
> (package-initialize)
> (elpy-enable)
> 
> ;; ========================
> ;; FLYSPELL
> ;; https://www.emacswiki.org/emacs/FlySpell
>    (dolist (hook '(text-mode-hook))
>      (add-hook hook (lambda () (flyspell-mode 1))))
>    (dolist (hook '(change-log-mode-hook log-edit-mode-hook))
>      (add-hook hook (lambda () (flyspell-mode -1))))
> 
> ;; ========================
> ;; https://www.emacswiki.org/emacs/ExecPath
> (setenv "PATH" (concat (getenv "PATH") ":/sw/bin"))
> (setq exec-path (append exec-path '("/sw/bin")))
> 
> ;; ========================
> (setq org-src-fontify-natively t)
> 
> ;; Remote files via TRAMP
> (setq tramp-default-method "ssh")
> 
> ;; ========================
> ;; (find-file "/path/to/your/file")
> (let ((obof-s one-buffer-one-frame-mode)
>      (tm-s tabbar-mode))
> 
>  (one-buffer-one-frame-mode nil)
>  (tabbar-mode t)
>  (find-file “~/file1.org")
>  (find-file “~/file2.org")
>  (tabbar-mode tm-s) ;; restore
>  (one-buffer-one-frame-mode obof-s))
> 
> 
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> https://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx



More information about the MacOSX-Emacs mailing list