Re: calendar autoloads

2006-05-12 Thread Glenn Morris
Committed, thanks. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

show-ifdef-block does not work when hide-ifdef-lines is t

2006-05-12 Thread Klaus Zeitler
1. load a C file with an ifdef block 2. turn on hide-ifdef-mode 3. hide-ifdef-block and show-ifdef-block work fine 4. set hide-ifdef-lines to t 5. hide-ifdef-block works, but show-ifdef-block only brings back one line of this block each time it is called In GNU Emacs 22.0.50.12

Sporadic segmentation faults

2006-05-12 Thread Klaus Zeitler
Since yesterday I had 4 crashes. All of them looked alike. Here's a backtrace: #0 0xfeb9feb4 in _libc_kill () from /usr/lib/libc.so.1 #1 0x000e452c in fatal_error_signal (sig=11) at /vol/freeware/cvs/emacs/head/emacs/src/emacs.c:430 #2 signal handler called #3 0x000c0cc8 in handle_one_xevent

Re: Sporadic segmentation faults

2006-05-12 Thread Jan Djärv
Klaus Zeitler skrev: Since yesterday I had 4 crashes. All of them looked alike. Here's a backtrace: #0 0xfeb9feb4 in _libc_kill () from /usr/lib/libc.so.1 #1 0x000e452c in fatal_error_signal (sig=11) at /vol/freeware/cvs/emacs/head/emacs/src/emacs.c:430 #2 signal handler called #3

with-temp-buffer and undo [was: Big desktop undo buffer crashes Emacs]

2006-05-12 Thread Lars Hansen
Lars Hansen wrote: I suggest to use with-temp-buffer (and buffer-disable-undo) Does it ever make sense to save undo information in a temporary buffer? If not, I suggest to disable it in with-temp-buffer. Patch attached. *** subr.el~ 2006-05-12 08:24:10.0 +0200 --- subr.el 2006-05-12

Re: with-temp-buffer and undo [was: Big desktop undo buffer crashes Emacs]

