From: A Soare <alinsoar@voila.fr>
Subject: A little bug
Date: Thu, 18 Jan 2007 21:55:12 +0100 (CET) [thread overview]
Message-ID: <31382794.63821169153712222.JavaMail.www@wwinf4206> (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
next reply other threads:[~2007-01-18 20:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-18 20:55 A Soare [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-01-18 19:35 A little bug A Soare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=31382794.63821169153712222.JavaMail.www@wwinf4206 \
--to=alinsoar@voila.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.