From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Federico Beffa Newsgroups: gmane.emacs.bugs Subject: bug#22265: 24.5; xscheme minibuffer Date: Tue, 29 Dec 2015 18:24:35 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1451409919 10106 80.91.229.3 (29 Dec 2015 17:25:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Dec 2015 17:25:19 +0000 (UTC) To: 22265@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 29 18:25:09 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aDy1E-0001ao-Me for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Dec 2015 18:25:08 +0100 Original-Received: from localhost ([::1]:49485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDy1E-00086C-0X for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Dec 2015 12:25:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDy19-00085u-Lp for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 12:25:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDy18-0008Us-Ci for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 12:25:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDy18-0008Ul-8P for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 12:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aDy18-0001dS-4V for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 12:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Federico Beffa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Dec 2015 17:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22265 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14514098886253 (code B ref -1); Tue, 29 Dec 2015 17:25:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Dec 2015 17:24:48 +0000 Original-Received: from localhost ([127.0.0.1]:48835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDy0t-0001cn-KA for submit@debbugs.gnu.org; Tue, 29 Dec 2015 12:24:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57217) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDy0r-0001cY-UM for submit@debbugs.gnu.org; Tue, 29 Dec 2015 12:24:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDy0l-0008QH-Fu for submit@debbugs.gnu.org; Tue, 29 Dec 2015 12:24:40 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDy0l-0008QD-CO for submit@debbugs.gnu.org; Tue, 29 Dec 2015 12:24:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDy0j-00084p-UI for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 12:24:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDy0i-0008Pi-Jw for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 12:24:37 -0500 Original-Received: from mail-vk0-x229.google.com ([2607:f8b0:400c:c05::229]:35543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDy0i-0008PY-DQ for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 12:24:36 -0500 Original-Received: by mail-vk0-x229.google.com with SMTP id k1so67432326vkb.2 for ; Tue, 29 Dec 2015 09:24:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=0O204d0ktxW1HTV4E7l5EHpZgwdICBR2VHbRo1FU+Y0=; b=YCsRnJMWryTSRDHdCEneU9sRyUE/37U1DarQWXSDvV8jyYa2PDqcvb0lo58lct+8VT DkFJWYzFs21S09Xe0cvfgpKLFgrmDW6m8yncNrOnKsud7yvJk4YEj13pwfEnHwuZe7mI UQ0kYf4Tz8xcgnWpoGdMJzl9gWbGPGt1DnNMgpQ2j1YjyB9BqJGlHQq/T2Kc3nAqf7Gg H+m929XD4ACiD0nm+CxX8fYrq9jAD3RadXEK3bySjCGzAvOzFgGRpppAh9hpRq8mWRkC s2nE03VabVKznHREeQtqDIDglDP6Mef3KdSTTr3G1Gf4DZbVA4MJcW/pVRrWaF1oLj6G fTuQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee-org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=0O204d0ktxW1HTV4E7l5EHpZgwdICBR2VHbRo1FU+Y0=; b=l6KPsq7MV09uYm+/WxS9KotgNjjz8JcL2EnXJTgC+xGkMs7782yXPLBEEyN5KdDxty cT+HNmhK75AfiKmB6flbiwocfk7W30E5m48hpN1dT5Fcig42BR+3sqBJKuMWqvHXcgMO jbjYIPF2YjCKsICLK6OcEWSQUpTkqSJmx3i6d5CrKk/q65a3L/B7LXtTZ/wWc78ZYeD+ iylbIa42Zi5VkqF1Z9DDP6P51TG+nVilI50FdfwcxZ+Yzdcdw4Kq7bhWwGOWJePZpYXR VCxqNG95NKE3Aktnd2t+MRihRktO0gNkBwKlaBChBGXxrBwjihpxTFbXhe9A0ZYgur5q UUdQ== X-Received: by 10.31.141.2 with SMTP id p2mr13942017vkd.37.1451409875838; Tue, 29 Dec 2015 09:24:35 -0800 (PST) Original-Received: by 10.103.102.70 with HTTP; Tue, 29 Dec 2015 09:24:35 -0800 (PST) X-Google-Sender-Auth: WsYdhEu_zEqBiBmqOJ7SgRX5P3I X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110965 Archived-At: Hi, I use mit-scheme 9.2 with the scheme-mode provided by xscheme in Emacs 24.5.1. I've noticed that there is a problem with the minibuffer. Here a trivial example: 1. Load 'xscheme' with "(require 'xscheme)" and run the scheme interpreter with 'run-scheme'. 2. Make a mistake to enter the debugger, say '(+ 1 b)' with 'b' not defined. 3. Tell the debugger you want to define 'b' by entering '(restart 3)'. 4. Now the prompt asks for 'Value to use instead of b:'. The problem is that if you type a number and press enter it doesn't accept the input and asks again. This behavior is controlled by this function: (defun xscheme-prompt-for-expression-exit () (interactive) (if (eq (xscheme-region-expression-p (point-min) (point-max)) 'one) (exit-minibuffer) (error "input must be a single, complete expression"))) I get the correct behavior if I replace '(point-min)' with '(minibuffer-prompt-end)'. However, the behavior is only correct if I load the non-compiled '.el' file. If I byte-compile the file I still get the problem described above. Any advice on what's going wrong? Thanks, Fede In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.2) of 2015-11-27 on localhost Windowing system distributor `The X.Org Foundation', version 11.0.11204000 System Description: Debian GNU/Linux 7.9 (wheezy) Configured using: `configure CONFIG_SHELL=/gnu/store/311nvir0pz1mhf0mgsmfrw00qfj7yq0j-bash-4.3.39/bin/bash SHELL=/gnu/store/311nvir0pz1mhf0mgsmfrw00qfj7yq0j-bash-4.3.39/bin/bash --prefix=/gnu/store/zk1dl3k7gkpnvsvam68bw29agvvs3cvn-emacs-24.5 --enable-fast-install' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: diff-auto-refine-mode: t show-paren-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-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 messages: Mark set scroll-up-command: End of buffer [5 times] Quit No server buffers remain to edit Making completion list... Quit Making completion list... [2 times] Quit delete-backward-char: Text is read-only [2 times] Making completion list... Load-path shadows: None found. Features: (shadow emacsbug sendmail edmacro kmacro scheme-complete cl xscheme loadhist info-look etags advice eldoc tq view scheme compile misearch multi-isearch help-mode jka-compr info diff-mode flow-fill mule-util shr browse-url mm-archive sort smiley gnus-cite mail-extr gnus-async gnus-bcklg qp gnus-ml disp-table nndraft nnmh nndoc nnfolder parse-time netrc gnutls network-stream auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core starttls tls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime password-cache dig mailcap nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range message idna rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader gnus-util mail-utils mm-util help-fns mail-prsvr wid-edit ob-ipython json f s dash-functional dash ob-python ob-scheme ob-haskell ob-lisp org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs guix-init scmutils-autoloads f-autoloads auctex-autoloads tex-site ob-ipython-autoloads dash-autoloads s-autoloads paredit-autoloads haskell-mode-autoloads cl-extra guix-emacs cl-macs gv cl-loaddefs cl-lib guix-profiles guix-config guix-autoloads rx easymenu printing ps-print ps-def lpr paren server time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 327416 16879) (symbols 48 39589 0) (miscs 40 166 601) (strings 32 76896 11578) (string-bytes 1 2429817) (vectors 16 29923) (vector-slots 8 663359 29943) (floats 8 533 759) (intervals 56 14457 145) (buffers 960 22) (heap 1024 54082 12583))