From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Moore Newsgroups: gmane.emacs.bugs Subject: bug#23674: 25.0.93; Daemon mode on Windows Date: Wed, 1 Jun 2016 10:19:55 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1464795266 30647 80.91.229.3 (1 Jun 2016 15:34:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2016 15:34:26 +0000 (UTC) To: 23674@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 01 17:34:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b889u-00062l-Jx for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Jun 2016 17:34:14 +0200 Original-Received: from localhost ([::1]:42747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b889t-0007iP-Tj for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Jun 2016 11:34:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b889k-0007gM-IU for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 11:34:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b889i-0001kk-O8 for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 11:34:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b889i-0001ke-Jx for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 11:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b889i-0001mA-Fm for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 11:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Moore Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Jun 2016 15:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23674 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14647952046750 (code B ref -1); Wed, 01 Jun 2016 15:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Jun 2016 15:33:24 +0000 Original-Received: from localhost ([127.0.0.1]:50022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8895-0001ko-LF for submit@debbugs.gnu.org; Wed, 01 Jun 2016 11:33:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b82Jt-0003Bd-D7 for submit@debbugs.gnu.org; Wed, 01 Jun 2016 05:20:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b82Jm-0006hY-85 for submit@debbugs.gnu.org; Wed, 01 Jun 2016 05:20:04 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b82Jm-0006h4-5J for submit@debbugs.gnu.org; Wed, 01 Jun 2016 05:20:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b82Jj-0007WL-9d for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 05:20:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b82Jg-0006en-G4 for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 05:19:58 -0400 Original-Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:38421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b82Jg-0006ea-5i for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 05:19:56 -0400 Original-Received: by mail-wm0-x229.google.com with SMTP id a20so18143534wma.1 for ; Wed, 01 Jun 2016 02:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=WWpbXNleJbpm8HqjmC/XjRT5dMEaitly5fOqTyN0XPM=; b=v//4t83J4f9WAI6V9w3OcO09EC5vUiI6dUfjtacmofa8cCs3UcTu9gTc7jmGb8eMai XwkfT1j9Z6AdhNL01HMyBfX8ktXAv/zzSIs8/a2c0LAO2W8DIp9W+/X1keYu/y3gOcG/ AnJcPYIp7HhXc3R7zBulBoapTp4j29plTNu2iIRCIeKe8vEHsJH6mRa1S2+PzJMIrNtq M08lgnfyCyx2OVGJ6cwpFnltQXT6YtbBlCsv+uRtPk/h880qU21a3ZXOo3r6n8p1Ujjr LsIZ2y/CdKpfgshiDR1+txwT0WYlorZT0TBs26ZIYsUFl/FJDC+VpT6q1EEapM+Qf5CX cgXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=WWpbXNleJbpm8HqjmC/XjRT5dMEaitly5fOqTyN0XPM=; b=RVvlu1vhu/BrRtI4cuAND5avZOduw9sb2Bh972eYyCilUfvP/gr6dZ9g9JSjZd6Jof /mXXrZ3+U2KQH0pjvDoLY+LEnIDgE3P7vWZ8kPScuvZawEtmFOWZ2PPgsmKnTfmK+qbQ mvPwul8lTKrEnbkHVhVwiJ6FxHTpfxpWmubp+Ip+JY4NK3CMNiYY1wxiFfsQat3/JVkw cmBWYR0Q9YM7XHOO0H6KjQpRy5fn3D9qEjJI7pIXifEw7R0SbeHgmGw0PQ+ouzWrqccb f/43hMw8F1kPzzna4FxDjU8ulBmhTbx/rmzmJe9ic6n86KJ3oV98er/wlfPQ2ZjXIW49 ioBA== X-Gm-Message-State: ALyK8tJbwrA9rdRPlMYgaRig1BCuttvtrN78cwRk0X03srlPJlL2vlvIjluLBjZXJD/+nCXKWxZ8i3Uo7HLS6A== X-Received: by 10.28.158.8 with SMTP id h8mr2732607wme.1.1464772795100; Wed, 01 Jun 2016 02:19:55 -0700 (PDT) Original-Received: by 10.194.108.136 with HTTP; Wed, 1 Jun 2016 02:19:55 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 01 Jun 2016 11:33:22 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118938 Archived-At: Daemon mode on Windows (initialised by calling "emacs --daemon") starts up Emacs with a frame running on a non-GUI terminal. This can be seen by starting Emacs with "emacs -Q --daemon" and then "emacsclient -c". In the scratch buffer, execute (mapcar #'frame-terminal (visible-frame-list)) The result is (# #) Because Emacs is started with only a non-GUI terminal, GUI functions such as find-font do not work as expected, so it's not possible to configure GUI settings from init.el without complex workarounds (e.g. deferring font selection until a GUI frame is open). Few packages seem to expect this situation (for example, Spacemacs and Powerline), and as a result configuration does not work as expected. Would it be possible to modify the --daemon behaviour to open the initial hidden frame on the "w32" GUI terminal, as this would avoid packages having to modify their configuration process to deal with not having access to the GUI terminal on startup? In GNU Emacs 25.0.93.1 (x86_64-w64-mingw32) of 2016-04-23 built on KAEL Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Configured using: 'configure --prefix=/tmp/emacs --without-imagemagick 'CFLAGS=-O2 -fomit-frame-pointer -g0'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Emacs-Lisp Minor modes in effect: auto-compile-mode: t elisp-slime-nav-mode: t goto-address-prog-mode: t bug-reference-prog-mode: t auto-highlight-symbol-mode: t clean-aindent-mode: t highlight-numbers-mode: t highlight-parentheses-mode: t rainbow-delimiters-mode: t helm-descbinds-mode: t helm-mode: t shell-dirtrack-mode: t helm-flx-mode: t projectile-global-mode: t projectile-mode: t recentf-mode: t hl-todo-mode: t winner-mode: t window-numbering-mode: t volatile-highlights-mode: t global-undo-tree-mode: t undo-tree-mode: t spaceline-info-mode: t spaceline-helm-mode: t smooth-scrolling-mode: t save-place-mode: t savehist-mode: t popwin-mode: t persp-mode: t global-page-break-lines-mode: t page-break-lines-mode: t Info-breadcrumbs-in-mode-line-mode: t ido-vertical-mode: t flx-ido-mode: t global-evil-surround-mode: t evil-surround-mode: t global-evil-search-highlight-persist: t evil-search-highlight-persist: t show-smartparens-global-mode: t show-smartparens-mode: t smartparens-mode: t evil-escape-mode: t global-anzu-mode: t anzu-mode: t eval-sexp-fu-flash-mode: t spacemacs-leader-override-mode: t global-spacemacs-leader-override-mode: t global-hl-line-mode: t xterm-mouse-mode: t global-auto-revert-mode: t which-key-mode: t override-global-mode: t evil-mode: t evil-local-mode: t diff-auto-refine-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t hs-minor-mode: t Recent messages: SPC ESC is undefined Type y, n, ! or SPC (the space bar): SPC n ESC is undefined mode-line-point-position enabled. mode-line-point-position disabled. Quit mode-line-point-position enabled. Quit mode-line-point-position disabled. Type M-x delete-other-windows to remove help window. mwheel-scroll: End of buffer Load-path shadows: c:/Users/UK03306/.emacs.d/elpa/helm-20160530.424/helm-multi-match hides c:/Users/UK03306/.emacs.d/elpa/helm-core-20160530.52/helm-multi-match Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec epg mailabbrev gmm-utils mailheader sendmail mail-utils novice helm-command helm-elisp helm-eval edebug apropos auto-compile packed elisp-slime-nav goto-addr bug-reference auto-highlight-symbol clean-aindent-mode highlight-numbers parent-mode highlight-parentheses hideshow rainbow-delimiters org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs two-column iso-transl helm-descbinds helm-mode helm-files image-dired tramp tramp-compat tramp-loaddefs trampver shell pcomplete format-spec dired-x dired-aux ffap helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark helm-locate helm-grep helm-regexp helm-plugin helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap helm-utils helm-help helm-types helm-flx helm helm-source eieio-compat helm-multi-match helm-lib dired projectile grep compile ibuf-ext ibuffer recentf tree-widget async hl-todo server winner window-numbering etags xref project volatile-highlights undo-tree diff spaceline-config spaceline-segments s ucs-normalize spaceline powerline powerline-separators color powerline-themes smooth-scrolling smartparens-config saveplace savehist popwin persp-mode page-break-lines info+ ido-vertical-mode flx-ido flx ido exec-path-from-shell evil-surround evil-search-highlight-persist evil-numbers evil-lisp-state smartparens dash evil-indent-plus evil-exchange evil-escape evil-args evil-anzu anzu info eval-sexp-fu rx highlight diminish adaptive-wrap hybrid-mode evil-evilified-state ielm pp comint ansi-color hl-line xt-mouse autorevert filenotify quelpa url-parse auth-source gnus-util password-cache url-vars package-build mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr json map lisp-mnt use-package which-key bind-key bind-map evil evil-integration evil-maps evil-commands evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core evil-common windmove thingatpt rect evil-digraphs evil-vars ring vc-git diff-mode time-date wid-edit spacemacs-dark-theme spacemacs-common finder-inf core-configuration-layer cl-seq ht cl warnings package epg-config seq eieio byte-opt bytecomp byte-compile cl-extra help-mode cconv eieio-core core-spacemacs core-use-package-ext core-micro-state corelv core-toggle core-keybindings core-fonts-support core-spacemacs-buffer derived edmacro kmacro core-funcs easy-mmode cl-macs gv core-themes-support core-display-init core-auto-completion core-release-management core-emacs-backports core-dotspacemacs core-command-line core-debug advice profiler easymenu cl-loaddefs cl-lib subr-x pcase mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify dbusbind w32 multi-tty make-network-process emacs) Memory information: ((conses 16 638422 642621) (symbols 56 52659 47) (miscs 48 502 1408) (strings 32 115680 289769) (string-bytes 1 3503362) (vectors 16 76740) (vector-slots 8 1327928 388588) (floats 8 2128 6063) (intervals 56 1943 2017) (buffers 976 21))