[MacPorts] #28347: emacs-app does not read/remember correctly .emacs

MacPorts noreply at macports.org
Wed Feb 9 23:29:37 PST 2011


#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


More information about the macports-tickets mailing list