all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacsclient not working as documented
@ 2004-04-22 22:11 Sparky
  2004-04-23 18:32 ` Benjamin Rutt
  0 siblings, 1 reply; 5+ messages in thread
From: Sparky @ 2004-04-22 22:11 UTC (permalink / raw)


Hello all,
I posted this to comp.emacs without any replies, so hoping someone
here will be able to shed some light:

I've been trying to get emacsclient to jump to a particular line and
column of a text file (for use with the Lilypond music typesetting
program) but I can only make it jump to the beginning of a line.
The info page for invoking emacsclient says:

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

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

but when I enter:

     emacsclient --no-wait +38:42 music.ly

the cursor appears at line 38, column 1, rather than column 42.

I'm using Mandrake 9.2 and the mandrake emacs packages - emacs version
21.3.1 and emacsclient version 21.3.
Any suggestions would be very welcome, as I'd love to get this working
as documented.

Thanks in advance

Mark

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

* Re: emacsclient not working as documented
  2004-04-22 22:11 emacsclient not working as documented Sparky
@ 2004-04-23 18:32 ` Benjamin Rutt
  2004-04-23 22:10   ` Sparky
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Rutt @ 2004-04-23 18:32 UTC (permalink / raw)


sparky1685@yahoo.co.uk (Sparky) writes:

> Hello all,
> I posted this to comp.emacs without any replies, so hoping someone
> here will be able to shed some light:
>
> I've been trying to get emacsclient to jump to a particular line and
> column of a text file (for use with the Lilypond music typesetting
> program) but I can only make it jump to the beginning of a line.
> The info page for invoking emacsclient says:
>
> To run the `emacsclient' program, specify file names as arguments,
> and optionally line numbers as well.  Do it like this:
>
>      emacsclient {[+LINE[COLUMN]] FILENAME}...
>
> but when I enter:
>
>      emacsclient --no-wait +38:42 music.ly
>
> the cursor appears at line 38, column 1, rather than column 42.

Just so you know, the +line:col works fine for me in emacs CVS.  You
might try building from CVS, it's usually quite stable, and you can
always check out a slightly older version from CVS if it's not.
-- 
Benjamin Rutt

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

* Re: emacsclient not working as documented
  2004-04-23 18:32 ` Benjamin Rutt
@ 2004-04-23 22:10   ` Sparky
  2004-04-24  3:03     ` Benjamin Rutt
  0 siblings, 1 reply; 5+ messages in thread
From: Sparky @ 2004-04-23 22:10 UTC (permalink / raw)


Benjamin Rutt <rutt.4+news@osu.edu> wrote in message news:

> Just so you know, the +line:col works fine for me in emacs CVS.  You
> might try building from CVS, it's usually quite stable, and you can
> always check out a slightly older version from CVS if it's not.


Thanks for the info. I'm quite new to linux and haven't quite got my
head around the CVS system yet, so I guess this will be my excuse to
learn :-) It's good to know that I can at least hope to get things
working this way.

Regards

Mark

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

* Re: emacsclient not working as documented
  2004-04-23 22:10   ` Sparky
@ 2004-04-24  3:03     ` Benjamin Rutt
  2004-04-26 12:37       ` Sparky
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Rutt @ 2004-04-24  3:03 UTC (permalink / raw)


sparky1685@yahoo.co.uk (Sparky) writes:

> Thanks for the info. I'm quite new to linux and haven't quite got my
> head around the CVS system yet, so I guess this will be my excuse to
> learn :-) It's good to know that I can at least hope to get things
> working this way.

CVS is pretty easy to learn, but to help you get started building
emacs from CVS, here are the basic commands I use:

$ cd /tmp
$ mkdir emacsbuild
$ cd emacsbuild
$ export CVS_RSH=ssh
$ cvs -z3 -d :ext:anoncvs@subversions.gnu.org:/cvsroot/emacs co emacs
$ cd emacs
$ ./configure
$ make bootstrap
$ su -c 'make install'

Then, to try it out, just run /usr/local/bin/emacs.

If the build fails, you can always replace the cvs command with 

cvs -z3 -d :ext:anoncvs@subversions.gnu.org:/cvsroot/emacs co -D "2 days ago" emacs

and keep trying larger values for the 2 in "2 days ago" until you get
checkout one that builds.

Hope this helps,
-- 
Benjamin Rutt

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

* Re: emacsclient not working as documented
  2004-04-24  3:03     ` Benjamin Rutt
@ 2004-04-26 12:37       ` Sparky
  0 siblings, 0 replies; 5+ messages in thread
From: Sparky @ 2004-04-26 12:37 UTC (permalink / raw)


Benjamin Rutt <rutt.4+news@osu.edu> wrote in message > 

> CVS is pretty easy to learn, but to help you get started building
> emacs from CVS, here are the basic commands I use:
> 
> $ cd /tmp
> $ mkdir emacsbuild
> $ cd emacsbuild
> $ export CVS_RSH=ssh
> $ cvs -z3 -d :ext:anoncvs@subversions.gnu.org:/cvsroot/emacs co emacs
> $ cd emacs
> $ ./configure
> $ make bootstrap
> $ su -c 'make install'
> 
> Then, to try it out, just run /usr/local/bin/emacs.
> 
> If the build fails, you can always replace the cvs command with 
> 
> cvs -z3 -d :ext:anoncvs@subversions.gnu.org:/cvsroot/emacs co -D "2 days ago" emacs
> 
> and keep trying larger values for the 2 in "2 days ago" until you get
> checkout one that builds.
> 
> Hope this helps,

Thanks very much for the instructions - much appreciated. It all
worked perfectly and emacsclient is indeed working as expected from
the command line now. I don't imagine many people use the jump to
column feature in emacs, but it will be a lifesaver when editing music
notation in lilypond.

Many thanks

Mark

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

end of thread, other threads:[~2004-04-26 12:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-22 22:11 emacsclient not working as documented Sparky
2004-04-23 18:32 ` Benjamin Rutt
2004-04-23 22:10   ` Sparky
2004-04-24  3:03     ` Benjamin Rutt
2004-04-26 12:37       ` Sparky

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.