From: "Yeşim Erke-Magent" <yesim.ev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Ediff error -- Permission denied (Win8)
Date: Fri, 2 Aug 2013 13:06:56 -0700 (PDT) [thread overview]
Message-ID: <1e7974c4-5655-4c49-8330-6dc9363d3b1a@googlegroups.com> (raw)
In-Reply-To: <mailman.2337.1375393123.12400.help-gnu-emacs@gnu.org>
On Thursday, August 1, 2013 5:38:13 PM UTC-4, Óscar Fuentes wrote:
> Yeşim Erke-Magent <yesim.ev@gmail.com> writes:
>
>
>
> > It has been years I used Emacs so when I needed to compare 2 text
>
> > files (they are VBA macros, but I saved them with .txt extension. I
>
> > installed emacs (version 24.3.1) and used "Compare (Ediff)" under
>
> > "Tools" menu. Then selected "Two files" and I receive
>
> >
>
> > "Searching for program: permission denied, diff"
>
> >
>
> > I then open the files and tried to compare 2 buffers, but it didn't make any difference.
>
>
>
> Do you have `diff' installed?
>
>
>
> > I have 64-bit Win8 on my PC and emacs' directory is under Users
>
> > directory, not Program Files. Could this be a problem?
>
>
>
> No.
>
>
>
> > BTW, I also installed GNU grep, but couldn't manage to run it through
>
> > command line. I then tried using grep under Tools of emacs and it
>
> > didn't work either.
>
>
>
> Is `grep' on a directory listed on the PATH environment variable? How do
>
> you obtained and installed `grep'? Same for `diff'.
>
>
>
> Please note that under Windows you either install the executables on a
>
> directory already listed on PATH or (better) you add to PATH the
>
> directory where you installed the executable (when you wish to execute
>
> that executables from other executables.)
>
>
>
> You can set PATH from the OS Control Panel or from your .emacs. See the
>
> documentation for `setenv' function and for `exec-path' variable.
>
>
>
> Also, Emacs has variables for finding certain programs on user-specified
>
> places or with special names. For grep, there is the variable
>
> `grep-program'.
Ediff already came with GNU Emacs (under the Tools menu). Like emacs, I downloaded GNU Grep. Also, I installed cygwin. I added the new directories in PATH ( I found it through)
Control Panel -> System and Security -> System -> Advanced System Settings (pops up System Properties window) -> Advanced -> Environment Variables
After installing cygwin I tried Ediff, I got a new warning
cygwin warning:
MS-DOS style path detected: d:\Temp\Macro1.txt
Preferred POSIX equivalent is: /cygdrive/d/Temp/Macro1.txt
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
I tried to figure out what to do, but I don't know how to set up the environment variable.
next prev parent reply other threads:[~2013-08-02 20:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-01 20:30 Ediff error -- Permission denied (Win8) Yeşim Erke-Magent
2013-08-01 21:38 ` Óscar Fuentes
2013-08-01 23:39 ` Stefan Monnier
2013-08-02 5:47 ` Eli Zaretskii
[not found] ` <mailman.2337.1375393123.12400.help-gnu-emacs@gnu.org>
2013-08-02 20:06 ` Yeşim Erke-Magent [this message]
2013-08-02 23:14 ` Drew Adams
[not found] ` <mailman.2342.1375400381.12400.help-gnu-emacs@gnu.org>
2013-08-02 4:44 ` Rustom Mody
2013-08-02 20:11 ` Yeşim Erke-Magent
2013-08-02 20:07 ` Yeşim Erke-Magent
[not found] ` <mailman.2361.1375422778.12400.help-gnu-emacs@gnu.org>
2013-08-02 20:19 ` Yeşim Erke-Magent
2013-08-03 7:43 ` Eli Zaretskii
2015-03-09 10:39 ` dbbd
2015-03-09 16:34 ` Eli Zaretskii
2015-03-13 11:44 ` dbbd
2015-03-13 15:25 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1e7974c4-5655-4c49-8330-6dc9363d3b1a@googlegroups.com \
--to=yesim.ev@gmail.com \
--cc=help-gnu-emacs@gnu.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.
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).