Opened 19 years ago

Closed 18 years ago

#4210 closed enhancement (fixed)

RFE: emacs appears to lack quartz mode

Reported by: gorbag@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.0
Keywords: Cc: vincent-opdarw@…
Port:

Description

Running emacs from a window does not bring up a new quartz window running emacs. As compared to the fink port, where running under X11 brings up an X11 window of emacs, the darwinports version doesn't support this either. emacs should take over the terminal window only if -nw is specified.

Attachments (1)

patch-Portfile.diff (581 bytes) - added by cssdev 18 years ago.
Note that the port is command-line only

Download all attachments as: .zip

Change History (8)

comment:1 Changed 19 years ago by ben@…

(In reply to comment #0)

Running emacs from a window does not bring up a new quartz window running emacs. As compared to the fink port, where running under X11 brings up an X11 window of emacs, the darwinports version doesn't support this either. emacs should take over the terminal window only if -nw is specified.

Use the 'carbon' emacs variant. Then, running the executable:

$ /Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs

will bring up a new window, whilst:

$ /Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs -nw

uses the terminal window

You will probably want to put: alias emacs=/Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs

in your .bashrc

comment:2 Changed 19 years ago by vincent-opdarw@…

Cc: vincent-opdarw@… added

Creating the following script is another solution (that may be more useful when sharing config files between several platforms):

#!/bin/sh exec /Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs "$@"

Unfortunately, a symbolic link to /Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs isn't sufficient.

comment:3 Changed 19 years ago by mww@…

Summary: emacs appears to lack quartz modeRFE: emacs appears to lack quartz mode

comment:4 Changed 18 years ago by rhwood@…

severity: normalenhancement

Make the list of bugs easier to scan.

comment:5 Changed 18 years ago by cssdev

The emacs port disables both X11 and Carbon windowing. I assume configuration is due to version 21.4 not properly supporting either X11 or Carbon when compiling on Mac OS X. One must use the emacs-devel port to utilize GUI windows. Maybe the Portfile should update the description to indicate the fact that the port compiles emacs as a command-line-only binary.

comment:6 Changed 18 years ago by vinc17@…

Probably recommend emacs-devel. I've been using it for months and haven't had any problem with it. And copy-pasting Unicode characters works very well (while it is completely buggy in emacs 21).

Changed 18 years ago by cssdev

Attachment: patch-Portfile.diff added

Note that the port is command-line only

comment:7 Changed 18 years ago by cssdev

Resolution: fixed
Status: newclosed

Per r15661, this version of emacs is not reliable with X11 on Mac OS X. I just committed r20089 with the updated description. I am resolving this as fixed, since the Portfile now indicates that this is a command-line only version. Until a new version is officially released upstream, use the emacs-devel port if you need windowing.

Note: See TracTickets for help on using tickets.