all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Fabrice Niessen" <fni-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
To: Eli Zaretskii <eliz-mXXj517/zsQ@public.gmane.org>
Cc: 12579-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org,
	thierry.volpiatto-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	lekktu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: bug#12579: Emacs 24.2 crashes or freezes
Date: Wed, 21 Nov 2012 16:35:35 +0100	[thread overview]
Message-ID: <80d2z7oto8.fsf@somewhere.org> (raw)
In-Reply-To: <80vcep2v3z.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>

Hi Eli,

Eli Zaretskii wrote:
>> From: "Fabrice Niessen" <fni-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
>> "Fabrice Niessen" wrote:
>> > Eli Zaretskii wrote:
>> >> Can you kill it from Process Explorer (by pressing Del)?  If you can,
>> >> does Emacs get out of the lockup?
>> >
>> > Now, killing es.exe from the Process Explorer *did unblock Emacs*, as you can
>> > see on
>> > http://content.screencast.com/users/fniessen/folders/Jing/media/fd8b4e53-5232-451a-9757-7623950365cd/2012-11-14_0938.png:
>> > I just recovered where I was, in Helm, with the correct files show now -- I
>> > had previously typed more characters in the pattern, when Emacs just froze...
>> > Now, they reappeared, with correct results from the "locate" command.
>> >
>> > Great news, I guess, in the understanding of what happens...
>>
>> Did you see this?  Does it tell you something more?
>
> I did see it, but I'm waiting for your report on using es.exe from
> cmdproxy.

After many days of intensive Emacs use, I can tell that Everything does not
block Emacs anymore, when

    (setq shell-file-name "cmdproxy") [1]

So, thanks to that (and to you), I don't have big problems anymore. GREAT.

Though, I inherit other problems due to bad handling of miscellaneous styles
of directory separator in the full filenames: among others, I now have
troubles launching my PDF viewer from AUCTeX.

The displayed command for the View action is:

    "C:\Program Files/SumatraPDF/SumatraPDF.exe" "ecm.pdf"

When `shell-file-name' is `bash', SumatraPDF is launched normally.

