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

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

Re: Print value of selected-window in some info buffer


From: Heime
Subject: Re: Print value of selected-window in some info buffer
Date: Wed, 15 May 2024 00:05:58 +0000





Sent with Proton Mail secure email.

On Wednesday, May 15th, 2024 at 11:50 AM, tpeplt <tpeplt@gmail.com> wrote:

> Heime heimeborgia@protonmail.com writes:
> 
> > How can the value of selected-window be printed in some info buffer ?
> > 
> > Because I get a failure with (bdrive-insert (selected-window))
> > 
> > (defun bdrive-insert (objekt)
> > "TODO"
> > 
> > (with-current-buffer (get-buffer-create bfname)
> > 
> > (cond
> > ((stringp objekt)
> > (insert (concat objekt "\n" ))) )))
> 
> 
> 1. It would be helpful if you would include with your question the error
> that was reported.
> 
> 2. Have you attempted to compile the buffer or file in which your
> function definition resides? Have you attempted to include a call to
> your function in a file with the function definition and compile that
> buffer? Compilation will often point out mistakes and oversights in
> your code.

I just don't get anything printed
 
> --
> The lyf so short, the craft so long to lerne.
> - Geoffrey Chaucer, The Parliament of Birds.



reply via email to

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