bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8628: 24.0.50; `thing-at-point-bounds-of-list-at-point' - no good


From: Drew Adams
Subject: bug#8628: 24.0.50; `thing-at-point-bounds-of-list-at-point' - no good
Date: Thu, 5 May 2011 17:29:52 -0700

emacs -Q
 
In buffer scratch, type this text just after the initial comment:
 
(set-buffer-modified-p nil)
 
;;---------------
 
;;;;;;; fffff
 
;;;;;;; ggggg
;;;;;;; hhhhh
 

Put point just after the list `(set-buffer-modified-p nil)'.
M-: (thing-at-point-bounds-of-list-at-point)
 
The result is (218 . 282), which contains all of tthe text _after_ the
list, up to eob.
 
Put point at eob and do it again:
M-: (thing-at-point-bounds-of-list-at-point)
 
The result is (282 . 282).
 
The result in both cases should be nil - there is *NO* list at point.
 
 
 
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-04-25 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/imagesupport/include'
 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]