all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* A little bug
@ 2007-01-18 20:55 A Soare
  0 siblings, 0 replies; 2+ messages in thread
From: A Soare @ 2007-01-18 20:55 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 906 bytes --]

I send another version of the litthe buf I have just reported.

1. insert into a buffer a long result of the evaluation of an expression like (make-vector 100 nil).

2. expand the expression using the mouse or by pressing the RETURN key on the left or right parenthesis.

3. after expanding and collapsing the expression the cursor is not at the point where it should be.


I attached here a change log file and the output from 

 cvs -d:pserver:anonymous@cvs.gnu.org:/sources/emacs diff emacs/lisp/emacs-lisp/lisp-mode.el


After expanding the text, I left the cursor over the right parenthesis if it was there, and I moved it over the right parenthesis in the rest.

Maybe I should have had to left it on the same position whether it were upper the beginning of the text to be expanded


GNU Emacs 22.0.91.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2006-12-04 on alin


Regards,

Alin Soare


[-- Attachment #2: /root/emacs.bug.change-log --]
[-- Type: application/octet-stream, Size: 181 bytes --]

2007-01-19  Alin C. Soare  <alinsoar@voila.fr>  (tiny change)

	* lisp/emacs-lisp/lisp-mode.el: (last-sexp-toggle-display):
	Fixed cursor position when toggle abbreviated display.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: /root/emacs.bug.diff --]
[-- Type: text/x-patch; name="/root/emacs.bug.diff", Size: 346 bytes --]

===================================================================
RCS file: /sources/emacs/emacs/lisp/emacs-lisp/lisp-mode.el,v
retrieving revision 1.194
diff -r1.194 lisp-mode.el
493c493,494
< 	  (last-sexp-setup-props beg (point)
---
>           (when (/= beg point) (set 'point (1- (point))))
>           (last-sexp-setup-props beg (point)


[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread
* A little bug
@ 2007-01-18 19:35 A Soare
  0 siblings, 0 replies; 2+ messages in thread
From: A Soare @ 2007-01-18 19:35 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

Hello. Here is a very little bug:

1. insert into a buffer a long result of the evaluation of an expression like (make-vector 100 nil).

2. expand the expression using the mouse or by pressing the RETURN key on the left or right parenthesis.

3. after expanding and collapsing the expression the cursor is not at the point where it should be.


I attached here a change log file and the output from 

 cvs -d:pserver:anonymous@cvs.gnu.org:/sources/emacs diff emacs/lisp/emacs-lisp/lisp-mode.el



GNU Emacs 22.0.91.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2006-12-04 on alin


Regards,

Alin Soare


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: /root/emacs.bug.diff --]
[-- Type: text/x-patch; name="/root/emacs.bug.diff", Size: 450 bytes --]

Index: emacs/lisp/emacs-lisp/lisp-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/emacs-lisp/lisp-mode.el,v
retrieving revision 1.194
diff -r1.194 lisp-mode.el
493c493,496
<         (last-sexp-setup-props beg (point)
---
>           (set 'point (if (= beg point)
>                           point
>                         (1- (point))))
>           (last-sexp-setup-props beg (point)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: /root/emacs.bug.log --]
[-- Type: text/x-log; name="/root/emacs.bug.log", Size: 157 bytes --]

2007-01-19  Alin C. Soare  <alinsoar@voila.fr>  (tiny change)

   * lisp/emacs-lisp/lisp-mode.el: Fixed cursor position when
   toggle abbreviated display.


[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

end of thread, other threads:[~2007-01-18 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-18 20:55 A little bug A Soare
  -- strict thread matches above, loose matches on Subject: below --
2007-01-18 19:35 A Soare

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.