Committed, thanks.
___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
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
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
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
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
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
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
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
! (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.
! `(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
___
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
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
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
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
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 :-)
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
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,
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
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
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
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
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
22 matches
Mail list logo