emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Friedrich Delgado Friedrichs <friedel@nomaden.org>
To: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: org-mode (recent git) tries to open .c and other plaintext file:// links with less on debian
Date: Wed, 7 Apr 2010 17:46:41 +0200	[thread overview]
Message-ID: <20100407154639.GA8589@taupan.ath.cx> (raw)

Hi!

I just wondered why my file links to c-sources would not work any more:

 [[file:~/anon-vc/emacs/src/emacs.c::fatal_error_signal%20sig][file:~/anon-vc/emacs/src/emacs.c::fatal_error_signal sig]]

until I looked what org-open-file does with edebug and noticed it
tries to handle the file according to its mailcap entry.

Which is, on my debian testing systems:

text/plain; less '%s'; needsterminal

which makes a lot of sense when I try to open a plaintext file
attachment e.g. with mutt.

From emacs, not so good.

Indeed, M-x list-processes lists a less process:

Proc                                     Status   Buffer Tty        Command
----                                     ------   ------ ---        -------
less /home/fdf/anon-vc/emacs/src/emacs.c run      (none) /dev/pts/6 /usr/bin/zsh -c less /home/fdf/anon-vc/emacs/src/emacs.c


-- 
        Friedrich Delgado Friedrichs <friedel@nomaden.org>
                             TauPan on Ircnet and Freenode ;)

         reply	other threads:[~2010-04-07 15:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-07 21:13 Example of failing link Paul Schlesinger
2010-04-07 15:46 ` Friedrich Delgado Friedrichs [this message]
2010-04-08 15:27   ` org-mode (recent git) tries to open .c and other plaintext file:// links with less on debian Friedrich Delgado Friedrichs
2010-04-08 13:57 ` Example of failing link 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=20100407154639.GA8589@taupan.ath.cx \
    --to=friedel@nomaden.org \
    --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).