From: Richard Stallman <rms@gnu.org>
Cc: yonirabkin@gmail.com, emacs-devel@gnu.org
Subject: Re: Message buffer time-stamps
Date: Sun, 26 Dec 2004 23:09:44 -0500 [thread overview]
Message-ID: <E1CimCW-0003Gh-0i@fencepost.gnu.org> (raw)
In-Reply-To: <87y8fliuql.fsf@jurta.org> (message from Juri Linkov on Sun, 26 Dec 2004 04:47:54 +0200)
I see several variables are protected from GC in `message_dolog'
as well as in functions that call it. I suppose that is already done
with the expectation of possible GC in `message_dolog'.
Yes, it seems to try to protect itself. I just examined its callers,
and they seem to be safe too.
> However, I'd suggest instead using an idle timer to check that
> a message has been added, and to add a timestamp.
I don't understand how timers can help to insert message timestamp.
When a timer calls its function it will insert too late timestamp.
It would be a little inexact, using the time when the command ends,
but it would be no big deal.
However, since your idea seems to safe, it is better to use
your idea.
> There is another issue. Right now there's a feature to combine
> repeated messages. If you put time stamps in the buffer, that would
> break this feature, unless the time stamp code takes pains to keep
> it working.
This is right. Time stamps should break this feature. Every repeated
message should have its own time stamp.
Well, if you're sure you want that, I won't argue. But I would not
want that to be the default.
next prev parent reply other threads:[~2004-12-27 4:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-23 9:01 Message buffer time-stamps Yoni Rabkin
2004-12-24 1:02 ` Juri Linkov
2004-12-25 15:13 ` Richard Stallman
2004-12-26 2:47 ` Juri Linkov
2004-12-27 4:09 ` Richard Stallman [this message]
2004-12-29 7:07 ` Juri Linkov
2004-12-29 17:54 ` Juri Linkov
2004-12-30 16:43 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1CimCW-0003Gh-0i@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=yonirabkin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).