unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: Hi all
Date: Fri, 22 Jul 2005 01:07:48 +0200	[thread overview]
Message-ID: <85irz3g3ln.fsf@lola.goethe.zz> (raw)
In-Reply-To: mailman.1232.1121986357.20277.help-gnu-emacs@gnu.org

Lennart Borgman <lennart.borgman.073@student.lu.se> writes:

> David Kastrup wrote:
>
>>(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.

And that was what the original poster asked for.  So what are the
"different opinions on that" supposed to be?

> 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.

Well, look up the meaning of the word "start" in a dictionary of your
choice.

> You can avoid this trouble but. The solution is to run Emacs as an
> editing server.

[...]

> 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.

Hogwash.

(info "(emacs) Invoking emacsclient")

    File: emacs,  Node: Invoking emacsclient,  Prev: Emacs Server,  Up: Emacs Server

    41.1 Invoking `emacsclient'
    ===========================

    To run the `emacsclient' program, specify file names as arguments, and
    optionally line numbers as well.  Do it like this:

         emacsclient {[+LINE[COLUMN]] FILENAME}...

    This tells Emacs to visit each of the specified files; if you specify a
    line number for a certain file, Emacs moves to that line in the file.


You really are not too fond of reading the manual, right?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  parent reply	other threads:[~2005-07-21 23:07 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
     [not found]   ` <mailman.1232.1121986357.20277.help-gnu-emacs@gnu.org>
2005-07-21 23:07     ` David Kastrup [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85irz3g3ln.fsf@lola.goethe.zz \
    --to=dak@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.
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).