[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs 23 and emacsclient question.
From: |
Juanma Barranquero |
Subject: |
Re: emacs 23 and emacsclient question. |
Date: |
Fri, 6 Mar 2009 13:58:35 +0100 |
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