all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* open file in the same emacs window from krusader
@ 2006-07-16 13:24 Stefan Horomnea
  2006-07-16 13:33 ` Sebastian Meisel
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Horomnea @ 2006-07-16 13:24 UTC (permalink / raw)


Hello,

I use Krusader for navigating very quickly to files (i have shortcuts 
and a quick navigation) , and when I find the right file, if I have the 
emacs opened, I just drag the file from Krusader in emacs space and
emacs opens my file. This is awesome. Cause I locate the files much 
quicker with Krusader than emacs. But. Like most of you, probably I try 
to work very much with keys instead of mouse.
I want to open the file under the cursor (in Krusader) in the already 
opened emacs window but not with the drag and drop technic, instead I 
want to open it with a key shortcut. I know how to do a key shortcut in 
Krusader, to execute a bash command. But I don't know what bash command 
to give it (with the file as an argument of course) so that the already 
opened emacs will open that file.
Do you have any idea how can I attack this problem ?


thanks,
stefan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: open file in the same emacs window from krusader
       [not found] <mailman.4138.1153055919.9609.help-gnu-emacs@gnu.org>
@ 2006-07-16 13:31 ` harry meyers
  2006-07-16 14:02   ` Stefan Horomnea
       [not found]   ` <mailman.4140.1153058181.9609.help-gnu-emacs@gnu.org>
  2006-07-17 10:56 ` Mathias Dahl
  1 sibling, 2 replies; 6+ messages in thread
From: harry meyers @ 2006-07-16 13:31 UTC (permalink / raw)


Stefan Horomnea schrieb:

> Hello,
>
> I use Krusader for navigating very quickly to files (i have shortcuts
> and a quick navigation) , and when I find the right file, if I have the
> emacs opened, I just drag the file from Krusader in emacs space and
> emacs opens my file. This is awesome. Cause I locate the files much
> quicker with Krusader than emacs. But. Like most of you, probably I try
> to work very much with keys instead of mouse.
> I want to open the file under the cursor (in Krusader) in the already
> opened emacs window but not with the drag and drop technic, instead I
> want to open it with a key shortcut. I know how to do a key shortcut in
> Krusader, to execute a bash command. But I don't know what bash command
> to give it (with the file as an argument of course) so that the already
> opened emacs will open that file.
> Do you have any idea how can I attack this problem ?
>
>
> thanks,
> stefan

Emacslient is the way:
http://www.emacswiki.org/cgi-bin/wiki/EmacsClient
If you have an emacs running you can open files within the bash with
emacslient foofile
You have to activate emacs server with putting (server-start) to your
~/.emacs for example. Or to give a try type M-x server-start from
within emacs. 

harry

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: open file in the same emacs window from krusader
  2006-07-16 13:24 open file in the same emacs window from krusader Stefan Horomnea
@ 2006-07-16 13:33 ` Sebastian Meisel
  0 siblings, 0 replies; 6+ messages in thread
From: Sebastian Meisel @ 2006-07-16 13:33 UTC (permalink / raw)


Hello,

> I know how to do a key shortcut in
> Krusader, to execute a bash command. But I don't know what bash command
> to give it (with the file as an argument of course) so that the already
> opened emacs will open that file.

put (server-start) to your .emacs file. Then you can use the emacsclient 
command to 'connect' to the open emacs window. 
-- 
Sebastian Meisel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: open file in the same emacs window from krusader
  2006-07-16 13:31 ` harry meyers
@ 2006-07-16 14:02   ` Stefan Horomnea
       [not found]   ` <mailman.4140.1153058181.9609.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Stefan Horomnea @ 2006-07-16 14:02 UTC (permalink / raw)


Hello,

I start the server. And then I get the following error: emacsclient: 
can't stat /tmp/esrv500-c4: Success

thanks,
stefan


> Emacslient is the way:
> http://www.emacswiki.org/cgi-bin/wiki/EmacsClient
> If you have an emacs running you can open files within the bash with
> emacslient foofile
> You have to activate emacs server with putting (server-start) to your
> ~/.emacs for example. Or to give a try type M-x server-start from
> within emacs. 
>
> harry
>
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
>   

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: open file in the same emacs window from krusader
       [not found]   ` <mailman.4140.1153058181.9609.help-gnu-emacs@gnu.org>
@ 2006-07-16 14:48     ` harry meyers
  0 siblings, 0 replies; 6+ messages in thread
From: harry meyers @ 2006-07-16 14:48 UTC (permalink / raw)



Stefan Horomnea schrieb:

> Hello,
>
> I start the server. And then I get the following error: emacsclient:
> can't stat /tmp/esrv500-c4: Success

It can be a bug.
I can produce the same error message if I try to open a file with:
emacsclient. As I am using emacs-snapshot I have to type:
emacsclient.emacs-snapshot


harry

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: open file in the same emacs window from krusader
       [not found] <mailman.4138.1153055919.9609.help-gnu-emacs@gnu.org>
  2006-07-16 13:31 ` harry meyers
@ 2006-07-17 10:56 ` Mathias Dahl
  1 sibling, 0 replies; 6+ messages in thread
From: Mathias Dahl @ 2006-07-17 10:56 UTC (permalink / raw)


Stefan Horomnea <stefan@softexperience.ro> writes:

> This is awesome. Cause I locate the files much
> quicker with Krusader than emacs.

I am sure Krusader is a nice tool and that you can find files faster
there than you can in Emacs, but I just wanted to suggest you check
out some of the different modules people have built on top Emacs, to
make finding files easy. Some of these modules are listed here:

http://www.emacswiki.org/cgi-bin/wiki/OpenFilesInDifferentWays

Just out of curiosity, how do you find files in Krusader quickly?

/Mathias

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-07-17 10:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-16 13:24 open file in the same emacs window from krusader Stefan Horomnea
2006-07-16 13:33 ` Sebastian Meisel
     [not found] <mailman.4138.1153055919.9609.help-gnu-emacs@gnu.org>
2006-07-16 13:31 ` harry meyers
2006-07-16 14:02   ` Stefan Horomnea
     [not found]   ` <mailman.4140.1153058181.9609.help-gnu-emacs@gnu.org>
2006-07-16 14:48     ` harry meyers
2006-07-17 10:56 ` Mathias Dahl

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.