unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13661: 24.3.50; shell-command fails with w32-downcase-file-names
@ 2013-02-09 14:35 rcopley
  2013-02-09 16:38 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: rcopley @ 2013-02-09 14:35 UTC (permalink / raw)
  To: 13661

[-- Attachment #1: Type: text/plain, Size: 2651 bytes --]

The `shell-command' function fails if `w32-downcase-file-names' is true.


Recipe from -Q:
M-: (setq SPC w32-downcase-file-names SPC t) RET

M-! dir <return>


Result:
(Shell command failed with error)
shell-command-on-region: File exists: c:/users/buster/appdata/local/temp/emxxxxxx


In GNU Emacs 24.3.50.1 (i386-mingw-nt6.2.9200)
 of 2013-02-08 on MACHINE
Bzr revision: 111700 monnier@iro.umontreal.ca-20130208174209-vpjpdh4qipaceoh5
Windowing system distributor `Microsoft Corp.', version 6.2.9200
Configured using:
 `configure --with-gcc (4.7) --cflags -I c:/gnuwin32/include --ldflags
 -L c:/gnuwin32/lib’


Important settings:
  value of $LANG: ENG
  locale-coding-system: cp1252
  default enable-multibyte-characters: t


Major mode: Lisp Interaction


Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-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
  line-number-mode: t
  transient-mark-mode: t


Recent input:
( s e t q SPC w 3 2 - d o w n c a s e - f i l e - n 
a m e s SPC t ) C-x C-e M-! g c c SPC - - v e r s i 
o n <return> M-x r e p o r t - e m a c s w - b u g
<return>


Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
t
(Shell command failed with error)
shell-command-on-region: File exists: c:/users/buster/appdata/local/temp/emxxxxxx


Load-path shadows:
None found.


Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils shell pcomplete comint ansi-color ring
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32
ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer button
faces cus-face macroexp files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process w32notify w32 multi-tty emacs)

[-- Attachment #2: Type: text/html, Size: 4048 bytes --]

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

* bug#13661: 24.3.50; shell-command fails with w32-downcase-file-names
  2013-02-09 14:35 bug#13661: 24.3.50; shell-command fails with w32-downcase-file-names rcopley
@ 2013-02-09 16:38 ` Eli Zaretskii
  2013-02-09 17:30   ` Drew Adams
  2013-02-09 19:02   ` Stefan Monnier
  0 siblings, 2 replies; 7+ messages in thread
From: Eli Zaretskii @ 2013-02-09 16:38 UTC (permalink / raw)
  To: rcopley; +Cc: 13661-done

> From: <rcopley@gmail.com>
> Date: Sat, 9 Feb 2013 14:35:15 +0000
> 
> The `shell-command' function fails if `w32-downcase-file-names' is true.
> 
> 
> Recipe from -Q:
> M-: (setq SPC w32-downcase-file-names SPC t) RET
> 
> M-! dir <return>
> 
> 
> Result:
> (Shell command failed with error)
> shell-command-on-region: File exists: c:/users/buster/appdata/local/temp/emxxxxxx

Damn that w32-downcase-file-names option!  Why are people still using
it in the year 2013??

Thanks; fixed in revision 111711.





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

* bug#13661: 24.3.50; shell-command fails with w32-downcase-file-names
  2013-02-09 16:38 ` Eli Zaretskii
@ 2013-02-09 17:30   ` Drew Adams
  2013-02-09 19:02   ` Stefan Monnier
  1 sibling, 0 replies; 7+ messages in thread
From: Drew Adams @ 2013-02-09 17:30 UTC (permalink / raw)
  To: 'Eli Zaretskii', rcopley; +Cc: 13661-done

> Damn that w32-downcase-file-names option!  Why are people still using
> it in the year 2013??

Hm.  FWIW, I wasn't even aware of that option.

If it is not so appropriate now (or ever?), why not tweak the doc string to
suggest that?  Reading the doc string, you can easily get the impression that
you might want this to be non-nil.

IOW, if you wonder why people are still using this in 2013, maybe take a look at
what Emacs tells users about it.






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

* bug#13661: 24.3.50; shell-command fails with w32-downcase-file-names
  2013-02-09 16:38 ` Eli Zaretskii
  2013-02-09 17:30   ` Drew Adams
@ 2013-02-09 19:02   ` Stefan Monnier
  2013-02-09 19:41     ` Eli Zaretskii
  1 sibling, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2013-02-09 19:02 UTC (permalink / raw)
  To: 13661; +Cc: rcopley

> Damn that w32-downcase-file-names option!

If we don't want people to use it, then let's mark it obsolete.


        Stefan





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

* bug#13661: 24.3.50; shell-command fails with w32-downcase-file-names
  2013-02-09 19:02   ` Stefan Monnier
@ 2013-02-09 19:41     ` Eli Zaretskii
  2013-02-10  0:43       ` Richard Copley
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2013-02-09 19:41 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: rcopley, 13661

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: eliz@gnu.org,  rcopley@gmail.com
> Date: Sat, 09 Feb 2013 14:02:07 -0500
> 
> > Damn that w32-downcase-file-names option!
> 
> If we don't want people to use it, then let's mark it obsolete.

I will start a discussion about this on emacs-devel.  Let's see how
many people will holler.





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

* bug#13661: 24.3.50; shell-command fails with w32-downcase-file-names
  2013-02-09 19:41     ` Eli Zaretskii
@ 2013-02-10  0:43       ` Richard Copley
  2013-02-10  5:33         ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Copley @ 2013-02-10  0:43 UTC (permalink / raw)
  To: Stefan Monnier, 13661, Eli Zaretskii

> Damn that w32-downcase-file-names option!  Why are people still using it in the year 2013??

I don't remember why I use it (something to do with RCS I expect), but
I'll stop, and report any issues if they surface.

> Thanks; fixed in revision 111711.

Thanks!





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

* bug#13661: 24.3.50; shell-command fails with w32-downcase-file-names
  2013-02-10  0:43       ` Richard Copley
@ 2013-02-10  5:33         ` Eli Zaretskii
  0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2013-02-10  5:33 UTC (permalink / raw)
  To: Richard Copley; +Cc: 13661

> Date: Sun, 10 Feb 2013 00:43:59 +0000
> From: Richard Copley <rcopley@gmail.com>
> 
> > Damn that w32-downcase-file-names option!  Why are people still using it in the year 2013??
> 
> I don't remember why I use it (something to do with RCS I expect)

I'd be curious to know how RCS is related to this.  I use it myself.

> but I'll stop, and report any issues if they surface.

Thank you.





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

end of thread, other threads:[~2013-02-10  5:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-09 14:35 bug#13661: 24.3.50; shell-command fails with w32-downcase-file-names rcopley
2013-02-09 16:38 ` Eli Zaretskii
2013-02-09 17:30   ` Drew Adams
2013-02-09 19:02   ` Stefan Monnier
2013-02-09 19:41     ` Eli Zaretskii
2013-02-10  0:43       ` Richard Copley
2013-02-10  5:33         ` Eli Zaretskii

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).