From unknown Tue Jun 17 01:43:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16342: 24.3.50; RET during search inserts newline in PostScript mode Resent-From: Markus Triska Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2014 21:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16342 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 16342@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.138886983517558 (code B ref -1); Sat, 04 Jan 2014 21:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jan 2014 21:10:35 +0000 Received: from localhost ([127.0.0.1]:34460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzYUM-0004Z7-69 for submit@debbugs.gnu.org; Sat, 04 Jan 2014 16:10:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60325) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzYUK-0004Yy-GB for submit@debbugs.gnu.org; Sat, 04 Jan 2014 16:10:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzYUD-00024q-HS for submit@debbugs.gnu.org; Sat, 04 Jan 2014 16:10:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzYUD-00024Y-AP for submit@debbugs.gnu.org; Sat, 04 Jan 2014 16:10:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzYU6-0000Re-TX for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 16:10:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzYU1-00021b-5D for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 16:10:18 -0500 Received: from mout.gmx.net ([212.227.15.19]:62034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzYU0-00021X-Si for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 16:10:13 -0500 Received: from mt-imac.local ([178.115.132.35]) by mail.gmx.com (mrgmx102) with ESMTPA (Nemesis) id 0Lpgew-1VWX7X2zVm-00fPb1 for ; Sat, 04 Jan 2014 22:10:11 +0100 Received: by mt-imac.local (Postfix, from userid 501) id B4B30EBAF2A; Sat, 4 Jan 2014 22:09:47 +0100 (CET) From: Markus Triska Date: Sat, 04 Jan 2014 22:09:47 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:7BoxXq+CwvEpMzI39ZTxx9moBTqmvYNFtfi92xUEPOg3atBrq+q 2tcKD7ye8t77Xy33olT7/GAkIgFKHTEio+lLAO/8ztG22YND2S3vD9SiOWDylCdxthMNaYO 1tiOuZlEHja4Hn6AV5k5Qy8xXeZkylchapN2XHPwWTMbK1VeeMJVk0PczObWJWjijxukNDP rQKsW1QRMj5KTuaF5gE+g== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) 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: -4.1 (----) With "test.ps" which only contains the string "test", when I do: $ emacs -Q test.ps and then search for 'e' with: C-s e and then press RET to stop the search, it unexpectedly inserts a newline. This does not happen for example in fundamental-mode. In GNU Emacs 24.3.50.1 (x86_64-apple-darwin10.8.0, X toolkit, Xaw scroll bars) of 2014-01-04 on mt-imac.local Windowing system distributor `The X.Org Foundation', version 11.0.10402000 Configured using: `configure --with-xpm=no --with-tiff=no --with-jpeg=no --with-png=no CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix From unknown Tue Jun 17 01:43:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16342: 24.3.50; RET during search inserts newline in PostScript mode Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jan 2014 09:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16342 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Markus Triska Cc: 16342@debbugs.gnu.org Received: via spool by 16342-submit@debbugs.gnu.org id=B16342.138900167824194 (code B ref 16342); Mon, 06 Jan 2014 09:48:01 +0000 Received: (at 16342) by debbugs.gnu.org; 6 Jan 2014 09:47:58 +0000 Received: from localhost ([127.0.0.1]:37807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W06mr-0006I9-Ld for submit@debbugs.gnu.org; Mon, 06 Jan 2014 04:47:57 -0500 Received: from [69.163.184.122] (port=36238 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W06mo-0006Ht-GF for 16342@debbugs.gnu.org; Mon, 06 Jan 2014 04:47:55 -0500 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.184.122]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 4A4FC301419D20; Mon, 6 Jan 2014 01:47:52 -0800 (PST) From: Juri Linkov Organization: JURTA References: Date: Mon, 06 Jan 2014 11:38:14 +0200 In-Reply-To: (Markus Triska's message of "Sat, 04 Jan 2014 22:09:47 +0100") Message-ID: <87sit1cuwn.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > With "test.ps" which only contains the string "test", when I do: > > $ emacs -Q test.ps > > and then search for 'e' with: > > C-s e > > and then press RET to stop the search, it unexpectedly inserts a > newline. This does not happen for example in fundamental-mode. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 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: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > With "test.ps" which only contains the string "test", when I do: > > $ emacs -Q test.ps > > and then search for 'e' with: > > C-s e > > and then press RET to stop the search, it unexpectedly inserts a > newline. This does not happen for example in fundamental-mode. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS > With "test.ps" which only contains the string "test", when I do: > > $ emacs -Q test.ps > > and then search for 'e' with: > > C-s e > > and then press RET to stop the search, it unexpectedly inserts a > newline. This does not happen for example in fundamental-mode. This is because ps-mode.el binds [return] in addition to "\r": (define-key ps-mode-map "\r" 'ps-mode-newline) (define-key ps-mode-map [return] 'ps-mode-newline) whereas isearch.el binds only "\r": (define-key isearch-mode-map "\r" 'isearch-exit) We could remove the [return] keybinding from ps-mode.el, but there are many other places that bind [return] and [backspace] in the Emacs source tree, external packages as well as in countless user init files, so maybe better would be to add [return] and [backspace] keybindings to isearch-mode-map in isearch.el. From unknown Tue Jun 17 01:43:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16342: 24.3.50; RET during search inserts newline in PostScript mode Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jan 2014 15:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16342 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 16342@debbugs.gnu.org, Markus Triska Received: via spool by 16342-submit@debbugs.gnu.org id=B16342.13890218594020 (code B ref 16342); Mon, 06 Jan 2014 15:25:02 +0000 Received: (at 16342) by debbugs.gnu.org; 6 Jan 2014 15:24:19 +0000 Received: from localhost ([127.0.0.1]:38688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0C2M-00012k-Q7 for submit@debbugs.gnu.org; Mon, 06 Jan 2014 10:24:19 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:11228) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0C2L-00012c-8i for 16342@debbugs.gnu.org; Mon, 06 Jan 2014 10:24:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFFxKG9/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IPAS-Result: Av8EABK/CFFFxKG9/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="44222683" Received: from 69-196-161-189.dsl.teksavvy.com (HELO pastel.home) ([69.196.161.189]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 Jan 2014 10:24:16 -0500 Received: by pastel.home (Postfix, from userid 20848) id 4D36662F43; Mon, 6 Jan 2014 10:24:16 -0500 (EST) From: Stefan Monnier Message-ID: References: <87sit1cuwn.fsf@mail.jurta.org> Date: Mon, 06 Jan 2014 10:24:16 -0500 In-Reply-To: <87sit1cuwn.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 06 Jan 2014 11:38:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) 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.3 (/) > countless user init files, so maybe better would be to add [return] > and [backspace] keybindings to isearch-mode-map in isearch.el. Agreed. Tho we should *also* remove the `return' binding in ps-mode.el. Stefan From unknown Tue Jun 17 01:43:00 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Markus Triska Subject: bug#16342: closed (Re: bug#16342: 24.3.50; RET during search inserts newline in PostScript mode) Message-ID: References: <877gacxlzo.fsf@mail.jurta.org> X-Gnu-PR-Message: they-closed 16342 X-Gnu-PR-Package: emacs Reply-To: 16342@debbugs.gnu.org Date: Tue, 07 Jan 2014 07:59:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1389081543-745-1" This is a multi-part message in MIME format... ------------=_1389081543-745-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #16342: 24.3.50; RET during search inserts newline in PostScript mode which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 16342@debbugs.gnu.org. --=20 16342: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D16342 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1389081543-745-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 16342-done) by debbugs.gnu.org; 7 Jan 2014 07:58:09 +0000 Received: from localhost ([127.0.0.1]:40102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0RY8-0000AS-9F for submit@debbugs.gnu.org; Tue, 07 Jan 2014 02:58:08 -0500 Received: from [69.163.184.122] (port=38059 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0RY3-0000A8-Gh for 16342-done@debbugs.gnu.org; Tue, 07 Jan 2014 02:58:04 -0500 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.184.122]) by ps18281.dreamhostps.com (Postfix) with ESMTP id BD6D3301C9BF00; Mon, 6 Jan 2014 23:58:00 -0800 (PST) From: Juri Linkov To: Stefan Monnier Subject: Re: bug#16342: 24.3.50; RET during search inserts newline in PostScript mode Organization: JURTA References: <87sit1cuwn.fsf@mail.jurta.org> Date: Tue, 07 Jan 2014 09:57:31 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 06 Jan 2014 10:24:16 -0500") Message-ID: <877gacxlzo.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >> countless user init files, so maybe better would be to add [return] >> and [backspace] keybindings to isearch-mode-map in isearch.el. > > Agreed. Tho we should *also* remove the `return' binding in ps-mode.el. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 16342-done Cc: Markus Triska , 16342-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: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >> countless user init files, so maybe better would be to add [return] >> and [backspace] keybindings to isearch-mode-map in isearch.el. > > Agreed. Tho we should *also* remove the `return' binding in ps-mode.el. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS >> countless user init files, so maybe better would be to add [return] >> and [backspace] keybindings to isearch-mode-map in isearch.el. > > Agreed. Tho we should *also* remove the `return' binding in ps-mode.el. The revno 115903 fixes this in both isearch.el and ps-mode.el. ------------=_1389081543-745-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Jan 2014 21:10:35 +0000 Received: from localhost ([127.0.0.1]:34460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzYUM-0004Z7-69 for submit@debbugs.gnu.org; Sat, 04 Jan 2014 16:10:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60325) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzYUK-0004Yy-GB for submit@debbugs.gnu.org; Sat, 04 Jan 2014 16:10:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzYUD-00024q-HS for submit@debbugs.gnu.org; Sat, 04 Jan 2014 16:10:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzYUD-00024Y-AP for submit@debbugs.gnu.org; Sat, 04 Jan 2014 16:10:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzYU6-0000Re-TX for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 16:10:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzYU1-00021b-5D for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 16:10:18 -0500 Received: from mout.gmx.net ([212.227.15.19]:62034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzYU0-00021X-Si for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 16:10:13 -0500 Received: from mt-imac.local ([178.115.132.35]) by mail.gmx.com (mrgmx102) with ESMTPA (Nemesis) id 0Lpgew-1VWX7X2zVm-00fPb1 for ; Sat, 04 Jan 2014 22:10:11 +0100 Received: by mt-imac.local (Postfix, from userid 501) id B4B30EBAF2A; Sat, 4 Jan 2014 22:09:47 +0100 (CET) From: Markus Triska To: bug-gnu-emacs@gnu.org Subject: 24.3.50; RET during search inserts newline in PostScript mode Date: Sat, 04 Jan 2014 22:09:47 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:7BoxXq+CwvEpMzI39ZTxx9moBTqmvYNFtfi92xUEPOg3atBrq+q 2tcKD7ye8t77Xy33olT7/GAkIgFKHTEio+lLAO/8ztG22YND2S3vD9SiOWDylCdxthMNaYO 1tiOuZlEHja4Hn6AV5k5Qy8xXeZkylchapN2XHPwWTMbK1VeeMJVk0PczObWJWjijxukNDP rQKsW1QRMj5KTuaF5gE+g== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit 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: -4.1 (----) With "test.ps" which only contains the string "test", when I do: $ emacs -Q test.ps and then search for 'e' with: C-s e and then press RET to stop the search, it unexpectedly inserts a newline. This does not happen for example in fundamental-mode. In GNU Emacs 24.3.50.1 (x86_64-apple-darwin10.8.0, X toolkit, Xaw scroll bars) of 2014-01-04 on mt-imac.local Windowing system distributor `The X.Org Foundation', version 11.0.10402000 Configured using: `configure --with-xpm=no --with-tiff=no --with-jpeg=no --with-png=no CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix ------------=_1389081543-745-1--