Questions tagged [signals]

2 questions
10
votes
1 answer

How does emacs respond to Unix signals?

I'd like to know how GNU Emacs responds, by defaults, to such signals as HUP and USR1. Is this behavior documented in any manual? If so, where? If not, is there a place I could look in the source code?
Norman Ramsey
  • 1,113
  • 6
  • 13
1
vote
0 answers

On installing a handler for SIGUSR1

The documentation quoted in this answer mentions two different way of installing a handler for a SIGUSR1 signal, namely: (define-key special-event-map [sigusr1] 'sigusr1-handler) and (global-set-key [signal usr1] 'sigusr1-handler) (I changed the…
kjo
  • 3,145
  • 14
  • 42