GithubHelp home page GithubHelp logo

railwaycat / homebrew-emacsmacport Goto Github PK

View Code? Open in Web Editor NEW
1.6K 1.6K 123.0 15.77 MB

Emacs mac port formulae for the Homebrew package manager

License: BSD 2-Clause "Simplified" License

Ruby 87.13% Shell 10.70% Makefile 2.18%

homebrew-emacsmacport's Introduction

Emacs Mac Port

What is this?

The official repository of Emacs Mac port: https://bitbucket.org/mituharu/emacs-mac/overview

This is "Mac port" addition to GNU Emacs. This provides a native GUI support for OS X 10.10 - macOS 13. Note that Emacs 23 and later already contain the official GUI support via the NS (Cocoa) port. So if it is good enough for you, then you don't need to try this.

This Homebrew tap provides a collection of useful Homebrew formulas and casks with popular patches, making it easier to install Emacs Mac port on your Mac machine. It also offers pre-built bundles if you prefer not to use Homebrew.

IMPORTANT Note From Developer

If you find a bug, then please try to reproduce it with some official builds such as X11 or NS (Cocoa). If it turns out to be specific to the Mac port, then please report it to [email protected]. Otherwise (i.e., it is also reproducible with official ones), report it using M-x report-emacs-bug USING THE OFFICIAL BUILD as such.

Features

Please see the full feature list here.

Installation options

Homebrew

If you prefer to install with Homebrew, please enable this tap by:

$ brew tap railwaycat/emacsmacport

Formula

This tap provides the following formulas:

  • emacs-mac: install the latest version of Emacs mac port (currently based on Emacs 29).
  • emacs-mac@28: install Emacs mac port based on Emacs 28.

Cask

This tap provides the following casks, based on Emacs 29:

  • emacs-mac
  • emacs-mac-spacemacs-icon

and the following casks, based on Emacs 28:

  • emacs-mac-28
  • emacs-mac-28-spacemacs-icon

All of these casks can be installed by brew install --cask command.

Pre-built Download

Pre-built bundles available on the release page:

https://github.com/railwaycat/homebrew-emacsmacport/releases

Bundles are the same as those from Homebrew Cask.

Support macOS versions:

  • Intel Mac
    • Monterey (macOS12)
    • Big Sur (macOS11)
    • Ventura (macOS13)
  • Apple Silicon Mac
    • Monterey (macOS12)
    • Ventura (macOS13)

For macOS versions not be listed above, please install from Homebrew formula (install without --cask).

Intel Mac bundles are built by GitHub Actions, the version support limitation is from the macOS versions they support currently.

Apple Silicon bundles are built on a M1 Mac with Tart. The version support limitation is because Apple only supports macOS virtualization since Monterey (macOS12).

Useful links

homebrew-emacsmacport's People

Contributors

aichaoxy avatar arnested avatar askdkc avatar avelino avatar dabrahams avatar dunn avatar galeo avatar gwydirsam avatar jasonm23 avatar jhorology avatar kbmad avatar kevinji avatar lochlainn avatar lululau avatar maciej-szlosarczyk avatar manuraj17 avatar masutaka avatar mattmc3 avatar mebsout avatar mpolden avatar ota42y avatar pkryger avatar railwaycat avatar roryokane avatar scohen avatar sirn avatar stellargo avatar takano32 avatar viktorhaag avatar ywwry66 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-emacsmacport's Issues

Fails to install on 10.10.4 with autogen.sh error