2006-05-12 Thread Eli Zaretskii
Date: Fri, 12 May 2006 12:50:23 +0200 From: Lars Hansen [EMAIL PROTECTED] Cc: emacs-pretest-bug@gnu.org, Luc Teirlinck [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Does it ever make sense to save undo information in a temporary buffer? Why not? The fact that it's

Re: with-temp-buffer and undo [was: Big desktop undo buffer crashes Emacs]

2006-05-12 Thread Andreas Schwab
Lars Hansen [EMAIL PROTECTED] writes: Lars Hansen wrote: I suggest to use with-temp-buffer (and buffer-disable-undo) Does it ever make sense to save undo information in a temporary buffer? If not, I suggest to disable it in with-temp-buffer. Patch attached. *** subr.el~ 2006-05-12

Re: with-temp-buffer and undo [was: Big desktop undo buffer crashes Emacs]

2006-05-12 Thread Lars Hansen
Andreas Schwab wrote: This won't disable undo in the temp buffer, you'd need to move that below with-current-buffer. Oops. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Re: Big desktop undo buffer crashes Emacs

2006-05-12 Thread Stefan Monnier
! (when (consp buffer-undo-list) !(setq buffer-undo-list nil)) ! (let ((buffer-undo-list t)) !(erase-buffer) Why not just (buffer-disable-undo) ?? Because I want to allow people who visit the buffer to undo any changes they deliberately or inadvertently make to it.

Re: with-temp-buffer and undo

2006-05-12 Thread Stefan Monnier
! `(let ((,temp-buffer (generate-new-buffer *temp*)) !(buffer-undo-list t)) Buffer whose name start with a space have their undo disabled by default. I.e. someone thought of that years ago already, Stefan ___

Re: add info about safe-local-variable to describe-variable

2006-05-12 Thread Ken Manheimer
On 5/11/06, Richard Stallman [EMAIL PROTECTED] wrote: But there are also expressions in `allout.el' where no predefined predicate exists (AFAICS): allout-use-mode-specific-leader allout-reindent-bodies allout-layout is it necessary to have a predefined

Re: add info about safe-local-variable to describe-variable

2006-05-12 Thread Reiner Steib
On Fri, May 12 2006, Richard Stallman wrote: Maybe it would be better to shift it down so that it comes _after_ the documentation: No, because the documentation is much longer than the safe-values info. if you put a small thing after a big thing, people tend not no notice the small

Re: add info about safe-local-variable to describe-variable

2006-05-12 Thread Reiner Steib
On Fri, May 12 2006, Ken Manheimer wrote: i've attached a patch (allout-patch.txt), ChangeLog (allout-ChangeLog.txt), and revised NEWS fragment (allout-NEWS.txt) for allout that addresses the stuff we've been discussing, and a few other things. Thanks, I have committed your changes. in the

Re: add info about safe-local-variable to describe-variable

2006-05-12 Thread Ken Manheimer
On 5/12/06, Reiner Steib [EMAIL PROTECTED] wrote: On Fri, May 12 2006, Ken Manheimer wrote: i've attached a patch (allout-patch.txt), ChangeLog (allout-ChangeLog.txt), and revised NEWS fragment (allout-NEWS.txt) for allout that addresses the stuff we've been discussing, and a few other

Re: with-temp-buffer and undo

2006-05-12 Thread Lars Hansen
Stefan Monnier wrote: ! `(let ((,temp-buffer (generate-new-buffer *temp*)) !(buffer-undo-list t)) Buffer whose name start with a space have their undo disabled by default. I.e. someone thought of that years ago already, Cool :-)

Re: with-temp-buffer and undo

2006-05-12 Thread Lars Hansen
Stefan Monnier wrote: ! `(let ((,temp-buffer (generate-new-buffer *temp*)) !(buffer-undo-list t)) Buffer whose name start with a space have their undo disabled by default. I.e. someone thought of that years ago already, Then my previous patch can be simplified. Any

Re: with-temp-buffer and undo

2006-05-12 Thread Bill Wohler
Lars Hansen [EMAIL PROTECTED] wrote: Stefan Monnier wrote: ! `(let ((,temp-buffer (generate-new-buffer *temp*)) !(buffer-undo-list t)) Buffer whose name start with a space have their undo disabled by default. I.e. someone thought of that years ago already,

C-h f fringe-mode shows Not documented

2006-05-12 Thread Drew Adams
emacs -Q C-h f fringe-mode shows only this: fringe-mode is an interactive compiled Lisp function in `fringe.el'. (fringe-mode optional mode) Not documented. Even after calling `fringe-mode' I get the same thing. I must load the source file (.el, not .elc) in order to be able to see the doc

several extra pixels between text and scroll bar

2006-05-12 Thread Drew Adams
emacs -Q M-x fringe-mode none I see, systematically, about 3 or 4 extra pixels (background) just to the left of the scroll bar (which is on the right). No matter how I resize the frame, the rightmost character visible on a display line is never right up against the scroll bar (whereas the

Re: with-temp-buffer and undo [was: Big desktop undo buffer crashes Emacs]

2006-05-12 Thread Richard Stallman
Using with-temp-buffer seems like a good idea. Does it ever make sense to save undo information in a temporary buffer? If not, I suggest to disable it in with-temp-buffer. Undo is always disabled for with-temp-buffer, because it is disabled by default for buffers whose names start with

Re: add info about safe-local-variable to describe-variable

2006-05-12 Thread Richard Stallman
In general, I agree to this. But in this case, IMHO it would make sense to have it below, because without reading the documentation which should explain the meaning of the various allowed values, printing the safe-value information often is not very useful. You can read them in

Re: with-temp-buffer and undo

2006-05-12 Thread Richard Stallman
Then my previous patch can be simplified. Any objections? Your patch looks good to me. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug