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

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

Re: uncomment-region bug


From: Kevin Rodgers
Subject: Re: uncomment-region bug
Date: Mon, 14 Nov 2005 09:16:08 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

kraemer wrote:
> to reproduce:
>
>  -  open emacs
>  -  emacs-lisp-mode
>  -  end-of-buffer
>  -  type ";; abcde"
>  -  set-mark-command
>  -  beginning-of-line
>  -  uncomment-region
>
>
> I've only seen the effect when uncommenting a region that is at the very
> end of the buffer.

Yes, if there's a newline after "abcde" it works fine.

> - In "GNU Emacs 21.2.1 (powerpc-apple-darwin8.0) of 2005-05-11 on
> nic.mit.edu":
>     "Can't find the comment end."

The bug is that the call to (forward-comment 1) in comment-forward moves
point to the end of the comment but returns nil instead of t.

> - In "GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.2.0)of 2005-10-09 on
> quartet.local"
>     strange behavior -- the line that is left is just "abc" -- the "de"
> is gone!

--
Kevin





reply via email to

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