From: Tim O'Callaghan <timo@dspsrv.com>
To: emacs-orgmode@gnu.org
Subject: Re: Some suggestions - mostly for non (X)Emacs updating of org mode files.
Date: Tue, 16 May 2006 10:44:39 +0200 [thread overview]
Message-ID: <20060516084439.GA2584@ELSAMSW37164> (raw)
In-Reply-To: <62799cd4af60f000ed11f842f71418e6@science.uva.nl>
On Tue, May 16, 2006 at 09:51:18AM +0200, Carsten Dominik wrote:
>
> Tim, there were a few things in your email which I previously
> overlooked, sorry.
>
> >With regards to file linking a BUG report: w32-shell-execute needs
> >to
> >be mswindows-shell-execute in org-file-apps-defaults-windowsnt for
> >XEmacs 21.4.19
>
> Does anyone know what the systematics on this are? Which Emacs
> versions use which nomenclature?
>
As far as i know XEmacs uses mswindows-* and Gnu Emacs uses w32-*, but
the parameters seem to be the same.
> >That implementation of links does not allow me to link to an
> >external
> >file for editing. Say i have a to <file:~/.bashrc> it tries to find
> >a
> >mime type and execute a program for it, which then fails. How about
> >an
> ><edit:> link, to just open the file directly? Or if the mime
> >operation
> >fails, just default to opening the file?
>
> I don't think this is needed. For one, you can set up org-file-app
> for specific files to use Emacs. But more importantly, if you use
> mouse-3 to follow a file link, or equivalently if you follow the link
> with a prefix argument like `C-u C-c C-o' or `C-u RET' (the latter if
> you have turned on org-return-follows-link) then the file will always
> be opened in Emacs.
>
I'll try those out. As for using a mouse-3 I prefer using the
keyboard, its quicker than using a mouse. I would prefer that under
windows, it is the other way around. So that any file that is not
specifically mentioned in the org-file-apps is opened by default, and
C-RET performs the system mime operation.
> Maybe I need to make org-file-apps to accept regular expressions, not
> just extensions for identifying file types....
>
> >
> >Also you probably want to perform an (expand-file-name) on local
> >file
> >names under windows. As under win2k that will convert the relative
> >path to a usable windows one.
>
> In what situation? When following a file link?
>
Under XEmacs ms windows the link file:~/.bashrc means nothing. I've
come across this before as i use my .xemacs config on a few different
platforms. If you use (expand-file-name "~/.bashrc") on windows it
might return "C:\\home\ dir\\tim\\.bashrc" and on linux ("/home\
dir/tim/.bashrc"). When combined with calling an external process is
better, especially since it also shell-quotes the string.
IIRC This works for Gnu Emacs and XEmacs.
Could i also suggest that when opening a link that ends in a / or \
that it invokes dired mode on that directory?
Tim.
next prev parent reply other threads:[~2006-05-16 8:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-25 14:27 Some suggestions - mostly for non (X)Emacs updating of org mode files Tim O'Callaghan
2006-04-25 14:42 ` Nic
2006-04-27 11:23 ` Carsten Dominik
2006-04-27 13:05 ` Tim O'Callaghan
2006-05-16 7:51 ` Carsten Dominik
2006-05-16 8:44 ` Tim O'Callaghan [this message]
2006-05-16 9:06 ` Carsten Dominik
2006-05-16 10:24 ` Tim O'Callaghan
2006-05-17 9:55 ` Carsten Dominik
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060516084439.GA2584@ELSAMSW37164 \
--to=timo@dspsrv.com \
--cc=emacs-orgmode@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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).