From: Kaushal <kaushal.modi@gmail.com>
To: 18616@debbugs.gnu.org
Subject: bug#18616: nlinum error on multiple emacsclient instances
Date: Fri, 13 Feb 2015 20:41:39 +0000 [thread overview]
Message-ID: <CAFyQvY34Mw5DfNm7ffeM+3o2vJg9=du_jnz9DM2hc1PyC_fAtQ@mail.gmail.com> (raw)
In-Reply-To: <20141002222419.GA24226@master>
[-- Attachment #1: Type: text/plain, Size: 845 bytes --]
I finally got a successful workaround for this problem.
I was facing this problem probably since emacs 24.3 and also on 24.4 and
the master head builds from emacs git for version 25.0.50.0.
I was getting "*ERROR*: Invalid face: linum" when trying to start emacs
with "emacsclient -a '' -c" with my init.el having "(require 'nlinum)".
Workaround:
(if (daemonp)
(add-hook 'window-setup-hook
(lambda ()
(message ">> Daemon mode")
;; It is mandatory to load linum AFTER the frames are set
up
;; Else, I get "*ERROR*: Invalid face: linum"
(require 'nlinum)))
(progn
(message ">> Non daemon mode")
(require 'nlinum)))
Actual snippet in my init.el:
https://github.com/kaushalmodi/.emacs.d/blob/a0955aeead27bf6ccdb0219edfbfade10a823728/init.el#L220-228
[-- Attachment #2: Type: text/html, Size: 1384 bytes --]
prev parent reply other threads:[~2015-02-13 20:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAFyQvY1WZKrpMqE6anUwdGKJPRYnMhPhh0yTRHK=hkurjHJrsQ@mail.gmail.com>
2014-10-02 22:24 ` bug#18616: nlinum error on multiple emacsclient instances Joe M
2014-10-03 6:29 ` Eli Zaretskii
2014-10-03 12:24 ` Stefan Monnier
2014-10-03 12:32 ` Eli Zaretskii
2014-10-03 13:35 ` martin rudalics
2014-10-03 12:41 ` Joe M
2014-10-03 13:05 ` Eli Zaretskii
2015-01-04 18:09 ` martin rudalics
2015-01-04 23:51 ` Joe M
2015-01-05 7:09 ` martin rudalics
2015-02-13 20:41 ` Kaushal [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFyQvY34Mw5DfNm7ffeM+3o2vJg9=du_jnz9DM2hc1PyC_fAtQ@mail.gmail.com' \
--to=kaushal.modi@gmail.com \
--cc=18616@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.