all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [n_schumacher@web.de: modification hooks called only once in c-mode]
@ 2007-07-24 22:17 Richard Stallman
  2007-08-01  9:16 ` Johan Bockgård
  0 siblings, 1 reply; 15+ messages in thread
From: Richard Stallman @ 2007-07-24 22:17 UTC (permalink / raw)
  To: emacs-devel

[I sent this message a week ago but did not get a response.]

Would someone please DTRT, then ack?
If the fix is simple enough, it should be installed in Emacs 22.

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
To: bug-gnu-emacs@gnu.org
From: Nikolaj Schumacher <n_schumacher@web.de>
Date: Mon, 16 Jul 2007 23:13:53 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: modification hooks called only once in c-mode

Hello,


occasionally modification hooks seem to be called only once in c-mode
(and derivatives).

This happens in both released and CVS version of Emacs 22, but not in
Emacs 21.


To reproduce, evaluate the following:

(defun test-bug-hook (overlay afterp beg end &optional r)
  (message "%s hook called" (if afterp "after" "before")))

(defun test-bug ()
  (let ((beg (point))
        ov)
    (insert "foobar")
    (setq ov (make-overlay beg (point)))
    (overlay-put ov 'face 'highlight)
    (overlay-put ov 'insert-in-front-hooks '(test-bug-hook))))


1) Create a new buffer in fundamental-mode, evaluate (test-bug), and
insert a char before the overlay.

Result:
before hook called
after hook called


1) Create a new buffer in c-mode, evaluate (test-bug), and insert a char
before the overlay.

Result:
before hook called


The hook is never called after the change.



In GNU Emacs 22.1.1 (i386-apple-darwin8.10.1, Carbon Version 1.6.0)
 of 2007-07-16 on wednesday
Windowing system distributor `Apple Inc.', version 10.4.10
configured using `configure  '--prefix=/Applications/Emacs.app/Contents/Resources' '--with-carbon' '--without-x' '--libexecdir=/Applications/Emacs.app/Contents/MacOS/libexec' 'CFLAGS=-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DUSE_ATSUI -O2''


regards,
Nikolaj Schumacher


_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [n_schumacher@web.de: modification hooks called only once in c-mode]
@ 2007-08-08  4:55 Richard Stallman
  2007-08-11  0:46 ` Chong Yidong
  0 siblings, 1 reply; 15+ messages in thread
From: Richard Stallman @ 2007-08-08  4:55 UTC (permalink / raw)
  To: emacs-devel

[I sent this message three times but did not get a response.]

Would someone please DTRT, then ack?
If the fix is simple enough, it should be installed in Emacs 22.

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
To: bug-gnu-emacs@gnu.org
From: Nikolaj Schumacher <n_schumacher@web.de>
Date: Mon, 16 Jul 2007 23:13:53 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: modification hooks called only once in c-mode

Hello,


occasionally modification hooks seem to be called only once in c-mode
(and derivatives).

This happens in both released and CVS version of Emacs 22, but not in
Emacs 21.


To reproduce, evaluate the following:

(defun test-bug-hook (overlay afterp beg end &optional r)
  (message "%s hook called" (if afterp "after" "before")))

(defun test-bug ()
  (let ((beg (point))
        ov)
    (insert "foobar")
    (setq ov (make-overlay beg (point)))
    (overlay-put ov 'face 'highlight)
    (overlay-put ov 'insert-in-front-hooks '(test-bug-hook))))


1) Create a new buffer in fundamental-mode, evaluate (test-bug), and
insert a char before the overlay.

Result:
before hook called
after hook called


1) Create a new buffer in c-mode, evaluate (test-bug), and insert a char
before the overlay.

Result:
before hook called


The hook is never called after the change.



In GNU Emacs 22.1.1 (i386-apple-darwin8.10.1, Carbon Version 1.6.0)
 of 2007-07-16 on wednesday
Windowing system distributor `Apple Inc.', version 10.4.10
configured using `configure  '--prefix=/Applications/Emacs.app/Contents/Resources' '--with-carbon' '--without-x' '--libexecdir=/Applications/Emacs.app/Contents/MacOS/libexec' 'CFLAGS=-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DUSE_ATSUI -O2''


regards,
Nikolaj Schumacher


_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [n_schumacher@web.de: modification hooks called only once in c-mode]
@ 2007-07-31 20:22 Richard Stallman
  0 siblings, 0 replies; 15+ messages in thread
From: Richard Stallman @ 2007-07-31 20:22 UTC (permalink / raw)
  To: emacs-devel

[I sent this message twice but did not get a response.]

