From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: David PONCE <david.ponce@wanadoo.fr>
Newsgroups: gmane.emacs.devel
Subject: Re: recentf bug
Date: Mon, 19 Sep 2005 09:34:19 +0200 (CEST)
Message-ID: <5830568.1127115259334.JavaMail.www@wwinf1520>
Reply-To: david.ponce@wanadoo.fr
NNTP-Posting-Host: main.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: sea.gmane.org 1127115861 24629 80.91.229.2 (19 Sep 2005 07:44:21 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Mon, 19 Sep 2005 07:44:21 +0000 (UTC)
Cc: david.reitter@gmail.com, emacs-devel@gnu.org
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 19 09:44:11 2005
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Original-Received: from lists.gnu.org ([199.232.76.165])
	by ciao.gmane.org with esmtp (Exim 4.43)
	id 1EHGJc-0003q9-Ro
	for ged-emacs-devel@m.gmane.org; Mon, 19 Sep 2005 09:43:53 +0200
Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1EHGJc-0007Qq-BK
	for ged-emacs-devel@m.gmane.org; Mon, 19 Sep 2005 03:43:52 -0400
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1EHGAx-000574-N0
	for emacs-devel@gnu.org; Mon, 19 Sep 2005 03:34:56 -0400
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1EHGAt-00055f-Qw
	for emacs-devel@gnu.org; Mon, 19 Sep 2005 03:34:52 -0400
Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1EHGAs-00053t-7t
	for emacs-devel@gnu.org; Mon, 19 Sep 2005 03:34:50 -0400
Original-Received: from [193.252.23.84] (helo=smtp15.wanadoo.fr)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1EHGAP-00071G-93
	for emacs-devel@gnu.org; Mon, 19 Sep 2005 03:34:21 -0400
Original-Received: from me-wanadoo.net (localhost [127.0.0.1])
	by mwinf1504.wanadoo.fr (SMTP Server) with ESMTP id 586C0700008D
	for <emacs-devel@gnu.org>; Mon, 19 Sep 2005 09:34:19 +0200 (CEST)
Original-Received: from wwinf1520 (wwinf1520 [172.22.146.44])
	by mwinf1504.wanadoo.fr (SMTP Server) with ESMTP id 53DDB7000085;
	Mon, 19 Sep 2005 09:34:19 +0200 (CEST)
X-ME-UUID: 20050919073419343.53DDB7000085@mwinf1504.wanadoo.fr
Original-To: rms@gnu.org
X-Originating-IP: [205.167.7.18]
X-Wum-Nature: EMAIL-NATURE
X-WUM-FROM: |~|
X-WUM-TO: |~|
X-WUM-CC: |~||~|
X-WUM-REPLYTO: |~|
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.devel:43067
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/43067>

Hi Richard,

> [I sent this message two weeks ago but did not get a response.]

Sorry I forgot to reply.

>=20
> Can you fix this bug?

I did some investigation on this bug but was not able to reproduce it
on my version of Emacs:

In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.4.14)
 of 2005-09-18 on localhost
X server distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--with-gtk''

Here is what I did:

emacs -Q

M-x recentf-mode
I opened emacs/lisp/recentf.el
I highlighted a region by dragging the mouse-1.
M-: (list (region-beginning) (region-end)) =3D=3D> (1 57)
M-x recentf-open-files
q (to quit the dialog)
The region is no more highlighted but
M-: (list (region-beginning) (region-end)) =3D=3D> (1 57)

I observe a similar behavior with C-x C-b.  As soon as the buffer list
is popped up the region is no more highlighted but
M-: (list (region-beginning) (region-end)) =3D=3D> (1 57)

So I have no idea how to fix that.  Do other people observe the that
behavior?

Sincerely,
David

> Preconditions: recentf-mode is active and a region is selected
>=20
> Action: M-x recentf-open-files
>      q  (to quit the buffer)
>=20
>=20
> --> the region gets deselected.
>=20
>=20
> (C-x C-b to show the buffer list works fine when quitting the buffer. =20
> Nevertheless, this might represent a class of bugs...)
>=20
>=20
>=20
>=20
> In GNU Emacs 22.0.50.1 (powerpc-apple-darwin7.9.0)
> of 2005-08-28 on lucy
> X server distributor `Apple Computers', version 10.4.2
> configured using `configure '--without-x' '--prefix=3D/usr/local''
>=20
> Important settings:
>    value of $LC_ALL: nil
>    value of $LC_COLLATE: nil
>    value of $LC_CTYPE: nil
>    value of $LC_MESSAGES: nil
>    value of $LC_MONETARY: nil
>    value of $LC_NUMERIC: nil
>    value of $LC_TIME: nil
>    value of $LANG: nil
>    locale-coding-system: iso-latin-1
>    default-enable-multibyte-characters: t
>=20
> Major mode: Lisp Interaction
>=20
> Minor modes in effect:
>    recentf-mode: t
>    mouse-wheel-mode: t
>    encoded-kbd-mode: t
>    tool-bar-mode: t
>    tooltip-mode: t
>    auto-compression-mode: t
>    menu-bar-mode: t
>    unify-8859-on-encoding-mode: t
>    utf-translate-cjk-mode: t
>    line-number-mode: t
>=20
> Recent input:
> SPC ' r e c e n t f ) <return> <down-mouse-1> <mouse-movement>
> <mouse-movement> <drag-mouse-1> =C3=85 <down-mouse-1> <mouse-movement>
> <mouse-movement> <drag-mouse-1> <escape> x r e c e
> n t f - o p e n - f i l e s <return> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <escape> x r e
> c e n t - <backspace> f - m o d e <return> <help-echo>
> <help-echo> <down-mouse-1> <mouse-movement> <mouse-movement>
> <drag-mouse-1> <escape> x r e c e n m t <backspace>
> <backspace> t f - o p t <tab> <backspace> e <tab> f
> i <tab> <return> q <help-echo> <help-echo> <menu-bar>
> <help-menu> <report-emacs-bug>
>=20
> Recent messages:
> Cleaning up the recentf list...
> File /Applications/Emacs.app/Contents/Resources/site-lisp/macosx/=20
> osxkeys.el removed from the recentf list
> File /Applications/Emacs.app/Contents/Resources/site-lisp/macosx/=20
> osx_defaults.el removed from the recentf list
> File /Applications/Emacs.app/Contents/Resources/site-lisp/macosx/=20
> aquamacs-frame-setup.el removed from the recentf list
> File /Applications/Emacs.app/Contents/Resources/lisp/subr.el removed =20
> from the recentf list
> Cleaning up the recentf list...done (4 removed)
> Recentf mode enabled
> Open /Users/dr/Temp/slime.el
> Dialog canceled
> Loading emacsbug...done