Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Oct 2011 04:34:05 +0000
From:      Nali Toja <nalitoja@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161220: [patch] editors/emacs-devel: debug-on-quit doesn't interrupt loops
Message-ID:  <861uuwj9ky.fsf@gmail.com>
Resent-Message-ID: <201110020440.p924e8Y7073569@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161220
>Category:       ports
>Synopsis:       [patch] editors/emacs-devel: debug-on-quit doesn't interrupt loops
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 02 04:40:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     h h
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
WITHOUT_X11=defined
under xterm/tmux session
>Description:
>How-To-Repeat:
1. launch as `emacs -Q'
2. M-x toggle-debug-on-quit
3. eval a basic loop, e.g. `(while t)'
4. hit C-g aka `keyboard-quit'

it should hang and never show a backtrace
>Fix:
copied from src/s/darwin.h and src/s/gnu-kfreebsd.h

--- use_sigio.diff begins here ---
=== modified file 'src/s/freebsd.h'
--- src/s/freebsd.h	2011-02-16 01:35:20 +0000
+++ src/s/freebsd.h	2011-10-02 03:40:15 +0000
@@ -61,3 +61,5 @@
 
 /* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack.  */
 #define GC_MARK_STACK 	GC_MAKE_GCPROS_NOOPS
+
+#define INTERRUPT_INPUT
--- use_sigio.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861uuwj9ky.fsf>