$  brew tap railwaycat/emacsmacport
==> Tapping railwaycat/emacsmacport
Cloning into '/usr/local/Library/Taps/railwaycat/homebrew-emacsmacport'...
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 7 (delta 0), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), done.
Checking connectivity... done.
Tapped 1 formula (31 files, 128K)
$ brew install emacs-mac --with-spacemacs-icon
==> Installing emacs-mac from railwaycat/homebrew-emacsmacport
==> Installing dependencies for railwaycat/emacsmacport/emacs-mac: autoconf, automake, pkg-config
==> Installing railwaycat/emacsmacport/emacs-mac dependency: autoconf
==> Downloading https://homebrew.bintray.com/bottles/autoconf-2.69.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring autoconf-2.69.yosemite.bottle.1.tar.gz
🍺  /usr/local/Cellar/autoconf/2.69: 70 files, 3.1M
==> Installing railwaycat/emacsmacport/emacs-mac dependency: automake
==> Downloading https://homebrew.bintray.com/bottles/automake-1.15.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring automake-1.15.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/automake/1.15: 130 files, 3.2M
==> Installing railwaycat/emacsmacport/emacs-mac dependency: pkg-config
==> Downloading https://homebrew.bintray.com/bottles/pkg-config-0.28.yosemite.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring pkg-config-0.28.yosemite.bottle.2.tar.gz
🍺  /usr/local/Cellar/pkg-config/0.28: 10 files, 612K
==> Installing railwaycat/emacsmacport/emacs-mac
==> Downloading https://github.com/railwaycat/mirror-emacs-mac/archive/emacs-24.5-mac-5.9.tar.gz
==> Downloading from https://codeload.github.com/railwaycat/mirror-emacs-mac/tar.gz/emacs-24.5-mac-5.9
######################################################################## 100.0%
######################################################################## 100.0%
==> ./autogen.sh
BEGIN failed--compilation aborted at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/Channels.pm line 70.
Compilation failed in require at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/ChannelDefs.pm line 19.
BEGIN failed--compilation aborted at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/ChannelDefs.pm line 19.
Compilation failed in require at /usr/local/opt/autoconf/bin/autoreconf line 39.
BEGIN failed--compilation aborted at /usr/local/opt/autoconf/bin/autoreconf line 39.

Here's the gist-logs from home-brew https://gist.github.com/anonymous/523693f0d63ed95b30bf

Add support for custom icons

having --with-custom-icon=URL would not only enable people like me to use custom icons without having to replace them after every update, but also remove the need for several icon options that are present currently. Any custom emacs distribution (like Spacemacs) could just provide an URL to an icon, which would enable them to change it independently of this formula.

"FairPlay decryption failed on binary" when running built app bundle

When building emacs-24.5-z-mac-5.13 on OS X 10.11.1 (following the installation instructions in the README) it produces an app bundle that refuses to open when running it from Finder. open -a /usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.13/Emacs.app seems to work (the app runs, at least).

Looking in Console.app I see entries like these for every attempt to start it via Finder:

2015/11/05 08:56:37,032 com.apple.xpc.launchd[1]: (org.gnu.Emacs.199712[89445]) FairPlay decryption failed on binary.

