From unknown Sun Aug 17 09:09:09 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#6432 <6432@debbugs.gnu.org> To: bug#6432 <6432@debbugs.gnu.org> Subject: Status: 24.0.50; comint-write/read-input-ring ignore certain buffer locals Reply-To: bug#6432 <6432@debbugs.gnu.org> Date: Sun, 17 Aug 2025 16:09:09 +0000 retitle 6432 24.0.50; comint-write/read-input-ring ignore certain buffer lo= cals reassign 6432 emacs submitter 6432 Andreas Politz severity 6432 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 15 15:46:51 2010 Received: (at submit) by debbugs.gnu.org; 15 Jun 2010 19:46:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOc5y-0005Cj-T5 for submit@debbugs.gnu.org; Tue, 15 Jun 2010 15:46:51 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOc5w-0005Ce-Ha for submit@debbugs.gnu.org; Tue, 15 Jun 2010 15:46:50 -0400 Received: from lists.gnu.org ([199.232.76.165]:45077) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OOc5s-00058v-E3 for submit@debbugs.gnu.org; Tue, 15 Jun 2010 15:46:44 -0400 Received: from [140.186.70.92] (port=33945 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOc5q-0003uD-Jy for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2010 15:46:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_DKIM_INVALID,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOc5o-0002PG-Dv for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2010 15:46:42 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:40113) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOc5o-0002HW-5x for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2010 15:46:40 -0400 Received: from raven (dslb-084-059-209-121.pools.arcor-ip.net [84.59.209.121]) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTP id A18631732692 for ; Tue, 15 Jun 2010 21:46:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=fh-trier.de; s=default; t=1276631171; bh=5T60iAMvVtqLhDhr95pozzW8KH8=; h=From:To:Subject: Date:Message-ID:MIME-Version:Content-Type; b=VrkYLJj0LLnd/h7RS2vNz ZsdIBk8DejObyN6UIBbEasjku24rDVbbTUZ5veOscMwhI9HUen9D4o6gjicSOw+iqcp 80Ek1PCNwx8PXj1QvTG9bakWcfZSXsbg3SgxBKi+tY1ncOqCmO5ykXbS8gx8uP0L2/H /m0mIaMefEcneyXc= From: Andreas Politz To: bug-gnu-emacs@gnu.org Subject: 24.0.50; comint-write/read-input-ring ignore certain buffer locals Date: Tue, 15 Jun 2010 21:46:10 +0200 Message-ID: <877hm0gjul.fsf@fh-trier.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum FH-Trier (r/ft)] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.8 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.9 (-----) Both functions ignore certain buffer-local values of comint variables due to working partially in temporary buffers. I think for most of them buffer-local values (therefor process-local) would make sense. For example we might want to use multiline commands with one process, using a special comint-input-ring-separator, but compatible newline-seperated commands for a different one. -ap In GNU Emacs 24.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2010-06-13 on raven Windowing system distributor `The X.Org Foundation', version 11.0.10707000 Important settings: value of $LC_ALL: C 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: Fundamental Minor modes in effect: narrow-stack-mode: t server-mode: t easy-repeat-mode: t shell-dirtrack-mode: t recentf-mode: t ido-hacks-mode: t window-numbering-mode: t which-function-mode: t show-paren-mode: t ido-everywhere: t icomplete-mode: t global-hi-lock-mode: t hi-lock-mode: t display-time-mode: t savehist-mode: t tooltip-mode: t mouse-wheel-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: C-y C-a ( s e t q SPC M-h d e f v a r SPC C-o C-/ M-h s e t q SPC C-e C-n M-m C-o C-p C-n C-n C-/ C-p C-k C-n C-x b c o C-g M-2 C-u C-SPC C-M-a C-M-a C-M-l M-1 C-o TAB C-y C-p C-e SPC " \ n - - - \ n " ) C-n C-k C-x b C-x h C-0 C-w C-x C-s C-x b C-M-SPC C-g C-p M-f - l o c a l M-m C-M-SPC M-w C-x C-g M-3 C-x b s c M-: C-y M-: ( c o m i n t - r w r M-p M-1 C-x b C-x b C-s C-, b r C-v M-2 M-3 C-x ESC ESC C-r s e p e C-g C-g C-x ESC ESC C-r d e s M-2 C-M-e C-n C-u C-M-x M-1 M-2 M-3 M-: M-p C-s s e p e RET C-M-b b g C-M-a C-M-a C-M-l C-M-f M-1 C-, s s ( d e f a d v i c e SPC c o m i n t - w r i t e - i n p u M-/ SPC ( M-2 M-v C-l M-1 M-x s h e l C-g C-, s b M-p M-n M-: c o m M-h C-r i n p u t - r i n g - f i C-x k C-g C-g q M-1 C-x k M-1 M-2 C-M-x g M-1 M-2 g q C-x k C-g C-x k M-2 q C-/ C-M-x C-M-a C-M-q M-1 M-2 M-v C-l M-1 M-x b u g r e p o M-h e m a c s - b u Recent messages: Break Result: "\n" Go... Break Result: "\n" Back to top level. Quit Undo! comint-write-input-ring Mark set [2 times] Load-path shadows: /home/politza/.emacs.d/minor-modes/ido hides /home/politza/src/emacs23/lisp/ido Features: (shadow sort gnus-cite fix-umlaut emacsbug debug tabify dirtrack ansi-color bash-mode reposition apropos info descr-text cl-specs edebug newcomment thingatpt vc-git find-func help-mode view autorevert ffap multi-isearch cmuscheme scheme w3m-form mule-util w3m-cookie w3m-bookmark w3m-tabmenu w3m-session w3m doc-view jka-compr image-mode w3m-hist w3m-fb w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util vc-dispatcher vc-svn bookmark pp parse-time nnfolder nnmbox utf-7 utf7 netrc starttls nnimap imap nndraft nnmh bbdb-gnus bbdb-snarf mail-extr bbdb-com warnings nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime dig mailcap nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-win disp-table minibuffer-regexp derived pascal narrow-stack org org-footnote org-src org-list org-faces org-compat org-entities org-macs noutline outline ispell closure byte-opt bytecomp byte-compile gnus-int gnus-range message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus gnus-ems nnheader mail-utils mm-util mail-prsvr avoid server easy-repeat repeat eldoc linux tex-site auto-loads ibuf-macs ibuf-ext ibuffer dired-x dired-aux dired dired-details tramp-imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util shell password-cache format-spec tramp-compat trampver time-date recentf tree-widget wid-edit easymenu generic ido-hacks hippie-exp my-anything anything edmacro kmacro kbd-helper org-install bbdb-autoloads bbdb timezone persistent-scratch-buffer window-numbering easy-mmode cl cl-19 uniquify winner which-func imenu paren ido icomplete grep compile comint regexp-opt ring hi-lock time cus-start cus-load saveplace savehist advice help-fns advice-preload tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd 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 dynamic-setting font-render-setting gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 16 03:29:03 2010 Received: (at control) by debbugs.gnu.org; 16 Jun 2010 07:29:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOn3X-00029i-00 for submit@debbugs.gnu.org; Wed, 16 Jun 2010 03:29:03 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOn3U-00029L-Ta for control@debbugs.gnu.org; Wed, 16 Jun 2010 03:29:01 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OOn3P-00042l-O8; Wed, 16 Jun 2010 03:28:56 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19480.32055.365766.924319@fencepost.gnu.org> Date: Wed, 16 Jun 2010 03:28:55 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: yellow X-Ran: gLvhFDLg2^!o85/MgGwvMh>JzLsQBXFH!m~7!HQm{HV{`JZ5aSg0i'Jg/8,^isz~-?<]'B X-Debbugs-No-Ack: yes X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.1 (-----) merge 6424 6422 merge 6432 6433 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 15:23:17 2019 Received: (at 6432) by debbugs.gnu.org; 1 Oct 2019 19:23:17 +0000 Received: from localhost ([127.0.0.1]:34805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFNjw-0005ix-S9 for submit@debbugs.gnu.org; Tue, 01 Oct 2019 15:23:17 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFNjv-0005io-8q for 6432@debbugs.gnu.org; Tue, 01 Oct 2019 15:23:15 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFNjr-00076c-3G; Tue, 01 Oct 2019 21:23:13 +0200 From: Lars Ingebrigtsen To: Andreas Politz Subject: Re: bug#6432: 24.0.50; comint-write/read-input-ring ignore certain buffer locals References: <877hm0gjul.fsf@fh-trier.de> Date: Tue, 01 Oct 2019 21:23:10 +0200 In-Reply-To: <877hm0gjul.fsf@fh-trier.de> (Andreas Politz's message of "Tue, 15 Jun 2010 21:46:10 +0200") Message-ID: <87lfu4xobl.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: Andreas Politz writes: > Both functions ignore certain buffer-local values of comint variables > due to working partially in temporary buffers. > > I think for most of them buffer-local values (therefor process-local) > wou [...] 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: 0.0 (/) X-Debbugs-Envelope-To: 6432 Cc: 6432@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 (-) Andreas Politz writes: > Both functions ignore certain buffer-local values of comint variables > due to working partially in temporary buffers. > > I think for most of them buffer-local values (therefor process-local) > would make sense. For example we might want to use multiline commands > with one process, using a special comint-input-ring-separator, but > compatible newline-seperated commands for a different one. I've now fixed this in Emacs 27. comint-input-ring-size didn't seem to make much sense as a buffer-local value, so I've kept that as it was. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 15:23:25 2019 Received: (at control) by debbugs.gnu.org; 1 Oct 2019 19:23:25 +0000 Received: from localhost ([127.0.0.1]:34808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFNk5-0005jM-7i for submit@debbugs.gnu.org; Tue, 01 Oct 2019 15:23:25 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFNk2-0005jD-1n for control@debbugs.gnu.org; Tue, 01 Oct 2019 15:23:24 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFNjz-00076l-8k for control@debbugs.gnu.org; Tue, 01 Oct 2019 21:23:21 +0200 Date: Tue, 01 Oct 2019 21:23:19 +0200 Message-Id: <87k19oxobc.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #6432 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: close 6432 27.1 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: 0.0 (/) 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: -1.0 (-) close 6432 27.1 quit From unknown Sun Aug 17 09:09:09 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, 30 Oct 2019 11:24:07 +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