unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7975: 23.2; emacsclient and first "C-c ..." command
@ 2011-02-03 16:52 Nicolas Dudebout
  2016-08-20 19:23 ` Alex
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Dudebout @ 2011-02-03 16:52 UTC (permalink / raw)
  To: 7975

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

When launchin emacsclient right after starting emacs daemon,
mode specific commands (i.e. commands starting by C-c) do not work.
However, after you execute any command it works normally.

"any command" can be:
- a failed C-c command
- or anything else like C-n

Here are 3 examples to show what is happening. Each example starts from
emacs not running.

Example 1:
$ emacs -Q --daemon
$ emacsclient foo.py
"C-c C-c" -> "C-c C-c undefined"
"C-c C-c" does work

Example 2:
$ emacs -Q --daemon
$ emacsclient bar.c
"C-c C-n" -> "C-c C-n undefined"
"C-c C-n" does work

Example 3:
$ emacs -Q --daemon
$ emacsclient bar.c
"C-n"
"C-c C-n" does work

Regards,

Nicolas

In GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0)
 of 2010-05-08 on pidsley.hoetzel.info
Windowing system distributor `The X.Org Foundation', version 11.0.10902000
configured using `configure  '--prefix=/usr' '--sysconfdir=/etc'
'--libexecdir=/usr/lib' '--localstatedir=/var' '--mandir=/usr/share/man'
'--without-sound' '-with-x-toolkit=gtk' 'CFLAGS=-march=x86-64 -mtune=generic
-O2 -pipe -fno-optimize-sibling-calls' 'LDFLAGS=-Wl,--hash-style=gnu
-Wl,--as-needed''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o r t <tab> <return>

Recent messages:
("emacs")
Starting Emacs daemon.
When done with this frame, type C-x 5 0

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message idna sendmail regexp-opt ecomplete rfc822
mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode
mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev
nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash mail-utils emacsbug server
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)

[-- Attachment #2: Type: text/html, Size: 3626 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#7975: 23.2; emacsclient and first "C-c ..." command
  2011-02-03 16:52 bug#7975: 23.2; emacsclient and first "C-c ..." command Nicolas Dudebout
@ 2016-08-20 19:23 ` Alex
  2018-02-13  0:41   ` Noam Postavsky
  0 siblings, 1 reply; 3+ messages in thread
From: Alex @ 2016-08-20 19:23 UTC (permalink / raw)
  To: Nicolas Dudebout; +Cc: 7975

Nicolas Dudebout <nicolas.dudebout@gatech.edu> writes:

> When launchin emacsclient right after starting emacs daemon,
> mode specific commands (i.e. commands starting by C-c) do not work.
> However, after you execute any command it works normally.
>
> "any command" can be:
> - a failed C-c command
> - or anything else like C-n
>
> Here are 3 examples to show what is happening. Each example starts from
> emacs not running.
>
> Example 1:
> $ emacs -Q --daemon
> $ emacsclient foo.py
> "C-c C-c" -> "C-c C-c undefined"
> "C-c C-c" does work
>
> Example 2:
> $ emacs -Q --daemon
> $ emacsclient bar.c
> "C-c C-n" -> "C-c C-n undefined"
> "C-c C-n" does work
>
> Example 3:
> $ emacs -Q --daemon
> $ emacsclient bar.c
> "C-n"
> "C-c C-n" does work
>
> Regards,
>
> Nicolas

Hi, I can't seem to reproduce this even on Emacs 23.2. Is anyone else
able to?





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#7975: 23.2; emacsclient and first "C-c ..." command
  2016-08-20 19:23 ` Alex
@ 2018-02-13  0:41   ` Noam Postavsky
  0 siblings, 0 replies; 3+ messages in thread
From: Noam Postavsky @ 2018-02-13  0:41 UTC (permalink / raw)
  To: Alex; +Cc: 7975, Nicolas Dudebout

tags 7975 unreproducible
close 7975
quit

Alex <agrambot@gmail.com> writes:

> Nicolas Dudebout <nicolas.dudebout@gatech.edu> writes:

>> Example 1:
>> $ emacs -Q --daemon
>> $ emacsclient foo.py
>> "C-c C-c" -> "C-c C-c undefined"
>> "C-c C-c" does work
>>
>> Example 2:
>> $ emacs -Q --daemon
>> $ emacsclient bar.c
>> "C-c C-n" -> "C-c C-n undefined"
>> "C-c C-n" does work
>>
>> Example 3:
>> $ emacs -Q --daemon
>> $ emacsclient bar.c
>> "C-n"
>> "C-c C-n" does work

> Hi, I can't seem to reproduce this even on Emacs 23.2. Is anyone else
> able to?

I'm unable to reproduce it (although I only have running Emacs versions
back to 24.3) and I don't recall seeing any other reports of this, so I
doubt it's a current problem.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-13  0:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-03 16:52 bug#7975: 23.2; emacsclient and first "C-c ..." command Nicolas Dudebout
2016-08-20 19:23 ` Alex
2018-02-13  0:41   ` Noam Postavsky

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).