ports/161220: [patch] editors/emacs-devel: debug-on-quit doesn't interrupt loops

Nali Toja nalitoja at gmail.com
Sun Oct 2 04:40:10 UTC 2011


>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:



More information about the freebsd-ports-bugs mailing list