From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Schierl Newsgroups: gmane.emacs.bugs Subject: ses-mode runs unsafe functions even if you say "n" when prompted Date: Thu, 20 Sep 2007 22:43:31 +0200 Message-ID: <46F2DB73.30908@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030000040903050609060709" X-Trace: sea.gmane.org 1190321043 5598 80.91.229.12 (20 Sep 2007 20:44:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Sep 2007 20:44:03 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 20 22:43:58 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IYSsM-0005dl-JO for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Sep 2007 22:43:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYSsK-0001N2-IG for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Sep 2007 16:43:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IYSsI-0001Ms-3D for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2007 16:43:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IYSsF-0001MY-Mc for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2007 16:43:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYSsF-0001MV-H1 for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2007 16:43:47 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IYSsF-0004VF-0h for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2007 16:43:47 -0400 Original-Received: (qmail invoked by alias); 20 Sep 2007 20:43:44 -0000 Original-Received: from p549B8F0F.dip0.t-ipconnect.de (EHLO [192.168.0.201]) [84.155.143.15] by mail.gmx.net (mp031) with SMTP; 20 Sep 2007 22:43:44 +0200 X-Authenticated: #13243522 X-Provags-ID: V01U2FsdGVkX19rD4IUX1lrV+xJpLJT/y3lQVmuhFKyLyz/o3nKZ+ 25+E8bhl47vBRu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.0 X-Enigmail-Version: 0.95.3 OpenPGP: id=58B48CDD X-Y-GMX-Trusted: 0 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16580 Archived-At: This is a multi-part message in MIME format. --------------030000040903050609060709 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Please describe exactly what actions triggered the bug and the precise symptoms of the bug: ---------- - Start Emacs -Q - load the attached bug.ses file - Replace the number 42 by another number - Answer "n" to the message that appears Formula (progn A1 (kill-emacs) 11) might be unsafe (function kill-emacs). Process it? (y or n) - Watch emacs to close anyway Expected result: Emacs should not run the function when you say "n". ---------- In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include' 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: DEU locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: encoded-kbd-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: M-x r e p o r t Recent messages: ("D:\\Progs\\emacs\\bin\\emacs.exe" "-q") Loading encoded-kb...done For information about the GNU Project and its goals, type C-h C-p. [2 times] Loading emacsbug... Loading regexp-opt...done Loading emacsbug...done --------------030000040903050609060709 Content-Type: text/plain; name="bug.ses" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bug.ses" 42 11 (ses-cell A1 42 (progn (kill-emacs) A2 42) nil (A2)) (ses-cell A2 11 (progn A1 (kill-emacs) 11) nil (A1)) (ses-column-widths [7]) (ses-column-printers [nil]) (ses-default-printer "%.7g") (ses-header-row 0) ( ;Global parameters (these are read first) 2 ;SES file-format 2 ;numrows 1 ;numcols ) ;; Local Variables: ;; mode: ses ;; End: --------------030000040903050609060709--