help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs 23 and emacsclient question.


From: Michal
Subject: Re: emacs 23 and emacsclient question.
Date: Fri, 06 Mar 2009 15:53:37 +0100
User-agent: mozilla news reader

Juanma Barranquero <lekktu@gmail.com> writes:

> On Fri, Mar 6, 2009 at 13:08, Michal <rabbit50@tenbit.pl> wrote:
>
>> Have You got idea how to get  current buffer and point?
>
> You can try:
>
>   emacsclient --eval "(with-current-buffer (window-buffer
> (selected-window)) (cons (current-buffer) (point)))"
>
> or perhaps
>
>   emacsclient --eval "(with-current-buffer (window-buffer
> (selected-window)) (point-marker))"
>
> or some other variant whose output is more suited to your needs.
>
>     Juanma

Juanma, Nikolaj
thank You for solution!

Best regards,
Michal


reply via email to

[Prev in Thread] Current Thread [Next in Thread]