unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [matzikratzi@gmail.com: Strange behaviour of drag-n-drop and find-file at the same time]
@ 2007-03-19  5:15 Richard Stallman
  2007-03-19  7:05 ` Jan Djärv
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2007-03-19  5:15 UTC (permalink / raw)
  To: emacs-devel

Would someone please DTRT and ack?

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=KAXwEO+vRUUcXWdUg9gXEB6UTZX1ISnIs7sqAAugMH5P/N0bzaCN+vOPFGHBht8s4mM3LI2HMkDRVCW8INLGKrs1PeGAmHdmPwoTt0qMRyjKWhKRj3TO0umX2+FZbfy/NVRiZ9D/5cbi4FR0J2HM9HOUjuTYVr1yB50ZtN7LwcM=
Date: Sun, 11 Mar 2007 08:12:04 +0100
From: "Matzi Kratzi" <matzikratzi@gmail.com>
To: emacs-pretest-bug@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Disposition: inline
Subject: Strange behaviour of drag-n-drop and find-file at the same time

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Hi, I think this has been around for a very long time, but this seems
like a good time to report it.

If you start with C-x C-f, but then instead drag-n-drop a file to
emacs instead of specifying it and pressing RET you end up with the
file shown in the window you dragged it to. So long all seems ok.

The annoying thing is that find-file is still there in the mini-buffer,
and if you C-x o yourself to the mini-buffer and use C-g to quit
find-file, emacs will no longer show the dragged-n-dropped buffer, but
instead whatever it was showing before. switch-to-buffer easily takes
you to the disappeared buffer, but most people probably thinks this
is strange.

Thank you for your work.

/Mats

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/download/emacs-cvs/070308/etc/DEBUG for instructions.


In GNU Emacs 22.0.95.1 (i386-mingw-nt5.0.2195)
 of 2007-03-08 on E001560B82878
X server distributor `Microsoft Corp.', version 5.0.2195
configured using `configure --with-gcc (3.4)'

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: SVE
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
C-x C-f <drag-n-drop> C-x o C-g C-x b <return> M-x
r e p o r t <tab> <return>

Recent messages:
(C:\download\emacs-cvs\070308\bin\emacs.exe -q)
Loading encoded-kb...done
For information about the GNU Project and its goals, type C-h C-p. [2 times]
Loading url-util...done
Loading vc-cvs...done
Quit
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

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

* Re: [matzikratzi@gmail.com: Strange behaviour of drag-n-drop and find-file at the same time]
  2007-03-19  5:15 [matzikratzi@gmail.com: Strange behaviour of drag-n-drop and find-file at the same time] Richard Stallman
@ 2007-03-19  7:05 ` Jan Djärv
  2007-03-19  7:35   ` Nick Roberts
  2007-03-19 21:57   ` Richard Stallman
  0 siblings, 2 replies; 6+ messages in thread
From: Jan Djärv @ 2007-03-19  7:05 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel



Richard Stallman skrev:
> Would someone please DTRT and ack?
> 

What is the right thing in this case?

	Jan D.

> ------- Start of forwarded message -------
> X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
> 	autolearn=failed version=3.1.0
> DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
> 	h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
> 	b=KAXwEO+vRUUcXWdUg9gXEB6UTZX1ISnIs7sqAAugMH5P/N0bzaCN+vOPFGHBht8s4mM3LI2HMkDRVCW8INLGKrs1PeGAmHdmPwoTt0qMRyjKWhKRj3TO0umX2+FZbfy/NVRiZ9D/5cbi4FR0J2HM9HOUjuTYVr1yB50ZtN7LwcM=
> Date: Sun, 11 Mar 2007 08:12:04 +0100
> From: "Matzi Kratzi" <matzikratzi@gmail.com>
> To: emacs-pretest-bug@gnu.org
> MIME-Version: 1.0
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Disposition: inline
> Subject: Strange behaviour of drag-n-drop and find-file at the same time
> 
> Please write in English if possible, because the Emacs maintainers
> usually do not have translators to read other languages for them.
> 
> Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.
> 
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:
> 
> Hi, I think this has been around for a very long time, but this seems
> like a good time to report it.
> 
> If you start with C-x C-f, but then instead drag-n-drop a file to
> emacs instead of specifying it and pressing RET you end up with the
> file shown in the window you dragged it to. So long all seems ok.
> 
> The annoying thing is that find-file is still there in the mini-buffer,
> and if you C-x o yourself to the mini-buffer and use C-g to quit
> find-file, emacs will no longer show the dragged-n-dropped buffer, but
> instead whatever it was showing before. switch-to-buffer easily takes
> you to the disappeared buffer, but most people probably thinks this
> is strange.
> 
> Thank you for your work.
> 
> /Mats
> 
> If Emacs crashed, and you have the Emacs process in the gdb debugger,
> please include the output from the following gdb commands:
>     `bt full' and `xbacktrace'.
> If you would like to further debug the crash, please read the file
> c:/download/emacs-cvs/070308/etc/DEBUG for instructions.
> 
> 
> In GNU Emacs 22.0.95.1 (i386-mingw-nt5.0.2195)
>  of 2007-03-08 on E001560B82878
> X server distributor `Microsoft Corp.', version 5.0.2195
> configured using `configure --with-gcc (3.4)'
> 
> 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: SVE
>   locale-coding-system: cp1252
>   default-enable-multibyte-characters: t
> 
> Major mode: Emacs-Lisp
> 
> Minor modes in effect:
>   encoded-kbd-mode: t
>   tooltip-mode: t
>   tool-bar-mode: t
>   mouse-wheel-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   unify-8859-on-encoding-mode: t
>   utf-translate-cjk-mode: t
>   auto-compression-mode: t
>   line-number-mode: t
> 
> Recent input:
> C-x C-f <drag-n-drop> C-x o C-g C-x b <return> M-x
> r e p o r t <tab> <return>
> 
> Recent messages:
> (C:\download\emacs-cvs\070308\bin\emacs.exe -q)
> Loading encoded-kb...done
> For information about the GNU Project and its goals, type C-h C-p. [2 times]
> Loading url-util...done
> Loading vc-cvs...done
> Quit
> Loading emacsbug...
> Loading regexp-opt...done
> Loading emacsbug...done
> 
> 
> _______________________________________________
> emacs-pretest-bug mailing list
> emacs-pretest-bug@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
> ------- End of forwarded message -------
> 
> 
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel

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

