GNU bug report logs - #29121
26.0.90; Double-click opens wrong file

Previous Next

Package: emacs;

Reported by: Nick Helm <nick <at> tenpoint.co.nz>

Date: Fri, 3 Nov 2017 04:02:02 UTC

Severity: normal

Tags: fixed

Found in version 26.0.90

Fixed in version 26.1

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29121 in the body.
You can then email your comments to 29121 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#29121; Package emacs. (Fri, 03 Nov 2017 04:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nick Helm <nick <at> tenpoint.co.nz>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 03 Nov 2017 04:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nick Helm <nick <at> tenpoint.co.nz>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.90; Double-click opens wrong file
Date: Fri, 03 Nov 2017 17:00:49 +1300
When I double-click a file on my OS desktop or in a file browser window,
Emacs visits a different file instead.

Recipe to reproduce:

  touch 1.txt 2.txt 3.txt
  Emacs -Q
  Drag-n-drop 1.txt into Emacs. Emacs visits 1.txt
  On the desktop, double-click 2.txt. Emacs (re)visits 1.txt.
  Double-click 3.txt. Emacs visits 2.txt.
  Double-click 1.txt. Emacs visits 3.txt.
  etc

I originally discussed this issue here
[http://lists.gnu.org/archive/html/help-gnu-emacs/2017-11/msg00000.html],
but I've since narrowed it down to the recipe above.



In GNU Emacs 26.0.90 (build 1, x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G29))
 of 2017-10-15 built on oberon
Windowing system distributor 'Apple', version 10.3.1504
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Emacs start-up time: 0.2 seconds

Configured features:
JPEG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS LCMS2

Important settings:
  value of $LANG: en_NZ.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
  savehist-mode: t
  global-eldoc-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
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  visual-line-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime
smime dig mailcap gnus-sum gnus-group gnus-undo gnus-start gnus-cloud
nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time
gnus-spec gnus-int gnus-range gnus-win gnus nnheader wid-edit emacsbug
message rmc puny seq byte-opt bytecomp byte-compile cconv format-spec
rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util
rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils time dired-x easymenu dired dired-loaddefs
pcase savehist nh-macdict easy-mmode iso-transl edmacro kmacro
cl-loaddefs cl-lib gv plain-theme time-date tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote kqueue cocoa ns lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 262585 8534)
 (symbols 48 26301 1)
 (miscs 40 38 156)
 (strings 32 47834 1425)
 (string-bytes 1 1373193)
 (vectors 16 40422)
 (vector-slots 8 763376 28597)
 (floats 8 202 23)
 (intervals 56 201 0)
 (buffers 992 11))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29121; Package emacs. (Wed, 22 Nov 2017 16:51:03 GMT) Full text and rfc822 format available.

Message #8 received at 29121 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Nick Helm <nick <at> tenpoint.co.nz>
Cc: 29121 <at> debbugs.gnu.org
Subject: Re: bug#29121: 26.0.90; Double-click opens wrong file
Date: Wed, 22 Nov 2017 16:50:06 +0000
Nick Helm <nick <at> tenpoint.co.nz> writes:

> When I double-click a file on my OS desktop or in a file browser window,
> Emacs visits a different file instead.
>
> Recipe to reproduce:
>
>   touch 1.txt 2.txt 3.txt
>   Emacs -Q
>   Drag-n-drop 1.txt into Emacs. Emacs visits 1.txt
>   On the desktop, double-click 2.txt. Emacs (re)visits 1.txt.
>   Double-click 3.txt. Emacs visits 2.txt.
>   Double-click 1.txt. Emacs visits 3.txt.
>   etc

Hi Nick, I've pushed a fix for this into emacs 26. Can you please give
it a go?
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29121; Package emacs. (Thu, 23 Nov 2017 01:03:02 GMT) Full text and rfc822 format available.

Message #11 received at 29121 <at> debbugs.gnu.org (full text, mbox):

From: Nick Helm <nick <at> tenpoint.co.nz>
To: Alan Third <alan <at> idiocy.org>
Cc: 29121 <at> debbugs.gnu.org
Subject: Re: bug#29121: 26.0.90; Double-click opens wrong file
Date: Thu, 23 Nov 2017 14:01:59 +1300
On Wed, 22 Nov 2017, Alan Third wrote:

> Nick Helm <nick <at> tenpoint.co.nz> writes:
>
>> When I double-click a file on my OS desktop or in a file browser window,
>> Emacs visits a different file instead.
>>
>> Recipe to reproduce:
>>
>>   touch 1.txt 2.txt 3.txt
>>   Emacs -Q
>>   Drag-n-drop 1.txt into Emacs. Emacs visits 1.txt
>>   On the desktop, double-click 2.txt. Emacs (re)visits 1.txt.
>>   Double-click 3.txt. Emacs visits 2.txt.
>>   Double-click 1.txt. Emacs visits 3.txt.
>>   etc
>
> Hi Nick, I've pushed a fix for this into emacs 26. Can you please give
> it a go?

Hi Alan,

Yes, the issue is fixed here as well. Thanks for working on this.




Added tag(s) fixed. Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Thu, 23 Nov 2017 20:45:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 26.1, send any further explanations to 29121 <at> debbugs.gnu.org and Nick Helm <nick <at> tenpoint.co.nz> Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Thu, 23 Nov 2017 20:45:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 22 Dec 2017 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.