all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Lin Sun" <Lin.Sun@mediatek.com> (孙林)
Cc: 17696@debbugs.gnu.org
Subject: bug#17696: 答复: bug#17696: Get an error	message "File mode specification error: (invalid-function	with-file-modes)"
Date: Thu, 05 Jun 2014 17:44:42 +0300	[thread overview]
Message-ID: <83zjhr5sbp.fsf@gnu.org> (raw)
In-Reply-To: <BFD593E723C28F4686C2E8BB3A5F4DA03689F1FA@mtkmbs33n1>

> From: Lin Sun (孙林) <Lin.Sun@mediatek.com>
> Date: Thu, 5 Jun 2014 03:01:56 +0000
> 
> I think the `with-file-modes' maybe have problem on MS Windows.
> I compile the emacs 24.4 from git source with MinGW32 on windows, and start Emacs in command line:
> Emacs -Q
> Then open an empty org file "a.org" for example, the the error message 
> "File mode specification error: (invalid-function with-file-modes)"
> appear on minibuffer.
> 
> Could you evaluate the `with-file-modes' is proper for Windows or not, please. 

There's nothing wrong with with-file-modes on Windows.  The Windows
port of Emacs supports that macro as much as it can (which is to say
it only caters to the user-write bit in the argument MODE).

FWIW, I have no problems visiting a .org file on MS-Windows, I see no
error like the one you reported.





  reply	other threads:[~2014-06-05 14:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05  2:16 bug#17696: Get an error message "File mode specification error: (invalid-function with-file-modes)" Lin Sun
2014-06-05  2:20 ` Glenn Morris
2014-06-05  3:01   ` bug#17696: 答复: " Lin Sun
2014-06-05 14:44     ` Eli Zaretskii [this message]
2014-06-06  6:35       ` bug#17696: 答复: " Lin Sun
2014-06-05 13:37 ` Stefan Monnier
2014-06-06  6:55   ` bug#17696: 答复: " Lin Sun

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=83zjhr5sbp.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=17696@debbugs.gnu.org \
    --cc=Lin.Sun@mediatek.com \
    /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.