From unknown Thu Jun 19 14:00:27 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#22265 <22265@debbugs.gnu.org> To: bug#22265 <22265@debbugs.gnu.org> Subject: Status: 24.5; xscheme minibuffer Reply-To: bug#22265 <22265@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:00:27 +0000 retitle 22265 24.5; xscheme minibuffer reassign 22265 emacs submitter 22265 Federico Beffa severity 22265 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 29 12:24:48 2015 Received: (at submit) by debbugs.gnu.org; 29 Dec 2015 17:24:48 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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== MIME-Version: 1.0 X-Received: by 10.31.141.2 with SMTP id p2mr13942017vkd.37.1451409875838; Tue, 29 Dec 2015 09:24:35 -0800 (PST) Received: by 10.103.102.70 with HTTP; Tue, 29 Dec 2015 09:24:35 -0800 (PST) Date: Tue, 29 Dec 2015 18:24:35 +0100 X-Google-Sender-Auth: WsYdhEu_zEqBiBmqOJ7SgRX5P3I Message-ID: Subject: 24.5; xscheme minibuffer From: Federico Beffa To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit 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.8 (---) 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)) From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 05 19:03:45 2016 Received: (at 22265-done) by debbugs.gnu.org; 6 Jan 2016 00:03:45 +0000 Received: from localhost ([127.0.0.1]:39264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGbZp-0008CV-4r for submit@debbugs.gnu.org; Tue, 05 Jan 2016 19:03:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46421) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGbZn-0008CI-F9 for 22265-done@debbugs.gnu.org; Tue, 05 Jan 2016 19:03:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGbZh-0003Lr-Ma for 22265-done@debbugs.gnu.org; Tue, 05 Jan 2016 19:03:38 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGbZh-0003Ln-Jk for 22265-done@debbugs.gnu.org; Tue, 05 Jan 2016 19:03:37 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aGbZg-0003wg-QT; Tue, 05 Jan 2016 19:03:37 -0500 From: Glenn Morris To: 22265-done@debbugs.gnu.org Subject: Re: bug#22265: 24.5; xscheme minibuffer References: X-Spook: Plame Nationalist PET Rand Corporation fundamentalist X-Ran: P!a1|ffLtrYzj9i0/f8u+{Q$s0Rm7YQ3q^K8XC,g<(@<:lY?QjmCXJB$Tj)InKyooL'/Mr X-Hue: magenta X-Attribution: GM Date: Tue, 05 Jan 2016 19:03:36 -0500 In-Reply-To: (Federico Beffa's message of "Tue, 29 Dec 2015 18:24:35 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22265-done 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: -5.0 (-----) Version: 25.1 Federico Beffa wrote: > I get the correct behavior if I replace '(point-min)' with > '(minibuffer-prompt-end)'. Thanks; applied. > 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? Works for me when compiled. I can only guess PEBKAC. ;) From unknown Thu Jun 19 14:00:27 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, 03 Feb 2016 12:24:04 +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