Bug#840322: emacs24-common: emacsclient fails with *ERROR*: Invalid function

2016-10-10 Thread Tom Marble
Rob Browning  writes:
> Hmm.  Does foo.txt have anything odd in it, [...]

No, it's a non-existant file.

> and does it still crash if
> you do something like this:
>
>   $ emacs -Q --daemon=foo
>   $ emacsclient -c -s foo /tmp/foo.txt

Interestingly it does not crash:

tmarble@cerise 175 :) emacs -Q --daemon=foo

Warning: due to a long standing Gtk+ bug
http://bugzilla.gnome.org/show_bug.cgi?id=85715
Emacs might crash when run in daemon mode and the X11 connection is 
unexpectedly lost.
Using an Emacs configured with --with-x-toolkit=lucid does not have this 
problem.
Starting Emacs daemon.
tmarble@cerise 176 :)

In another terminal
  emacsclient -c -s foo /tmp/foo.txt
worked just fine

> Just wondering if -Q avoids the problem.

I updated my MELPA and restarted Emacs.. and now I can't
reproduce the bug.. emacsclient just works.

Feel free to close the bug now (sorry for the noise)!

--Tom



Bug#840322: emacs24-common: emacsclient fails with *ERROR*: Invalid function

2016-10-10 Thread Rob Browning
Tom Marble  writes:

> tmarble@cerise 127 :) emacsclient /tmp/foo.txt
> Waiting for Emacs...
> *ERROR*: Invalid function: (\` ((\, file) _))
> tmarble@cerise 128 :( emacsclient --no-wait --eval '(find-file 
> "/tmp/foo.txt")'
> *ERROR*: Invalid function: (\` ((\, file) _))
> tmarble@cerise 129 :( 

Hmm.  Does foo.txt have anything odd in it, and does it still crash if
you do something like this:

  $ emacs -Q --daemon=foo
  $ emacsclient -c -s foo /tmp/foo.txt

Just wondering if -Q avoids the problem.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4



Bug#840322: emacs24-common: emacsclient fails with *ERROR*: Invalid function

2016-10-10 Thread Tom Marble
Package: emacs24-common
Version: 24.5+1-7
Severity: normal

Dear Maintainer,

Recently emacsclient stopped working in unstable.

   * What led up to the situation?

Upgrading emacs24.

   * What exactly did you do (or not do) that was effective (or
 ineffective)?


tmarble@cerise 127 :) emacsclient /tmp/foo.txt
Waiting for Emacs...
*ERROR*: Invalid function: (\` ((\, file) _))
tmarble@cerise 128 :( emacsclient --no-wait --eval '(find-file "/tmp/foo.txt")'
*ERROR*: Invalid function: (\` ((\, file) _))
tmarble@cerise 129 :( 

   * What was the outcome of this action?

The filename passed as an argument was not visited in emacs (as emacsclient 
crashed).
It appears that emacsclient fails to eval any elisp expression.

   * What outcome did you expect instead?

I expected the file /tmp/foo.txt to be visited in a new emacs buffer.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages emacs24-common depends on:
ii  dpkg1.18.10
ii  emacsen-common  2.0.8
ii  install-info6.3.0.dfsg.1-1+b1

Versions of packages emacs24-common recommends:
ii  emacs24-el  24.5+1-7

Versions of packages emacs24-common suggests:
pn  emacs24-common-non-dfsg  
ii  ncurses-term 6.0+20160917-1

-- no debconf information