I don't recall having this issue with 5.11 and I think I built that on the same version of OS X but I can't be sure (and I don't have the app bundle anymore to check.)

Prebuilt binaries from the releases page here seem to be okay.

Some googling for this error turns up a few results where a shell script in an app bundle fails to execute under launchd (for reasons unknown) and results in this same situation, I'm not sure if this is relevant or not.

Installing git hooks fails

Installation fails at Installing git hooks...

% brew install emacs-mac
==> Installing emacs-mac from railwaycat/homebrew-emacsmacport
==> Cloning http://www.math.s.chiba-u.ac.jp/~mituharu/emacs-mac.git
Updating /Library/Caches/Homebrew/emacs-mac--git
==> Checking out revision emacs-24.5-mac-5.7
==> ./autogen.sh
configure.ac:103: installing 'build-aux/install-sh'
configure.ac:103: installing 'build-aux/missing'
lib/Makefile.am: installing 'build-aux/depcomp'
Installing git hooks...
cp: .git/hooks/applypatch-msg.sample: No such file or directory

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/railwaycat/homebrew-emacsmacport/issues

Clang compilation errors

I'm getting these complication errors on OS X 10.10.5 when running brew upgrade emacs-mac.

==> ./configure --prefix=/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.11 --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-mac/emacs-24.5-z

==> make
Last 15 lines from /Users/dhaley/Library/Logs/Homebrew/emacs-mac/03.make:
1 error generated.
make[1]: *** [scroll.o] Error 1
1 error generated.
1 error generated.
make[1]: *** [xmenu.o] Error 1
make[1]: *** [menu.o] Error 1
1 error generated.
make[1]: *** [frame.o] Error 1
1 error generated.
make[1]: *** [dispnew.o] Error 1
1 error generated.
make[1]: *** [window.o] Error 1
1 error generated.
make[1]: *** [xdisp.o] Error 1
make: *** [src] Error 2

Any ideas on how I should debug? Thanks.

Hardcoded charsets directory breaks command-line binaries

I like to use Emacs on the command line as well as graphically, and I've done so in the past by symlinking the Emacs.app/Contents/MacOS/bin/* binaries to ~/bin (which is on my path). Unfortunately, though the graphical version of Emac still works fine, the binaries in that bin directory fail with the following error:

Warning: arch-dependent data dir `/Users/xin/emacs-mac-build/libexec/emacs/24.5/x86_64-apple-darwin13.4.0/': No such file or directory
Warning: arch-independent data dir `/Users/xin/emacs-mac-build/share/emacs/24.5/etc/': No such file or directory
Warning: Lisp directory `/Users/xin/emacs-mac-build/share/emacs/24.5/lisp': No such file or directory
Error: charsets directory not found:
/Users/xin/emacs-mac-build/share/emacs/24.5/etc/charsets
Emacs will not function correctly without the character map files.
Please check your installation!

It appears that the charsets directory has been hardcoded to a specific location on the computer that built the binary, a location that obviously does not exist normally. This is preventing the command-line emacs from launching.

This is also important because, as far as I know, the binaries in bin are the only way to call emacs --debug-init to debug initialization scripts, something I have to do quite often.

emacs crash when open a org file in daemon mode

hi,

$ brew info emacs-mac
railwaycat/emacsmacport/emacs-mac: stable emacs-24.5-z-mac-5.10
https://www.gnu.org/software/emacs/
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.7 (3936 files, 116M)
Built from source with: --with-official-icon
^P/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.8 (3936 files, 116M)
Built from source with: --with-official-icon
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9 (3936 files, 116M) *
Built from source with: --with-official-icon
From: https://github.com/railwaycat/homebrew-emacsmacport/blob/master/Formula/emacs-mac.rb
==> Dependencies
Build: autoconf ✔, automake ✔, pkg-config ✔
Optional: glib ✘, gnutls ✘, imagemagick ✘
==> Options
--with-ctags
Don't remove the ctags executable that emacs provides
--with-dbus
Build with d-bus support
--with-glib
Build with glib support
--with-gnutls
Build with gnutls support
--with-imagemagick
Build with imagemagick support
--with-modern-icon
Using a modern style Emacs icon by @tpanum
--with-official-icon
Using offical Emacs icon
--with-official-repo
install by source code from official git repo (could show, depends on your location)
Using offical Emacs icon
--with-official-repo
install by source code from official git repo (could show, depends on your location)
--with-spacemacs-icon
Using the spacemacs Emacs icon by Nasser Alshammari
--with-xml2
Build with libxml2 support
==> Caveats
This is YAMAMOTO Mitsuharu's experimental "Mac port" addition to
GNU Emacs 24. This provides a native GUI support for Mac OS X
10.4 - 10.10. After installing, see README-mac and NEWS-mac
in /usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.10 for the port details.

Emacs.app was installed to:
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.10

To link the application to default Homebrew App location:
brew linkapps
or:
ln -s /usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.10/Emacs.app /Applications
Other ways please refer:
https://github.com/railwaycat/homebrew-emacsmacport/wiki/Alternative-way-of-place-Emacs.app-to-Applications-directory

For an Emacs.app CLI starter, see:
https://gist.github.com/4043945

.app bundles were installed.
Run brew linkapps emacs-mac to symlink these to /Applications.

Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/

Add the following to your init file to have packages installed by Homebrew added to your load-path:
(let ((default-directory "/usr/local/share/emacs/site-lisp/"))
(normal-top-level-add-subdirs-to-load-path))
$ brew list emacs-mac
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/bin/ebrowse
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/bin/emacs
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/bin/emacs-24.5
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/bin/emacsclient
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/bin/etags
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/bin/grep-changelog
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/Emacs.app/Contents/ (6 files)
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/libexec/emacs/ (5 files)
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/share/applications/emacs.desktop
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/share/emacs/ (3839 files)
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/share/icons/ (7 files)
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/share/info/ (62 files)
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/share/man/ (5 files)
/usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/var/games/ (2 files)

$ /usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/bin/emacs --daemon -Q
$ /usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.9/bin/emacsclient -nw bbb.org

Here eamcs will crash.

brew failed to fetch emacs-mac

I'm not sure is this is a brew problem or emacs-mac repo problem, but it looks like something changed without the build being updated. I'm on OS X 10.9.5. (Note this is after brew update and brew doctor)

❯ brew install emacs-mac
==> Installing emacs-mac from railwaycat/homebrew-emacsmacport
==> Cloning http://www.math.s.chiba-u.ac.jp/~mituharu/emacs-mac.git
Updating /Library/Caches/Homebrew/emacs-mac--git
warning: requested range invalid; we may already have all the data.
warning: requested range invalid; we may already have all the data.
error: Unable to find d6697c27f9aadfb421dc9e126c70175d4e3f38ec under http://www.math.s.chiba-u.ac.jp/~mituharu/emacs-mac.git
Cannot obtain needed commit d6697c27f9aadfb421dc9e126c70175d4e3f38ec
while processing commit 8272c1dbe96b14930a91807dce7a2a67c09fff4d.
error: Fetch failed.
Error: Failed to download resource "emacs-mac"
Failure while executing: git fetch -q origin

brew cask audit fails

I’m getting this:

$ brew cask audit emacs-mac
audit for emacs-mac: failed
 - a license stanza is required (:unknown is OK)
 - at least one name stanza is required
Error: audit failed

Changelog?

I'd love to know what changes are in each new release. The old repo had that information iirc, but I can't find it in this one. Am I missing it? Or if it is available somewhere else, could you link to it?

`M-h` is swallowed by OS X

I recently started using this port over the default brew one. I love the improved fonts, and speed. However, this port has a problem in that M-h is swallowed by OS X. Is there any way to unbind that, so that it goes back to being handled by Emacs?

emacsclient not functioning correctly

I have linked:

/usr/local/bin/emacsclient -> /Applications/Emacs.app/Contents/MacOS/bin/emacsclient

The command:

% emacsclient -t 

(or --tty or -nw) should open a frame in the current tty. Instead, if Emacs.app is open and the server is running, it opens a new frame in the GUI, whether or not -t is passed. If, on the other hand, emacsclient is invoked first (running emacs in --daemon mode), as:

% emacsclient -a ""

(which in the background launches
/Applications/Emacs.app/Contents/MacOS/Emacs --daemon=^J5,6^J) further calls to emacsclient to open a GUI frame do not function:

% emacsclient -c foo 

(opens a tty frame)

% emacsclient foo 
Waiting for Emacs... 

(hangs, no window opens)

It also seems to be impossible to have emacsclient open Emacs.app if the latter is not already running. I have had this setup (using emacsclient to go back and forth between GUI and TTY frames) working with vanilla Carbon Emacs.app (but it's been some time).

Permission issues?

When I try to delete a file or directory I get what seems to be a permission error:

(file-error Removing old name Mac error -600 /Users/johndoe/tmp/foo)

"Debug on Error" is not activated by this issue.

I can create files or directories in dired but cannot delete them. It's not limited to dired though, as when "package.el" updates packages it cannot delete the old directories.

It does not happen with stock emacs (from Homebrew).

emacsclient -nw not creating a frame in terminal

The -nw (or -t, --tty) should "open a new Emacs frame on the current terminal", however it actually has the same effect as -c in creating another graphical frame.

This is preventing me from connecting to my Emacs server via SSH. I'm using emacs-24.5-mac-5.10.

include cli starter in homebrew package

I think it would be good to include a cli starter in the homebrew package, and update the post-install note to then tell you how to symlink this cli-starter

Does emacs-24.5-mac-5.15 (or 5.14) build work on Mavericks ? (10.9.5)

The Emacs.app from emacs-24.5-mac-5.15 or 5.14 refuse to open on my MBA under Mavericks 10.9.5.

I tried control-click in the FInder on the Emacs from Applications window but it refuses to launch (system localized to French, message says to check if app is compatible with system).

In the past I proceeded the same way and had no issue.

Any advice ?

Magit makes my Emacs launchs very sluggishly

This is my magit config:

(require 'magit)
(setq magit-commit-show-diff nil)
(add-to-list 'magit-no-confirm 'stage-all-changes)
(setq magit-push-always-verify nil)
(global-set-key (kbd "C-x g") 'magit-status)

When I comment out above code, Emacs launchs normally, and I use emacs-24.5-mac-5.15 on OS X 10.11.2. Does Anybody have same problom?

Suggestion: Have option to create and move Emacs alias to Applications

First of all, thank you for supporting a very nice Emacs on OSX!

Initially when I installed Emacs with this recipe I had some issues with getting it recognized by the system as a normal app when searching for it using Cmd-Space. Typically it would only find the normal cmdline version, which doesn't work in a GUI setting of course.

Today my workflow after installing/upgrading using this recipe:

  1. Create alias of Emacs in /usr/local/Cellar/emacs-mac/emacs-VERSIONETC/EmacsAlias
  2. Move that EmacsAlias into /Applications
  3. Rename it Emacs again inside /Applications, removing whatever old version of "Emacs" was already there

I'm probably not the only person having these issues, so if it's not too much work (haven't looked into it myself, but will consider it), maybe it would be possible to add an option to auto-install it into /Applications using the alias method, or any other method that works.

lack of --with-librsvg flag

Is this a deliberate deviation from the homebrew emacs package by Yamamoto? The colors look washed out, and a little googling points to this being the culprit.

Error: undefined local variable or method `emacs_icons_project_icons

I run $brew install emacs-mac and I get this error

What am I doing wrong

Error: undefined local variable or method emacs_icons_project_icons' for #<Formulary::FormulaNamespacebd11bbab2e923a67956ab0b7e84d11cd::EmacsMac:0x007fa812a42c90> Please report this bug: https://git.io/brew-troubleshooting /Library/Caches/Homebrew/Formula/emacs-mac.rb:107:ininstall'
/usr/local/Library/Homebrew/build.rb:130:in block in install' /usr/local/Library/Homebrew/formula.rb:930:inblock in brew'
/usr/local/Library/Homebrew/formula.rb:1550:in block in stage' /usr/local/Library/Homebrew/resource.rb:92:inblock in unpack'
/usr/local/Library/Homebrew/extend/fileutils.rb:37:in mktemp' /usr/local/Library/Homebrew/resource.rb:88:inunpack'
/usr/local/Library/Homebrew/resource.rb:81:in stage' /usr/local/Library/Homebrew/formula.rb:1540:instage'
/usr/local/Library/Homebrew/formula.rb:926:in brew' /usr/local/Library/Homebrew/build.rb:108:ininstall'
/usr/local/Library/Homebrew/build.rb:177:in `

'

Bad header line

When I am trying to install this port through cask I am getting the following error:

Error: Cask 'emacs-mac' definition is invalid: Bad header line: parse failed

I am using:

  • Mac OS X 10.10.1
  • ruby 2.0.0p481
  • homebrew 0.9.5
  • cask 0.48.0

Fullscreen on emacs-25.1-rc1-mac-5.90

Fullscreen on launch with spacemacs doesn't create the correct fullscreen 'mode'

The dock appears when mouse goes near the appropriate area. And switching spaces is obviously incorrect.

It's just maximised, if I toggle 'fullscreen' with ctrl, cmf & f twice then it is correct.

missing ns-copy-including-secondary function in ns-win.el

I am using the prebuilt emacs-24.5-mac-5.13 on Mavericks (10.9.5). Before that I was using emacs 24.3 that was built from source myself. In the old version of Emacs, I found that S-c and S-v did the copy and paste job very well as in other apps on OS X. When I switched to the more recent one, I found these keystrokes are undefined. I tried to bind them to functions in a consistent way with the old emacs, but I found ns-copy-including-secondary seems not working, though I can find it in ns-win.el. Any idea on this issue?

Crash on return from screen lock

Hi,

I'm using binary emacs-24.5-rc1-mac-5.6.
Emacs crashes when I return from the lock screen

Steps to reproduce:

  1. start emacs
  2. enter screen lock (option+cmd+power)
  3. touch any key to unlock

Result:
Emacs crashes

I'm sure that is particular to my machine otherwise others would have issued this already but I'm hoping to get ideas how to debug this.

Many thanks,
Dan

emacs-mac build fails at configure step on 10.10.2

Fails with the following message.

configure: error: The required function `tputs' was not found in any library.
The following libraries were tried (in order):
  libtinfo, libncurses, libterminfo, libtermcap, libcurses
Please try installing whichever of these libraries is most appropriate
for your system, together with its header files.
For example, a libncurses-dev(el) or similar package.

I tried adding the ncurses brew to the dependencies, to no avail.

Why? Section of the readme

There are a few places that reference this port as an alternative to 'brew install emacs', but never why (I'm still not clear why). Could you add a section to your readme as to why this repo exists and what it's goals are?

Cmd and Alt switching on OSX preferences has no effect.

Hi Railwaycat,

CMD and ALT switching, which I configured in OSX preferences, doesn't seem to work.

In other words, command is command, and alt is alt, despite my configuration of cmd = alt, and alt = cmd.

Thank you,
Javier

Update official icon

Emacs 25 comes with a new set of official icons.
The icon at https://s3.amazonaws.com/emacs-mac-port/Emacs.icns should be replaced with an icns based off the following svg https://bitbucket.org/mituharu/emacs-mac/src/f3402395995bf70e50d6e65f841e44d5f9b4603c/etc/images/icons/hicolor/scalable/apps/emacs.svg?at=master&fileviewer=file-view-default

Also in the source repository the default icon at mac/Emacs.app/Content/Resources/Emacs.icns should also probably be replaced with this new icon.

brew install errors out on missing .git/hooks/...

on

brew tap railwaycat/emacsmacport
brew install emacs-mac

I get:

==> Installing emacs-mac from railwaycat/homebrew-emacsmacport
==> Cloning http://www.math.s.chiba-u.ac.jp/~mituharu/emacs-mac.git
Updating /Library/Caches/Homebrew/emacs-mac--git
==> Checking out revision emacs-24.5-mac-5.7
==> ./autogen.sh
configure.ac:103: installing 'build-aux/install-sh'
configure.ac:103: installing 'build-aux/missing'
lib/Makefile.am: installing 'build-aux/depcomp'
Installing git hooks...
cp: .git/hooks/applypatch-msg.sample: No such file or directory

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/railwaycat/homebrew-emacsmacport/issues

I have:

  • git version 2.3.6
  • OS X 10.10.3
  • clear brew update/upgrade
  • clear brew doctor

Info directory not included in default installation

While visiting info mode (C-h i), I noticed that the info node for org-mode is not present. I looked into Info-default-directory-list and found this:

Info-default-directory-list is a variable defined in `info.el'.
Its value is
("/usr/local/Cellar/emacs-mac/emacs-24.3-mac-4.5/share/info/emacs/" "/usr/share/info/")

However, there is no such directory /usr/local/Cellar/emacs-mac/emacs-24.3-mac-4.5/share/info/emacs/. As a workaround, I copied the info directory contents from the emacs-mac-port repo and restarted emacs. Now I can see the info nodes included in the default emacs installation. It would be nice if these are included in the default emacs-mac installation.

emacs-24.5-z-mac-5.13 does not start normally

Since the last update (emacs-24.5-z-mac-5.13) I have to run open /Applications/Emacs.app in a terminal to open Emacs.

I cannot open it by double-clicking or via a launcher.

I can get it to the foreground by double-clicking or via a launcher once it is running.

Error: /Library/Caches/Homebrew/Formula/emacs-mac.rb:4

I ran $ brew install https://github.com/railwaycat/homebrew-emacsmacport/blob/master/Formula/emacs-mac.rb and got this error:

Error: /Library/Caches/Homebrew/Formula/emacs-mac.rb:4: syntax error, unexpected '<'

^
/Library/Caches/Homebrew/Formula/emacs-mac.rb:5: syntax error, unexpected '<'

^ /Library/Caches/Homebrew/Formula/emacs-mac.rb:5: syntax error, unexpected keyword_class, expecting end-of-input ^ Please report this bug: https://git.io/brew-troubleshooting /usr/local/Library/Homebrew/formulary.rb:22:in `module_eval' /usr/local/Library/Homebrew/formulary.rb:22:in`load_formula' /usr/local/Library/Homebrew/formulary.rb:79:in `load_file' /usr/local/Library/Homebrew/formulary.rb:134:in`load_file' /usr/local/Library/Homebrew/formulary.rb:70:in `klass' /usr/local/Library/Homebrew/formulary.rb:66:in`get_formula' /usr/local/Library/Homebrew/formulary.rb:176:in `factory' /usr/local/Library/Homebrew/extend/ARGV.rb:18:in`block in formulae' /usr/local/Library/Homebrew/extend/ARGV.rb:16:in `map' /usr/local/Library/Homebrew/extend/ARGV.rb:16:in`formulae' /usr/local/Library/Homebrew/cmd/install.rb:45:in `install' /usr/local/Library/brew.rb:127:in`'

Full screen not working with 10.11 El Capitan beta 2

Wild guess, it is related to the new features described as "full screen split view" and similar. Yes, I realize this repo is primarily for the Homebrew related stuff, but the raw git repo from the author of emacs-mac only supports dumping information "downstream". :-)

key sequence cannot be used

C-/
C-<
C->
When pressing these key sequences, there is not any response.
Can your Emacs read these keymaps correctly?

Installing via brew: "Error: No available Cask for emacs-mac"

I had homebrew installed but not cask. Homebrew had been installed using the defaults. This is on 10.10.3 (Yosemite.) Here's the transcript of installing cask followed by attempting to install emacs-mac via cask:

darkstar-mbp:~ walter$ brew install caskroom/cask/brew-cask
==> Tapping caskroom/cask
Cloning into '/usr/local/Library/Taps/caskroom/homebrew-cask'...
remote: Counting objects: 3008, done.
remote: Compressing objects: 100% (2903/2903), done.
remote: Total 3008 (delta 120), reused 823 (delta 89), pack-reused 0
Receiving objects: 100% (3008/3008), 5.74 MiB | 274.00 KiB/s, done.
Resolving deltas: 100% (120/120), done.
Checking connectivity... done.
Tapped 1 formula (2987 files, 23M)
==> Installing brew-cask from caskroom/homebrew-cask
==> Cloning https://github.com/caskroom/homebrew-cask.git
Cloning into '/Library/Caches/Homebrew/brew-cask--git'...
remote: Counting objects: 2999, done.
remote: Compressing objects: 100% (2894/2894), done.
remote: Total 2999 (delta 121), reused 816 (delta 89), pack-reused 0
Receiving objects: 100% (2999/2999), 5.74 MiB | 338.00 KiB/s, done.
Resolving deltas: 100% (121/121), done.
Checking connectivity... done.
Note: checking out '2fc9d2323950a45549e1d5c4b25481d98726b85c'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

==> Checking out tag v0.54.1
🍺  /usr/local/Cellar/brew-cask/0.54.1: 2731 files, 11M, built in 25 seconds

darkstar-mbp:~ walter$ brew cask install emacs-mac
==> We need to make Caskroom for the first time at /opt/homebrew-cask/Caskroom
==> We'll set permissions properly so we won't need sudo in the future
Password:
Error: No available Cask for emacs-mac
Error: nothing to install

darkstar-mbp:~ walter$ brew cask install emacs-mac
Error: No available Cask for emacs-mac
Error: nothing to install

uname:

darkstar-mbp:~ walter$ uname -a
Darwin darkstar-mbp.attlocal.net 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64

Crash On 10.11.2

Exception Info:

Dyld Error Message:
  Symbol not found: _gliCreateContextWithShared
  Referenced from: /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
  Expected in: flat namespace

Emacs.app not working through launcher

Hi,

I am a fresh Mac user (Yosemite 10.10.4) so pleace bear with me and help me through my non-Mac ignorance.

I installed emacs-mac through brew using the normal commands, i.e.

brew tap railwaycat/emacsmacport
brew install emacs-mac

Afterwards I can start Emacs.app by opening a terminal and executing

open /usr/local/Cellar//emacs-mac/emacs-24.5-z-mac-5.8/Emacs.app

as expected, starting Emacs.app through spotlight search does not work. When I copy (not move) Emacs.app to /Applications it shows up in spotlight search, however, launching it fails; nothing happens.

I fired up the log console (i.e. Console.app) and filered for "emacs", then re-launched Emacs.app through spotlight search; the following message shows up:

06/07/2015 12:18:59.625 com.apple.xpc.launchd[1]: (org.gnu.Emacs.92048[75135]) Service exited with abnormal code: 126

I have uninstall and re-installed emacs-mac and I have also done so using various combinations of the --with-* flags. Nothing changes.

Launching from the command line is an annoyance, I'd be grateful if you could help!

Probable bug with with-eval-after-load

Not sure if this is about home-emacsmacport, but someone on ES hinted that it could be a bug.

To sum it up, I tried to split even more my configuration files and took for model Steve Purcell's dot files I believe (making each partial a package on its own and require them in init.el). I then tried to wrap all package-related configuration with with-eval-after-load.

Here is the link to the ES post: http://emacs.stackexchange.com/questions/12487/when-should-i-use-with-eval-after-load-in-my-configuration-files

/User/xinx/ specific compilation refs when running .../bin/emacs (from the Cask build)

When running emacs from /Applications/Emacs.app/Contents/MacOS/bin/ ...

It appears that files and folders from /Users/xinx/Factory/emacs/mirror-emacs-mac/ have been accidentally linked in e.g.

/Applications/Emacs.app/Contents/MacOS/bin/emacs -nw
Warning: arch-dependent data dir `/Users/xinx/Factory/emacs/mirror-emacs-mac/build/libexec/emacs/24.5/x86_64-apple-darwin14.5.0/': No such file or directory
Warning: arch-independent data dir `/Users/xinx/Factory/emacs/mirror-emacs-mac/build/share/emacs/24.5/etc/': No such file or directory
Warning: Lisp directory `/Users/xinx/Factory/emacs/mirror-emacs-mac/build/share/emacs/24.5/lisp': No such file or directory
Error: charsets directory not found:
/Users/xinx/Factory/emacs/mirror-emacs-mac/build/share/emacs/24.5/etc/charsets
Emacs will not function correctly without the character map files.
Please check your installation!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.