[MacPorts] #28347: emacs-app does not read/remember correctly .emacs
#28347: emacs-app does not read/remember correctly .emacs ---------------------------------------+------------------------------------ Reporter: Maurizio.Loreti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ---------------------------------------+------------------------------------ I have an .emacs file whose first lines are: (set-background-color "#F0FFFF") ; Azure (set-foreground-color "#000080") ; Navy blue (set-cursor-color "#FF0000") ; Red (set-mouse-color "#FF7256") ; Coral1 and indeed the first window opened by emacs.app executes these instructions and is displayed using these colours. BUT, if I select File -> New frame from the menu, or if I type C-x 5 2, the second frame is displayed with the default colours. However, other instructions found in my .emacs file, like the following one: (global-set-key "\C-cg" 'goto-line) work in the second frame too; the problem is maybe that emacs-app reads correctly my .emacs file, but fails to remember some instructions when opening a second frame. I am attaching my whole .emacs, but I don't think its content is relevant. -- Ticket URL: <https://trac.macports.org/ticket/28347> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28347: emacs-app does not read/remember correctly .emacs ---------------------------------------+------------------------------------ Reporter: Maurizio.Loreti@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: emacs-app ---------------------------------------+------------------------------------ Changes (by jmr@…): * owner: macports-tickets@… => css@… * port: => emacs-app Comment: Please remember to fill in the Port field and cc the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/28347#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28347: emacs-app does not read/remember correctly .emacs ----------------------------------------+----------------------------------- Reporter: Maurizio.Loreti@… | Owner: css@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: emacs-app | ----------------------------------------+----------------------------------- Changes (by css@…): * status: new => closed * resolution: => invalid Comment: This is a configuration error, not a port bug. You need to set the colors for the default frames, not just the current one. Try the following in your .emacs instead: {{{ (setq default-frame-alist '((background-color . "#F0FFFF") (foreground-color . "#000080"))) }}} See: * http://www.delorie.com/gnu/docs/emacs/emacs_198.html * http://superuser.com/questions/210555/emacs-font-settings-not-working- in-new-frame -- Ticket URL: <https://trac.macports.org/ticket/28347#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts