From unknown Mon Aug 18 08:52:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#10996 <10996@debbugs.gnu.org> To: bug#10996 <10996@debbugs.gnu.org> Subject: Status: 24.0.94; Splash screen causes first character to beep with emacsclient Reply-To: bug#10996 <10996@debbugs.gnu.org> Date: Mon, 18 Aug 2025 15:52:27 +0000 retitle 10996 24.0.94; Splash screen causes first character to beep with em= acsclient reassign 10996 emacs submitter 10996 Aaron Meurer severity 10996 important thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 11 21:47:36 2012 Received: (at submit) by debbugs.gnu.org; 12 Mar 2012 01:47:36 +0000 Received: from localhost ([127.0.0.1]:45559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6uMA-0001g8-8m for submit@debbugs.gnu.org; Sun, 11 Mar 2012 21:47:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56532) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6uF7-0001Va-6E for submit@debbugs.gnu.org; Sun, 11 Mar 2012 21:40:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6tmF-00089h-1h for submit@debbugs.gnu.org; Sun, 11 Mar 2012 21:10:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, NO_DNS_FOR_FROM,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:45327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6tmE-00089c-Ue for submit@debbugs.gnu.org; Sun, 11 Mar 2012 21:10:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6tmC-0006BK-Pq for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2012 21:10:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6tmA-00088n-IK for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2012 21:10:16 -0400 Received: from c-174-56-21-245.hsd1.nm.comcast.net ([174.56.21.245]:57880 helo=Aaron-Meurer.local) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6tmA-00088U-9P for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2012 21:10:14 -0400 Received: by Aaron-Meurer.local (Postfix, from userid 501) id 889FF58C4F76; Sun, 11 Mar 2012 18:07:36 -0600 (MDT) From: Aaron Meurer To: bug-gnu-emacs@gnu.org Subject: 24.0.94; Splash screen causes first character to beep with emacsclient Date: Sun, 11 Mar 2012 18:07:35 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 11 Mar 2012 21:47:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) See the discussion at http://lists.gnu.org/archive/html/help-gnu-emacs/2012-03/msg00079.html. When starting emacsclient, sometimes, the first character I type would not enter the character, but rather beep the screen. I did a lot of debugging of this, discovering that it does not happen with emacs -Q, but removing all of my init files did not solve the problem. Finally, I discovered that the problem is the splash screen. If I start the emacs daemon with --no-splash, the problem goes away. It appears that somehow the splash screen is taking the first keypress from emacsclient, even though the buffer that is visible is the one for the file I opened. In GNU Emacs 24.0.94.2 (x86_64-apple-darwin11.3.0) of 2012-03-11 on Aaron-Meurer.local Configured using: `configure '--with-x=no'' 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: flyspell-mode: t show-paren-mode: t global-subword-mode: t subword-mode: t global-linum-mode: t linum-mode: t cua-mode: t predictive-which-dict-mode: t global-auto-complete-mode: t auto-complete-mode: t xterm-mouse-mode: t menu-bar-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 auto-fill-mode: 1 abbrev-mode: t Recent input: O C ESC O A ESC O A ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O A ESC O A ESC O A ESC O A ESC O C ESC O C ESC O C ESC O C RET C-g ESC O B ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O C ESC O C ESC O C ESC O C RET RET ESC O A ESC O A ESC O A ESC O B ESC e ESC O A ESC O A ESC O A ESC [ M SPC g 3 ESC [ M # g 3 ESC [ M SPC g 3 ESC [ M # g 3 ESC [ M SPC ` 1 ESC [ M # ` 1 ESC [ M SPC ` 1 ESC [ M # ` 1 ESC [ M SPC g 7 ESC [ M # g 7 ESC [ M SPC g 7 ESC [ M # g 7 ESC [ M SPC % 4 ESC [ M # % 4 ESC [ M SPC H ( ESC [ M # H ( y e s RET q ESC [ M SPC Q / ESC [ M # Q / q ESC x r e p o TAB r TAB RET Recent messages: Resetting customization items...done Creating customization setup...done Creating customization items... Creating customization items ...done Resetting customization items...done Creating customization setup...done widget-choose: Canceled Saving file /Users/aaronmeurer/Documents/dotfiles/.emacs... Wrote /Users/aaronmeurer/Documents/dotfiles/.emacs [2 times] Making completion list... Load-path shadows: ~/Documents/predictive/pos-tip hides ~/.emacs.d/lisp/pos-tip ~/.emacs.d/lisp/mwheel hides /Users/aaronmeurer/Documents/emacs/lisp/mwheel ~/Documents/predictive/avl-tree hides /Users/aaronmeurer/Documents/emacs/lisp/emacs-lisp/avl-tree Features: (rmail mail-hist epa-mail epa epg epg-config add-log mule-util mailalias mailclient shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils info debug sh-script executable multi-isearch browse-url semantic/wisent/python semantic/db-mode semantic/decorate/include semantic/db-find semantic/db-ref semantic/db eieio-base semantic/decorate/mode semantic/tag-ls semantic/decorate pulse semantic/ctxt semantic/dep semantic/wisent/python-wy semantic/wisent semantic/wisent/wisent python-21 python rst compile comint ansi-color ring image sgml-mode newcomment find-func ebnf2ps ps-print ps-def lpr tool-bar cus-edit wid-edit apropos help-mode view markdown-mode derived thingatpt noutline outline easy-mmode server regexp-opt flyspell warnings saveplace time-date 1am-theme paren subword linum cua-base cus-start cus-load highlight-indentation isearch+ predictive-html auto-overlay-flat predictive-texinfo predictive-latex predictive-auto-overlay-auto-dict auto-overlay-nested auto-overlay-self auto-overlay-line auto-overlay-word predictive ispell timerfunctions auto-overlays auto-overlay-common dict-tree trie tNFA queue heap avl-tree semantic/util-modes easymenu semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile cconv macroexp mode-local cedet completion-ui-sources completion-ui-menu completion-ui-tooltip completion-ui-echo completion-ui-hotkeys completion-ui-dynamic completion-ui-popup-frame completion-ui preview-latex tex-site auto-loads auto-complete-config auto-complete popup pos-tip flymake-cursor cl disp-table mouse xt-mouse edmacro kmacro advice help-fns advice-preload ediff-hook vc-hooks lisp-float-type lisp-mode register page menu-bar rfn-eshadow timer 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 minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 21 12:55:56 2012 Received: (at 10996) by debbugs.gnu.org; 21 Mar 2012 16:55:56 +0000 Received: from localhost ([127.0.0.1]:59863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SAOpH-0001kO-Mq for submit@debbugs.gnu.org; Wed, 21 Mar 2012 12:55:56 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:40564) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SAOpF-0001kG-SZ for 10996@debbugs.gnu.org; Wed, 21 Mar 2012 12:55:54 -0400 Received: from bb121-6-68-206.singnet.com.sg ([121.6.68.206]:45005 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SAOLV-0001f8-50; Wed, 21 Mar 2012 12:25:10 -0400 From: Chong Yidong To: Aaron Meurer Subject: Re: bug#10996: 24.0.94; Splash screen causes first character to beep with emacsclient References: Date: Thu, 22 Mar 2012 00:24:55 +0800 In-Reply-To: (Aaron Meurer's message of "Sun, 11 Mar 2012 18:07:35 -0600") Message-ID: <87wr6d2a7c.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 10996 Cc: 10996@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Aaron Meurer writes: > See the discussion at > http://lists.gnu.org/archive/html/help-gnu-emacs/2012-03/msg00079.html. > When starting emacsclient, sometimes, the first character I type would > not enter the character, but rather beep the screen. I did a lot of > debugging of this, discovering that it does not happen with emacs -Q, > but removing all of my init files did not solve the problem. > > Finally, I discovered that the problem is the splash screen. If I start > the emacs daemon with --no-splash, the problem goes away. It appears > that somehow the splash screen is taking the first keypress from > emacsclient, even though the buffer that is visible is the one for the > file I opened. I'm afraid I can't reproduce it. I tried: 1. touch .emacs [empty .emacs file] 2. emacs --daemon 3. emacsclient -c 4. a The keystroke takes effect as expected. Could you provide a recipe for showing the bug? This is latest trunk, GNU Emacs 24.0.94.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.0). From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 30 18:01:03 2012 Received: (at 10996) by debbugs.gnu.org; 30 Mar 2012 22:01:03 +0000 Received: from localhost ([127.0.0.1]:59801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDjsV-0005uy-0X for submit@debbugs.gnu.org; Fri, 30 Mar 2012 18:01:03 -0400 Received: from mail-ob0-f172.google.com ([209.85.214.172]:58848) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDjsR-0005uZ-MS for 10996@debbugs.gnu.org; Fri, 30 Mar 2012 18:01:01 -0400 Received: by obbta17 with SMTP id ta17so1533580obb.3 for <10996@debbugs.gnu.org>; Fri, 30 Mar 2012 15:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=r/QYiT9nSnOc/EPU6koBNZNJTCJ5t7pioexgS4mive0=; b=0O7lv0UvNlbQLOQQNX8KN/8KUi4C5ugRB7BgxZvKC+mk9vcSKpnh11AE3nf1u8ez91 FZ+ci/LXoFaCo3XBHtqbCVoIn/fSTRaUnfkrL34GC2zc5PTjLoFuyIyghabcGPWtdRlp zdR8Pqfl3Cwj+EAm3HwAT+WICLkRwNAUO/Ma+du2bRPdLTCs23dfLS+tfXJuAOfAeTY4 dlvGOdzX1jGoR3dk0gGUz5cfHnx8TPq0MR8jaPVGUfV0k5iH9ZmT8WxTl7EkFDbYqxAO l5e2VWmbPvNFORIrnkw8uueD+5lD33D8WcKEv4aruX2fr/g/dNMSk8boaAkAwRam3cx/ OJ0Q== Received: by 10.182.50.100 with SMTP id b4mr76108obo.45.1333144858237; Fri, 30 Mar 2012 15:00:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.109.41 with HTTP; Fri, 30 Mar 2012 15:00:38 -0700 (PDT) In-Reply-To: <87wr6d2a7c.fsf@gnu.org> References: <87wr6d2a7c.fsf@gnu.org> From: Aaron Meurer Date: Fri, 30 Mar 2012 16:00:38 -0600 Message-ID: Subject: Re: bug#10996: 24.0.94; Splash screen causes first character to beep with emacsclient To: Chong Yidong Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10996 Cc: 10996@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Wed, Mar 21, 2012 at 10:24 AM, Chong Yidong wrote: > Aaron Meurer writes: > >> See the discussion at >> http://lists.gnu.org/archive/html/help-gnu-emacs/2012-03/msg00079.html. >> When starting emacsclient, sometimes, the first character I type would >> not enter the character, but rather beep the screen. =A0I did a lot of >> debugging of this, discovering that it does not happen with emacs -Q, >> but removing all of my init files did not solve the problem. >> >> Finally, I discovered that the problem is the splash screen. =A0If I sta= rt >> the emacs daemon with --no-splash, the problem goes away. =A0It appears >> that somehow the splash screen is taking the first keypress from >> emacsclient, even though the buffer that is visible is the one for the >> file I opened. > > I'm afraid I can't reproduce it. =A0I tried: > > 1. touch .emacs =A0 =A0[empty .emacs file] > 2. emacs --daemon > 3. emacsclient -c > 4. a > > The keystroke takes effect as expected. =A0Could you provide a recipe for > showing the bug? > Maybe it matters that I start emacsclient with emacsclient -a "" -nw. You can start the daemon with emacs -q --no-site-file --no-site-lisp --daemon (basically, turn everything off except for the splash screen). If I do that, it reproduces nicely. I'm assuming that the above switches sufficiently isolate me from my configuration. emacs --version gives me GNU Emacs 24.0.94.3 (this is probably also in the original bug report generated by emacs. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 08 09:48:05 2012 Received: (at 10996) by debbugs.gnu.org; 8 Apr 2012 13:48:05 +0000 Received: from localhost ([127.0.0.1]:44573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGsTM-0004ps-Bg for submit@debbugs.gnu.org; Sun, 08 Apr 2012 09:48:05 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:48397) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGsTJ-0004pa-Sg for 10996@debbugs.gnu.org; Sun, 08 Apr 2012 09:48:02 -0400 Received: from bb121-6-72-34.singnet.com.sg ([121.6.72.34]:43177 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SGsST-0004Kb-PM; Sun, 08 Apr 2012 09:47:10 -0400 From: Chong Yidong To: Aaron Meurer Subject: Re: bug#10996: 24.0.94; Splash screen causes first character to beep with emacsclient References: <87wr6d2a7c.fsf@gnu.org> Date: Sun, 08 Apr 2012 21:47:02 +0800 In-Reply-To: (Aaron Meurer's message of "Fri, 30 Mar 2012 16:00:38 -0600") Message-ID: <87obr2jpyh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 10996 Cc: 10996@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Aaron Meurer writes: > Maybe it matters that I start emacsclient with emacsclient -a "" -nw. > > You can start the daemon with emacs -q --no-site-file --no-site-lisp > --daemon (basically, turn everything off except for the splash > screen). If I do that, it reproduces nicely. I'm assuming that the > above switches sufficiently isolate me from my configuration. Thanks, I can reproduce this now. Looks like a regression against 23.4. Will investigate soon. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 08 12:43:41 2012 Received: (at 10996) by debbugs.gnu.org; 8 Apr 2012 16:43:41 +0000 Received: from localhost ([127.0.0.1]:44881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGvDI-0000MU-Is for submit@debbugs.gnu.org; Sun, 08 Apr 2012 12:43:40 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:50161) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGvDF-0000ML-Mi for 10996@debbugs.gnu.org; Sun, 08 Apr 2012 12:43:38 -0400 Received: from bb121-6-72-188.singnet.com.sg ([121.6.72.188]:44085 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SGvCN-000154-PN; Sun, 08 Apr 2012 12:42:44 -0400 From: Chong Yidong To: Stefan Monnier Subject: Re: bug#10996: 24.0.94; Splash screen causes first character to beep with emacsclient References: <87wr6d2a7c.fsf@gnu.org> <87obr2jpyh.fsf@gnu.org> Date: Mon, 09 Apr 2012 00:42:35 +0800 In-Reply-To: <87obr2jpyh.fsf@gnu.org> (Chong Yidong's message of "Sun, 08 Apr 2012 21:47:02 +0800") Message-ID: <87bon2uqdg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 10996 Cc: 10996@debbugs.gnu.org, Aaron Meurer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Chong Yidong writes: > Aaron Meurer writes: > >> Maybe it matters that I start emacsclient with emacsclient -a "" -nw. >> >> You can start the daemon with emacs -q --no-site-file --no-site-lisp >> --daemon (basically, turn everything off except for the splash >> screen). If I do that, it reproduces nicely. I'm assuming that the >> above switches sufficiently isolate me from my configuration. > > Thanks, I can reproduce this now. Looks like a regression against > 23.4. This regression was introduced by the following commit. I think somehow the keymap of the splash screen is getting applied to the first character typed into the emacsclient frame (which should be in the scratch buffer). The commit log does not record any bug or rationale for the commit. Stefan, could you take a look? revno: 105993 committer: Stefan Monnier branch nick: trunk timestamp: Mon 2011-10-03 16:50:54 -0400 message: * src/keyboard.c (read_key_sequence_remapped): New var. (read_key_sequence): Compute remapping in the right buffer. (command_loop_1): Use read_key_sequence's remapping directly. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 08 12:43:53 2012 Received: (at control) by debbugs.gnu.org; 8 Apr 2012 16:43:53 +0000 Received: from localhost ([127.0.0.1]:44884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGvDV-0000Ms-4n for submit@debbugs.gnu.org; Sun, 08 Apr 2012 12:43:53 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:50165) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGvDU-0000Mm-04 for control@debbugs.gnu.org; Sun, 08 Apr 2012 12:43:52 -0400 Received: from bb121-6-72-188.singnet.com.sg ([121.6.72.188]:44086 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SGvCe-00015I-7C for control@debbugs.gnu.org; Sun, 08 Apr 2012 12:43:00 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: severity 10996 important Date: Mon, 09 Apr 2012 00:42:53 +0800 Message-ID: <87obr2cgz6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) severity 10996 important thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 10 12:52:32 2012 Received: (at 10996) by debbugs.gnu.org; 10 Apr 2012 16:52:32 +0000 Received: from localhost ([127.0.0.1]:49077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHeIx-0005DQ-Mj for submit@debbugs.gnu.org; Tue, 10 Apr 2012 12:52:32 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:60159) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHeIu-0005DI-RP for 10996@debbugs.gnu.org; Tue, 10 Apr 2012 12:52:30 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q3AGpQ9x004853; Tue, 10 Apr 2012 12:51:26 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 10ADDB40D6; Tue, 10 Apr 2012 12:51:25 -0400 (EDT) From: Stefan Monnier To: Chong Yidong Subject: Re: bug#10996: 24.0.94; Splash screen causes first character to beep with emacsclient Message-ID: References: <87wr6d2a7c.fsf@gnu.org> <87obr2jpyh.fsf@gnu.org> <87bon2uqdg.fsf@gnu.org> Date: Tue, 10 Apr 2012 12:51:25 -0400 In-Reply-To: <87bon2uqdg.fsf@gnu.org> (Chong Yidong's message of "Mon, 09 Apr 2012 00:42:35 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4188=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4188> : streams <745719> : uri <1097856> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 10996 Cc: 10996@debbugs.gnu.org, Aaron Meurer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >> Thanks, I can reproduce this now. Looks like a regression against 23.4. > This regression was introduced by the following commit. I think somehow > the keymap of the splash screen is getting applied to the first > character typed into the emacsclient frame (which should be in the > scratch buffer). Indeed, the problem is that the key is read using the splash-screen-keymap. My commit is not the actual cause since it only affects command remapping, and if you try his recipe and hit `q' (which is not using command-remapping), you'll see that it does something even more interesting. I.e. the same problem existed with `q' before my change. But indeed it's a regression compared to Emacs-23, tho I haven't yet figured where the problem really comes from. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 10 13:56:21 2012 Received: (at 10996-done) by debbugs.gnu.org; 10 Apr 2012 17:56:21 +0000 Received: from localhost ([127.0.0.1]:49201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHfIi-0006qf-Qt for submit@debbugs.gnu.org; Tue, 10 Apr 2012 13:56:21 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:53603) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHfIh-0006qZ-Ix for 10996-done@debbugs.gnu.org; Tue, 10 Apr 2012 13:56:20 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q3AHtGKU014762; Tue, 10 Apr 2012 13:55:16 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 77E9CB40D6; Tue, 10 Apr 2012 13:55:16 -0400 (EDT) From: Stefan Monnier To: Chong Yidong Subject: Re: bug#10996: 24.0.94; Splash screen causes first character to beep with emacsclient Message-ID: References: <87wr6d2a7c.fsf@gnu.org> <87obr2jpyh.fsf@gnu.org> <87bon2uqdg.fsf@gnu.org> Date: Tue, 10 Apr 2012 13:55:16 -0400 In-Reply-To: (Stefan Monnier's message of "Tue, 10 Apr 2012 12:51:25 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4188=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4188> : streams <745734> : uri <1097866> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 10996-done Cc: 10996-done@debbugs.gnu.org, Aaron Meurer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > Indeed, the problem is that the key is read using the > splash-screen-keymap. My commit is not the actual cause since it only > affects command remapping, and if you try his recipe and hit `q' (which > is not using command-remapping), you'll see that it does something even > more interesting. I.e. the same problem existed with `q' before > my change. I installed the change below which doesn't actually fix the underlying problem but works around it by disabling the splash screen code when running as daemon (it doesn't get displayed anyway, so there's no point running it). Stefan === modified file 'lisp/startup.el' --- lisp/startup.el 2012-03-27 06:45:12 +0000 +++ lisp/startup.el 2012-04-10 17:51:56 +0000 @@ -2341,6 +2341,7 @@ (if (or inhibit-startup-screen initial-buffer-choice noninteractive + (daemonp) inhibit-x-resources) ;; Not displaying a startup screen. If 3 or more files @@ -2383,9 +2384,7 @@ ;; (with-no-warnings ;; (setq menubar-bindings-done t)) - (if (> file-count 0) - (display-startup-screen t) - (display-startup-screen nil))))) + (display-startup-screen (> file-count 0))))) (defun command-line-normalize-file-name (file) "Collapse multiple slashes to one, to handle non-Emacs file names." From unknown Mon Aug 18 08:52:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 09 May 2012 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator