From unknown Mon Jun 23 16:43:19 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#12976 <12976@debbugs.gnu.org> To: bug#12976 <12976@debbugs.gnu.org> Subject: Status: 24.2; C-c i is bound to custom function, but in a term buffer it gets bound to ido-insert-file Reply-To: bug#12976 <12976@debbugs.gnu.org> Date: Mon, 23 Jun 2025 23:43:19 +0000 retitle 12976 24.2; C-c i is bound to custom function, but in a term buffer= it gets bound to ido-insert-file reassign 12976 emacs submitter 12976 Joseph Mingrone severity 12976 minor tag 12976 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 23 20:51:06 2012 Received: (at submit) by debbugs.gnu.org; 24 Nov 2012 01:51:06 +0000 Received: from localhost ([127.0.0.1]:35622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tc4td-0002pg-9W for submit@debbugs.gnu.org; Fri, 23 Nov 2012 20:51:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48404) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tc3j0-00017X-Hn for submit@debbugs.gnu.org; Fri, 23 Nov 2012 19:36:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tc3hY-0007BU-9U for submit@debbugs.gnu.org; Fri, 23 Nov 2012 19:34:33 -0500 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,RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:58126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tc3hY-0007BE-6c for submit@debbugs.gnu.org; Fri, 23 Nov 2012 19:34:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tc3hW-0002X6-US for bug-gnu-emacs@gnu.org; Fri, 23 Nov 2012 19:34:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tc3hV-000760-6k for bug-gnu-emacs@gnu.org; Fri, 23 Nov 2012 19:34:30 -0500 Received: from mail-qa0-f41.google.com ([209.85.216.41]:34283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tc3hV-00074H-0A for bug-gnu-emacs@gnu.org; Fri, 23 Nov 2012 19:34:29 -0500 Received: by mail-qa0-f41.google.com with SMTP id c26so1998465qad.0 for ; Fri, 23 Nov 2012 16:34:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:subject:date:message-id:mime-version:content-type; bh=Z1WKPQjgqhRxh0isVQeNM5JP5EwuzwQTV6fWSqEsumc=; b=Qah2Fua+AjZnO5huzuuvL5Q3Mmp9e0h4A2MGf98e7T3YELwaiqgOwXERCsGhlgvAN1 fQMckHIo4h8UkfZlWsyoHUg/BQIpc/wawWlnKSv50Qi1DEAPDvYWpj16mGVapPHiG/Yb aX0huFz4yjGNK3pjcrXRMDwCzj86857b82axc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type :x-gm-message-state; bh=Z1WKPQjgqhRxh0isVQeNM5JP5EwuzwQTV6fWSqEsumc=; b=oD5Egsr5VxsA9ams1ZOFY4jho+ppPEsI00ysaT9bu1JROVqnyFBmfgADBw/L6h08pL AHZPpGePjoUPaO4mkezNJoHIIwpq/mW+JLnkr8iSIkfOyHU/rlLUNWTl/Tr1/CEXpl09 l/fUHRwO5qmVOvSDFhhJ0Ng03LRdcPl2dfbjaYC+1LbMVZH4xwy2lcpfD0H+4R+VQli1 T4niNJxmitQ3QmddLmEUqga5g6nb/cPiogmD7RLYdBo/e4jypLLMPnSUUZ8M2k77zXZa 8sGNHoLJuoI8hQYftZLa+7s2j6Awf4ZzF7M5h/i7eCNWGE6OR4U4S8MvuVbxIDb1bWQy kprg== Received: by 10.224.173.76 with SMTP id o12mr6038892qaz.46.1353717268089; Fri, 23 Nov 2012 16:34:28 -0800 (PST) Received: from gly.ath.cx.ftfl.ca (Dynamic34-29.Dynamic.Dal.Ca. [129.173.34.203]) by mx.google.com with ESMTPS id j3sm3872498qek.7.2012.11.23.16.34.27 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 23 Nov 2012 16:34:27 -0800 (PST) From: Joseph Mingrone To: bug-gnu-emacs@gnu.org Subject: 24.2; C-c i is bound to custom function, but in a term buffer it gets bound to ido-insert-file Date: Fri, 23 Nov 2012 20:32:41 -0400 Message-ID: <86k3tbg7rq.fsf@gly.ath.cx> MIME-Version: 1.0 Content-Type: text/plain X-Gm-Message-State: ALoCoQlu7sznPPPRdSpUhRb3G1024rr/U0bvg4r5GrvrqorWVlCPhFKwBnq39VnXpgExdilBoVYb X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 23 Nov 2012 20:51:04 -0500 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 (------) I bind C-c i to a custom function, but when I'm in a term buffer C-c i is bound to ido-insert-file. When I asked about this in #emacs on freenode I was told to report a bug. In GNU Emacs 24.2.1 (i386-portbld-freebsd8.3) of 2012-09-17 on gly.ath.cx Configured using: `configure '--localstatedir=/var' '--without-x' '--without-sound' '--without-dbus' '--without-xml2' '--without-gnutls' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd8.3' 'build_alias=i386-portbld-freebsd8.3' 'CC=cc' 'CFLAGS=-O2 -pipe -fno-strict-aliasing' 'LDFLAGS= -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib' 'CPPFLAGS=-I/usr/local/include' 'CPP=cpp'' 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_CA.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Help Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t show-paren-mode: t global-auto-revert-mode: t erc-spelling-mode: t shell-dirtrack-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-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 Recent input: SPC SPC H a v e SPC a SPC g o o d SPC n i g h t . RET C-x o C-p C-p RET C-x k RET ESC x r e p TAB o TAB r TAB RET C - c SPC i SPC i s DEL DEL b o u n d SPC t o SPC c u s t o m e SPC DEL DEL SPC f u n c t i o n , SPC b u t SPC i n SPC t e r m SPC DEL DEL DEL DEL DEL a SPC t e r m SPC b u f f e r SPC i t SPC g e t s SPC b o u n d SPC t o SPC C-y DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL C-x o C-x o C-c n C-x h k C-c i C-x o i d o - f i n d - i l DEL DEL f i l e RET C-x o C-x C-f C-g C-c n C-x h k C-c i C-x b RET C-x o C-x b C-s RET C-p C-p C-p C-f C-e DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL i d o - i n s e r t - f i l e C-a C-n C-n C-n C-n C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n ESC > ESC < C-n C-n C-f C-f C-f C-f C-f C-f C-f C-f C-f C-@ C-e ESC w C-x o C-x o C-x k RET y e s RET ESC x r e p o r TAB RET Recent messages: Checking 148 files in /usr/local/share/emacs/24.2/lisp/emacs-lisp... Checking 24 files in /usr/local/share/emacs/24.2/lisp/cedet... Checking 57 files in /usr/local/share/emacs/24.2/lisp/calendar... Checking 87 files in /usr/local/share/emacs/24.2/lisp/calc... Checking 65 files in /usr/local/share/emacs/24.2/lisp/obsolete... Checking 1 files in /usr/local/share/emacs/24.2/leim... Checking for load-path shadows...done Quit Type "q" in help window to restore its previous buffer. Mark set [3 times] Load-path shadows: /home/jrm/.emacs.d/elpa/multi-eshell-0.0.1/multi-eshell hides ~/.elisp/multi-eshell /home/jrm/.emacs.d/elpa/rainbow-delimiters-1.3.4/rainbow-delimiters hides ~/.elisp/rainbow-delimiters /home/jrm/.emacs.d/elpa/multi-term-0.8.8/multi-term hides ~/.elisp/multi-term Features: (shadow debug emacsbug help-mode view multi-term term disp-table ehelp electric erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit mule-util network-stream starttls mailalias smtpmail auth-source eieio password-cache sendmail mail-extr sort gnus-util message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader server time-date paren autorevert cus-start cus-load edit-server derived erc-spelling flyspell ispell auctex-autoloads tex-site info dired+-autoloads multi-eshell-autoloads multi-term-autoloads rainbow-delimiters-autoloads uniquify byte-opt warnings advice help-fns advice-preload tls package tabulated-list org-install mode-compile-kill mode-compile reporter cl bytecomp byte-compile cconv macroexp ido ess-toolbar ess-mouse mouseme compile tool-bar browse-url ess-menu speedbar sb-image ezimage dframe ess-swv ess-noweb noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a executable shell pcomplete ess-arc-d ess-vst-d ess-xls-d ess-lsp-l ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp5-d ess-sp3-d ess-r-d ess-r-args assoc tooltip ess-s-l ess-inf ess-utils comint ansi-color ring ess-mode noweb-mode edmacro kmacro ess ess-custom ess-compat ess-site erc-goodies erc erc-backend erc-compat format-spec thingatpt pp doc-view easymenu jka-compr image-mode image dired regexp-opt 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 multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 23 22:44:37 2012 Received: (at 12976) by debbugs.gnu.org; 24 Nov 2012 03:44:37 +0000 Received: from localhost ([127.0.0.1]:35670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tc6fV-0005PS-1R for submit@debbugs.gnu.org; Fri, 23 Nov 2012 22:44:37 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:52958) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tc6fT-0005PM-Bh for 12976@debbugs.gnu.org; Fri, 23 Nov 2012 22:44:36 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Tc6e0-0001t6-GH; Fri, 23 Nov 2012 22:43:04 -0500 From: Glenn Morris To: Joseph Mingrone Subject: Re: bug#12976: 24.2; C-c i is bound to custom function, but in a term buffer it gets bound to ido-insert-file References: <86k3tbg7rq.fsf@gly.ath.cx> X-Spook: Merlin Security Council Indigo Nazi BLU-114/B Majic argus X-Ran: uvCm=ev1zD.-yeP)YH`b>C X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 23 Nov 2012 22:43:04 -0500 In-Reply-To: <86k3tbg7rq.fsf@gly.ath.cx> (Joseph Mingrone's message of "Fri, 23 Nov 2012 20:32:41 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: 12976 Cc: 12976@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: -5.4 (-----) Joseph Mingrone wrote: > I bind C-c i to a custom function, but when I'm in a term buffer C-c i is > bound to ido-insert-file. Nothing to do with ido, really, which just remaps insert-file. emacs -Q -f term bash RET Now `C-c i' is bound to insert-file. I guess this is because term-escape-char = C-c, and term-raw-escape-map has Control-X-prefix as parent keymap. I don't know what, if anything, to do about this. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 21:53:12 2013 Received: (at 12976-done) by debbugs.gnu.org; 12 Jul 2013 01:53:13 +0000 Received: from localhost ([127.0.0.1]:48991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxSXo-0005T1-HC for submit@debbugs.gnu.org; Thu, 11 Jul 2013 21:53:12 -0400 Received: from mail-pb0-f51.google.com ([209.85.160.51]:63036) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxSXm-0005Sk-O1 for 12976-done@debbugs.gnu.org; Thu, 11 Jul 2013 21:53:11 -0400 Received: by mail-pb0-f51.google.com with SMTP id um15so8537374pbc.10 for <12976-done@debbugs.gnu.org>; Thu, 11 Jul 2013 18:53:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:reply-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=9CmSlHFkVfETHpkKdvQGjQqNEwZRfCsS3MqIrFScdTA=; b=jiZ+GRq0b1C3NUZklaHa/R01Xkg16F+JJ9Tl0AQfqY2Ug16pTkJNYujRHN3xZGJTuh B/AAnDr913p79+d0yYgsgfY1tgjItshTHC+o65NblUZU35DGpimeHyXzF/quv67dDl4h Dvlps4pXv3B/n1YisaYMr/U4FoQdASZ9NZJcdebtf/OI4vkh52obk4vajOmyYNpilTO6 jfFiz3yuVJD3iIs8yDrVWlvOeJ7DenS1dbpF+sjVFDftHKgXA6kb5gC5lWG60lDtuYHg 5zCbKC3rVdt0vZbKm6T8Fs32PpBct79WlcaPyoqz2GeemqJ0CdOq1BN5mb3rsuE7kBLd Z5Rg== X-Received: by 10.66.157.68 with SMTP id wk4mr41583742pab.17.1373593984521; Thu, 11 Jul 2013 18:53:04 -0700 (PDT) Received: from Zeuss-MacBook.local ([182.48.101.29]) by mx.google.com with ESMTPSA id nr8sm31337534pbc.6.2013.07.11.18.52.58 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 11 Jul 2013 18:53:04 -0700 (PDT) From: Leo Liu To: Glenn Morris Subject: Re: bug#12976: 24.2; C-c i is bound to custom function, but in a term buffer it gets bound to ido-insert-file References: <86k3tbg7rq.fsf@gly.ath.cx> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= Date: Fri, 12 Jul 2013 09:52:46 +0800 In-Reply-To: (Glenn Morris's message of "Fri, 23 Nov 2012 22:43:04 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.4) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 12976-done Cc: Joseph Mingrone , 12976-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: 12976@debbugs.gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2012-11-24 11:43 +0800, Glenn Morris wrote: > Now `C-c i' is bound to insert-file. I guess this is because > term-escape-char = C-c, and term-raw-escape-map has Control-X-prefix as > parent keymap. I don't know what, if anything, to do about this. I consider this not a bug. This is how term.el works because it has drastically different key bindings. Thus it gives the user C-c to invoke those critical commands on the C-x prefix, or you will be trapped in term-mode forever. User-defined commands are secondary in this scenario. Leo From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 13 21:15:00 2013 Received: (at 12976) by debbugs.gnu.org; 14 Jul 2013 01:15:00 +0000 Received: from localhost ([127.0.0.1]:53504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UyAtv-0006dD-C1 for submit@debbugs.gnu.org; Sat, 13 Jul 2013 21:14:59 -0400 Received: from mail-qe0-f52.google.com ([209.85.128.52]:34472) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UyAts-0006ci-EL for 12976@debbugs.gnu.org; Sat, 13 Jul 2013 21:14:57 -0400 Received: by mail-qe0-f52.google.com with SMTP id i11so5826200qej.39 for <12976@debbugs.gnu.org>; Sat, 13 Jul 2013 18:14:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=Y1VZbB7zjDtT56g5zCJEdo7EedYDvE687Uaa/m3IJas=; b=SaG1o459au+Gh0Jf3RWJV3fu1WgRC8k5F9Mqr/fq4v1oUOZsnFv7FhsuIuY9gIlVys akAfg641Cq/RcojUVWcA9nD25Y0qpBkRpSS2YEZIFuTHWnBvfVuegnxpUBv+1abvWWIl Oe75hmhdTRtEjSwdPpASiLXPjaq6b1fK1NNgtyAzSAKSC0yfrJGFwisfac7RnwTGHAyo z8ua6Fm78ffcTjI4oipWMzJ/zEzuu0LxbmRMrhHkb4dwcOtZT7dHGHiLqGpBW7U0ZhrU 7bpwgaQIYNZaWcVAmNCyQMrVKjcXc6f4W9nSBSEagChZh7AvNBZb7T+1SqNDiBtGeUFa xj9Q== X-Received: by 10.229.201.129 with SMTP id fa1mr10145443qcb.103.1373764490816; Sat, 13 Jul 2013 18:14:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.30.41 with HTTP; Sat, 13 Jul 2013 18:14:20 -0700 (PDT) In-Reply-To: References: <86k3tbg7rq.fsf@gly.ath.cx> From: Josh Date: Sat, 13 Jul 2013 18:14:20 -0700 X-Google-Sender-Auth: lgCRBXT5I4fXYj6_i99EMh0Xn68 Message-ID: Subject: Re: bug#12976: 24.2; C-c i is bound to custom function, but in a term buffer it gets bound to ido-insert-file To: 12976@debbugs.gnu.org, jrm@ftfl.ca Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQm7rPuCrIo1hNXbgbTIpVKF55NYeKIS2rCFpTFt2KczQ7jxE3I47n8YjL2OG0Uium2tiB1C X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 12976 Cc: Glenn Morris , 12976-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Thu, Jul 11, 2013 at 6:52 PM, Leo Liu wrote: > On 2012-11-24 11:43 +0800, Glenn Morris wrote: >> Now `C-c i' is bound to insert-file. I guess this is because >> term-escape-char = C-c, and term-raw-escape-map has Control-X-prefix as >> parent keymap. I don't know what, if anything, to do about this. > > I consider this not a bug. I certainly do. From (info "(elisp) Key Binding Conventions") : * Don't define `C-c LETTER' as a key in Lisp programs. Sequences consisting of `C-c' and a letter (either upper or lower case) are reserved for users; they are the *only* sequences reserved for users, so do not block them. Changing all the Emacs major modes to respect this convention was a lot of work; abandoning this convention would make that work go to waste, and inconvenience users. Please comply with it. > This is how term.el works because it has drastically different key > bindings. Thus it gives the user C-c to invoke those critical commands > on the C-x prefix, or you will be trapped in term-mode forever. Several of the commands that term.el binds to C-c are anything but critical, e.g. set-fill-column (C-c f) and count-lines-page (C-c l). Furthermore, as for being "trapped forever," I see no reason for C-c in particular to be appropriated for this purpose instead of some other control character that would leave users' bindings intact, or even moving `ctl-x-map' from C-c to C-c C-x, though this would be more effort to implement. > User-defined commands are secondary in this scenario. The passage I cited refers to "all the Emacs major modes". Is there any reason to believe that term.el should be exempt from adhering to this convention? From unknown Mon Jun 23 16:43:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Thu, 18 Jul 2013 16:33:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 03 23:31:46 2021 Received: (at 12976) by debbugs.gnu.org; 4 Dec 2021 04:31:46 +0000 Received: from localhost ([127.0.0.1]:52692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtMhx-0005lU-VC for submit@debbugs.gnu.org; Fri, 03 Dec 2021 23:31:46 -0500 Received: from quimby.gnus.org ([95.216.78.240]:60418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtMhv-0005en-Nw for 12976@debbugs.gnu.org; Fri, 03 Dec 2021 23:31:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6PkijViOL7xAGjzisHukMIQQ7TmY8gubIiEqCMjF2Zw=; b=rCQGBCgOH12Q9Cu2ehz+fITesW qjbK1dN8jZlFfM75JhQGW+d60M/qspUcvWKH8/lKhkUK1dun0l3ReKjzPyrl5vNcWO3/J61U3FKcY EYYPjNsDsbH+olK6aDrJv/ck5YD6d6u5wTxV1GNRobDMQZErOEp/IbCACalQ6x2zfFhs=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtMhk-0002OR-2Q; Sat, 04 Dec 2021 05:31:23 +0100 From: Lars Ingebrigtsen To: Josh Subject: Re: bug#12976: 24.2; C-c i is bound to custom function, but in a term buffer it gets bound to ido-insert-file References: <86k3tbg7rq.fsf@gly.ath.cx> X-Now-Playing: Genesis's _Nursery Cryme_: "Harold The Barrel" Date: Sat, 04 Dec 2021 05:31:19 +0100 In-Reply-To: (josh@foxtail.org's message of "Sat, 13 Jul 2013 18:14:20 -0700") Message-ID: <87zgphouso.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Josh writes: >> I consider this not a bug. > > I certainly do. From (info "(elisp) Key Binding Conventions") : > > * Don't define `C-c LETTER' as a key in Lisp programs. Sequences > consisting of `C-c' and a lette [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 12976 Cc: jrm@ftfl.ca, Glenn Morris , 12976@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Josh writes: >> I consider this not a bug. > > I certainly do. From (info "(elisp) Key Binding Conventions") : > > * Don't define `C-c LETTER' as a key in Lisp programs. Sequences > consisting of `C-c' and a letter (either upper or lower case) are > reserved for users; they are the *only* sequences reserved for > users, so do not block them. [...] > The passage I cited refers to "all the Emacs major modes". Is there > any reason to believe that term.el should be exempt from adhering to > this convention? (I'm going through old bug reports that unfortunately weren't resolved at the time.) It's an oddball mode, and it breaks many Emacs conventions. In any case, this isn't something we can change at this point, since the `C-c' key bindings are ingrained at this point. (You can change `term-escape-char' if you want, though.) So I'm reclosing this bug report as a WONTFIX. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 03 23:31:46 2021 Received: (at control) by debbugs.gnu.org; 4 Dec 2021 04:31:46 +0000 Received: from localhost ([127.0.0.1]:52695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtMiA-0005vP-3n for submit@debbugs.gnu.org; Fri, 03 Dec 2021 23:31:46 -0500 Received: from quimby.gnus.org ([95.216.78.240]:60430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtMhy-0005hj-ON for control@debbugs.gnu.org; Fri, 03 Dec 2021 23:31:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=e8CmoF562DSnsI4/qcKf9xbhazVHMrDsJtrcbNGT7v4=; b=NZALc0cYvX/S3GxJ/lgtrGysbe Yykwl2NRbaL0H/GSWYTgK/yo5Uojrysf+ACabxbBzMX0sYUHfIQVQyckt0hZdBIr3/ENWI2vk+jLQ OMeXhyiBwCgnECRkJdFFnDFIZNMdSxbe3CRNnDBFXPWd3Nv1+Wx1VsOOn7X4t9DQXrpk=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtMhq-0002Oc-Pb for control@debbugs.gnu.org; Sat, 04 Dec 2021 05:31:29 +0100 Date: Sat, 04 Dec 2021 05:31:26 +0100 Message-Id: <87y251oush.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #12976 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 12976 wontfix close 12976 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 12976 wontfix close 12976 quit From unknown Mon Jun 23 16:43:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 01 Jan 2022 12:24:08 +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