public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Leo <leoslists@letterboxes.org>
To: cygwin@cygwin.com
Subject: Re: Cygwin Emacs and windows paths
Date: Sat, 10 Mar 2012 22:37:00 -0000	[thread overview]
Message-ID: <3DBF511E-8A68-4041-8B2A-84AF76A31A62@letterboxes.org> (raw)
In-Reply-To: <4F5BD356.5060102@cornell.edu>


On 11/03/2012, at 9:19 AM, Ken Brown wrote:

>> On 11/03/2012, at 1:20 AM, Ken Brown wrote:
>> 
>> This can be too hard though: The problem might be to determine when the clipboard is copied for use outside emacs and when for use inside emacs. But I'll try at least to make some lisp code to convert per key-binding. Do you thinking it's advisable to call cygpath for doing the conversion? Are there some internal bindings already for this in Cygwin Emacs?
> 
> Please reply to the list instead of directly to me.  To avoid messing up the threading in the mailing list archives, I'm replying to the original thread, with your message to me pasted in.

Extremely sorry about this. With Apple Mail I use a "modern" Mail client not anymore tailored to classic mailing lists - so I have to set things like Plain-text setting, 70-character wrapping and correct reply-to by hand…

> I do think it's advisable to call cygpath, and I don't know of any bindings in the code that you can use.  But I had to do something similar once in order to make browse-url work properly on Cygwin.  (In that case I had to convert from POSIX paths to Windows paths.)  Take a look at the Cygwin-specific code in the function browse-url-file-url in lisp/net/browse-url.el.  You may be able to use a similar idea.
> 

Thanks heaps for this! I had a quick look at browse-url.el and it has the right stuff in there. Cool!

Cheers, Leo

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2012-03-10 22:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-10  6:18 Leo
2012-03-10 14:21 ` Ken Brown
2012-03-10 22:19   ` Ken Brown
2012-03-10 22:37     ` Leo [this message]
2012-03-12 11:55 ` Ken Jackson
2012-03-12 12:19   ` Leo
2012-03-12 23:58     ` Ken Jackson

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=3DBF511E-8A68-4041-8B2A-84AF76A31A62@letterboxes.org \
    --to=leoslists@letterboxes.org \
    --cc=cygwin@cygwin.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.
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).