Would someone please DTRT, then ack?
If the fix is simple enough, it should be installed in Emacs 22.

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
To: bug-gnu-emacs@gnu.org
From: Nikolaj Schumacher <n_schumacher@web.de>
Date: Mon, 16 Jul 2007 23:13:53 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: modification hooks called only once in c-mode

Hello,


occasionally modification hooks seem to be called only once in c-mode
(and derivatives).

This happens in both released and CVS version of Emacs 22, but not in
Emacs 21.


To reproduce, evaluate the following:

(defun test-bug-hook (overlay afterp beg end &optional r)
  (message "%s hook called" (if afterp "after" "before")))

(defun test-bug ()
  (let ((beg (point))
        ov)
    (insert "foobar")
    (setq ov (make-overlay beg (point)))
    (overlay-put ov 'face 'highlight)
    (overlay-put ov 'insert-in-front-hooks '(test-bug-hook))))


1) Create a new buffer in fundamental-mode, evaluate (test-bug), and
insert a char before the overlay.

Result:
before hook called
after hook called


1) Create a new buffer in c-mode, evaluate (test-bug), and insert a char
before the overlay.

Result:
before hook called


The hook is never called after the change.



In GNU Emacs 22.1.1 (i386-apple-darwin8.10.1, Carbon Version 1.6.0)
 of 2007-07-16 on wednesday
Windowing system distributor `Apple Inc.', version 10.4.10
configured using `configure  '--prefix=/Applications/Emacs.app/Contents/Resources' '--with-carbon' '--without-x' '--libexecdir=/Applications/Emacs.app/Contents/MacOS/libexec' 'CFLAGS=-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DUSE_ATSUI -O2''


regards,
Nikolaj Schumacher


_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [n_schumacher@web.de: modification hooks called only once in c-mode]
@ 2007-07-17 15:06 Richard Stallman
  0 siblings, 0 replies; 15+ messages in thread
From: Richard Stallman @ 2007-07-17 15:06 UTC (permalink / raw)
  To: emacs-devel

Would someone please DTRT, then ack?
If the fix is simple enough, it should be installed in Emacs 22.

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
To: bug-gnu-emacs@gnu.org
From: Nikolaj Schumacher <n_schumacher@web.de>
Date: Mon, 16 Jul 2007 23:13:53 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: modification hooks called only once in c-mode

Hello,


occasionally modification hooks seem to be called only once in c-mode
(and derivatives).

This happens in both released and CVS version of Emacs 22, but not in
Emacs 21.


To reproduce, evaluate the following:

(defun test-bug-hook (overlay afterp beg end &optional r)
  (message "%s hook called" (if afterp "after" "before")))

(defun test-bug ()
  (let ((beg (point))
        ov)
    (insert "foobar")
    (setq ov (make-overlay beg (point)))
    (overlay-put ov 'face 'highlight)
    (overlay-put ov 'insert-in-front-hooks '(test-bug-hook))))


1) Create a new buffer in fundamental-mode, evaluate (test-bug), and
insert a char before the overlay.

Result:
before hook called
after hook called


1) Create a new buffer in c-mode, evaluate (test-bug), and insert a char
before the overlay.

Result:
before hook called


The hook is never called after the change.



In GNU Emacs 22.1.1 (i386-apple-darwin8.10.1, Carbon Version 1.6.0)
 of 2007-07-16 on wednesday
Windowing system distributor `Apple Inc.', version 10.4.10
configured using `configure  '--prefix=/Applications/Emacs.app/Contents/Resources' '--with-carbon' '--without-x' '--libexecdir=/Applications/Emacs.app/Contents/MacOS/libexec' 'CFLAGS=-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DUSE_ATSUI -O2''


regards,
Nikolaj Schumacher


_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-08-16 20:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-24 22:17 [n_schumacher@web.de: modification hooks called only once in c-mode] Richard Stallman
2007-08-01  9:16 ` Johan Bockgård
2007-08-02 15:45   ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2007-08-08  4:55 Richard Stallman
2007-08-11  0:46 ` Chong Yidong
2007-08-12  4:14   ` Richard Stallman
2007-08-12  5:50   ` Stefan Monnier
2007-08-13  0:52     ` Richard Stallman
2007-08-13  4:10       ` Stefan Monnier
2007-08-13  5:59         ` David Kastrup
2007-08-16 20:46           ` Stefan Monnier
2007-08-13  9:40         ` martin rudalics
2007-08-13 14:01           ` Stefan Monnier
2007-07-31 20:22 Richard Stallman
2007-07-17 15:06 Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.