public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Håkon Alstadheim" <hakon@alstadheim.priv.no>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: [konqueror] Can't invoke and editor when `view source'
Date: Wed, 16 Jan 2008 20:59:41 +0100	[thread overview]
Message-ID: <478E622D.3080906@alstadheim.priv.no> (raw)
In-Reply-To: <87odblzjie.fsf@newsguy.com>

[-- Attachment #1: Type: text/plain, Size: 1668 bytes --]

reader@newsguy.com wrote:
> Mick <michaelkintzios@gmail.com> writes:
>
>   
>> Don't know the first thing about emacs, but it may need bringing up
>> a terminal first which in turn runs emacs.  You may want to try
>> selecting the "Run in terminal" or invoke it like so:
>>
>> xterm -e /usr/bin/emacs
>>     
>
> This should not be a factor with X enabled emacs.  And in fact calling
> emacs at a cmd prompt just brigs up emacs in it own window, not
> another xterm.
>
> However, and surprisingly it does work... Inserting the xterm -e
> command  at: 
>    right click/ open with/ other
>
> Brings first an xterm which immediately spawns a new emacs window (not
> in the xterm but on its own)
>
> I'm pretty sure this is not what SHOULD happen though.  I SHOULD be
> able to just insert /usr/bin/emacs  since it does not run in an
> xterm. But... thanks .. at least I can edit a page with emacs now.
>
>   
I have this same problem on some machines. Notably the ones where I've 
put the most cruft in .emacs. I suspect that there is some bug that 
stops garbage-collection from happening during startup so emacs runs out 
of memory. Somehow having a tty attached works around that. A way to 
test is to launch emacs in the background from a terminal (with & at the 
end). If emacs hangs, I do "fg" in the shell  and hit enter a couple of 
times and emacs will (sometimes) continue its initialization process.

A better work-around than firing off emacs in the foreground is to make 
more of your .emacs do AUTOLOAD rather than REQUIRE or LOAD.

Better yet is to have emacs-server or gnuserv running, and putting 
emacsclient/gnuclient in the browser "editor"-config.


[-- Attachment #2: Type: text/html, Size: 2224 bytes --]

  reply	other threads:[~2008-01-16 20:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-16  1:23 [gentoo-user] [konqueror] Can't invoke and editor when `view source' reader
2008-01-16  6:17 ` Hemmann, Volker Armin
2008-01-16  8:25   ` Mick
2008-01-16 18:56     ` [gentoo-user] " reader
2008-01-16 19:59       ` Håkon Alstadheim [this message]
2008-01-16 21:14         ` reader
2008-01-16 21:25         ` reader
2008-01-17  2:44           ` Håkon Alstadheim
2008-01-17  3:52             ` reader
2008-01-16 18:57   ` reader
  -- strict thread matches above, loose matches on Subject: below --
2009-01-08 19:34 Phillip Sawbridge

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=478E622D.3080906@alstadheim.priv.no \
    --to=hakon@alstadheim.priv.no \
    --cc=gentoo-user@lists.gentoo.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