unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Printing alist pairs to a dedicated buffur
@ 2024-04-19 12:57 Heime
  2024-04-19 13:24 ` Manuel Giraud via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 23+ messages in thread
From: Heime @ 2024-04-19 12:57 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor

I want to print the value pairs of an alist named tema-vodilac.

Although I can insert tema-vodilac: using

(insert (concat "\n" "tema-vodilac:\n"))

I cannot print the value pairs to the tema buffer

(defun tema-alist ()
  "Display the content of the association list ALIST."
  (interactive)

  (with-current-buffer (get-buffer-create "tema")
    (goto-char (point-max))
    (insert (concat "\n" "tema-vodilac:\n"))
    (dolist (pair tema-vodilac)
      (insert (format "\n %d  %s \n" (cdr pair) (car pair)))) ))





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

end of thread, other threads:[~2024-04-27 22:20 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-19 12:57 Printing alist pairs to a dedicated buffur Heime
2024-04-19 13:24 ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-04-19 19:26   ` Heime
2024-04-19 19:42     ` Heime
2024-04-20  9:55       ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-04-20 10:08         ` Emanuel Berg
2024-04-25 11:13           ` Heime
2024-04-26  0:27             ` Emanuel Berg
2024-04-25 15:55           ` [External] : " Drew Adams
2024-04-25 16:18             ` Heime
2024-04-25 22:43               ` Emanuel Berg
2024-04-25 22:29             ` Emanuel Berg
2024-04-25 23:38               ` Drew Adams
2024-04-26  0:03                 ` Emanuel Berg
2024-04-26 15:55                   ` Drew Adams
2024-04-26 16:57                     ` Heime
2024-04-26 17:27                       ` Yuri Khan
2024-04-27 22:20                         ` Heime
2024-04-26  0:41                 ` Emanuel Berg
2024-04-26  1:08                 ` Emanuel Berg
2024-04-20 16:37         ` Heime
2024-04-20 17:23           ` Heime
2024-04-20 20:48             ` Yuri Khan

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