From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Hi all
Date: Fri, 22 Jul 2005 00:42:33 +0200 [thread overview]
Message-ID: <42E024D9.5000709@student.lu.se> (raw)
In-Reply-To: <85pstcmi6t.fsf@lola.goethe.zz>
David Kastrup wrote:
>Sergio Dominguez <sergio@skynet.ie> writes:
>
>
>
>>I have a first question to the list :) I would like emacs to start
>>directly in line number 8, but I really don't manage to do it, and
>>I"ve googled intensenly for it. Can someone give me a hint?
>>
>>
>
>The Emacs developers have written a manual. And they even have
>written a man page.
>
>(info "(emacs) Emacs Invocation")
>
>
There might be different opinions on that. I do not think it covers what
most users would want in a good way. You can indeed use the information
that is there to start Emacs and go to a specific line in a specific
file. The problem is that the way Emacs is started then might not be the
way you want it to start.
What is the problem you might wonder then? It is that doing it that way
you invoke a new copy of Emacs. If you have already started Emacs before
and even if you are already editing that specific file the newly invoked
Emacs does not have a direct connection to the already running Emacs.
This mean that the to copies of Emacs does not know exactly what the
other copy is doing to that file.
You can avoid this trouble but. The solution is to run Emacs as an
editing server. Emacsclient/server is for that. Take a look at these and
the command line parameters for the clients. There you can find a
solution to your problem. (Currently Emacsclient/server is not available
on MS Windows where you instead use Gnuserv/client for the same purpose.
For installing this on MS Windows I suggest you take a look at EmacsW32
on http://www.emacswiki.org/.)
The solution will however be a little bit more complex. You will have to
use the argument for evaluation of code. A simple solution will be to
use the two functions find-file and goto-line.
next prev parent reply other threads:[~2005-07-21 22:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1189.1121949251.20277.help-gnu-emacs@gnu.org>
2005-07-21 12:56 ` Hi all David Kastrup
2005-07-21 13:03 ` Sergio Dominguez
2005-07-21 22:42 ` Lennart Borgman [this message]
[not found] ` <mailman.1232.1121986357.20277.help-gnu-emacs@gnu.org>
2005-07-21 23:07 ` David Kastrup
2005-07-21 23:28 ` Lennart Borgman
[not found] ` <mailman.1237.1121988638.20277.help-gnu-emacs@gnu.org>
2005-07-22 0:07 ` Thien-Thi Nguyen
2005-07-21 12:24 Sergio Dominguez
2005-07-21 12:57 ` Peter Dyballa
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=42E024D9.5000709@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
--cc=help-gnu-emacs@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 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.