unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Christian Albrecht via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 49877@debbugs.gnu.org
Subject: bug#49877: [Emacs 28.0.50 Trunk] *ERROR*: No applicable method: frame-creation-function
Date: Mon, 09 Aug 2021 17:57:28 +0200	[thread overview]
Message-ID: <87bl66vcbs.fsf@mayflower.de> (raw)
In-Reply-To: <87eeb2vcxm.fsf@mayflower.de>

[-- Attachment #1: Type: text/plain, Size: 69 bytes --]


... and the Dockerfile in readable mime type ^^

Cheers,
Christian


[-- Attachment #2: Dockerfile --]
[-- Type: text/plain, Size: 1660 bytes --]

FROM nixos/nix

RUN nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
RUN nix-channel --update
RUN nix-env -i bash

RUN wget https://github.com/nix-community/emacs-overlay/archive/master.tar.gz \
  && tar xf master.tar.gz

WORKDIR /emacs-overlay-master

RUN echo -e "{ pkgs ? (import <nixpkgs> { overlays = [ (import ./.) ]; }) }:\n\n\
  let\n\
    emacsWithPackages = (pkgs.emacsPackagesFor pkgs.emacsGit-nox).emacsWithPackages;\n\
  in\n\
    emacsWithPackages (epkgs: (with epkgs.elpaPackages; [ counsel ]))\n\
" >> emacs.nix

RUN nix-build ./emacs.nix

RUN echo -e "\
  export EMACS=$(awk '/exec/ {print $2}' result/bin/emacs)\n\
  export EMACSCLIENT=$(awk '/exec/ {print $2}' result/bin/emacsclient)\n\
  export ELPA=$(awk -F= '/export emacsWithPackages_siteLisp=/ {print $2}' result/bin/emacs)/elpa\n\
" >> .env

RUN source .env && echo -e "\
  export IVY=$(find $ELPA -type d -name ivy*)\n\
  export COUNSEL=$(find $ELPA -type d -name counsel*)\n\
  export SWIPER=$(find $ELPA -type d -name swiper*)\n\
  export LISPPATH=$(realpath $(dirname $EMACS)/../share/emacs/28.0.50/lisp)\n\
  export BINPATH=$(dirname $EMACS)\n\
" >> .env

RUN echo -e "\
  source .env\n\
  export PATH=\$BINPATH\n\
  export EMACSLOADPATH=\$LISPPATH:\$IVY:\$COUNSEL:\$SWIPER\n\
  unset EMACS EMACSCLIENT ELPA IVY COUNSEL SWIPER LISPPATH BINPATH\n\
  export ALTERNATE_EDITOR=\n\
  export TERM=xterm\n\
  emacs --version\n\
  emacs -Q --bg-daemon --eval \"(prog1 'counsel (require 'counsel))\"\n\
  emacsclient -t --eval \"(progn (save-buffers-kill-emacs))\"\n\
" >> emacs.sh

RUN chmod 755 emacs.sh

ENTRYPOINT bash -c "exec -c /emacs-overlay-master/emacs.sh"

      reply	other threads:[~2021-08-09 15:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04 16:03 bug#49877: [Emacs 28.0.50 Trunk] *ERROR*: No applicable method: frame-creation-function Jacob Faibussowitsch
2021-08-05 11:12 ` Lars Ingebrigtsen
2021-08-05 12:39   ` Jacob Faibussowitsch
2021-08-06  9:45     ` Lars Ingebrigtsen
2021-08-06 12:55       ` Jacob Faibussowitsch
2021-08-09 23:07       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-10  5:53         ` Christian Albrecht via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-10  6:00           ` Christian Albrecht via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-10  6:14             ` Christian Albrecht via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-10 13:43               ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-10 14:25                 ` Christian Albrecht via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-09 15:44 ` Christian Albrecht via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-09 15:57   ` Christian Albrecht via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bl66vcbs.fsf@mayflower.de \
    --to=bug-gnu-emacs@gnu.org \
    --cc=49877@debbugs.gnu.org \
    --cc=christian.albrecht@mayflower.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).