When `shell-file-name' is `cmdproxy', nothing happens. Really nothing, btw:
not even a message in the echo area, nor in the Messages buffer. Same
behavior for `cmd'. No PDF viewer.

Okay, I admit the above command is a bit (or more?) awkward due to the mix of
slashes and (unescaped) backslashes. But this used to work before, and I'm
fearing to loose such working behaviors by fully switching from `bash' to
`cmdproxy'[2].

Why is the command that specially written? Because I tried to abstract the
definition of the localization of SumatraPDF so that it can work on my PC
(32-bit Win XP) and on my colleagues' PC (64-bit Win 7), automatically finding
out the correct path between `c:\Program Files' and potential differences
(`c:\Program Files (x86)' or some such differences in the future), by having:

--8<---------------cut here---------------start------------->8---
  (defconst windows-program-files-dir
    (concat (getenv "PROGRAMFILES") "/")
    "Defines the default Windows Program Files folder.")

  (defvar sumatrapdf-command
    (concat windows-program-files-dir "SumatraPDF/SumatraPDF.exe")
    "Path to the SumatraPDF executable.")
--8<---------------cut here---------------end--------------->8---

Is it that bad?

Hence, 2 questions:

- Is using `cmdproxy' really the only way to handle properly the communication
  between Emacs and Everything?

- I see (in Process Explorer) that `cmdproxy' launches a `cmd' process: why
  not directly setting up `shell-file-name' to `cmd'?  Are there reasons not
  to do so?

Best regards,
Fabrice

[1] FYI, I left explicit-shell-file-name as it was initially in my config:
(setq explicit-shell-file-name "bash").

[2] I loose, anyway, the ability to call personal (Bash) scripts on buffers or
regions from within Emacs, when switching to `cmdproxy'.





  parent reply	other threads:[~2012-11-21 15:35 UTC|newest]

Thread overview: 118+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-05  8:14 bug#12579: 24.1; Emacs 24.1 / 24.2 (daily) crashes Fabrice Niessen
2012-10-05 16:05 ` Eli Zaretskii
     [not found]   ` <83txu87vlp.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-06  9:31     ` Fabrice Niessen
2012-10-06 11:00       ` Eli Zaretskii
     [not found] ` <80vcep2v3z.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2012-10-06 11:26   ` bug#12579: Emacs 24.1 / 24.2 daily crashes Fabrice Niessen
2012-10-06 12:51     ` Eli Zaretskii
     [not found]       ` <83k3v37ogj.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-06 20:42         ` Fabrice Niessen
2012-10-06 20:58           ` Eli Zaretskii
2012-10-06 12:22   ` bug#12579: 24.1; Emacs 24.1 / 24.2 (daily) crashes Fabrice Niessen
2012-10-06 12:55     ` Eli Zaretskii
2012-10-06 17:24       ` Drew Adams
2012-10-06 17:42         ` Eli Zaretskii
2012-10-07 17:29         ` Juanma Barranquero
2012-10-07 17:48           ` Drew Adams
2012-10-07 18:37             ` Eli Zaretskii
     [not found]               ` <837gr25dsn.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-09  6:36                 ` Fabrice Niessen
2012-10-09 16:02                   ` Drew Adams
2012-10-09 17:00                     ` Eli Zaretskii
2012-10-20 23:45                     ` Drew Adams
2012-10-21  3:54                       ` Eli Zaretskii
2012-10-21 16:15                         ` Drew Adams
2012-10-21 18:01                           ` Eli Zaretskii
2012-10-21 18:10                             ` Drew Adams
2012-10-21 18:25                               ` Eli Zaretskii
2012-10-21 18:34                                 ` Drew Adams
     [not found]                                   ` <F331209BF007436288CAEE51ED817578-HZWafpOgb61l57MIdRCFDg@public.gmane.org>
2012-10-21 20:23                                     ` Fabrice Niessen
2012-10-21 20:45                                       ` Eli Zaretskii
2012-10-09 17:17                   ` Eli Zaretskii
2012-10-09 17:26                     ` Drew Adams
2012-10-09 18:23                       ` Eli Zaretskii
     [not found]                     ` <83wqyzzhsp.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-09 19:46                       ` Fabrice Niessen
2012-10-09 20:23                         ` Eli Zaretskii
     [not found]                           ` <83pq4rz97b.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-09 21:43                             ` Fabrice Niessen
2012-10-10  3:49                               ` Eli Zaretskii
     [not found]                                 ` <83obkbyojd.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-10  5:58                                   ` Fabrice Niessen
2012-10-10  8:41                                   ` Fabrice Niessen
     [not found]                                     ` <80y5je7m8a.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2012-10-10  8:45                                       ` Fabrice Niessen
2012-10-10 13:02                                         ` Stefan Monnier
     [not found]                                           ` <jwvvceimqgr.fsf-monnier+emacs-mXXj517/zsQ@public.gmane.org>
2012-10-10 13:48                                             ` Fabrice Niessen
2012-10-10 15:36                                         ` Eli Zaretskii
2012-10-10 17:13                                           ` Stefan Monnier
     [not found]                                           ` <83haq2z6cw.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-10 18:38                                             ` Fabrice Niessen
2012-10-10 15:33                                     ` Eli Zaretskii
2012-10-10 14:09                                   ` Fabrice Niessen
2012-10-10 16:02                                     ` Eli Zaretskii
     [not found]                                       ` <83bogaz56i.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-10 18:43                                         ` Fabrice Niessen
2012-10-12 12:20                                         ` Fabrice Niessen
     [not found]                                           ` <80mwzrriff.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2012-10-12 14:57                                             ` Fabrice Niessen
2012-10-12 15:35                                               ` Eli Zaretskii
2012-10-12 15:41                                           ` Eli Zaretskii
     [not found]                                             ` <83mwzr7l55.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-13  7:45                                               ` Fabrice Niessen
2012-10-13  8:42                                                 ` Eli Zaretskii
     [not found]                                                   ` <838vba7og9.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-14  8:23                                                     ` Fabrice Niessen
2012-10-14 11:44                                                       ` Eli Zaretskii
2012-11-05 15:48                                                     ` Fabrice Niessen
2012-11-05 18:10                                                       ` Eli Zaretskii
     [not found]                                                         ` <83vcdj3opa.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-06  9:42                                                           ` Fabrice Niessen
     [not found]                                                             ` <80a9uv2hki.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2012-11-06 11:10                                                               ` Fabrice Niessen
2012-11-06 17:03                                                             ` Eli Zaretskii
     [not found]                                                               ` <83hap23bqm.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-06 21:51                                                                 ` Fabrice Niessen
2012-11-07 10:52                                                                 ` Fabrice Niessen
2012-11-07 17:10                                                                   ` Eli Zaretskii
     [not found]                                                                     ` <83pq3p1gqn.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-08 10:17                                                                       ` Fabrice Niessen
     [not found]                                                                         ` <80y5ic1jrv.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2012-11-08 15:32                                                                           ` Fabrice Niessen
2012-11-08 15:58                                                                             ` Thierry Volpiatto
2012-11-08 16:18                                                                               ` Eli Zaretskii
2012-11-08 17:34                                                                                 ` Thierry Volpiatto
2012-11-08 18:34                                                                                   ` Eli Zaretskii
2012-11-08 19:07                                                                                     ` Thierry Volpiatto
2012-10-10 10:02                             ` Fabrice Niessen
2012-10-10 15:39                               ` Eli Zaretskii
     [not found]                                 ` <83fw5mz68a.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-10 18:41                                   ` Fabrice Niessen
2012-10-09  6:53                 ` Fabrice Niessen
2012-10-09  7:11                 ` Fabrice Niessen
2012-10-09 17:18                   ` Eli Zaretskii
     [not found]                     ` <83vcejzhrf.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-09 19:30                       ` Fabrice Niessen
2012-11-08 22:04   ` Fabrice Niessen
2012-11-08 22:12     ` Eli Zaretskii
     [not found]       ` <83wqxvzqvg.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-08 22:24         ` Fabrice Niessen
2012-11-09  9:19   ` Fabrice Niessen
2012-11-09  9:44     ` Eli Zaretskii
     [not found]       ` <83mwyryusx.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-09 10:59         ` Fabrice Niessen
2012-11-09 11:12           ` Eli Zaretskii
2012-11-09 12:17             ` Thierry Volpiatto
     [not found]               ` <87pq3nkm23.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-11-09 13:51                 ` Fabrice Niessen
2012-11-09 14:07                   ` Eli Zaretskii
     [not found]                     ` <83fw4izx72.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-09 14:21                       ` Fabrice Niessen
2012-11-09 14:54                         ` Eli Zaretskii
2012-11-09 13:58               ` Eli Zaretskii
2012-11-09 16:37   ` Fabrice Niessen
2012-11-09 18:01     ` Eli Zaretskii
     [not found]       ` <83625ezmds.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-13  8:46         ` Fabrice Niessen
2012-11-13 12:54           ` Eli Zaretskii
2012-11-14  9:29         ` Fabrice Niessen
     [not found]           ` <80k3tosfam.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2012-11-16  9:21             ` bug#12579: Emacs 24.2 crashes or freezes Fabrice Niessen
2012-11-16  9:57               ` Eli Zaretskii
     [not found]                 ` <83lie1swer.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-16 11:10                   ` Fabrice Niessen
2012-11-21 15:35   ` Fabrice Niessen [this message]
2012-11-21 18:21     ` Eli Zaretskii
2012-11-21 18:48     ` Stefan Monnier
2012-11-21 18:49     ` Stefan Monnier
     [not found]     ` <mailman.13522.1353523851.855.bug-gnu-emacs@gnu.org>
     [not found]       ` <mailman.13522.1353523851.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2012-11-28 10:45         ` Fabrice Niessen
2012-11-29  4:22           ` Stefan Monnier
     [not found]             ` <jwvhao959f6.fsf-monnier+emacs-mXXj517/zsQ@public.gmane.org>
2012-11-29 21:53               ` Fabrice Niessen
     [not found]     ` <mailman.13519.1353522176.855.bug-gnu-emacs@gnu.org>
2012-12-06 11:39       ` Fabrice Niessen
2012-12-07 19:22         ` Fabrice Niessen
2012-12-07 21:38           ` Eli Zaretskii
     [not found]           ` <mailman.14812.1354916384.855.bug-gnu-emacs@gnu.org>
     [not found]             ` <mailman.14812.1354916384.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2012-12-18 22:54               ` Fabrice Niessen
2012-12-19  1:10                 ` Stefan Monnier
     [not found]                 ` <mailman.15646.1355879469.855.bug-gnu-emacs@gnu.org>
2012-12-19  8:35                   ` Sebastien Vauban
2012-12-19 17:06                     ` Eli Zaretskii
     [not found]                     ` <mailman.15691.1355937909.855.bug-gnu-emacs@gnu.org>
2012-12-19 20:32                       ` Sebastien Vauban
2012-12-19 21:27                         ` Eli Zaretskii
     [not found]                         ` <mailman.15713.1355952483.855.bug-gnu-emacs@gnu.org>
2012-12-19 22:32                           ` Sebastien Vauban
2012-12-20  5:56                             ` Eli Zaretskii
2013-02-19 18:51                               ` Glenn Morris
2013-02-19 20:58                                 ` Eli Zaretskii
2012-10-17  5:27 ` bug#12579: 24.1; Emacs 24.1 / 24.2 (daily) crashes Dmitry Antipov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=80d2z7oto8.fsf@somewhere.org \
    --to=fni-djc/ipccudyqhejpep6iedvlejwurmry@public.gmane.org \
    --cc=12579-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
    --cc=eliz-mXXj517/zsQ@public.gmane.org \
    --cc=lekktu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=thierry.volpiatto-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.