* Re: [matzikratzi@gmail.com: Strange behaviour of drag-n-drop and find-file at the same time]
  2007-03-19  7:05 ` Jan Djärv
@ 2007-03-19  7:35   ` Nick Roberts
  2007-03-19 14:03     ` Stefan Monnier
  2007-03-19 21:57   ` Richard Stallman
  1 sibling, 1 reply; 6+ messages in thread
From: Nick Roberts @ 2007-03-19  7:35 UTC (permalink / raw)
  To: Jan Djärv; +Cc: rms, emacs-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown, Size: 367 bytes --]

Jan Djärv writes:
 > 
 > 
 > Richard Stallman skrev:
 > > Would someone please DTRT and ack?
 > > 
 > 
 > What is the right thing in this case?

I think nothing.  This is a characteristic of C-g and AFAICS has nothing in
particular to do with find-file or drag-n-drop.

-- 
Nick                                           http://www.inet.net.nz/~nickrob

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

* Re: [matzikratzi@gmail.com: Strange behaviour of drag-n-drop and find-file at the same time]
  2007-03-19  7:35   ` Nick Roberts
@ 2007-03-19 14:03     ` Stefan Monnier
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 2007-03-19 14:03 UTC (permalink / raw)
  To: Nick Roberts; +Cc: Jan Dj?rv, rms, emacs-devel

>> > Would someone please DTRT and ack?
>> What is the right thing in this case?
> I think nothing.  This is a characteristic of C-g and AFAICS has nothing in
> particular to do with find-file or drag-n-drop.

For Emacs-22, it's probably good enough.  But ideally, C-g should not cause
such a reversion to the previous window configuration.


        Stefan

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

* Re: [matzikratzi@gmail.com: Strange behaviour of drag-n-drop and find-file at the same time]
  2007-03-19  7:05 ` Jan Djärv
  2007-03-19  7:35   ` Nick Roberts
@ 2007-03-19 21:57   ` Richard Stallman
  2007-03-20  7:35     ` Jan Djärv
  1 sibling, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2007-03-19 21:57 UTC (permalink / raw)
  To: Jan Djärv; +Cc: emacs-devel

    What is the right thing in this case?

I don't know.  When I say "please DTRT", the task starts with figuring
out what is TRT.  I did not try to study it myself.

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

* Re: [matzikratzi@gmail.com: Strange behaviour of drag-n-drop and find-file at the same time]
  2007-03-19 21:57   ` Richard Stallman
@ 2007-03-20  7:35     ` Jan Djärv
  0 siblings, 0 replies; 6+ messages in thread
From: Jan Djärv @ 2007-03-20  7:35 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel



Richard Stallman skrev:
>     What is the right thing in this case?
> 
> I don't know.  When I say "please DTRT", the task starts with figuring
> out what is TRT.  I did not try to study it myself.

Then I second Nick Roberts and Stefan Monniers remarks:

>> I think nothing.  This is a characteristic of C-g and AFAICS has nothing in
>> > particular to do with find-file or drag-n-drop.
> 
> For Emacs-22, it's probably good enough.  But ideally, C-g should not cause
> such a reversion to the previous window configuration.
> 

	Jan D.

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

end of thread, other threads:[~2007-03-20  7:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-19  5:15 [matzikratzi@gmail.com: Strange behaviour of drag-n-drop and find-file at the same time] Richard Stallman
2007-03-19  7:05 ` Jan Djärv
2007-03-19  7:35   ` Nick Roberts
2007-03-19 14:03     ` Stefan Monnier
2007-03-19 21:57   ` Richard Stallman
2007-03-20  7:35     ` Jan Djärv

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).