* tabulated-list-print updates buffer content and sets it read-only
@ 2023-06-16 17:46 uzibalqa
2023-06-21 17:52 ` Jean Louis
0 siblings, 1 reply; 2+ messages in thread
From: uzibalqa @ 2023-06-16 17:46 UTC (permalink / raw)
To: uzibalqa via Users list for the GNU Emacs text editor
I have been using "tabulated-list-print", which updates the buffer content and sets it to
read-only mode by default. This prevents modifications to the buffer after it has been
printed. Just printing the table is not very useful because it is quite common to want
to print some informational context in the buffer. And because one can use (erase-buffer),
there is no need to update the buffer content.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: tabulated-list-print updates buffer content and sets it read-only
2023-06-16 17:46 tabulated-list-print updates buffer content and sets it read-only uzibalqa
@ 2023-06-21 17:52 ` Jean Louis
0 siblings, 0 replies; 2+ messages in thread
From: Jean Louis @ 2023-06-21 17:52 UTC (permalink / raw)
To: uzibalqa; +Cc: uzibalqa via Users list for the GNU Emacs text editor
* uzibalqa <uzibalqa@proton.me> [2023-06-16 19:04]:
> I have been using "tabulated-list-print", which updates the buffer content and sets it to
> read-only mode by default. This prevents modifications to the buffer after it has been
> printed. Just printing the table is not very useful because it is quite common to want
> to print some informational context in the buffer. And because one can use (erase-buffer),
> there is no need to update the buffer content.
Not really, you can update entries and update the buffer.
I can see that I am updating something in y function and then simply
using again: (tabulated-list-print t t)
So yes, you can update it.
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-21 17:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-16 17:46 tabulated-list-print updates buffer content and sets it read-only uzibalqa
2023-06-21 17:52 ` Jean Louis
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.