diff options
| author | Richard M. Stallman | 2007-03-26 03:28:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-03-26 03:28:55 +0000 |
| commit | a2ebb43f91f82bc25cbcd0a8b7136c9227ca159b (patch) | |
| tree | 33051561fec5a9aa0aed02d2553d4b7b10d58666 | |
| parent | 8f0e1e444f4102b9593dae0a6035f53f61f49c2f (diff) | |
| download | emacs-a2ebb43f91f82bc25cbcd0a8b7136c9227ca159b.tar.gz emacs-a2ebb43f91f82bc25cbcd0a8b7136c9227ca159b.zip | |
Explain reason for X protocol error recommendations.
| -rw-r--r-- | etc/DEBUG | 13 |
1 files changed, 9 insertions, 4 deletions
| @@ -306,10 +306,15 @@ debugger, type "gdb temacs", then start it with `r -batch -l loadup'. | |||
| 306 | 306 | ||
| 307 | ** If you encounter X protocol errors | 307 | ** If you encounter X protocol errors |
| 308 | 308 | ||
| 309 | Try evaluating (x-synchronize t). That puts Emacs into synchronous | 309 | The X server normally reports protocol errors asynchronously, |
| 310 | mode, where each Xlib call checks for errors before it returns. This | 310 | so you find out about them long after the primitive which caused |
| 311 | mode is much slower, but when you get an error, you will see exactly | 311 | the error has returned. |
| 312 | which call really caused the error. | 312 | |
| 313 | To get clear information about the cause of an error, try evaluating | ||
| 314 | (x-synchronize t). That puts Emacs into synchronous mode, where each | ||
| 315 | Xlib call checks for errors before it returns. This mode is much | ||
| 316 | slower, but when you get an error, you will see exactly which call | ||
| 317 | really caused the error. | ||
| 313 | 318 | ||
| 314 | You can start Emacs in a synchronous mode by invoking it with the -xrm | 319 | You can start Emacs in a synchronous mode by invoking it with the -xrm |
| 315 | option, like this: | 320 | option, like this: |